alpha: Update libm-test-ulps
[glibc.git] / ChangeLog
blob1d19695a17ac9e2cd55a5cedf3366d91233d363f
1 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         [BZ #16474]
4         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5         string pointers after reallocation.
7 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10         __SH4A__ instead of __SH_FPU_ANY__.
12 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14         * sysdeps/sh/fpu_control.h: New file.
15         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21         * sysdeps/sh/sys/ucontext.h: Remove.
22         * sysdeps/sh/sys: Remove directory.
24 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27         s390/sys/ucontext.h.
28         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
29         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33         [BZ #15605]
34         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38         [BZ#16431]
39         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40         Adjust the vDSO correctly for internal calls.
41         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43 2014-01-20  Allan McRae  <allan@archlinux.org>
45         * po/ca.po: Update Catalan translation from translation project.
47 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49         * sysdeps/s390/sotruss-lib.c: New file.
51 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53         [BZ#16430]
54         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56         local calls issues by not having a PLT stub required for IFUNC calls.
57         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
59 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
61         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
62         * math/test-fpucw-static.c: Likewise.
64 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66         [BZ #16453]
67         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
69 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
72         implementation for powerpc.
74 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
76         [BZ #14782]
77         * sysdeps/posix/system.c (__libc_system): Do not enable
78         asynchronous cancellation.
80 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82         [BZ #16427]
83         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
84         handling only for numbers special also in the IEEE case.
86 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
90 2014-01-11  Allan McRae  <allan@archlinux.org>
92         * po/bg.po: Update Bulgarian translation from translation project.
94         * po/de.po: Update German translation from translation project.
96 2014-01-10  Roland McGrath  <roland@hack.frob.com>
98         * sysdeps/generic/gcc-compat.h: New file.
100 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
102         * benchtests/asin-inputs: Correct slow inputs.
103         * benchtests/acos-inputs: Likewise.
105 2014-01-10  Allan McRae  <allan@archlinux.org>
107         * po:sv.po: Update Swedish translation from translation project.
109         * po/vi.po: Update Vietnamese translation from translation project.
111         * po/eo.po: Update Esperanto translation from translation project.
113         * po/cs.po: Update Czech translation from translation project.
115         * po/nl.po: Update Dutch translation from translation project.
117         * po/pl.po: Update Polish translation from translation project.
119         * po/ru.po: Update Russian translation from translation project.
121         * po/uk.po: Update Ukrainian translation from translation project.
123 2014-01-08  Brooks Moses  <bmoses@google.com>
125         * elf/dl-load.c: Fix comment typo.
127 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
129         * po/header.pot: Rename to...
130         * po/pot.header: ... this.
131         * po/Makefile: Use pot.header.
133 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
134             Maxim Kuvyrkov  <maxim@kugelworks.com>
136         [BZ #16394]
137         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
138         SRC and DEST against LEN.
140 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
142         [BZ #16414]
143         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
144         implementation.
145         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
147 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
151 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
153         [BZ #16408]
154         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
155         for large positive arguments.
157 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
159         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
161         * math/auto-libm-test-in: Mark various tests with
162         xfail-rounding:ldbl-128ibm.
163         * math/auto-libm-test-out: Regenerated.
165         [BZ #16407]
166         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
167         Increase overflow threshold.
169 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
171         [BZ #14286]
172         * stdio-common/vfprintf.c: Check for integer overflow.
174 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
176         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
177         the first argument and return value of __tls_get_addr_internal.
179 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
181         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
182         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
184 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
186         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
187         * sysdeps/s390/rtld-global-offsets.sym: New file.
188         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
189         GLIBC_2.19 symbol.
190         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
192         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
193         ... this.
194         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
195         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
196         ... this.
197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
198         Regenerate.
199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
200         Regenerate.
201         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
202         halfs of GPRs for high_gprs contexts.
203         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
204         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
205         field.
206         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
207         uc_flags field.
208         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
209         64 bit versions:
210         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
211         for high GPRs (uc_high_gprs) and for future extensions
212         (__reserved).
213         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
214         for future extensions (__reserved).
215         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
216         64 bit versions:
217         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
218         SC_HIGHGPRS offset definition.
219         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
220         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
222 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
224         * Versions.def: Add GLIBC_2.19 for libpthread.
225         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
226         siglongjmp for libpthread with GLIBC_2.19 symver.
227         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
228         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
229         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
230         * sysdeps/s390/__longjmp.c: New file.
231         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
232         * sysdeps/s390/longjmp.c: New file.
233         * sysdeps/s390/setjmp.S: New file.
234         * sysdeps/s390/sigjmp.S: New file.
235         * sysdeps/s390/v1-longjmp.c: New file.
236         * sysdeps/s390/v1-setjmp.h: New file.
237         * sysdeps/s390/v1-sigjmp.c: New file.
238         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
239         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
240         GLIBC_2.19 version.
241         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
242         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
243         versioned symbols for ____longjmp_chk.
244         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
245         Likewise.
246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
247         Regenerate.
248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
249         Regenerate.
250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
251         Regenerate.
252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
253         Regenerate.
254         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
255         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
256         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
257         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
258         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
259         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
260         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
261         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
262         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
263         * sysdeps/s390/rtld-__longjmp.c: New file.
264         * sysdeps/s390/rtld-setjmp.S: New file.
266 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
268         [BZ #16400]
269         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
270         Return -__logl (x) for small positive arguments without evaluating
271         a polynomial.
273 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
275         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
276         Rename to ...
277         (__ptrace_peeksiginfo_args): ... this.
278         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
282 2014-01-06  Allan McRae  <allan@archlinux.org>
284         * inet/netinet/in.h: Fix typo in comment.
286 2014-01-05  Andreas Jaeger  <aj@suse.de>
288         * sysdeps/i386/fpu/libm-test-ulps: Update.
290 2014-01-05  Allan McRae  <allan@archlinux.org>
292         * po/libc.pot: Regenerated.
294         * malloc/memusagestat.c: Fix gettext call formatting.
296 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
298         * nscd/nscd.c: Improve usage() output.
300 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
302         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
303         * sysdeps/unix/sysv/linux/configure: Regenerated.
304         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
305         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
307 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
309         [BZ #16390]
310         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
311         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
313 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
316         extra tokens at end of #undef directive.
317         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
318         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
319         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
321 2014-01-03  Andrew Hunter  <ahh@google.com>
323         * elf/dl-open.c (dl_open_worker): New comment.
324         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
325         atomic_compare_and_exchange_bool_acq
326         (_dl_allocate_static_tls): Block signals.
327         * elf/dl-tls.c (allocate_and_init): Return void.
328         (_dl_update_slotinfo): Block signals, use atomic update.
330 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
332         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
334         * math/auto-libm-test-in: Mark various tests with
335         xfail-rounding:ldbl-128ibm.
336         * math/auto-libm-test-out: Regenerated.
338 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
340         [BZ #16386]
341         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
342         numbers with subnormal high part when calculating exponent.
344         [BZ #16385]
345         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
346         fabs.
348         [BZ #16384]
349         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
350         M_LN2l.
351         (__ieee754_acoshl): Use __log1pl not __log1p.
353 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
355         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
356         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
357         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
358         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
359         Convert to GNU style.
360         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
361         mem2mem_check, mem2chunk_check, top_check, realloc_check,
362         memalign_check, __malloc_set_state): Likewise.
363         * malloc/mallocbug.c (main): Likewise.
364         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
365         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
366         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
367         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
368         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
369         * malloc/malloc.h: Likewise.
370         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
371         memalignhook, reallochook, mabort): Likewise.
372         * malloc/mcheck.h: Likewise.
373         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
374         mmap64, mremap, munmap, dest): Likewise.
375         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
376         * malloc/morecore.c (__default_morecore): Likewise.
377         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
378         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
379         _obstack_allocated_p, obstack_free, _obstack_memory_used,
380         print_and_abort): Likewise.
381         * malloc/obstack.h: Likewise.
382         * malloc/set-freeres.c (__libc_freeres): Likewise.
383         * malloc/tst-mallocstate.c (main): Likewise.
384         * malloc/tst-mtrace.c (main): Likewise.
385         * malloc/tst-realloc.c (do_test): Likewise.
387 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
389         [BZ #16366]
390         * nscd/netgroupcache.c (do_notfound): New function.
391         (addgetnetgrentX): Use it.
393         [BZ # 16365]
394         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
395         NSS_STATUS_NOTFOUND.
397 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
399         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402 2014-01-01  Allan McRae  <allan@archlinux.org>
404         * scripts/update-copyrights: Update configure input file suffix.
406         * NEWS: Update copyright year.
407         * catgets/gencat.c: Likewise.
408         * csu/version.c: Likewise.
409         * debug/catchsegv.sh: Likewise.
410         * debug/pcprofiledump.c: Likewise.
411         * debug/xtrace.sh: Likewise.
412         * elf/ldconfig.c: Likewise.
413         * elf/ldd.bash.in: Likewise.
414         * elf/pldd.c: Likewise.
415         * elf/sotruss.ksh: Likewise.
416         * elf/sprof.c: Likewise.
417         * iconv/iconv_prog.c: Likewise.
418         * iconv/iconvconfig.c: Likewise.
419         * locale/programs/locale.c: Likewise.
420         * locale/programs/localedef.c: Likewise.
421         * login/programs/pt_chown.c: Likewise.
422         * malloc/memusage.sh: Likewise.
423         * malloc/memusagestat.c: Likewise.
424         * malloc/mtrace.pl: Likewise.
425         * manual/libc.texinfo: Likewise.
426         * nscd/nscd.c: Likewise.
427         * nss/getent.c: Likewise.
428         * nss/makedb.c: Likewise.
429         * posix/getconf.c: Likewise.
430         * scripts/test-installation.pl: Likewise.
432         * All files with FSF copyright notices: Update copyright dates
433         using scripts/update-copyrights.
434         * intl/plural.c: Regenerated.
435         * locale/programs/charmap-kw.h: Likewise.
436         * locale/programs/locfile-kw.h: Likewise.
438 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
440         * sysdeps/unix/sysv/linux/configure: Regenerated.
441         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
442         the linux/fanotify.h header.
443         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
444         HAVE_LINUX_FANOTIFY_H is defined.
446 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
448         * benchtests/cos-inputs: New inputs.
449         * benchtests/sin-inputs: Likewise.
451         * benchtests/atan-inputs: New inputs. Fix name of multiple
452         precision fallback inputs.
454         * benchtests/atanh-inputs: New inputs.
455         * benchtests/tanh-inputs: Likewise.
457         * benchtests/acosh-inputs: New inputs.
458         * benchtests/asinh-inputs: Likewise.
460         * benchtests/cosh-inputs: New inputs.
461         * benchtests/sinh-inputs: Likewise.
463         * benchtests/acos-inputs: Add more inputs.
464         * benchtests/asin-inputs: Likewise.
466 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
468         [BZ #16375]
469         * manual/arith.texi: Fix spelling.
470         * manual/charset.texi: Likewise.
471         * manual/errno.texi: Likewise.
472         * manual/filesys.texi: Likewise.
473         * manual/lang.texi: Likewise.
474         * manual/llio.texi: Likewise.
475         * manual/locale.texi: Likewise.
476         * manual/message.texi: Likewise.
477         * manual/resource.texi: Likewise.
478         * manual/search.texi: Likewise.
479         * manual/setjmp.texi: Likewise.
480         * manual/stdio.texi: Likewise.
481         * manual/string.texi: Likewise.
482         * manual/sysinfo.texi: Likewise.
483         * manual/time.texi: Likewise.
485 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
487         * po/sl.po: New file.
489 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
491         * .gitignore: Add core/.gdbinit/.gdb_history.
493 2013-12-27  Allan McRae  <allan@archlinux.org>
495         [BZ #16369]
496         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
497         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
499 2013-12-24  Brooks Moses  <bmoses@google.com>
501         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
502         all compilers that claim C++98 compliance, not just GCC.
503         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
504         Likewise.
506 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
508         * NEWS: Restore accidentally deleted bug-fix entries.
510 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
511             Ondřej Bílka  <neleai@seznam.cz>
513         [BZ #15073]
514         * malloc/malloc.c (_int_free): Perform sanity check only if we
515         have_lock.
517 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
519         [BZ #12986]
520         * manual/stdio.texi (String Input Conversions): Clarify that character
521         classes are not supported.
523 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
527 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
529         [BZ #16337]
530         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
531         Calculate results for small negative arguments directly rather
532         than using reflection formula with special underflow handling.
534         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
535         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
536         sysdeps/unix/bsd/bsd4.4/syscalls.list.
537         (fchflags): Likewise.
538         (revoke): Likewise.
539         (setlogin): Likewise.
540         (sigaltstack): Likewise.
541         (wait4): Likewise.
542         (sigblock): Remove.
543         (sigsetmask): Likewise.
544         (wait3): Likewise.
545         (waitpid): Likewise.
546         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
547         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
548         file.
549         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
550         * sysdeps/unix/bsd/Makefile: ... here.
551         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
552         * sysdeps/unix/bsd/Versions: ... here.
553         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
554         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
555         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
556         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
557         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
558         * sysdeps/unix/bsd/sigblock.c: ... here.
559         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
560         * sysdeps/unix/bsd/sigsetmask.c: ... here.
561         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
562         * sysdeps/unix/bsd/sigvec.c: ... here.
563         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
564         * sysdeps/unix/bsd/tcdrain.c: ... here.
565         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
566         * sysdeps/unix/bsd/tcgetattr.c: ... here.
567         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
568         * sysdeps/unix/bsd/tcsetattr.c: ... here.
569         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
570         * sysdeps/unix/bsd/wait.c: ... here.
571         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
572         * sysdeps/unix/bsd/wait3.c: ... here.
573         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
574         * sysdeps/unix/bsd/waitpid.c: ... here.
576 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
578         [BZ #16356]
579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
580         round-to-nearest for [!USE_AS_EXPM1L].
581         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
582         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
583         more tests of exp and exp10.  Expect some exp10 tests to miss
584         exceptions or fail in directed rounding modes.
585         * math/auto-libm-test-out: Regenerated.
586         * math/libm-test.inc (exp10_tonearest_test_data): New array.
587         (exp10_test_tonearest): New function.
588         (exp10_towardzero_test_data): New array.
589         (exp10_test_towardzero): New function.
590         (exp10_downward_test_data): New array.
591         (exp10_test_downward): New function.
592         (exp10_upward_test_data): New array.
593         (exp10_test_upward): New function.
594         (main): Call the new functions.
595         * sysdeps/i386/fpu/libm-test-ulps: Update.
596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
598 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
600         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
601         asinh, atan, atan2, atanh, cbrt, cos and cosh.
602         * math/auto-libm-test-out: Regenerated.
603         * math/libm-test.inc (acosh_test_data): Add more tests.
604         (atanh_test_data): Likewise.
605         (ceil_test_data): Likewise.
606         (copysign_test_data): Likewise.
607         * sysdeps/i386/fpu/libm-test-ulps: Update.
608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610         * timezone/checktab.awk: Update from tzcode 2013i.
611         * timezone/private.h: Likewise.
612         * timezone/scheck.c: Likewise.
613         * timezone/tzfile.h: Likewise.
614         * timezone/tzselect.ksh: Likewise.
615         * timezone/zdump.c: Likewise.
616         * timezone/zic.c: Likewise.
618         * math/auto-libm-test-in: Add tests of cpow.
619         * math/auto-libm-test-out: Regenerated.
620         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
621         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
622         mpc_cc_c.
623         (func_calc_desc): Add mpc_cc_c union field.
624         (test_functions): Add cpow.
625         (special_fill_2pi): New function.
626         (special_real_inputs): Add 2pi.
627         (calc_generic_results): Handle mpc_cc_c.
628         * sysdeps/i386/fpu/libm-test-ulps: Update.
629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
631         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
632         csqrt, ctan and ctanh.
633         * math/auto-libm-test-out: Regenerated.
634         * math/libm-test.inc (TEST_COND_x86_64): New macro.
635         (TEST_COND_x86): Likewise.
636         (ccos_test_data): Use AUTO_TESTS_c_c.
637         (ccosh_test_data): Likewise.
638         (cexp_test_data): Likewise.
639         (clog_test_data): Likewise.
640         (csqrt_test_data): Likewise.
641         (ctan_test_data): Likewise.
642         (ctan_tonearest_test_data): Likewise.
643         (ctan_towardzero_test_data): Likewise.
644         (ctan_downward_test_data): Likewise.
645         (ctan_upward_test_data): Likewise.
646         (ctanh_test_data): Likewise.
647         (ctanh_tonearest_test_data): Likewise.
648         (ctanh_towardzero_test_data): Likewise.
649         (ctanh_downward_test_data): Likewise.
650         (ctanh_upward_test_data): Likewise.
651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
652         mpc_c_c.
653         (func_calc_desc): Add mpc_c_c union field.
654         (FUNC_mpc_c_c): New macro.
655         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
656         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
657         ctanh.
658         (special_fill_min_subnorm_p120): New function.
659         (special_real_inputs): Add min_subnorm_p120.
660         (calc_generic_results): Handle mpc_c_c.
661         * sysdeps/i386/fpu/libm-test-ulps: Update.
662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
666         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
667         do_sin_slow): New functions.
668         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
669         cslow2, csloww1, csloww2): Use the new functions.
671         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
672         Use M to change sign of result instead of X.  Assume X is
673         positive.
674         (csloww1): Likewise.
675         (__sin): Adjust.
676         (__cos): Adjust.
678         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
679         arguments A and DA.
680         (__sin): Adjust.
681         (__cos): Likewise.
683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
684         (__cos): Likewise.
685         (sloww1): Don't adjust sign of DX.
686         (csloww1): Likewise.
687         (sloww2): Use X directly and don't adjust sign of DX.
688         (csloww2): Likewise.
690 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
692         * math/auto-libm-test-in: Add tests of cabs and carg.
693         * math/auto-libm-test-out: Regenerated.
694         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
695         (carg_test_data): Likewise.
696         * math/gen-auto-libm-tests.c (func_calc_method): Add value
697         mpc_c_f.
698         (func_calc_desc): Add mpc_c_f union field.
699         (test_functions): Add cabs and carg.
700         (calc_generic_results): Handle mpc_c_f.
702         * sysdeps/powerpc/powerpc32/libgcc-compat.S
703         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
704         as a macro and a compat symbol.
705         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
706         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
707         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
708         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
709         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
710         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
711         not use .hidden.
712         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
713         Likewise.
714         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
715         Likewise.
716         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
717         Likewise.
718         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
719         Likewise.
720         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
721         Likewise.
722         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
723         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
724         from GLIBC_2.3.2.
726 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
730 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
732         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
733         (__signal_safe_memalign, __signal_safe_free): Use it.
734         (__signal_safe_realloc): Likewise.
736 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
738         * manual/texinfo.tex: Update to version 2013-11-26.10 with
739         trailing whitespace removed.
740         * scripts/config.guess: Update to version 2013-11-29.
741         * scripts/config.sub: Update to version 2013-10-01.
743         * math/auto-libm-test-in: Add tests of sincos.
744         * math/auto-libm-test-out: Regenerated.
745         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
746         * math/gen-auto-libm-tests.c (func_calc_method): Add value
747         mpfr_f_11.
748         (func_calc_desc): Add mpfr_f_11 union field.
749         (test_functions): Add sincos.
750         (calc_generic_results): Handle mpfr_f_11.
751         * sysdeps/i386/fpu/libm-test-ulps: Update.
752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
754 2013-12-19  Andreas Schwab  <schwab@suse.de>
756         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
757         CALL_MCOUNT.
758         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
759         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
760         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
762 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
764         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
765         * sysdeps/i386/fpu/libm-test-ulps: Update.
766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
768         [BZ #16293]
769         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
770         round-to-nearest mode when using frndint.
771         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
772         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
774         Likewise.
775         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
776         sinh test to fail.
777         * math/auto-libm-test-out: Regenerated.
778         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
779         (TEST_COND_x86): Likewise.
780         (expm1_tonearest_test_data): New array.
781         (expm1_test_tonearest): New function.
782         (expm1_towardzero_test_data): New array.
783         (expm1_test_towardzero): New function.
784         (expm1_downward_test_data): New array.
785         (expm1_test_downward): New function.
786         (expm1_upward_test_data): New array.
787         (expm1_test_upward): New function.
788         (main): Run the new test functions.
789         * sysdeps/i386/fpu/libm-test-ulps: Update.
790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
792         * include/features.h: Update comment documenting feature test
793         macros.  Mention _DEFAULT_SOURCE in comment.
794         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
795         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
796         _BSD_SOURCE and _SVID_SOURCE.
797         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
798         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
799         !_SVID_SOURCE]: Likewise.
800         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
801         (__USE_POSIX_IMPLICITLY): Define.
802         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
803         (_POSIX_SOURCE): Undefine and redefine.
804         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
805         (_POSIX_C_SOURCE): Likewise.
806         * manual/creature.texi (_DEFAULT_SOURCE): Document.
807         (Feature Test Macros): Update documentation of default features.
809 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
811         * benchtests/Makefile: Add bench-strtok.
812         * benchtests/bench-strtok.c: New file: strtok benchtest.
814 2013-12-19  Allan McRae  <allan@archlinux.org>
816         * manual/install.texi: Suppress menu for plain text output.
817         * INSTALL: Regenerated.
819 2013-12-18  Andrew Hunter  <ahh@google.com>
821         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
822         (__signal_safe_malloc, __signal_safe_free): Likewise.
823         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
824         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
825         (__signal_safe_memalign, __signal_safe_malloc): New function.
826         (__signal_safe_free, __signal_safe_realloc): Likewise.
827         (__signal_safe_calloc): Likewise.
828         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
829         functions.
830         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
832 2013-12-18  Andrew Hunter  <ahh@google.com>
834         * elf/Versions (ld): Add _dl_clear_dtv.
835         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
836         * elf/dl-tls.c (_dl_clear_dtv): New function.
837         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
839 2013-12-18  Andrew Hunter  <ahh@google.com>
841         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
842         (_dl_unmask_signals): Likewise.
843         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
844         (_dl_unmask_all_signals): Likewise.
845         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
846         (_dl_unmask_all_signals): Likewise.
847         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
848         (_dl_unmask_signals): Likewise.
850 2013-12-18  Brooks Moses  <bmoses@google.com>
852         [BZ #15846]
853         * misc/getauxval.c: Include errno.h.
854         (__getauxval): Set errno to ENOENT if the requested type is not
855         found.
856         * misc/sys/auxv.h (getauxval): Document that it may set errno;
857         don't declare with __attribute_const__.
858         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
859         * manual/startup.texi: Document that getauxval sets errno.
861 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
863         * math/auto-libm-test-in: Add tests of jn and yn.
864         * math/auto-libm-test-out: Regenerated.
865         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
866         (yn_test_data): Likewise.
867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
868         mpfr_if_f.
869         (func_calc_desc): Add mpfr_if_f union field.
870         (FUNC_mpfr_if_f): New macro.
871         (test_functions): Add jn and yn.
872         (calc_generic_results): Assert type of second input for
873         mpfr_ff_f.  Handle mpfr_if_f.
874         (output_for_one_input_case): Disable all checking for arguments
875         fitting floating-point types in case of an integer argument.
876         * sysdeps/i386/fpu/libm-test-ulps: Update.
877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
880         Don't expect fegetround reference in libm.so.
882 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
884         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
885         $(config-cflags-nofma).
887 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
889         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
890         * math/auto-libm-test-out: Regenerated.
892         [BZ #16338]
893         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
894         to determine exponent and adjust argument to have exponent of -1.
895         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
896         log2.
897         * math/auto-libm-test-out: Regenerated.
898         * sysdeps/i386/fpu/libm-test-ulps: Update.
899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
903         * manual/probes.texi: Remove cases when per-thread arenas are
904         disabled.
906 2013-12-18  Andreas Schwab  <schwab@suse.de>
908         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
909         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
910         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
911         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
912         * sysdeps/i386/i686/multiarch/Makefile: Update.
913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
915 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
917         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
918         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
920 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
922         Support TZ transition times < 00:00:00.
923         This is needed for version-3 tz-format files; it supports time
924         stamps past 2037 for America/Godthab (the only entry in the tz
925         database for which this change is relevant).
926         * manual/time.texi (TZ Variable): Document transition times
927         from -167:59:59 through -00:00:01.
928         * time/tzset.c (tz_rule): Time of day is now signed.
929         (__tzset_parse_tz): Parse negative time of day.
931         Document TZ transition times >= 25:00:00.
932         * manual/time.texi (TZ Variable): Document transition times from
933         25:00:00 through 167:59:59.  These are already supported, and this
934         support will help with version-3 tz-format files.
936         * manual/time.texi (TZ Variable): Modernize North America example
937         to reflect current (i.e., 2007-and-later) daylight saving rules.
939         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
941 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
943         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
944         * sysdeps/unix/bsd/bits/stat.h: Likewise.
945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
947         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
948         * sysdeps/unix/bsd/bsdstat.h: Likewise.
949         * sysdeps/unix/bsd/clock.c: Likewise.
950         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
951         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
952         * sysdeps/unix/bsd/init-posix.c: Likewise.
953         * sysdeps/unix/bsd/poll.c: Likewise.
954         * sysdeps/unix/bsd/ptsname.c: Likewise.
955         * sysdeps/unix/bsd/seekdir.c: Likewise.
956         * sysdeps/unix/bsd/setegid.c: Likewise.
957         * sysdeps/unix/bsd/seteuid.c: Likewise.
958         * sysdeps/unix/bsd/setgid.c: Likewise.
959         * sysdeps/unix/bsd/setrgid.c: Likewise.
960         * sysdeps/unix/bsd/setruid.c: Likewise.
961         * sysdeps/unix/bsd/setsid.c: Likewise.
962         * sysdeps/unix/bsd/setuid.c: Likewise.
963         * sysdeps/unix/bsd/sigaction.c: Likewise.
964         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
965         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
966         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
967         * sysdeps/unix/bsd/telldir.c: Likewise.
968         * sysdeps/unix/bsd/times.c: Likewise.
969         * sysdeps/unix/bsd/usleep.c: Likewise.
971         * misc/Makefile (install-lib): Remove libbsd-compat.a.
972         ($(objpfx)libbsd-compat.a): Remove rule.
974         * include/features.h (__FAVOR_BSD): Do not define.
975         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
976         features conflicting with POSIX.
977         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
978         (_BSD_SOURCE): Remove description of not being a subset of other
979         feature test macros.
980         * manual/job.texi (getpgrp): Do not document BSD version.
981         (getpgid): Do not document by reference to BSD getpgrp.
982         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
983         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
984         * signal/signal.h [__FAVOR_BSD]: Likewise.
985         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
986         instead of making contents conditional on [__FAVOR_BSD].
987         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
989 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
993 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
995         [BZ #16314]
996         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
997         values below 2**-450, not 2**-500.
998         * math/auto-libm-test-in: Don't allow spurious underflow from
999         hypot.
1000         * math/auto-libm-test-out: Regenerated.
1002         [BZ #16316]
1003         [BZ #16330]
1004         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1005         values of ha and hb and sort them after adjusting subnormal
1006         arguments.
1007         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1008         Likewise.
1009         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1010         values of ea and eb and sort them after adjusting subnormal
1011         arguments.
1012         * math/auto-libm-test-in: Do not expect some hypot tests of
1013         subnormals to fail.  Add more hypot tests.
1014         * math/auto-libm-test-out: Regenerated.
1016 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1018         [BZ #13304]
1019         * sysdeps/sh/s_fma.c: New file.
1020         * sysdeps/sh/s_fmaf.c: New file.
1021         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1022         version.
1023         * sysdeps/sh/Implies: Add sh/soft-fp.
1025 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1027         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1028         level of indirection to members `objname', `errstring', `malloced'.
1029         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1030         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1031         it as the __longjmp argument (just pass 1 instead).
1032         (_dl_catch_error): Initialize C with argument pointers and address of
1033         volatile local ERRCODE rather than copying values out of C at return.
1035 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1037         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1038         * math/auto-libm-test-out: Regenerated.
1039         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1040         (hypot_test_data): Likewise.
1041         (pow_test_data): Likewise.
1042         (pow_tonearest_test_data): Likewise.
1043         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1044         mpfr_ff_f.
1045         (func_calc_desc): Add mpfr_ff_f union field.
1046         (FUNC_mpfr_ff_f): New macro.
1047         (test_functions): Add atan2, hypot and pow.
1048         (special_fill_min): New function.
1049         (special_fill_minus_min): Likewise.
1050         (special_fill_min_subnorm): Likewise.
1051         (special_fill_minus_min_subnorm): Likewise.
1052         (special_real_inputs): Add min, -min, min_subnorm and
1053         -min_subnorm.
1054         (calc_generic_results): Handle mpfr_ff_f.
1055         * sysdeps/i386/fpu/libm-test-ulps: Update.
1056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1058 2013-12-16  Will Newton  <will.newton@linaro.org>
1060         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1061         (Aligned Memory Blocks): Add documentation for aligned_alloc
1062         and suggest it as an alternative to posix_memalign.
1063         (Hooks for Malloc): Document __memalign_hook is also called
1064         for aligned_alloc.  (Summary of Malloc): Add summary for
1065         aligned alloc.  Document __memalign_hook is also called
1066         for aligned_alloc.
1068 2013-12-16  Will Newton  <will.newton@linaro.org>
1070         * manual/memory.texi (Malloc Examples): Clarify default
1071         alignment documentation.  Suggest posix_memalign rather
1072         than memalign or valloc.
1073         (Aligned Memory Blocks): Remove suggestion to use memalign
1074         or valloc.  Remove obsolete comment about BSD.
1075         Document memalign errno values and mark the function obsolete.
1076         Document posix_memalign returned error codes.  Mark valloc
1077         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1078         called for posix_memalign and valloc.
1079         (Summary of Malloc): Add posix_memalign to function summary.
1080         __memalign_hook is also called for posix_memalign and valloc.
1082 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1084         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1085         TAYLOR_SIN.
1086         (__sin): Adjust.
1087         (__cos): Likewise.
1088         (sloww): Use mynumber union.  Expand ternary operator into
1089         if-else statements.
1090         (cslow): use mynumber union.
1092 2013-12-16  Allan McRae  <allan@archlinux.org>
1094         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1095         * configure: Regenerated.
1097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1099         [BZ #14120]
1100         * configure.ac: Added --enable-maintainer-mode. Check for
1101         autoconf when enabled.
1102         * configure: Regenerated.
1104         * nscd/nscd.service: New file.
1105         * nscd/nscd.tmpfiles: New file.
1107 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1109         [BZ #12100]
1110         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1111         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1112         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1113         (strstr): Add __strstr_sse2_unaligned ifunc.
1114         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1115         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1116         (strcasestr): Remove __strcasestr_sse42 ifunc.
1117         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1121 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1123         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1124         * sysdeps/sh/bits/fenv.h: ... here.
1125         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1127 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1129         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1134         hypotf multiarch implementations.
1135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1138         multiarch hypot for PPC64.
1139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1142         multiarch hypotf for PPC64.
1144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1147         modff multiarch implementations.
1148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1151         multiarch modf for PPC64.
1152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1155         multiarch modff for PPC64.
1157 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1160         and logl multiarch implementations.
1161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1164         multiarch logb for PPC64.
1165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1168         multiarch logb for PPC64.
1169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1172         multiarch logb for PPC64.
1174 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1177         isinff multiarch implementation.
1178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1179         file.
1180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1182         multiarch isinf for PPC64.
1183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1184         file.
1185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1186         multiarch isinff for PPC64.
1188 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1191         finitef multiarch implementation.
1192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1193         file.
1194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1196         multiarch finite for PPC64.
1197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1198         file.
1199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1200         multiarch finitef for PPC64.
1202 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1205         lrint multiarch implementation.
1206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1207         file.
1208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1210         multiarch llrint for PPC64.
1211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1212         multiarch lrint for PPC64.
1214 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1217         copysignf multiarch implementation.
1218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1219         file.
1220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1221         file.
1222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1223         multiarch copysign for PPC64.
1224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1225         multiarch copysignf for PPC64.
1227 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1230         multiarch implementation.
1231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1232         file.
1233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1234         file.
1235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1236         file.
1237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1238         file.
1239         multiarch llround for PPC64.
1240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1241         multiarch trunc for PPC64.
1242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1243         multiarch truncf for PPC64.
1245 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1248         multiarch implementation.
1249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1250         file.
1251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1252         file.
1253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1254         file.
1255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1256         file.
1257         multiarch llround for PPC64.
1258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1259         multiarch round for PPC64.
1260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1261         multiarch roundf for PPC64.
1263 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1266         multiarch implementation.
1267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1268         file.
1269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1270         file.
1271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1272         file.
1273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1274         file.
1275         multiarch llround for PPC64.
1276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1277         multiarch floor for PPC64.
1278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1279         multiarch floorf for PPC64.
1281 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1284         multiarch implementation.
1285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1286         file.
1287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1288         file.
1289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1290         file.
1291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1292         file.
1293         multiarch llround for PPC64.
1294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1295         multiarch ceil for PPC64.
1296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1297         multiarch ceilf for PPC64.
1299 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1302         multiarch implementation.
1303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1304         file.
1305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1306         file.
1307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1308         file.
1309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1310         multiarch llround for PPC64.
1311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1312         multiarch lround for PPC64.
1314 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1317         multiarch implementation.
1318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1321         file.
1322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1325         multiarch isnan for PPC64.
1326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1327         multiarch isnanf for PPC64.
1329 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1331         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1332         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1333         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1334         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1335         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1338 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1340         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1341         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1343         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1345 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1348         multiarch implementations.
1349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1350         (__libc_ifunc_impl_list): Likewise.
1351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1354         multiarch stpcpy for PPC64.
1356 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1359         multiarch implementations.
1360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1361         (__libc_ifunc_impl_list): Likewise.
1362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1364         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1365         multiarch strcpy for PPC64.
1367 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1369         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1370         redefine function name.
1371         (_wordcopy_fwd_dest_aligned): Likewise.
1372         (_wordcopy_bwd_aligned): Likewise.
1373         (_wordcopy_bwd_dest_aligned): Likewise.
1374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1375         multiarch implementations.
1376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1377         (__libc_ifunc_impl_list): Likewise.
1378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1381         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1382         multiarch wcscpy for PPC64.
1384 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1387         multiarch implementations.
1388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1389         (__libc_ifunc_impl_list): Likewise.
1390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1391         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1392         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1393         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1394         multiarch wcscpy for PPC64.
1396 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1399         multiarch implementations.
1400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1401         (__libc_ifunc_impl_list): Likewise.
1402         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1404         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1406         multiarch wcsrchr for PPC64.
1408 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1411         multiarch implementations.
1412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1413         (__libc_ifunc_impl_list): Likewise.
1414         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1415         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1416         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1417         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1418         multiarch wcschr for PPC64.
1420 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1423         multiarch implementations.
1424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425         (__libc_ifunc_impl_list): Likewise.
1426         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1427         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1428         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1429         multiarch strchrnul for PPC64.
1431 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1434         implementations.
1435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1436         (__libc_ifunc_impl_list): Likewise.
1437         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1438         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1439         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1440         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1441         strchr for PPC64.
1443 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1446         implementations.
1447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1448         (__libc_ifunc_impl_list): Likewise.
1449         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1450         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1451         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1452         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1453         strncmp for PPC64.
1455 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1458         multiarch implementations.
1459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1460         (__libc_ifunc_impl_list): Likewise.
1461         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1462         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1463         strncasecmp for PPC64.
1464         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1465         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1466         multiarch strncasecmp_l for PPC64.
1468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1471         multiarch implementations.
1472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1473         (__libc_ifunc_impl_list): Likewise.
1474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1476         multiarch strcasecmp for PPC64.
1477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1478         file.
1479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1480         multiarch strcasecmp_l for PPC64.
1482 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1485         implementations.
1486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1487         (__libc_ifunc_impl_list): Likewise.
1488         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1489         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1490         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1491         strnlen for PPC64.
1493 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1496         implementations.
1497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1498         (__libc_ifunc_impl_list): Likewise.
1499         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1500         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1501         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1502         strlen for PPC64.
1504 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1507         implementations.
1508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1509         (__libc_ifunc_impl_list): Likewise.
1510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1512         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1513         rawmemrchr for PPC64.
1515 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1518         implementation.
1519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1520         (__libc_ifunc_impl_list): Likewise.
1521         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1522         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1523         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1524         memrchr for PPC64.
1526 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1529         implementation.
1530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1531         (__libc_ifunc_impl_list): Likewise.
1532         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1533         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1534         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1535         memchr for PPC64.
1537 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1540         implementation.
1541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1542         (__libc_ifunc_impl_list): Likewise.
1543         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1544         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1545         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1546         mempcpy for PPC64.
1548 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1550         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1551         avoid cretion of __bzero symbol.
1552         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1553         Likewise.
1554         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1555         Likewise.
1556         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1557         Likewise.
1558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1559         multiarch implementations.
1560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1561         (__libc_ifunc_impl_list): Likewise.
1562         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1563         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1564         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1565         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1566         bzero for PPC32.
1567         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1568         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1569         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1570         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1571         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1572         memset for PPC64.
1573         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1575 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1577         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1579         implementations.
1580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1581         (__libc_ifunc_impl_list): Likewise.
1582         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1583         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1584         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1585         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1586         memcmp for PPC64.
1588 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1591         multiarch for POWER/PPC64.
1592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1593         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1594         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1595         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1596         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1600         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1601         memcpy for PPC64.
1603 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1605         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1606         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1607         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1608         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1609         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1610         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1611         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1612         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1613         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1614         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1615         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1616         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1617         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1618         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1619         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1628 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1630         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1632 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1634         * benchtests/Makefile (bench): Add exp2 and log2.
1635         (LDLIBS-bench-exp2): Add -lm.
1636         (LDLIBS-bench-log2): Likewise.
1637         * benchtests/exp2-inputs: New inputs file.
1638         * benchtests/log2-inputs: New inputs file.
1639         * benchtests/log-inputs: Add new inputs.
1640         * benchtests/tan-inputs: Likewise.
1642 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1644         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1645         definition...
1646         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1647         csloww1, csloww2): ... from here.
1649         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1650         instead of structures.
1651         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1652         (POLYNOMIAL): Likewise.
1653         (TAYLOR_SLOW): Likewise.
1654         (__sin): Likewise.
1655         (__cos): Likewise.
1656         (slow1): Likewise.
1657         (slow2): Likewise.
1658         (sloww): Likewise.
1659         (sloww1); Likewise.
1660         (sloww2): Likewise.
1661         (bsloww1): Likewise.
1662         (bsloww2): Likewise.
1663         (cslow2): Likewise.
1664         (csloww): Likewise.
1665         (csloww1): Likewise.
1666         (csloww2): Likewise.
1668 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1670         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1671         (__malloc_assert, __libc_realloc, __libc_calloc,
1672         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1673         memcpy and memset.
1674         * malloc/hooks.c (realloc_check): Likewise.
1676 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1678         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1679         * malloc/arena.c: Remove PER_THREAD conditional.
1680         [!PER_THREAD]: Remove code.
1681         (ptmalloc_unlock_all2): Likewise.
1682         (ptmalloc_init): Likewise.
1683         (_int_new_arena): Likewise.
1684         (arena_get2): Likewise.
1685         * malloc/hooks.c (__malloc_get_state): Likewise.
1686         (__malloc_set_state): Likewise.
1687         * malloc/malloc.c: Likewise.
1688         (struct malloc_state): Likewise.
1689         (struct malloc_par): Likewise.
1690         (__libc_realloc): Likewise.
1691         (__libc_mallopt): Likewise.
1693 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1695         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1697 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1699         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1700         macro to a function.  Check for zero perturb_byte.
1701         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1703 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1705         * malloc/malloc.c: (force_reg): Remove.
1706         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1707         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1708         force_reg by atomic_forced_read.
1709         * malloc/arena.c (ptmalloc_init): Likewise.
1710         * malloc/hooks.c (top_check): Likewise.
1712 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1716 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1720 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1722         * math/auto-libm-test-in: Add tests of lgamma.
1723         * math/auto-libm-test-out: Regenerated.
1724         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1725         (M_LOG_2_SQRT_PIl): Likewise.
1726         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1727         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1728         mpfr_f_f1.
1729         (func_calc_desc): Add mpfr_f_f1 union field.
1730         (ARGS1): New macro.
1731         (ARGS2): Likewise.
1732         (ARGS3): Likewise.
1733         (ARGS4): Likewise.
1734         (RET1): Likewise.
1735         (RET2): Likewise.
1736         (CALC): Likewise.
1737         (FUNC): Likewise.
1738         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1739         (test_functions): Add lgamma.
1740         (calc_generic_results): Handle mpfr_f_f1.
1741         * sysdeps/i386/fpu/libm-test-ulps: Update.
1742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1744 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1746         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1747         __mpn_add_n for PowerPC64/POWER7.
1748         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1749         __mpn_sub_n for PowerPC64/POWER7.
1751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1754         __mpn_addmul_1 for PowerPC64.
1755         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1756         __mpn_submul_1 for PowerPC64.
1757         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1758         for PowerPC64.
1759         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1760         for PowerPC64.
1762 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1764         [BZ #15089]
1765         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1767 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1769         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1771 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1773         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1774         add multiarch folders.
1775         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1776         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1777         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1778         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1779         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1780         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1781         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1782         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1783         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1784         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1785         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1796         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1798         New file.
1799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1800         New file.
1801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1802         multiarch __ieee754_hypot for PowerPC32.
1803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1804         New file.
1805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1806         New file.
1807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1808         multiarch __ieee754_hypotf for PowerPC32.
1810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1812         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1813         long_double_symbol only if __logbl is defined.
1814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1815         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1817         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1819         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1820         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1821         path for implementation.
1822         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1823         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1825         logb, and logbl multiarch implementations for PowerPC32.
1826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1827         file.
1828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1829         file.
1830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1831         multiarch logb for PowerPC32.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1833         file.
1834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1835         file.
1836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1837         multiarch logbf for PowerPC32.
1838         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1840         file.
1841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1842         multiarch logbl implementation for PowerPC32.
1844 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1847         and modff multiarch implementations.
1848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1849         New file.
1850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1851         New file.
1852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1853         multiarch modf for PowerPC32.
1854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1855         New file.
1856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1857         New file.
1858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1859         multiarch modff for PowerPC32.
1861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1864         and lrintf multiarch implementations.
1865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1866         New file.
1867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1868         New file.
1869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1870         multiarch lrint for PowerPC32.
1871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1872         file: multiarch lrintf for PowerPC32.
1874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1877         and lroundf multiarch implementations.
1878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1879         New file.
1880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1881         New file.
1882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1883         New file.
1884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1885         multiarch lround for PowerPC32.
1886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1887         file: multiarch lroundf for PowerPC32.
1889 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1892         copysign and copysignf multiarch implementations.
1893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1894         New file.
1895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1896         New file.
1897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1898         file: multiarch copysign for PowerPC32.
1899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1900         file: multiarch copysignf for PowerPC32.
1902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1905         and truncf multiarch implementations.
1906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1907         New file.
1908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1909         file.
1910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1911         multiarch trunc for PowerPC32.
1912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1913         New file.
1914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1915         New file.
1916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1917         multiarch truncf for PowerPC32.
1919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1922         and roundf multiarch implementations.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1924         New file.
1925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1926         file.
1927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1928         multiarch round for PowerPC32.
1929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1930         New file.
1931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1932         New file.
1933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1934         multiarch roundf for PowerPC32.
1936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1939         and floorf multiarch implementations.
1940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1941         New file.
1942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1943         file.
1944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1945         multiarch floor for PowerPC32.
1946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1947         New file.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1949         New file.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1951         multiarch floorf for PowerPC32.
1953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1956         and ceilf multiarch implementations.
1957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1958         New file.
1959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1960         file.
1961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1962         multiarch ceil for PowerPC32.
1963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1964         New file.
1965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1966         file.
1967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1968         multiarch ceilf for PowerPC32.
1970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1972         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1973         is defined.
1974         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1975         FINITEF is defined.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1977         and finitef multiarch implementations.
1978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1979         New file.
1980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1981         file.
1982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1983         multiarch finite for PowerPC32.
1984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1985         New file.
1986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1987         file: multiarch finitef for PowerPC32.
1989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1992         and isinff multiarch implementations.
1993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1994         file.
1995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1996         file.
1997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1998         multiarch isinf for PowerPC32.
1999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2000         New file.
2001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2002         multiarch isinff for PowerPC32.
2004 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2006         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2007         alias when __isnan is defined.
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2009         and isnanf multiarch implementations.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2011         file.
2012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2013         file.
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2015         file.
2016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2017         file.
2018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2019         multiarch isnan for PowerPC32.
2020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2021         New file.
2022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2023         New file.
2024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2025         multiarch isnanf for PowerPC32.
2027 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2030         and sqrtf multiarch implementations.
2031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2032         file.
2033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2034         file.
2035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2036         multiarch sqrt for PowerPC32.
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2038         file.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2040         file.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2042         multiarch sqrtf for PowerPC32.
2044 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2047         and llroundf multiarch implementations.
2048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2049         New file.
2050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2051         New file.
2052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2053         New file.
2054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2055         file: multiarch llround for PowerPC32.
2056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2057         file: multiarch llroundf for PowerPC32.
2059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2062         multiarch PowerPC32 fpu implementations.
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2064         New file.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2066         New file.
2067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2068         multiarch llrint for PowerPC32.
2069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2070         New file.
2071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2072         New file.
2073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2074         file.
2076 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2082         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2083         file.
2084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2085         file.
2086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2087         file.
2088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2089         multiarch wordcopy for PPC32.
2090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2091         wordcopy objects.
2092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2093         (__libc_ifunc_impl_list): Likewise.
2094         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2095         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2096         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2097         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2098         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2099         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2101 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2103         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2105         file.
2106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2107         file.
2108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2109         file.
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2111         multiarch wcscpy for PPC32.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2113         multiarch objects.
2114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2115         (__libc_ifunc_impl_list): Likewise.
2116         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2117         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2118         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2119         sysdeps/powerpc/power6/wcscpy.c.
2121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2123         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2125         file.
2126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2127         file.
2128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2129         file.
2130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2131         multiarch wcsrchr for PPC32.
2132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2133         multiarch objects.
2134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2135         (__libc_ifunc_impl_list): Likewise.
2136         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2137         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2138         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2139         sysdeps/powerpc/power6/wcsrchr.c.
2141 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2144         file.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2146         file.
2147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2149         multiarch wcschr for PPc32.
2150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2151         multiarch objects.
2152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2153         (__libc_ifunc_impl_list): Likewise.
2154         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2155         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2156         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2157         sysdeps/powerpc/power6/wcschr.c.
2159 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2162         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2163         file.
2164         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2165         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2166         file: multiarch strchr for PPC32.
2167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2168         multiarch objects.
2169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2170         (__libc_ifunc_impl_list): Likewise.
2172 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2174         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2175         name.
2176         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2177         file.
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2179         file.
2180         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2181         multiarch strchrnul for PPC32.
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2183         multiarch objects.
2184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2185         (__libc_ifunc_impl_list): Likewise.
2187 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2190         file.
2191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2192         multiarch strncasecmp for PPC32.
2193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2194         file.
2195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2196         multiarch strncasecmp_l for PPC32.
2197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2198         strncasecmp multiarch objects.
2199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2200         (__libc_ifunc_impl_list): Likewise.
2202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2205         file.
2206         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2207         multiarch strncasecmp for PPC32.
2208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2209         New file.
2210         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2211         multiarch strcasecmp_l for PPC32.
2212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2213         multiarch objects.
2214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2215         (__libc_ifunc_impl_list): Likewise.
2217 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2220         file.
2221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2222         file.
2223         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2224         multiarch strncmp for PPC32.
2225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2226         multiarch objects.
2227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2228         (__libc_ifunc_impl_list): Likewise.
2230 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2232         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2233         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2234         file.
2235         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2236         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2238         multiarch objects.
2239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2240         (__libc_ifunc_impl_list): Likewise.
2242 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2244         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2245         file.
2246         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2247         file.
2248         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2250         multiarch objects.
2251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2252         (__libc_ifunc_impl_list): Likewise.
2254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2256         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2257         file.
2258         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2259         file.
2260         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2261         multiarch rawmemchr for PPC32.
2262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2263         multiarch objects.
2264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2265         (__libc_ifunc_impl_list): Likewise.
2267 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2269         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2270         file.
2271         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2272         file.
2273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2274         file: memrchr multiarch for PPC32.
2275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2276         multiarch objects.
2277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2278         (__libc_ifunc_impl_list): Likewise.
2280 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2282         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2284         file.
2285         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2286         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2287         multiarch memchr for PPC32.
2288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2289         multiarch objects.
2290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2291         (__libc_ifunc_impl_list): Likewise.
2293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2295         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2296         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2297         file.
2298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2299         file.
2300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2301         file: multiarch mempcpy for PPC32.
2302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2303         multiarch objects.
2304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2305         (__libc_ifunc_impl_list): Likewise.
2307 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2309         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2313         multiarch bzero for PPC32.
2314         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2315         file.
2316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2317         file.
2318         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2319         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2320         file: multiarch memset for PPC32.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2323         memset multiarch objects.
2324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2325         (__libc_ifunc_impl_list): Likewise.
2327 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2330         file.
2331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2333         memcmp for PPC32.
2334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2336         multiarch objects.
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2338         (__libc_ifunc_impl_list): Likewise.
2340 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2345         file.
2346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2347         file.
2348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2349         file.
2350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2351         multiarch memcpy for PPC32.
2352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2353         multiarch objects.
2354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2355         (__libc_ifunc_impl_list): Likewise.
2357 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2360         support multiarch for POWER/PPC32.
2361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2362         Likewise.
2363         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2365         Implies file to make multiarch folder appers before the fpu and
2366         default folder for power4 configuration.
2368 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2370         * scripts/bench.pl: Append volatile keyword to type.
2372 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2374         * sysdeps/sh/sotruss-lib.c: New file.
2375         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2377 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2381 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #6810]
2384         * math/w_tgamma.c: Include <errno.h>.
2385         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2386         * math/w_tgammaf.c: Include <errno.h>.
2387         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2388         * math/w_tgammal.c: Include <errno.h>.
2389         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2390         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2391         underflow.  Add more tgamma tests.
2392         * math/auto-libm-test-out: Regenerated.
2393         * sysdeps/i386/fpu/libm-test-ulps: Update.
2394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2396         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2397         sin, sinh, tan, tanh, tgamma, y0 and y1.
2398         * math/auto-libm-test-out: Regenerated.
2399         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2400         (TEST_COND_x86): Likewise.
2401         (M_E2l): Remove macro.
2402         (M_E3l): Likewise.
2403         (M_2_SQRT_PIl): Likewise.
2404         (M_SQRT_PIl): Likewise.
2405         (M_1_DIV_El): Likewise.
2406         (log_test_data): Use AUTO_TESTS_f_f.
2407         (log10_test_data): Likewise.
2408         (log1p_test_data): Likewise.
2409         (log2_test_data): Likewise.
2410         (sin_test_data): Likewise.
2411         (sin_tonearest_test_data): Likewise.
2412         (sin_towardzero_test_data): Likewise.
2413         (sin_downward_test_data): Likewise.
2414         (sin_upward_test_data): Likewise.
2415         (sinh_test_data): Likewise.
2416         (sinh_tonearest_test_data): Likewise.
2417         (sinh_towardzero_test_data): Likewise.
2418         (sinh_downward_test_data): Likewise.
2419         (sinh_upward_test_data): Likewise.
2420         (tan_test_data): Likewise.
2421         (tan_tonearest_test_data): Likewise.
2422         (tan_towardzero_test_data): Likewise.
2423         (tan_downward_test_data): Likewise.
2424         (tan_upward_test_data): Likewise.
2425         (tanh_test_data): Likewise.
2426         (tgamma_test_data): Likewise.
2427         (y0_test_data): Likewise.
2428         (y1_test_data): Likewise.
2429         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2430         (special_real_inputs): Add pi/4.
2431         * sysdeps/i386/fpu/libm-test-ulps: Update.
2432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2434 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2436         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2437         "longjmp_target" static probes.
2438         (__longjmp): Rename to __longjmp_symbol.
2439         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2440         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2441         on which longjmp to generate.
2442         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2443         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2444         probe.
2445         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2446         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2447         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2448         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2449         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2450         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2452         __longjmp_symbol based on which __longjmp to generate.
2453         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2454         probe.
2455         (setjmp): Rename to setjmp_symbol.
2456         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2457         (_setjmp): Rename to _setjmp_symbol.
2458         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2459         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2460         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2461         which setjmp to generate.
2462         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2463         "longjmp_target" static probes.
2465 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2467         * benchtests/README: Add note about output arguments.
2468         * benchtests/bench-sincos.c: Remove file.
2469         * benchtests/sincos-inputs: New file.
2470         * scripts/bench.pl: Identify output arguments and define
2471         static variables for them.
2473         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2475         [BZ #15941]
2476         * Makefile (INSTALL): Add install-plain.texi as the primary
2477         dependency.
2478         * manual/install-plain.texi: New file.
2479         * manual/install.texi: Include node directive only for
2480         non-plaintext output.
2482 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2484         * stdlib/longlong.h: Update from GCC.
2486         [BZ #6807]
2487         [BZ #15901]
2488         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2489         * math/w_j0f.c (y0f): Likewise.
2490         * math/w_j0l.c (__y0l): Likewise.
2491         * math/w_j1.c (y1): Likewise.
2492         * math/w_j1f.c (y1f): Likewise.
2493         * math/w_j1l.c (__y1l): Likewise
2494         * math/w_jn.c (yn): Likewise.
2495         * math/w_jnf.c (ynf): Likewise.
2496         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2497         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2498         value for Bessel function domain errors outside _SVID_ mode.
2499         Adjust sign of return value for yn (negative integer, 0).
2500         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2501         by zero in return for negative x and set sign appropriately for
2502         negative n.
2503         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2504         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2505         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2506         expectations in error cases.
2507         (y1_test_data): Likewise.
2508         (yn_test_data): Likewise.
2509         * sysdeps/i386/fpu/libm-test-ulps: Update.
2510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2514         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2515         "64" to "64-v1".  Add "64-v2".
2516         (abi-64-options): Rename to ...
2517         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2518         (abi-64-condition): Rename to ...
2519         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2520         (abi-64-ld-soname): Rename to ...
2521         (abi-64-v1-ld-soname): ... this.
2522         (abi-64-v2-options): Define.
2523         (abi-64-v2-condition): Likewise.
2524         (abi-64-v2-ld-soname): Likewise.
2525         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2526         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2531 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2532             Alan Modra  <amodra@gmail.com>
2534         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2535         New versions for use with the ELFv2 ABI.
2536         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2537         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2538         declaration.
2539         (struct La_ppc64v2_retval): Likewise.
2540         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2541         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2542         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2543         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2544         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2545         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2546         Do not save or restore CR.
2547         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2548         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2549         return values for ELFv2 ABI.  Fix location of FPR return registers.
2550         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2551         updated values for _CALL_ELF == 2.
2552         (La_regs, La_retval, int_retval): Likewise.
2554 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2556         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2557         (FRAME_MIN_SIZE_PARM): Likewise.
2558         (FRAME_BACKCHAIN): Likewise.
2559         (FRAME_CR_SAVE): Likewise.
2560         (FRAME_LR_SAVE): Likewise.
2561         (FRAME_TOC_SAVE): Likewise.
2562         (FRAME_PARM_SAVE): Likewise.
2563         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2564         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2565         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2566         (call_mcount_parm_offset): New macro.
2567         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2568         (PROF): Use symbolic stack frame offsets.
2569         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2571         Redefine in terms of FRAME_MIN_SIZE.
2572         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2573         (_dl_profile_resolve): Likewise.  Update comment.
2574         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2575         symbols stack frame offsets.
2576         (__sigsetjmp): Likewise.
2577         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2578         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2579         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2580         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2583         (FRAME_BACKCHAIN): Remove.
2584         (FRAME_CR_SAVE): Likewise.
2585         (FRAME_LR_SAVE): Likewise.
2586         (FRAME_COMPILER_DW): Likewise.
2587         (FRAME_LINKER_DW): Likewise.
2588         (FRAME_TOC_SAVE): Likewise.
2589         (FRAME_PARM_SAVE): Likewise.
2590         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2591         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2592         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2594         (CHECK_SP): Use symbolic stack frame offsets.
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2596         zone" instead of caller's parameter save area for temp storage.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2598         Likewise.  Also, use symbolic stack frame offsets.
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2600         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2601         our own stack frame instead of the caller's.
2602         (__socket): Use symbolic stack frame offsets.
2604 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2605             Alan Modra  <amodra@gmail.com>
2607         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2608         Define.
2609         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2610         PPC64_LOCAL_ENTRY_OFFSET): Define.
2611         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2612         New function.
2613         (elf_machine_fixup_plt): Call it.
2614         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2615         reloc arguments.
2616         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2617         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2618         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2619         r2 before calling target.
2621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2622             Alan Modra  <amodra@gmail.com>
2624         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2625         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2626         versions of macros to support ELFv2 ABI.
2627         (LOCALENTRY): New macro.
2628         (ENTRY, EALIGN): Use it.
2629         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2630         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2631         fall through into ENTRY entry point.
2632         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2633         Only define if _CALL_ELF != 2.
2635         (elf_machine_matches_host): Verify ABI version matches.
2636         (RTLD_START): Use LOCALENTRY.
2637         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2638         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2639         (PLT_ENTRY_WORDS): New macro.
2640         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2641         (elf_machine_runtime_setup): Support ELFv2 ABI.
2642         (elf_machine_fixup_plt): Likewise.
2643         (elf_machine_plt_conflict): Likewise.
2644         (resolve_ifunc): Likewise.
2645         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2647         Likewise.
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2649         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2651         (makecontext): Support ELFv2 ABI.
2652         * elf/elf.h (EF_PPC64_ABI): Define.
2654 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2656         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2657         New assembler macro.
2658         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2659         [ASSEMBLER] (ENTRY): ... but instead here ...
2660         [ASSEMBLER] (EALIGN): ... and here.
2661         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2662         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2663         [!ASSEMBLER] (ENTRY_2): Use it.
2664         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2665         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2666         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2667         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2668         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2670         Use PPC64_LOAD_FUNCPTR.
2672 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2674         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2676 2013-12-04  Alan Modra  <amodra@gmail.com>
2678         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2679         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2680         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2681         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2684         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2685         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2686         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2687         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2688         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2690 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2693         (__makecontext): Fix incorrect CFI when backtracing out of
2694         context created via makecontext.
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2696         (__setcontext): Fix incorrect CFI during switch to new context.
2697         (__novec_setcontext): Likewise.
2699 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2701         [BZ #4772]
2702         * time/strptime_l.c (__strptime_internal): Allow modifiers
2703         in strptime.
2704         * time/tst-strptime.c (day_tests): Add testcase.
2707 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2709         * scripts/bench.pl: Skip over blank lines.
2711 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2713         [BZ #926]
2714         * manual/time.texi (Calendar Time): Clarify what timezone functions
2715         use.
2717 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2723         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2724         implementation.
2725         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2726         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2727         * debug/memset_chk.c (__memset_chk): Likewise.
2728         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2729         * debug/strncpy_chk.c: Likewise.
2731 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2733         [BZ #15268]
2734         [BZ #15425]
2735         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2736         (__ieee754_exp): For possibly underflowing results, check size of
2737         result and force underflow exception if required.
2738         * math/auto-libm-test-in: Add more tests of exp.
2739         * math/auto-libm-test-out: Regenerated.
2740         * sysdeps/i386/fpu/libm-test-ulps: Update.
2741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743         [BZ #16283]
2744         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2745         * math/w_exp2f.c (__exp2f): Likewise.
2746         * math/w_exp2l.c (__exp2l): Likewise.
2747         * math/auto-libm-test-in: Do not allow missing errno on exp2
2748         underflow.
2749         * math/auto-libm-test-out: Regenerated.
2751 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2753         [BZ #16274]
2754         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2755         handle filename validation.
2756         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2757         (do_open): Delete.
2759 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2761         [BZ #6786]
2762         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2763         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2764         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2765         <float.h>.
2766         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2767         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2768         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2770         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2771         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2772         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2773         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2774         Add more erfc tests.
2775         * math/auto-libm-test-out: Regenerated.
2776         * sysdeps/i386/fpu/libm-test-ulps: Update.
2777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2779         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2780         exp2, expm1, j0 and j1.
2781         * math/auto-libm-test-out: Regenerated.
2782         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2783         (erfc_test_data): Likewise.
2784         (exp_test_data): Likewise.
2785         (exp_tonearest_test_data): Likewise.
2786         (exp_towardzero_test_data): Likewise.
2787         (exp_downward_test_data): Likewise.
2788         (exp_upward_test_data): Likewise.
2789         (exp10_test_data): Likewise.
2790         (exp2_test_data): Likewise.
2791         (expm1_test_data): Likewise.
2792         (j0_test_data): Likewise.
2793         (j1_test_data): Likewise.
2794         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2795         (input_flag_type): Add flag_xfail_rounding.
2796         (input_flags): Add xfail-rounding.
2797         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2798         (output_for_one_input_case): Handle flag_xfail_rounding.
2799         * sysdeps/i386/fpu/libm-test-ulps: Update.
2800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2802 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2804         [BZ #16289]
2805         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2806         division by 0.
2808 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2810         [BZ #16195]
2811         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2812         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2813         (STAP_PROBE0): New macro.
2814         (STAP_PROBE1): Likewise.
2815         (STAP_PROBE2): Likewise.
2816         (STAP_PROBE3): Likewise.
2817         (STAP_PROBE4): Likewise.
2819 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2821         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2823 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2825         * benchtests/Makefile (bench): Add sqrt.
2826         (LDLIBS-bench-sqrt): New.
2827         * benchtests/sqrt-input: New.
2829 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2831         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2832         (GAIH_EAI): Likewise.
2833         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2834         (gaih_inet): Likewise.
2835         (getaddrinfo): Don't use GAIH_EAI.
2837         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2838         (struct gaih): Remove definition.
2840 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2842         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2843         Use HERRNOP directly.
2845 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2849 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2851         * math/gen-auto-libm-tests.c (test_functions): Add more
2852         single-argument functions.
2853         (special_fill_pi_2): New function.
2854         (special_fill_minus_pi_2): Likewise.
2855         (special_fill_pi_6): Likewise.
2856         (special_fill_minus_pi_6): Likewise.
2857         (special_fill_pi_3): Likewise.
2858         (special_fill_2pi_3): Likewise.
2859         (special_fill_e): Likewise.
2860         (special_fill_1_e): Likewise.
2861         (special_fill_e_minus_1): Likewise.
2862         (special_real_inputs): Add more special inputs.
2863         (output_for_one_input_case): Do not require ERANGE on underflow to
2864         zero if round-to-nearest result does not underflow to zero, unless
2865         exact results required.
2866         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2867         atan, atanh, cbrt, cos and cosh.
2868         * math/auto-libm-test-out: Regenerated.
2869         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2870         (acos_tonearest_test_data): Likewise.
2871         (acos_towardzero_test_data): Likewise.
2872         (acos_downward_test_data): Likewise.
2873         (acos_upward_test_data): Likewise.
2874         (acosh_test_data): Likewise.
2875         (asin_test_data): Likewise.
2876         (asin_tonearest_test_data): Likewise.
2877         (asin_towardzero_test_data): Likewise.
2878         (asin_upward_test_data): Likewise.
2879         (asinh_test_data): Likewise.
2880         (atan_test_data): Likewise.
2881         (atanh_test_data): Likewise.
2882         (cbrt_test_data): Likewise.
2883         (cos_test_data): Likewise.
2884         (cos_tonearest_test_data): Likewise.
2885         (cos_towardzero_test_data): Likewise.
2886         (cos_downward_test_data): Likewise.
2887         (cos_upward_test_data): Likewise.
2888         (cosh_test_data): Likewise.
2889         (cosh_tonearest_test_data): Likewise.
2890         (cosh_towardzero_test_data): Likewise.
2891         (cosh_downward_test_data): Likewise.
2892         (cosh_upward_test_data): Likewise.
2893         * sysdeps/i386/fpu/libm-test-ulps: Update.
2894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2896 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2898         [BZ #6787]
2899         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2900         * math/w_exp10f.c (__exp10f): Likewise.
2901         * math/w_exp10l.c (__exp10l): Likewise.
2902         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2903         errno settings in existing tests.
2905         [BZ #14032]
2906         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2907         precision control set to double precision.
2908         * sysdeps/i386/fpu/w_sqrt.c: New file.
2909         * math/auto-libm-test-in: Add more tests.
2910         * math/auto-libm-test-out: Update.
2912         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2913         (sqrt_test_tonearest): New function.
2914         (sqrt_towardzero_test_data): New variable.
2915         (sqrt_test_towardzero): New function.
2916         (sqrt_downward_test_data): New variable.
2917         (sqrt_test_downward): New function.
2918         (sqrt_upward_test_data): New variable.
2919         (sqrt_test_upward): New function.
2920         (main): Call the new functions.
2922         * math/gen-auto-libm-tests.c: New file.
2923         * math/auto-libm-test-in: Likewise.
2924         * math/auto-libm-test-out: New generated file.
2925         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2926         variables.
2927         (%beautify): Add generated representations of zero.
2928         (top level): Set $auto_input and call parse_auto_input.
2929         (beautify): Remove trailing "f" from hex float constants.
2930         (parse_args): Handle XFAIL_TEST.
2931         (convert_condition): New function.
2932         (or_value): Likewise.
2933         (or_cond_value): Likewise.
2934         (generate_testfile): Handle AUTO_TESTS_* lines.
2935         (parse_auto_input): New function.
2936         * math/libm-test.inc (XFAIL_TEST): New macro.
2937         (ERRNO_UNCHANGED): Update value.
2938         (ERRNO_EDOM): Likewise.
2939         (ERRNO_ERANGE): Likewise.
2940         (IGNORE_RESULT): Likewise.
2941         (TEST_COND_flt_32): New macro.
2942         (TEST_COND_dbl_64): Likewise.
2943         (TEST_COND_ldbl_96_intel): Likewise.
2944         (TEST_COND_ldbl_96_m68k): Likewise.
2945         (TEST_COND_ldbl_128): Likewise.
2946         (TEST_COND_ldbl_128ibm): Likewise.
2947         (TEST_COND_long32): Likewise.
2948         (TEST_COND_long64): Likewise.
2949         (TEST_COND_before_rounding): Likewise.
2950         (TEST_COND_after_rounding): Likewise.
2951         (enable_test): Handle XFAIL_TEST flag.
2952         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2953         with finite results.
2954         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2955         auto-libm-test-out.
2957 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2958             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2960         [BZ #16214]
2961         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2962         __tls_get_addr_internal instead of __tls_get_offset in order to
2963         avoid GOT pointer dependency.  Make rtld export
2964         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2965         __tls_get_addr since we are a __tls_get_offset platform.
2966         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2967         GOT pointer being set up before.
2968         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2970 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2972         * manual/math.texi (Errors in Math Functions): Document accuracy
2973         goals.
2975         [BZ #15004]
2976         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2977         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2978         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2980         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2981         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2982         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2983         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2984         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2985         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2986         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2987         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2988         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2989         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2991         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2993         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2994         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2995         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2996         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2998         Likewise.
2999         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3000         Likewise.
3001         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3002         Likewise.
3003         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3005         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3006         atomic-feupdateenv and flt-rounds.
3007         * sysdeps/powerpc/nofpu/Versions (libc): Add
3008         __atomic_feholdexcept, __atomic_feclearexcept,
3009         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3010         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3011         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3012         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3013         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3014         here.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3016         Update.
3018         * manual/arith.texi (FP Exceptions): Document that exceptions may
3019         not be raised when matherr is used.
3020         (Math Error Reporting): Document overflow in directed rounding
3021         modes.  Document that errno may not be set when finite values are
3022         returned on overflow.  Document intent to set errno on underflow
3023         only for underflow to zero.
3025         [BZ #16271]
3026         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3027         round-to-nearest then adjust result for other rounding modes.
3028         * include/fenv.h (fegetround): Use libm_hidden_proto.
3029         * math/fegetround.c (fegetround): Use libm_hidden_def.
3030         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3031         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3032         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3034         Likewise.
3035         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3036         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3037         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3038         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3040 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3042         [BZ #16077]
3043         * nss/Versions (libnss_files): Add
3044         _nss_files_gethostbyname3_r.
3045         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3046         New function.
3047         (HOST_DB_LOOKUP): Remove macro.
3048         (_nss_files_gethostbyname_r): Implement function without the
3049         HOST_DB_LOOKUP macro.
3050         (_nss_files_gethostbyname2_r): Likewise.
3052 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3054         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3056 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3058         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3059         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3060         warning.
3062 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3064         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3065         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3066         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3067         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3068         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3069         __fe_nomask_env_priv and attribute_hidden.
3070         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3071         (libc_feupdateenv_test_ppc): Likewise.
3072         (libc_feresetround_ppc): Likewise.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3074         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3075         compat_symbol macro.
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3077         (__fe_nomask_env): Likewise.
3078         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3080 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3082         * string/Makefile: Remove ifunc tests.
3083         * string/test-string.h: Define TEST_IFUNC.
3084         * string/test-bcopy-ifunc.c: Remove.
3085         * string/test-bzero-ifunc.c: Likewise.
3086         * string/test-memccpy-ifunc.c: Likewise.
3087         * string/test-memchr-ifunc.c: Likewise.
3088         * string/test-memcmp-ifunc.c: Likewise.
3089         * string/test-memcpy-ifunc.c: Likewise.
3090         * string/test-memmem-ifunc.c: Likewise.
3091         * string/test-memmove-ifunc.c: Likewise.
3092         * string/test-mempcpy-ifunc.c: Likewise.
3093         * string/test-memrchr-ifunc.c: Likewise.
3094         * string/test-memset-ifunc.c: Likewise.
3095         * string/test-rawmemchr-ifunc.c: Likewise.
3096         * string/test-stpcpy-ifunc.c: Likewise.
3097         * string/test-stpncpy-ifunc.c: Likewise.
3098         * string/test-strcasecmp-ifunc.c: Likewise.
3099         * string/test-strcasestr-ifunc.c: Likewise.
3100         * string/test-strcat-ifunc.c: Likewise.
3101         * string/test-strchr-ifunc.c: Likewise.
3102         * string/test-strchrnul-ifunc.c: Likewise.
3103         * string/test-strcmp-ifunc.c: Likewise.
3104         * string/test-strcpy-ifunc.c: Likewise.
3105         * string/test-strcspn-ifunc.c: Likewise.
3106         * string/test-strlen-ifunc.c: Likewise.
3107         * string/test-strncasecmp-ifunc.c: Likewise.
3108         * string/test-strncat-ifunc.c: Likewise.
3109         * string/test-strncmp-ifunc.c: Likewise.
3110         * string/test-strncpy-ifunc.c: Likewise.
3111         * string/test-strnlen-ifunc.c: Likewise.
3112         * string/test-strpbrk-ifunc.c: Likewise.
3113         * string/test-strrchr-ifunc.c: Likewise.
3114         * string/test-strspn-ifunc.c: Likewise.
3115         * string/test-strstr-ifunc.c: Likewise.
3117 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3119         * benchtests/Makefile: Remove ifunc tests.
3120         * benchtests/bench-string.h: Define TEST_IFUNC.
3121         * benchtests/bench-bcopy-ifunc.c: Remove.
3122         * benchtests/bench-bzero-ifunc.c: Likewise.
3123         * benchtests/bench-memccpy-ifunc.c: Likewise.
3124         * benchtests/bench-memchr-ifunc.c: Likewise.
3125         * benchtests/bench-memcmp-ifunc.c: Likewise.
3126         * benchtests/bench-memcpy-ifunc.c: Likewise.
3127         * benchtests/bench-memmem-ifunc.c: Likewise.
3128         * benchtests/bench-memmove-ifunc.c: Likewise.
3129         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3130         * benchtests/bench-memrchr-ifunc.c: Likewise.
3131         * benchtests/bench-memset-ifunc.c: Likewise.
3132         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3133         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3134         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3135         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3136         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3137         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3138         * benchtests/bench-strcat-ifunc.c: Likewise.
3139         * benchtests/bench-strchr-ifunc.c: Likewise.
3140         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3141         * benchtests/bench-strcmp-ifunc.c: Likewise.
3142         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3143         * benchtests/bench-strcpy-ifunc.c: Likewise.
3144         * benchtests/bench-strcspn-ifunc.c: Likewise.
3145         * benchtests/bench-strlen-ifunc.c: Likewise.
3146         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3147         * benchtests/bench-strncat-ifunc.c: Likewise.
3148         * benchtests/bench-strncmp-ifunc.c: Likewise.
3149         * benchtests/bench-strncpy-ifunc.c: Likewise.
3150         * benchtests/bench-strnlen-ifunc.c: Likewise.
3151         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3152         * benchtests/bench-strrchr-ifunc.c: Likewise.
3153         * benchtests/bench-strsep-ifunc.c: Likewise.
3154         * benchtests/bench-strspn-ifunc.c: Likewise.
3155         * benchtests/bench-strstr-ifunc.c: Likewise.
3157 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3159         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3163         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3164         * rt/aio.h: Likewise.
3165         * sysdeps/gnu/bits/utmp.h: Likewise.
3166         * sysdeps/gnu/bits/utmpx.h: Likewise.
3167         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3168         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3169         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3170         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3171         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3172         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3173         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3174         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3175         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3176         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3177         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3178         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3179         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3181         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3182         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3183         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3184         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3185         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3186         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3187         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3188         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3189         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3190         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3191         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3193         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3194         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3195         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3196         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3197         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3198         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3201         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3202         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3203         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3204         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3205         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3206         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3207         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3208         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3210 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3212         [BZ #16245]
3213         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3214         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3216 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3218         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3219         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3220         Likewise.
3222 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3225         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3226         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3227         (__fesetround): Remove define.
3228         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3229         rounding and exceptions handling.
3230         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3231         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3232         (__fe_nomask_env): Likewise.
3233         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3234         __fegetround instead of fegetround.
3235         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3236         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3238 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3240         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3241         it's there.
3243         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3245 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3247         [BZ #11157]
3248         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3249         (encrypt_r): Likewise.
3250         * malloc/obstack.h (obstack_free): Likewise.
3251         * posix/unistd.h (encrypt): Likewise.
3253 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3255         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3256         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3257         DL_CALL_DT_FINI() that call the functions directly.
3258         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3259         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3260         * elf/dl-fini.c: Likewise.
3262 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3264         * malloc/hooks.c (memalign_check): Add alignment rounding.
3265         * malloc/malloc.c (_mid_memalign): New function.
3266         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3267         Implement by calling _mid_memalign.
3268         * manual/probes.texi (Memory Allocation Probes): Remove
3269         memory_valloc_retry and memory_pvalloc_retry.
3271 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3273         * locale/programs/locarchive.c (open_archive): Add const
3274         qualifier to ARCHIVEFNAME and copy default fname to
3275         DEFAULT_FNAME.
3277         [BZ #15601]
3278         * libio/tst-widetext.input: Rename Oriya to Odia.
3279         * locale/iso-639.def: Likewise.
3281         * manual/probes.texi (Mathematical Function Probes): Add
3282         documentation for sin, cos, asin and acos probes.
3283         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3284         (__sin32): Add slowasin probe.
3285         (__cos32): Add slowacos probe.
3286         (__mpsin): Add slowsin probe.
3287         (__mpcos): Add slowcos probe.
3289 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #15483]
3292         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3293         thread-local __sim_exceptions_thread and global
3294         __sim_exceptions_global.
3295         (__sim_disabled_exceptions): Change to thread-local
3296         __sim_disabled_exceptions_thread and global
3297         __sim_disabled_exceptions_global.
3298         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3299         and global __sim_round_mode_global.
3300         (__simulate_exceptions): Use thread-local floating-point state and
3301         set global state from it as needed.
3302         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3303         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3304         __sim_round_mode_thread.
3305         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3306         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3307         and global __sim_exceptions_global.
3308         (__sim_disabled_exceptions): Change to thread-local
3309         __sim_disabled_exceptions_thread and global
3310         __sim_disabled_exceptions_global.
3311         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3312         and global __sim_round_mode_global.
3313         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3314         (SIM_SET_GLOBAL): Likewise.
3315         * sysdeps/powerpc/soft-fp/sfp-machine.h
3316         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3317         __sim_round_mode_thread.
3318         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3319         __sim_disabled_exceptions_thread.
3320         (__sim_exceptions): Change to __sim_exceptions_thread.
3321         (__sim_disabled_exceptions): Change to
3322         __sim_disabled_exceptions_thread.
3323         (__sim_round_mode): Change to __sim_round_mode_thread.
3324         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3325         thread-local floating-point state and set global state from it as
3326         needed.
3327         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3328         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3329         (__sim_disabled_exceptions): Remove extern declaration.
3330         (feenableexcept): Use thread-local floating-point state and set
3331         global state from it as needed.
3332         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3333         extern declaration.
3334         (__sim_disabled_exceptions): Likewise.
3335         (__sim_round_mode): Likewise.
3336         (__fegetenv): Use thread-local floating-point state.
3337         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3338         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3339         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3340         floating-point state and set global state from it as needed.
3341         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3342         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3343         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3344         Likewise.
3345         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3346         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3347         Likewise.
3348         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3349         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3350         Use __sim_round_mode_thread.
3351         * math/test-fenv-tls.c: New file.
3352         * math/Makefile (tests): Add test-fenv-tls.
3353         ($(objpfx)test-fenv-tls): Depend on
3354         $(common-objpfx)nptl/libpthread.so.
3356 2013-11-19  Andreas Schwab  <schwab@suse.de>
3358         * locale/programs/locale.c (show_info): Decode wordarray elements.
3359         * locale/categories.def (LC_MONETARY): Add element for
3360         _NL_MONETARY_CRNCYSTR.
3361         * locale/C-monetary.c (conversion_rate): New variable.
3362         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3363         element.
3365 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3367         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3368         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3370 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3372         * elf/Makefile (tst-auxv): New test.
3373         * elf/tst-auxv.c: New
3374         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3376 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3378         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3379         (hidden_proto): Caller changed.
3380         (hidden_tls_proto): New macro.
3381         (libc_hidden_tls_proto): Likewise.
3382         (rtld_hidden_tls_proto): Likewise.
3383         (libm_hidden_tls_proto): Likewise.
3384         (libresolv_hidden_tls_proto): Likewise.
3385         (librt_hidden_tls_proto): Likewise.
3386         (libdl_hidden_tls_proto): Likewise.
3387         (libnss_files_hidden_tls_proto): Likewise.
3388         (libnsl_hidden_tls_proto): Likewise.
3389         (libnss_nisplus_hidden_tls_proto): Likewise.
3390         (libutil_hidden_tls_proto): Likewise.
3392 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3394         [BZ #10253]
3395         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3396         (decompose_rpath): Defer expansion to fillin_rpath.
3397         (_dl_init_paths): Pass linkmap to fillin_rpath.
3399 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3401         * benchtests/Makefile: Add strsep.
3402         * benchtests/bench-strsep.c: New file: strsep benchtest.
3403         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3405 2013-11-18  Andreas Schwab  <schwab@suse.de>
3407         * locale/programs/locale.c (show_info) [case byte]: Check for
3408         '\377' instead of '\177'.
3409         * locale/C-monetary.c (not_available): Always use "\377".
3410         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3411         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3412         detect unavailable sign_posn locale elements.
3413         * locale/localeconv.c (__localeconv): For grouping and
3414         mon_grouping handle "\177" and "\377" like no grouping.
3415         (INT_ELEM): New macro.  Use it to set all numeric members.
3416         * locale/programs/ld-monetary.c (monetary_read)
3417         <tok_mon_grouping>: Normalize single -1 to the empty string.
3418         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3419         Likewise.
3421 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3423         [BZ #16055]
3424         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3425         when we match (nil).
3426         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3428 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3430         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3431         (NO_TEST_INLINE): Update value.
3432         (ERRNO_UNCHANGED): Likewise.
3433         (ERRNO_EDOM): Likewise.
3434         (ERRNO_ERANGE): Likewise.
3435         (IGNORE_RESULT): Likewise.
3436         (check_float_internal): Check signs of NaN results if
3437         TEST_NAN_SIGN used.
3438         (check_complex): Pass TEST_NAN_SIGN flag through to second
3439         check_float_internal call.
3440         (copysign_test_data): Add tests with quiet NaNs as second
3441         argument.  Use TEST_NAN_SIGN.
3442         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3443         TEST_NAN_SIGN.
3444         (signbit_test_data): Add tests of quiet NaN argument.
3445         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3447         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3448         $ignore_result.
3449         (parse_args): Handle function results specified as IGNORE.
3450         * math/libm-test.inc (IGNORE_RESULT): New macro.
3451         (check_float_internal): Do not check numerical result if flag
3452         IGNORE_RESULT set.
3453         (check_complex): Pass through IGNORE_RESULT to second
3454         check_float_internal call.
3455         (check_int): Do not check numerical result if flag IGNORE_RESULT
3456         set.
3457         (check_long): Likewise.
3458         (check_bool): Likewise.
3459         (check_longlong): Likewise.
3460         (lrint_test_data): Add tests of infinite and NaN arguments.
3461         (lrint_tonearest_test_data): Likewise.
3462         (lrint_towardzero_test_data): Likewise.
3463         (lrint_downward_test_data): Likewise.
3464         (lrint_upward_test_data): Likewise.
3465         (llrint_test_data): Likewise.
3466         (llrint_tonearest_test_data): Likewise.
3467         (llrint_towardzero_test_data): Likewise.
3468         (llrint_downward_test_data): Likewise.
3469         (llrint_upward_test_data): Likewise.
3470         (lround_test_data): Likewise.
3471         (llround_test_data): Likewise.
3473         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3474         (ERRNO_UNCHANGED): Update value.
3475         (ERRNO_EDOM): Likewise.
3476         (ERRNO_ERANGE): Likewise.
3477         (NO_TEST_INLINE_FLOAT): New macro.
3478         (NO_TEST_INLINE_DOUBLE): Likewise.
3479         (enable_test): New function.
3480         (RUN_TEST_f_f): Check enable_test before running test.
3481         (RUN_TEST_2_f): Likewise.
3482         (RUN_TEST_fff_f): Likewise.
3483         (RUN_TEST_c_f): Likewise.
3484         (RUN_TEST_f_f1): Likewise.
3485         (RUN_TEST_fF_f1): Likewise.
3486         (RUN_TEST_fI_f1): Likewise.
3487         (RUN_TEST_ffI_f1): Likewise.
3488         (RUN_TEST_c_c): Likewise.
3489         (RUN_TEST_cc_c): Likewise.
3490         (RUN_TEST_f_i): Likewise.
3491         (RUN_TEST_f_i_tg): Likewise.
3492         (RUN_TEST_ff_i_tg): Likewise.
3493         (RUN_TEST_f_b): Likewise.
3494         (RUN_TEST_f_b_tg): Likewise.
3495         (RUN_TEST_f_l): Likewise.
3496         (RUN_TEST_f_L): Likewise.
3497         (RUN_TEST_fFF_11): Likewise.
3498         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3499         conditionals.
3500         (cosh_test_data): Likewise.
3501         (exp_test_data): Likewise.
3502         (expm1_test_data): Likewise.
3503         (hypot_test_data): Likewise.
3504         (pow_test_data): Likewise.
3505         (sinh_test_data): Likewise.
3506         (tanh_test_data): Likewise.
3507         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3508         flags argument.
3510         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3511         tests with quiet NaN input and output.
3512         (acosh_test_data): Likewise.
3513         (asin_test_data): Likewise.
3514         (asinh_test_data): Likewise.
3515         (atan_test_data): Likewise.
3516         (atanh_test_data): Likewise.
3517         (atan2_test_data): Likewise.
3518         (cbrt_test_data): Likewise.
3519         (cos_test_data): Likewise.
3520         (cosh_test_data): Likewise.
3521         (erf_test_data): Likewise.
3522         (erfc_test_data): Likewise.
3523         (exp_test_data): Likewise.
3524         (exp10_test_data): Likewise.
3525         (exp2_test_data): Likewise.
3526         (expm1_test_data): Likewise.
3527         (hypot_test_data): Likewise.
3528         (j0_test_data): Likewise.
3529         (j1_test_data): Likewise.
3530         (jn_test_data): Likewise.
3531         (lgamma_test_data): Likewise.
3532         (log_test_data): Likewise.
3533         (log10_test_data): Likewise.
3534         (log1p_test_data): Likewise.
3535         (log2_test_data): Likewise.
3536         (pow_test_data): Likewise.
3537         (scalb_test_data): Likewise.
3538         (sin_test_data): Likewise.
3539         (sincos_test_data): Likewise.
3540         (sinh_test_data): Likewise.
3541         (tan_test_data): Likewise.
3542         (tanh_test_data): Likewise.
3543         (tgamma_test_data): Likewise.
3544         (y0_test_data): Likewise.
3545         (y1_test_data): Likewise.
3546         (yn_test_data): Likewise.
3548         [BZ #16167]
3549         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3550         argument being NaN and avoid computations with second argument in
3551         that case.
3552         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3553         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3554         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3556 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3558         * locale/iso-639.def: Add Chitwani Tharu (the).
3560 2013-11-14  Andreas Schwab  <schwab@suse.de>
3562         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3563         word instead of empty string.
3565 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3568         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3570         (__fe_nomask_env): Likewise.
3572 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3574         * benchtests/bench-timing.h: Include time.h.
3576 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3578         [BZ #15997]
3579         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3580         to 3.4.0 for x32.
3581         * sysdeps/unix/sysv/linux/configure: Regenerated.
3583 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3585         [BZ #16151]
3586         * stdlib/strtod_l.c (round_and_return): Do not consider
3587         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3588         exponent one less than half the least subnormal exponent.
3589         * stdlib/test-strtod-round-data: Add more tests.
3590         * stdlib/tst-strtod-round.c (tests): Regenerated.
3592 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3594         [BZ #14143]
3595         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3596         (__fe_mask_env): Likewise.
3597         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3598         libm_hidden_proto and add function prototype.
3599         (__fe_mask_env): Add function prototype.
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3601         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3603         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3605         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3607 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3609         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3610         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3612 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3614         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3615         of htab_find_slot().
3617 2013-11-11  David S. Miller  <davem@davemloft.net>
3619         [BZ #16150]
3620         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3621         symbol in the non-vis3 case in static builds.
3622         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3623         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3624         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3625         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3627 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3629         [BZ #387]
3630         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3631         it is empty.
3633 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3635         * benchtests/Makefile: Add bench-strtod.
3636         * benchtests/bench-strtod.c: New file: strtod benchtest
3638 2013-11-11  Andreas Schwab  <schwab@suse.de>
3640         [BZ #16153]
3641         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3642         terminating NUL in key length.
3644 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3647         Add artificial ODP entry for vDSO symbol for PPC64.
3648         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3649         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3651 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3653         [BZ #15374]
3654         * nss/getent.c (services_keys): Recognize services starting with digit.
3656 2013-11-06  David S. Miller  <davem@davemloft.net>
3658         [BZ #15985]
3659         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3660         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3662 2013-11-06  Will Newton  <will.newton@linaro.org>
3664         * manual/memory.texi (Malloc Examples): Remove register
3665         keyword from examples.
3667 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3669         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3671 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3673         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3674         depending on [__GCC_IEC_559 > 0].
3675         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3676         depending on [__GCC_IEC_559_COMPLEX > 0].
3678 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3680         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3681         to iso-639.def.
3683 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3685         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3687 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3689         [BZ #16112]
3690         * malloc/malloc (malloc_info): Do not handle first bin as
3691         special case.
3693 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3695         * locale/iso-639.def: Add Central Nahuatl (nhn).
3697 2013-11-01  Bruno Haible  <bruno@clisp.org>
3699         [BZ #7003]
3700         * manual/math.texi (BSD Random): Specify range upper bound as
3701         in POSIX.
3703 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3705         * locale/iso-639.def: Add Meadow Mari (mhr).
3707 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3709         [BZ #14752], [BZ #15763]
3710         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3711         Validate name.
3712         * rt/tst_shm.c: Add test for escaping directory.
3714 2013-10-31  Andreas Schwab  <schwab@suse.de>
3716         [BZ #15917]
3717         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3718         followed by 'x' as part of digit sequence.
3719         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3721 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3723         [BZ #16037]
3724         * configure.ac: allow GNU Make 4.0 and greater.
3725         * configure: Regenerated.
3727 2013-10-30  Will Newton  <will.newton@linaro.org>
3729         [BZ #16038]
3730         * malloc/hooks.c (memalign_check): Limit alignment to the
3731         maximum representable power of two.
3732         * malloc/malloc.c (__libc_memalign): Likewise.
3733         * malloc/tst-memalign.c (do_test): Add test for very
3734         large alignment values.
3735         * malloc/tst-posix_memalign.c (do_test): Likewise.
3737 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3739         [BZ #11087]
3740         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3741         (munmap_chunk): Likewise.
3742         (mremap_chunk): Likewise.
3744 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3746         [BZ #15799]
3747         * stdlib/div.c (div): Remove obsolete code.
3748         * stdlib/ldiv.c (ldiv): Likewise.
3749         * stdlib/lldiv.c (lldiv): Likewise.
3751 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3753         [BZ #16071]
3754         * nss/nss_files/files-XXX.c (get_contents_ret): New
3755         enumerator.
3756         (get_contents): New function.
3757         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3759 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3761         * configure.in: Moved to ...
3762         * configure.ac: ... here. Change reference to configure.in
3763         to configure.ac.
3764         * sysdeps/arm/preconfigure.ac: ... here.
3765         configure.in to configure.ac.
3766         * sysdeps/gnu/configure.in: Moved to ...
3767         * sysdeps/gnu/configure.ac: ... here.
3768         * sysdeps/i386/configure.in: Moved to ...
3769         * sysdeps/i386/configure.ac: ... here.
3770         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3771         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3772         * sysdeps/mach/configure.in: Moved to ...
3773         * sysdeps/mach/configure.ac: ... here.
3774         * sysdeps/mach/hurd/configure.in: Moved to ...
3775         * sysdeps/mach/hurd/configure.ac: ... here.
3776         * sysdeps/powerpc/configure.in: Moved to ...
3777         * sysdeps/powerpc/configure.ac: ... here.
3778         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3779         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3780         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3781         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3782         * sysdeps/s390/s390-32/configure.in: Moved to ...
3783         * sysdeps/s390/s390-32/configure.ac: ... here.
3784         * sysdeps/s390/s390-64/configure.in: Moved to ...
3785         * sysdeps/s390/s390-64/configure.ac: ... here.
3786         * sysdeps/sh/configure.in: Moved to ...
3787         * sysdeps/sh/configure.ac: ... here.
3788         * sysdeps/sparc/configure.in: Moved to ...
3789         * sysdeps/sparc/configure.ac: ... here.
3790         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3791         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3792         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3793         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3794         * sysdeps/x86_64/configure.in: Moved to ...
3795         * sysdeps/x86_64/configure.ac: ... here.
3796         * sysdeps/x86_64/preconfigure.in: Moved to ...
3797         * sysdeps/x86_64/preconfigure.ac: ... here.
3798         * aclocal.m4: Change reference to configure.in to configure.ac.
3799         * config.h.in: Likewise.
3800         * manual/install.texi: Likewise.
3801         * manual/maint.texi: Likewise.
3802         * Makefile: Likewise.
3803         * malloc/Makefile: Likewise.
3804         * nscd/Makefile: Likewise.
3805         * Makeconfig: Change reference to configure.in and
3806         preconfigure.in to configure.ac and preconfigure.ac
3807         respectively.
3808         * INSTALL: Regenerated.
3809         * configure: Likewise.
3810         * sysdeps/gnu/configure: Likewise.
3811         * sysdeps/i386/configure: Likewise.
3812         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3813         * sysdeps/mach/configure: Likewise.
3814         * sysdeps/mach/hurd/configure: Likewise.
3815         * sysdeps/powerpc/configure: Likewise.
3816         * sysdeps/powerpc/powerpc32/configure: Likewise.
3817         * sysdeps/powerpc/powerpc64/configure: Likewise.
3818         * sysdeps/s390/s390-32/configure: Likewise.
3819         * sysdeps/s390/s390-64/configure: Likewise.
3820         * sysdeps/sh/configure: Likewise.
3821         * sysdeps/sparc/configure: Likewise.
3822         * sysdeps/unix/sysv/linux/configure: Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3824         * sysdeps/x86_64/configure: Likewise.
3825         * sysdeps/x86_64/preconfigure: Likewise.
3827 2013-10-29  Andreas Schwab  <schwab@suse.de>
3829         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3831 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3833         * benchtests/pow-inputs: Add new inputs.
3835         * benchtests/exp-inputs: Add new inputs.
3837         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3838         conditional check for return value.
3839         (__cos32): Likewise.
3841 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3843         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3844         to provide a boost for large inputs with word alignment.
3845         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3846         implementation based on optimized PPC64 strcpy.
3847         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3848         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3849         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3850         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3852 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3854         [BZ #2801]
3855         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3859         [BZ #14876]
3860         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3861         * time/tst-strptime.c (day_tests): Add testcase.
3863 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3865         [BZ #14029]
3866         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3868 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3870         [BZ #16074]
3871         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3872         MAP_FAILED on error.
3874 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3876         [BZ #16072]
3877         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3878         heap for large requests.
3880 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3882         [BZ #9954]
3883         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3884         result if the result has no associated interface.
3885         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3886         interface for all 127.X.Y.Z addresses.
3888 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3890         * locale/iso-639.def: Add Ligurian (lij)
3892 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3894         [BZ #15825]
3895         * sunrpc/rpc_main.c: Document rpcgen -5.
3897 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3899         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3901 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3903         [BZ #10278]
3904         * posix/glob.c: Match only directories when trailing slash is present.
3905         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3906         (main): Add testcase.
3908 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3910         [BZ #15670]
3911         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3913 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3915         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3916         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3917         AUTH_DES and cindex for FIPS 140-2.
3918         (DES Encryption): Add cindex FIPS 46-3.
3920         * locale/locarchive.h (struct locarhandle): Add fname.
3921         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3922         if an optional argument was specified to --list-archive,
3923         otherwise NULL.
3924         * locale/programs/locarchive.c (show_archive_content): Take new
3925         argument fname and pass it via ah.fname to open_archive.
3926         * locale/programs/localedef.h: Update decl.
3927         (open_archive): If AH->fname is non-null, open that file
3928         rather than the default file name, and don't ignore ENOENT.
3929         (create_archive): Set AH.fname to NULL.
3930         (delete_locales_from_archive): Likewise.
3931         (add_locales_to_archive): Likewise.
3932         * locale/programs/locfile.c (write_all_categories): Likewise.
3934 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3935             Aldy Hernandez  <aldyh@redhat.com>
3937         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3938         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3939         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3940         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3941         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3942         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3943         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3945         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3946         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3947         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3948         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3949         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3950         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3951         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3952         Likewise.
3953         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3954         Likewise.
3955         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3956         Likewise.
3957         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3958         Likewise.
3959         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3960         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3961         Likewise.
3962         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3963         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3964         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3965         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3966         Likewise.
3967         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3968         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3969         * sysdeps/powerpc/preconfigure: Likewise.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3971         Likewise.
3972         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3973         Replace contents of file by #include of <fenv_libc.h>.
3974         * sysdeps/powerpc/soft-fp/sfp-machine.h
3975         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3976         and <sys/prctl.h>.
3977         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3990         Allow copysignl PLT reference to be missing.
3992 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3993             Joseph Myers  <joseph@codesourcery.com
3995         [BZ #15948]
3996         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3997         single character.
3998         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4000 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4002         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4003         * elf/tst-tls1.c: Likewise.
4004         * elf/tst-tls10.h: Likewise.
4005         * elf/tst-tls14.c: Likewise.
4006         * elf/tst-tls2.c: Likewise.
4007         * elf/tst-tls3.c: Likewise.
4008         * elf/tst-tls4.c: Likewise.
4009         * elf/tst-tls5.c: Likewise.
4010         * elf/tst-tls6.c: Likewise.
4011         * elf/tst-tls7.c: Likewise.
4012         * elf/tst-tls8.c: Likewise.
4013         * elf/tst-tls9.c: Likewise.
4014         * elf/tst-tlsmod1.c: Likewise.
4015         * elf/tst-tlsmod13.c: Likewise.
4016         * elf/tst-tlsmod13a.c: Likewise.
4017         * elf/tst-tlsmod14a.c: Likewise.
4018         * elf/tst-tlsmod16a.c: Likewise.
4019         * elf/tst-tlsmod16b.c: Likewise.
4020         * elf/tst-tlsmod2.c: Likewise.
4021         * elf/tst-tlsmod3.c: Likewise.
4022         * elf/tst-tlsmod4.c: Likewise.
4023         * elf/tst-tlsmod5.c: Likewise.
4024         * elf/tst-tlsmod6.c: Likewise.
4026 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4028         [BZ #12486]
4029         * malloc/malloc.c: remove checks for statistics.
4031 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4033         [BZ #15277]
4034         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4035         * inet/tst-network.c: Add testcase.
4037 2013-10-17  Andreas Schwab  <schwab@suse.de>
4039         [BZ #15218]
4040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4041         to determine canonical name.
4043 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4045         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4046         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4047         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4048         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4049         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4050         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4051         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4052         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4053         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4054         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4055         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4056         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4057         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4058         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4059         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4060         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4062         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4063         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4064         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4065         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4067         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4068         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4069         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4070         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4073         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4074         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4075         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4077         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4078         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4079         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4080         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4081         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4082         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4083         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4084         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4086         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4087         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4088         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4089         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4090         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4099         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4100         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4102         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4104 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4106         [BZ #16041]
4107         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4108         make result into a quiet NaN.
4110 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4112         * soft-fp/adddf3.c: Fix horizontal whitespace.
4113         * soft-fp/addsf3.c: Likewise.
4114         * soft-fp/addtf3.c: Likewise.
4115         * soft-fp/divdf3.c: Likewise.
4116         * soft-fp/divsf3.c: Likewise.
4117         * soft-fp/divtf3.c: Likewise.
4118         * soft-fp/double.h: Likewise.
4119         * soft-fp/eqdf2.c: Likewise.
4120         * soft-fp/eqsf2.c: Likewise.
4121         * soft-fp/eqtf2.c: Likewise.
4122         * soft-fp/extenddftf2.c: Likewise.
4123         * soft-fp/extended.h: Likewise.
4124         * soft-fp/extendsfdf2.c: Likewise.
4125         * soft-fp/extendsftf2.c: Likewise.
4126         * soft-fp/extendxftf2.c: Likewise.
4127         * soft-fp/fixdfdi.c: Likewise.
4128         * soft-fp/fixdfsi.c: Likewise.
4129         * soft-fp/fixdfti.c: Likewise.
4130         * soft-fp/fixsfdi.c: Likewise.
4131         * soft-fp/fixsfsi.c: Likewise.
4132         * soft-fp/fixsfti.c: Likewise.
4133         * soft-fp/fixtfdi.c: Likewise.
4134         * soft-fp/fixtfsi.c: Likewise.
4135         * soft-fp/fixtfti.c: Likewise.
4136         * soft-fp/fixunsdfdi.c: Likewise.
4137         * soft-fp/fixunsdfsi.c: Likewise.
4138         * soft-fp/fixunsdfti.c: Likewise.
4139         * soft-fp/fixunssfdi.c: Likewise.
4140         * soft-fp/fixunssfsi.c: Likewise.
4141         * soft-fp/fixunssfti.c: Likewise.
4142         * soft-fp/fixunstfdi.c: Likewise.
4143         * soft-fp/fixunstfsi.c: Likewise.
4144         * soft-fp/fixunstfti.c: Likewise.
4145         * soft-fp/floatdidf.c: Likewise.
4146         * soft-fp/floatdisf.c: Likewise.
4147         * soft-fp/floatditf.c: Likewise.
4148         * soft-fp/floatsidf.c: Likewise.
4149         * soft-fp/floatsisf.c: Likewise.
4150         * soft-fp/floatsitf.c: Likewise.
4151         * soft-fp/floattidf.c: Likewise.
4152         * soft-fp/floattisf.c: Likewise.
4153         * soft-fp/floattitf.c: Likewise.
4154         * soft-fp/floatundidf.c: Likewise.
4155         * soft-fp/floatundisf.c: Likewise.
4156         * soft-fp/floatunditf.c: Likewise.
4157         * soft-fp/floatunsidf.c: Likewise.
4158         * soft-fp/floatunsisf.c: Likewise.
4159         * soft-fp/floatunsitf.c: Likewise.
4160         * soft-fp/floatuntidf.c: Likewise.
4161         * soft-fp/floatuntisf.c: Likewise.
4162         * soft-fp/floatuntitf.c: Likewise.
4163         * soft-fp/fmadf4.c: Likewise.
4164         * soft-fp/fmasf4.c: Likewise.
4165         * soft-fp/fmatf4.c: Likewise.
4166         * soft-fp/gedf2.c: Likewise.
4167         * soft-fp/gesf2.c: Likewise.
4168         * soft-fp/getf2.c: Likewise.
4169         * soft-fp/ledf2.c: Likewise.
4170         * soft-fp/lesf2.c: Likewise.
4171         * soft-fp/letf2.c: Likewise.
4172         * soft-fp/muldf3.c: Likewise.
4173         * soft-fp/mulsf3.c: Likewise.
4174         * soft-fp/multf3.c: Likewise.
4175         * soft-fp/negdf2.c: Likewise.
4176         * soft-fp/negsf2.c: Likewise.
4177         * soft-fp/negtf2.c: Likewise.
4178         * soft-fp/op-1.h: Likewise.
4179         * soft-fp/op-2.h: Likewise.
4180         * soft-fp/op-4.h: Likewise.
4181         * soft-fp/op-8.h: Likewise.
4182         * soft-fp/op-common.h: Likewise.
4183         * soft-fp/quad.h: Likewise.
4184         * soft-fp/single.h: Likewise.
4185         * soft-fp/soft-fp.h: Likewise.
4186         * soft-fp/sqrtdf2.c: Likewise.
4187         * soft-fp/sqrtsf2.c: Likewise.
4188         * soft-fp/sqrttf2.c: Likewise.
4189         * soft-fp/subdf3.c: Likewise.
4190         * soft-fp/subsf3.c: Likewise.
4191         * soft-fp/subtf3.c: Likewise.
4192         * soft-fp/truncdfsf2.c: Likewise.
4193         * soft-fp/trunctfdf2.c: Likewise.
4194         * soft-fp/trunctfsf2.c: Likewise.
4195         * soft-fp/trunctfxf2.c: Likewise.
4196         * soft-fp/unorddf2.c: Likewise.
4197         * soft-fp/unordsf2.c: Likewise.
4198         * soft-fp/unordtf2.c: Likewise.
4200 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4202         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4203         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4205 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4207         * elf/dl-libc.c: Clear initfini list after freeing.
4209 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4211         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4212         * soft-fp/addsf3.c: Likewise.
4213         * soft-fp/addtf3.c: Likewise.
4214         * soft-fp/divdf3.c: Likewise.
4215         * soft-fp/divsf3.c: Likewise.
4216         * soft-fp/divtf3.c: Likewise.
4217         * soft-fp/double.h: Likewise.
4218         * soft-fp/eqdf2.c: Likewise.
4219         * soft-fp/eqsf2.c: Likewise.
4220         * soft-fp/eqtf2.c: Likewise.
4221         * soft-fp/extenddftf2.c: Likewise.
4222         * soft-fp/extended.h: Likewise.
4223         * soft-fp/extendsfdf2.c: Likewise.
4224         * soft-fp/extendsftf2.c: Likewise.
4225         * soft-fp/extendxftf2.c: Likewise.
4226         * soft-fp/fixdfdi.c: Likewise.
4227         * soft-fp/fixdfsi.c: Likewise.
4228         * soft-fp/fixdfti.c: Likewise.
4229         * soft-fp/fixsfdi.c: Likewise.
4230         * soft-fp/fixsfsi.c: Likewise.
4231         * soft-fp/fixsfti.c: Likewise.
4232         * soft-fp/fixtfdi.c: Likewise.
4233         * soft-fp/fixtfsi.c: Likewise.
4234         * soft-fp/fixtfti.c: Likewise.
4235         * soft-fp/fixunsdfdi.c: Likewise.
4236         * soft-fp/fixunsdfsi.c: Likewise.
4237         * soft-fp/fixunsdfti.c: Likewise.
4238         * soft-fp/fixunssfdi.c: Likewise.
4239         * soft-fp/fixunssfsi.c: Likewise.
4240         * soft-fp/fixunssfti.c: Likewise.
4241         * soft-fp/fixunstfdi.c: Likewise.
4242         * soft-fp/fixunstfsi.c: Likewise.
4243         * soft-fp/fixunstfti.c: Likewise.
4244         * soft-fp/floatdidf.c: Likewise.
4245         * soft-fp/floatdisf.c: Likewise.
4246         * soft-fp/floatditf.c: Likewise.
4247         * soft-fp/floatsidf.c: Likewise.
4248         * soft-fp/floatsisf.c: Likewise.
4249         * soft-fp/floatsitf.c: Likewise.
4250         * soft-fp/floattidf.c: Likewise.
4251         * soft-fp/floattisf.c: Likewise.
4252         * soft-fp/floattitf.c: Likewise.
4253         * soft-fp/floatundidf.c: Likewise.
4254         * soft-fp/floatundisf.c: Likewise.
4255         * soft-fp/floatunsidf.c: Likewise.
4256         * soft-fp/floatunsisf.c: Likewise.
4257         * soft-fp/floatuntidf.c: Likewise.
4258         * soft-fp/floatuntisf.c: Likewise.
4259         * soft-fp/floatuntitf.c: Likewise.
4260         * soft-fp/fmadf4.c: Likewise.
4261         * soft-fp/fmasf4.c: Likewise.
4262         * soft-fp/fmatf4.c: Likewise.
4263         * soft-fp/gedf2.c: Likewise.
4264         * soft-fp/gesf2.c: Likewise.
4265         * soft-fp/getf2.c: Likewise.
4266         * soft-fp/ledf2.c: Likewise.
4267         * soft-fp/lesf2.c: Likewise.
4268         * soft-fp/letf2.c: Likewise.
4269         * soft-fp/muldf3.c: Likewise.
4270         * soft-fp/mulsf3.c: Likewise.
4271         * soft-fp/multf3.c: Likewise.
4272         * soft-fp/negdf2.c: Likewise.
4273         * soft-fp/negsf2.c: Likewise.
4274         * soft-fp/negtf2.c: Likewise.
4275         * soft-fp/op-1.h: Likewise.
4276         * soft-fp/op-2.h: Likewise.
4277         * soft-fp/op-4.h: Likewise.
4278         * soft-fp/op-8.h: Likewise.
4279         * soft-fp/op-common.h: Likewise.
4280         * soft-fp/quad.h: Likewise.
4281         * soft-fp/single.h: Likewise.
4282         * soft-fp/soft-fp.h: Likewise.
4283         * soft-fp/sqrtdf2.c: Likewise.
4284         * soft-fp/sqrtsf2.c: Likewise.
4285         * soft-fp/sqrttf2.c: Likewise.
4286         * soft-fp/subdf3.c: Likewise.
4287         * soft-fp/subsf3.c: Likewise.
4288         * soft-fp/subtf3.c: Likewise.
4289         * soft-fp/truncdfsf2.c: Likewise.
4290         * soft-fp/trunctfdf2.c: Likewise.
4291         * soft-fp/trunctfsf2.c: Likewise.
4292         * soft-fp/trunctfxf2.c: Likewise.
4293         * soft-fp/unorddf2.c: Likewise.
4294         * soft-fp/unordsf2.c: Likewise.
4295         * soft-fp/unordtf2.c: Likewise.
4297 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4299         [BZ #15672]
4300         * misc/error.c (error_tail): Fix possible buffer overflow.
4302 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4304         [BZ #13028]
4305         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4306         address.
4308 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4310         [BZ #832]
4311         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4312         testing pipefail option.
4314 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4316         * soft-fp/double.h: Indent preprocessor directives inside #if.
4317         * soft-fp/extended.h: Likewise.
4318         * soft-fp/op-2.h: Likewise.
4319         * soft-fp/op-4.h: Likewise.
4320         * soft-fp/op-common.h: Likewise.
4321         * soft-fp/quad.h: Likewise.
4322         * soft-fp/single.h: Likewise.
4323         * soft-fp/soft-fp.h: Likewise.
4325 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4327         * iconv/iconv_prog.c: Fix typos.
4328         * stdio-common/psiginfo-data.h: Likewise.
4330 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4332         [BZ #15764]
4333         * locale/setlocale.c: Fix typo.
4335 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4337         [BZ #16036]
4338         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4339         signaling NaN arguments.
4340         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4341         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4343         [BZ #14910]
4344         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4345         unordered operands.
4346         * soft-fp/gesf2.c (__gesf2): Likewise.
4347         * soft-fp/getf2.c (__getf2): Likewise.
4348         * soft-fp/ledf2.c (__ledf2): Likewise.
4349         * soft-fp/lesf2.c (__lesf2): Likewise.
4350         * soft-fp/letf2.c (__letf2): Likewise.
4352         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4353         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4354         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4355         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4356         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4357         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4358         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4359         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4360         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4361         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4362         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4363         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4364         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4365         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4366         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4367         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4368         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4369         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4370         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4371         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4372         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4373         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4374         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4375         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4376         * soft-fp/floattidf.c (__floattidf): Likewise.
4377         * soft-fp/floattisf.c (__floattisf): Likewise.
4378         * soft-fp/floattitf.c (__floattitf): Likewise.
4379         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4380         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4381         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4382         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4383         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4384         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4385         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4386         * soft-fp/gesf2.c (__gesf2): Likewise.
4387         * soft-fp/getf2.c (__getf2): Likewise.
4388         * soft-fp/ledf2.c (__ledf2): Likewise.
4389         * soft-fp/lesf2.c (__lesf2): Likewise.
4390         * soft-fp/letf2.c (__letf2): Likewise.
4392         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4393         Undefine and redefine.
4394         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4395         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4396         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4397         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4398         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4399         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4400         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4401         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4402         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4403         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4404         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4405         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4406         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4407         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4408         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4410         [BZ #16032]
4411         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4412         without decrementing exponent if mantissa >= that for the
4413         denominator, not >.
4414         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4415         denominator, not >.  Decrement exponent in < case instead of
4416         incrementing in >= case.
4417         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4418         without decrementing exponent if mantissa >= that for the
4419         denominator, not >.
4421         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4422         computing saturated result for unsigned overflow.
4424 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4425             Jeff Law  <law@redhat.com>
4427         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4428         (atan2Mp): Add systemtap probe marker.
4429         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4430         (__ieee754_log): Add systemtap probe marker.
4431         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4432         (atanMp): Add systemtap probe marker.
4433         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4434         (tanMp): Add systemtap probe marker.
4435         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4436         (__slowexp): Add systemtap probe marker.
4437         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4438         (__slowpow): Add systemtap probe marker.
4439         * manual/probes.texi: Document probes.
4441 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4443         [BZ #15362]
4444         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4445         written.
4446         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4447         written.
4448         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4449         written to buffer but not flushed.
4450         * libio/iofwrite_u.c:  Likewise.
4451         * libio/iopadn.c:  Return bytes returned even if EOF was
4452         encountered.
4453         * libio/iowpadn.c:  Likewise.
4454         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4455         if _IO_padn does not write the whole buffer.
4456         [!COMPILE_WPRINTF] (PAD): Likewise.
4458 2013-10-10  David S. Miller  <davem@davemloft.net>
4460         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4461         directory block.
4463 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4465         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4466         instead of FSF address.
4467         * soft-fp/fixdfti.c: Likewise.
4468         * soft-fp/fixsfti.c: Likewise.
4469         * soft-fp/fixtfti.c: Likewise.
4470         * soft-fp/fixunsdfti.c: Likewise.
4471         * soft-fp/fixunssfti.c: Likewise.
4472         * soft-fp/fixunstfti.c: Likewise.
4473         * soft-fp/floattidf.c: Likewise.
4474         * soft-fp/floattisf.c: Likewise.
4475         * soft-fp/floattitf.c: Likewise.
4476         * soft-fp/floatuntidf.c: Likewise.
4477         * soft-fp/floatuntisf.c: Likewise.
4478         * soft-fp/floatuntitf.c: Likewise.
4479         * soft-fp/trunctfxf2.c: Likewise.
4481         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4482         * soft-fp/fixdfti.c: Likewise.
4483         * soft-fp/fixsfti.c: Likewise.
4484         * soft-fp/fixtfti.c: Likewise.
4485         * soft-fp/fixunsdfti.c: Likewise.
4486         * soft-fp/fixunssfti.c: Likewise.
4487         * soft-fp/fixunstfti.c: Likewise.
4488         * soft-fp/floattidf.c: Likewise.
4489         * soft-fp/floattisf.c: Likewise.
4490         * soft-fp/floattitf.c: Likewise.
4491         * soft-fp/floatuntidf.c: Likewise.
4492         * soft-fp/floatuntisf.c: Likewise.
4493         * soft-fp/floatuntitf.c: Likewise.
4494         * soft-fp/trunctfxf2.c: Likewise.
4496 2013-10-10  David S. Miller  <davem@davemloft.net>
4498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4500 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4502         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4503         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4504         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4505         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4506         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4507         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4508         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4511         for NaNs before doing comparisons on argument.
4512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4513         Likewise.
4515 2013-10-10  Will Newton  <will.newton@linaro.org>
4517         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4518         passed to _int_memalign does not overflow.
4520 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4522         * scripts/bench.pl: Add include-sources directive.
4523         * benchtests/README: Update documentation.
4525 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4527         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4528         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4529         instead of FP_INIT_ROUNDMODE.
4530         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4531         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4533         [BZ #16034]
4534         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4535         copy class of input value.
4536         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4537         not handle exceptions.
4538         * soft-fp/negsf2.c (__negsf2): Likewise.
4539         * soft-fp/negtf2.c (__negtf2): Likewise.
4540         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4542 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4544         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4545         semicolon.  From Linux kernel.
4547 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4549         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4551 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4553         [BZ #156]
4554         * manual/socket.texi: Added statement about buffer
4555         for gethostbyname2_r.
4557 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4559         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4560         Use .p2align directive instead, throughout.
4561         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4562         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4563         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4564         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4566         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4567         * sysdeps/x86_64/strchr.S: Likewise.
4568         * sysdeps/x86_64/strrchr.S: Likewise.
4570 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4572         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4574         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4576         * sysdeps/generic/math_private.h (__mpsin1): Remove
4577         declaration.
4578         (__mpcos1): Likewise.
4579         (__mpsin): New argument __range_reduce.
4580         (__mpcos): Likewise.
4581         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4582         (slow): Use __mpsin and __mpcos.
4583         (slow1): Likewise.
4584         (slow2): Likewise.
4585         (sloww): Likewise.
4586         (sloww1): Likewise.
4587         (sloww2): Likewise.
4588         (bsloww): Likewise.
4589         (bsloww1): Likewise.
4590         (bsloww2): Likewise.
4591         (cslow2): Likewise.
4592         (csloww): Likewise.
4593         (csloww1): Likewise.
4594         (csloww2): Likewise.
4595         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4596         range_reduce.  Merge in __mpsin1.
4597         (__mpcos): Likewise.
4598         (__mpsin1): Remove.
4599         (__mpcos1): Likewise.
4601 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4603         * locale/loadlocale.c (_nl_intern_locale_data): Use
4604         LOCFILE_ALIGNED_P.
4605         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4606         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4607         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4608         obstack data is appropriately aligned.
4609         (obstack_int32_grow_fast): Likewise.
4610         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4611         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4612         (add_locale_uint32_array): Likewise.
4614 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4616         * benchtests/Makefile: Remove ARGLIST and RET variables.
4617         ($(objpfx)bench-%.c): Pass only function name to the script.
4618         * benchtests/README: Update documentation.
4619         * benchtests/acos-inputs: Add new directives.
4620         * benchtests/acosh-inputs: Likewise.
4621         * benchtests/asin-inputs: Likewise.
4622         * benchtests/asinh-inputs: Likewise.
4623         * benchtests/atan-inputs: Likewise.
4624         * benchtests/atanh-inputs: Likewise.
4625         * benchtests/cos-inputs: Likewise.
4626         * benchtests/cosh-inputs: Likewise.
4627         * benchtests/exp-inputs: Likewise.
4628         * benchtests/log-inputs: Likewise.
4629         * benchtests/pow-inputs: Likewise.
4630         * benchtests/rint-inputs: Likewise.
4631         * benchtests/sin-inputs: Likewise.
4632         * benchtests/sinh-inputs: Likewise.
4633         * benchtests/tan-inputs: Likewise.
4634         * benchtests/tanh-inputs: Likewise.
4635         * scripts/bench.pl: Add support for new directives.
4637 2013-10-07  Alan Modra  <amodra@gmail.com>
4639         * README: Fix careless merge.
4641 2013-10-05  Alan Modra  <amodra@gmail.com>
4643         * NEWS: Mention powerpc64le support and bugs fixed.
4644         * README: Both big-endian and little-endian powerpc64 supported.
4646 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4648         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4649         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4650         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4651         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4653 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4655         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4656         match prototype.
4658 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4660         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4661         Move -mhard-float appending from
4662         ports/sysdeps/powerpc/powerpc32/Makefile.
4663         [$(with-fp) = yes] (ASFLAGS): Likewise.
4664         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4665         * sysdeps/powerpc/nofpu: Move directory from
4666         ports/sysdeps/powerpc/nofpu.
4667         * sysdeps/powerpc/soft-fp: Move directory from
4668         ports/sysdeps/powerpc/soft-fp.
4669         * sysdeps/powerpc/powerpc32/405: Move directory from
4670         ports/sysdeps/powerpc/powerpc32/405.
4671         * sysdeps/powerpc/powerpc32/440: Move directory from
4672         ports/sysdeps/powerpc/powerpc32/440.
4673         * sysdeps/powerpc/powerpc32/464: Move directory from
4674         ports/sysdeps/powerpc/powerpc32/464.
4675         * sysdeps/powerpc/powerpc32/476: Move directory from
4676         ports/sysdeps/powerpc/powerpc32/476.
4677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4678         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4682         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4684         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4687         * README: Update for powerpc-*-linux-gnu software floating point
4688         support in libc.
4690         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4691         case to powerpc/powerpc32*.
4692         * sysdeps/unix/sysv/linux/configure: Regenerated.
4694         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4695         (_FPU_MASK_OM): Define as 0x04.
4696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4698         0x00c10080.
4699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4700         0x0000003c.
4701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4704         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4705         getcontext_e500.
4706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4707         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4708         setcontext_e500.
4709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4710         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4711         and setcontext_e500.
4713 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4715         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4717 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4719         * manual/threads.texi (Default Thread Attributes): Fix typo.
4721 2013-10-04  Will Newton  <will.newton@linaro.org>
4723         * malloc/Makefile: Add tst-memalign.
4724         * malloc/tst-memalign.c: New file.
4726         * malloc/tst-posix_memalign.c: Add comments.
4727         (do_test): Add comments and call free on all potentially
4728         allocated pointers. Add space after cast.
4730         * malloc/tst-pvalloc.c: Add comments.
4731         (do_test): Add comments and call free on all potentially
4732         allocated pointers. Remove duplicate check for NULL pointer.
4733         Add space after cast.
4735         * malloc/tst-valloc.c: Add comments.
4736         (do_test): Add comments and call free on all potentially
4737         allocated pointers. Remove duplicate check for NULL pointer.
4738         Add space after cast.
4740 2013-10-04  Alan Modra  <amodra@gmail.com>
4742         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4743         Use stdint types in rather than __attribute__((mode())).
4744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4746 2013-10-04  Alan Modra  <amodra@gmail.com>
4748         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4749         Correct handling of unaligned relocs for little-endian.
4750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4752 2013-10-04  Alan Modra  <amodra@gmail.com>
4754         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4755         * configure: Regenerate.
4756         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4757         * shlib-versions: Likewise.
4759 2013-10-04  Alan Modra  <amodra@gmail.com>
4761         * string/tester.c (test_memrchr): Increment reported test cycle.
4763 2013-10-04  Alan Modra  <amodra@gmail.com>
4765         * string/test-memcpy.c (do_one_test): When reporting errors, print
4766         string address and don't overrun end of string.
4768 2013-10-04  Alan Modra  <amodra@gmail.com>
4770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4771         insrdi.  Make better use of reg selection to speed exit slightly.
4772         Schedule entry path a little better.  Remove useless "are we done"
4773         checks on entry to main loop.  Handle wrapping around zero address.
4774         Correct main loop count.  Handle single left-over word from main
4775         loop inline rather than by using loop_small.  Remove extra word
4776         case in loop_small caused by wrong loop count.  Add little-endian
4777         support.
4778         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4779         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4780         cache hint.
4781         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4782         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4783         support.  Avoid rlwimi.
4784         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4786 2013-10-04  Alan Modra  <amodra@gmail.com>
4788         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4789         insrdi.  Formatting.
4790         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4791         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4792         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4793         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4794         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4795         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4797 2013-10-04  Alan Modra  <amodra@gmail.com>
4799         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4800         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4802         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4803         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4804         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4806         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4807         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4808         use of regs.  Use power7 mtocrf.  Tidy function tails.
4810 2013-10-04  Alan Modra  <amodra@gmail.com>
4812         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4813         Formatting.  Consistently use rXXX register defines or rN defines.
4814         Use early exit labels that avoid restoring unused non-volatile regs.
4815         Make cr field use more consistent with rWORDn compares.  Rename
4816         regs used as shift registers for unaligned loop, using rN defines
4817         for short lifetime/multiple use regs.
4818         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4819         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4820         addi 1,1,64 to pop stack frame.  Simplify return value code.
4821         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4823 2013-10-04  Alan Modra  <amodra@gmail.com>
4825         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4826         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4827         rather than rlwimi.
4828         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4829         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4830         little-endian support.  Correct typos.
4831         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4832         rather than rlwimi.
4833         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4834         in loop and entry code to keep "and." results.
4835         (strchr): Add little-endian support.  Comment.  Move cntlzd
4836         earlier in tail.
4837         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4839 2013-10-04  Alan Modra  <amodra@gmail.com>
4841         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4842         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4843         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4844         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4846 2013-10-04  Alan Modra  <amodra@gmail.com>
4848         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4849         (rTMP): Define as r11.
4850         (strcmp): Add little-endian support.  Optimise tail.
4851         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4852         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4853         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4854         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4857         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4859 2013-10-04  Alan Modra  <amodra@gmail.com>
4861         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4862         little-endian support.  Remove unnecessary "are we done" tests.
4863         Handle "s" wrapping around zero and extremely large "size".
4864         Correct main loop count.  Handle single left-over word from main
4865         loop inline rather than by using small_loop.  Correct comments.
4866         Delete "zero" tail, use "end_max" instead.
4867         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4869 2013-10-04  Alan Modra  <amodra@gmail.com>
4871         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4872         support.  Don't branch over align.
4873         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4874         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4875         support.  Rearrange tmp reg use to suit.  Comment.
4876         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4878 2013-10-04  Alan Modra  <amodra@gmail.com>
4880         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4882 2013-10-04  Alan Modra  <amodra@gmail.com>
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4885         conditional form of branch and link when obtaining pc.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4888 2013-10-04  Alan Modra  <amodra@gmail.com>
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4891         HIWORD/LOWORD.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4895 2013-10-04  Alan Modra  <amodra@gmail.com>
4897         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4898         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4899         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4900         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4901         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4902         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4903         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4904         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4905         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4906         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4909             Alistair Popple <alistair@ozlabs.au.ibm.com>
4910             Alan Modra <amodra@gmail.com>
4912         [BZ #15723]
4913         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4915         _dl_hwcap access for little-endian.
4916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4917         destroy vmx regs when saving unaligned.
4918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4919         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4920         destroy vmx regs when saving unaligned.
4922 2013-10-04  Alan Modra  <amodra@gmail.com>
4924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4925         Don't use a union to pack hi/low value.
4927 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4929         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4930         for little-endian.
4931         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4932         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4933         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4934         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4935         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4937 2013-10-04  Alan Modra  <amodra@gmail.com>
4939         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4940         constants to usual value for .cst8 section, and remove redundant
4941         high address load.
4942         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4943         constant for 0x1p52.  Load little-endian words of double from
4944         correct stack offsets.
4946 2013-10-04  Alan Modra  <amodra@gmail.com>
4948         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4949         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4950         words of double from correct stack offsets.
4951         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4952         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4953         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4956         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4957         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4958         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4959         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4960         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4963         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4964         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4965         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4966         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4967         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4969 2013-10-04  Alan Modra  <amodra@gmail.com>
4971         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4972         64-bit int/double union.
4973         (_FPU_SETCW): Likewise.
4974         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4975         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4977 2013-10-04  Alan Modra  <amodra@gmail.com>
4979         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4980         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4982 2013-10-04  Alan Modra  <amodra@gmail.com>
4984         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4985         use vector int constants.
4986         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4988 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4990         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4991         array with long long.
4992         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4993         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4994         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4995         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4996         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4997         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4998         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4999         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5000         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5001         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5002         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5003         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5004         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5006 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5008         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5009         (__signbit): Likewise.  Correct for little-endian.
5010         (__signbitl): Call __signbit.
5011         (lrint): Correct for little-endian.
5012         (lrintf): Call lrint.
5014 2013-10-04  Alan Modra  <amodra@gmail.com>
5016         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5017         union 32-bit int array member with 64-bit int array.
5018         (t515, tm256): Double rather than long double.
5019         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5021 2013-10-04  Alan Modra  <amodra@gmail.com>
5023         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5024         Delete.
5025         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5027         version of math_ldbl.h.
5029 2013-10-04  Alan Modra  <amodra@gmail.com>
5031         [BZ #15734], [BZ #15735]
5032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5033         all uses of ieee875 long double macros and unions.  Simplify test
5034         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5035         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5036         normalize after ldbl_extract_mantissa, and don't add hidden bit
5037         already handled.  Don't treat low word of ieee854 mantissa like
5038         low word of IBM long double and mask off bit when testing for
5039         zero.
5040         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5041         all uses of ieee875 long double macros and unions.  Simplify tests
5042         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5043         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5044         two1022, instead use their values.  Recognise that tests for large
5045         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5046         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5047         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5048         test for 0.0L and nan.  Correct negation.
5049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5050         ieee875 long double macros and unions.  Correct output for large
5051         magnitude x.  Correct absolute value calculation.
5052         (__erfcl): Likewise.
5053         * math/libm-test.inc: Add tests for errors discovered in IBM long
5054         double versions of fmodl, remainderl, erfl and erfcl.
5056 2013-10-04  Alan Modra  <amodra@gmail.com>
5058         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5059         all uses of ieee854 long double macros and unions.  Simplify tests
5060         for long doubles that are fully specified by the high double.
5061         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5062         Likewise.
5063         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5064         Remove dead code too.
5065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5066         (__ieee754_ynl): Likewise.
5067         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5070         Remove dead code too.
5071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5072         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5073         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5075         Simplify.
5076         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5077         Simplify.
5078         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5081         Comment on variable precision.
5082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5083         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5084         Likewise.
5085         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5086         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5089         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5091 2013-10-04  Alan Modra  <amodra@gmail.com>
5093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5094         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5095         all uses of ieee854 long double macros and unions.
5096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5099         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5102         Likewise.
5103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5104         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5105         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5106         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5109         Simplify sign and nan test too.
5110         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5111         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5112         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5113         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5114         Likewise.
5115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5116         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5117         Likewise.
5118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5119         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5121         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5122         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5125 2013-10-04  Alan Modra  <amodra@gmail.com>
5127         * stdio-common/printf_size.c (__printf_size): Don't use
5128         union ieee854_long_double in fpnum union.
5129         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5130         signbit macro to retrieve sign from long double.
5131         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5132         retrieve sign from long double.
5133         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5134         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5135         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5136         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5137         * math/test-misc.c (main): Don't use union ieee854_long_double.
5139 2013-10-04  Alan Modra  <amodra@gmail.com>
5141         [BZ #15680]
5142         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5143         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5144         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5145         calculation.  Remove unnecessary test for denormal exponent.
5146         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5147         Correct handling of denormals.  Avoid undefined shift behaviour.
5148         Correct normalisation of low mantissa when low double is denormal.
5149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5150         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5151         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5152         Correct normalisation of low mantissa.  Test for overflow of high
5153         mantissa and normalise.
5154         (ldbl_nearbyint): Use more readable constant for two52.
5155         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5156         (__mpn_construct_long_double): Fix test for overflow of high
5157         mantissa and correct normalisation.  Avoid undefined shift.
5159 2013-10-04  Alan Modra  <amodra@gmail.com>
5161         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5162         (union ibm_extended_long_double): Define as an array of ieee754_double.
5163         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5164         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5165         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5166         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5168         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5170         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5171         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5172         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5173         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5175 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5177         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5178         page size instead of calling getpagesize.
5180         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5181         (LOCFILE_ALIGN_MASK): Likewise.
5182         (LOCFILE_ALIGN_UP): Likewise.
5183         (LOCFILE_ALIGNED_P): Likewise.
5184         * locale/programs/ld-collate.c (collate_output): Use the new
5185         macros instead of __alignof__ (int32_t).
5186         * locale/weight.h (findidx): Likewise.
5188 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5190         [BZ #431]
5191         * manual/string.texi: Fix strncat and wcsncat.
5193 2013-10-03  Brooks Moses  <bmoses@google.com>
5195         [BZ #15915]
5196         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5197         * Makerules: ...here, and adjust associated comments.
5199 2013-10-02  Will Newton  <will.newton@linaro.org>
5201         * malloc/Makefile: Add tst-pvalloc.
5202         * malloc/tst-pvalloc.c: New file.
5204 2013-10-02  Will Newton  <will.newton@linaro.org>
5206         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5207         improve test coverage.
5209 2013-10-02  Will Newton  <will.newton@linaro.org>
5211         * malloc/Makefile: Add tst-posix_memalign.
5212         * malloc/tst-posix_memalign.c: New file.
5214 2013-10-01  Eric Blake  <eblake@redhat.com>
5216         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5217         Use __THROWNL rather than __THROW on static functions.
5219 2013-09-30  Petr Machata  <pmachata@redhat.com>
5221         * elf/elf.h (R_AARCH64_ABS16): New macro.
5222         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5223         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5224         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5225         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5226         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5227         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5228         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5229         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5230         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5231         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5232         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5233         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5234         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5235         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5236         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5237         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5238         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5239         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5240         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5241         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5242         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5243         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5244         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5245         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5246         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5247         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5248         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5249         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5250         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5251         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5252         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5253         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5254         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5255         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5256         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5257         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5258         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5259         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5260         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5261         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5262         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5263         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5264         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5265         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5266         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5267         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5268         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5269         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5270         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5271         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5272         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5273         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5274         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5275         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5276         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5277         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5278         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5279         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5280         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5281         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5282         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5283         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5284         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5285         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5286         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5287         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5288         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5289         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5290         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5291         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5292         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5293         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5294         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5295         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5296         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5297         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5298         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5299         (R_AARCH64_TLSDESC_LDR): Likewise.
5300         (R_AARCH64_TLSDESC_ADD): Likewise.
5301         (R_AARCH64_TLSDESC_CALL): Likewise.
5303 2013-09-30  Andreas Schwab  <schwab@suse.de>
5305         [BZ #15048]
5306         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5307         the nss database lookup.
5308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5311 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5313         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5315 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5317         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5318         ${Bash-specific parameter/pattern/string} parameter expansion.
5319         * sysdeps/unix/make-syscalls.sh: Likewise.
5321 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5323         * sysdeps/sh/stackguard-macros.h: New file.
5325 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5329         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5331         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5332         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5334 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5336         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5337         Fix thread ID register.
5339 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5341         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5342         [POSIX || UNIX98]: Require rather than permitting all symbols from
5343         <time.h>.
5344         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5345         element of struct sched_param.
5346         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5347         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5348         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5349         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5350         constant.
5352 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5354         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5355         argument calculation.
5357 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5359         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5360         Expect macro.
5361         [POSIX] (pthread_attr_t): Do not require type.
5362         [POSIX] (pthread_cond_t): Likewise.
5363         [POSIX] (pthread_condattr_t): Likewise.
5364         [POSIX] (pthread_key_t): Likewise.
5365         [POSIX] (pthread_mutex_t): Likewise.
5366         [POSIX] (pthread_mutexattr_t): Likewise.
5367         [POSIX] (pthread_once_t): Likewise.
5368         [POSIX] (pthread_t): Likewise.
5369         [POSIX-based standards] (pthread_atfork): Expect function.
5371 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5372             Richard Sandiford  <richard@codesourcery.com>
5374         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5375         (swap_endianness_p): New extern variable.
5376         (set_big_endian): New inline function.
5377         (maybe_swap_uint32): Likewise.
5378         (maybe_swap_uint32_array): Likewise.
5379         (maybe_swap_uint32_obstack): Likewise.
5380         * locale/programs/locfile.c: Include <stdbool.h>.
5381         (swap_endianness_p): New variable.
5382         (add_locale_uint32): Call maybe_swap_uint32.
5383         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5384         (write_locale_data): Call maybe_swap_uint32_array.
5385         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5386         maybe_swap_uint32.
5387         (obstack_int32_grow_fast): Likewise.
5388         (output_weightwc): Call maybe_swap_uint32_obstack.
5389         (collate_output): Likewise.
5390         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5391         (OPT_LITTLE_ENDIAN): Likewise.
5392         (options): Add --little-endian and --big-endian options.
5393         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5394         * locale/programs/locarchive.c: Include "locfile.h".
5395         (GET): New macro.
5396         (SET): Likewise.
5397         (INC): Likewise.
5398         (create_archive): Use the new macros to access fields of
5399         structures directly mapped from or written to locale archives.
5400         (oldlocrecentcmp): Likewise.
5401         (enlarge_archive): Likewise.
5402         (insert_name): Likewise.
5403         (add_alias): Likewise.
5404         (add_locale): Likewise.
5405         (delete_locales_from_archive): Likewise.
5406         (show_archive_content): Likewise.
5407         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5408         locale data.
5410 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5412         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5413         http://www.gnu.org/doc/freemanuals.texi.
5414         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5416 2013-09-24  Will Newton  <will.newton@linaro.org>
5418         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5419         macro.
5421 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5423         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5424         unsigned char.
5426 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5428         * manual/threads.texi (POSIX Threads): Fix a typo.
5430 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5432         [BZ #14547]
5433         * string/tst-strcoll-overflow.c: New test case.
5434         * string/Makefile (xtests): Add tst-strcoll-overflow.
5435         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5436         cache if string sizes may cause integer overflow.
5438         [BZ #14547]
5439         * string/strcoll_l.c (coll_seq): New members rule, idx,
5440         save_idx and back_us.
5441         (get_next_seq_nocache): New function.
5442         (do_compare_nocache): New function.
5443         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5444         when malloc fails.
5446 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5448         [BZ #15754]
5449         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5450         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5451         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5453         [BZ #15754]
5454         * elf/Makefile (tests): Add tst-ptrguard1.
5455         (tests-static): Add tst-ptrguard1-static.
5456         (tst-ptrguard1-ARGS): Define.
5457         (tst-ptrguard1-static-ARGS): Define.
5458         * elf/tst-ptrguard1.c: New file.
5459         * elf/tst-ptrguard1-static.c: New file.
5460         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5461         * sysdeps/i386/stackguard-macros.h: Likewise.
5462         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5463         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5464         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5465         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5466         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5467         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5469 2013-09-23  Hector Marco  <hecmargi@upv.es>
5470             Ismael Ripoll  <iripoll@disca.upv.es>
5471             Carlos O'Donell  <carlos@redhat.com>
5473         [BZ #15754]
5474         * sysdeps/generic/stackguard-macros.h: Define
5475         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5476         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5477         Define __pointer_chk_guard_local.
5478         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5479         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5481 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5483         [BZ #15859]
5484         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5486 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5488         * include/string.h (__ffs): Declare as hidden.
5489         * string/ffs.c (__ffs): Define as hidden.
5490         * sysdeps/i386/ffs.c (__ffs): Likewise.
5491         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5492         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5493         * sysdeps/s390/ffs.c (__ffs): Likewise.
5494         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5496 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5498         * NEWS: Mention malloc probes.
5500         * malloc/arena.c (new_heap): New memory_heap_new probe.
5501         (grow_heap): New memory_heap_more probe.
5502         (shrink_heap): New memory_heap_less probe.
5503         (heap_trim): New memory_heap_free probe.
5504         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5505         (systrim): New memory_sbrk_less probe.
5506         * manual/probes.texi: Document them.
5508         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5509         * manual/probes.texi: Document it.
5511         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5512         (__libc_realloc): Add memory_realloc_retry probe.
5513         (__libc_memalign): Add memory_memalign_retry probe.
5514         (__libc_valloc): Add memory_valloc_retry probe.
5515         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5516         (__libc_calloc): Add memory_calloc_retry probe.
5517         * manual/probes.texi: Document them.
5519         * malloc/arena.c (get_free_list): Add probe
5520         memory_arena_reuse_free_list.
5521         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5522         and memory_arena_reuse.
5523         (arena_get2) [!PER_THREAD]: Likewise.
5524         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5525         memory_arena_reuse_realloc.
5526         * manual/probes.texi: Document them.
5528         * malloc/malloc.c (__libc_free): Add
5529         memory_mallopt_free_dyn_thresholds probe.
5530         (__libc_mallopt): Add multiple memory_mallopt probes.
5531         * manual/probes.texi: Document them.
5533         * malloc/malloc.c: Include stap-probe.h.
5534         (__libc_mallopt): Add memory_mallopt probe.
5535         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5536         * manual/probes.texi: New.
5537         * manual/Makefile (chapters): Add probes.
5538         * manual/threads.texi: Set next node.
5540 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5542         [BZ #15963, #13985]
5543         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5544         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5545         Add `Chinese' to `nan' entry name.
5547 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5549         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5550         (POLYNOMIAL): Likewise.
5551         (TAYLOR_SINCOS): Likewise.
5552         (TAYLOR_SLOW): Likewise.
5553         (__sin): Use TAYLOR_SINCOS.
5554         (__cos): Likewise.
5555         (slow): Use TAYLOR_SLOW.
5556         (sloww): Likewise.
5557         (bsloww): Likewise.
5558         (csloww): Likewise.
5560 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5562         * stdlib/strtod_l.c: Fix buffer overrun.
5564 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5566         * benchtests/Makefile (bench): Add sincos.
5567         * benchtests/bench-sincos.c: New file.
5569         * math/libm-test.inc (cos_test_data): New test inputs.
5570         (sin_test_data): Likewise.
5572         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5573         macro.
5574         (__sin): Use it.
5575         (__cos): Likewise.
5576         (slow1): Likewise.
5577         (slow2): Likewise.
5578         (sloww1): Likewise.
5579         (sloww2): Likewise.
5580         (bsloww1): Likewise.
5581         (bsloww2): Likewise.
5582         (cslow2): Likewise.
5583         (csloww1): Likewise.
5584         (csloww2): Likewise.
5586         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5587         function.
5588         (__sin): Use it.
5589         (__cos): Likewise.
5591         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5592         gotos.
5593         (__cos): Likewise.
5595 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5597         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5598         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5599         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5600         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5601         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5602         * elf/cache.c (print_entry): Handle the new cache flags.
5604 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5605             Aldy Hernandez  <aldyh@redhat.com>
5607         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5608         Change condition to [_SOFT_FLOAT].
5609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5621         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5624         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5625         declaration.
5627 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5629         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5630         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5631         (__longjmp): Use LOAD_GP to load saved GPRs.
5632         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5633         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5634         (__sigsetjmp): Use SAVE_GP to save GPRs.
5636         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5637         Do not append -msoft-float.
5638         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5640 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5642         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5644 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5646         [BZ #15966]
5647         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5648         (_FPU_GETCW): Use initial "__" on variable and field names but not
5649         on macro parameter name.
5650         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5651         parentheses around reference to macro parameter.
5653 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5655         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5656         prototype.
5657         (ctype_startup): Use uint32_t in cast and sizeof for
5658         ctype->charnames.
5660 2013-09-11  Jia Liu  <proljc@gmail.com>
5662         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5663         __daddr_t_defined.
5664         [__FreeBSD__]: Likewise.
5666 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5669         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5670         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5671         (strchr): Remove __strchr_sse42 ifunc selection.
5672         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5673         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5675 2013-09-11  Will Newton  <will.newton@linaro.org>
5677         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5678         parameter to RES. Remove hardcoded 1000 value.
5679         * benchtests/bench-skeleton.c (main): Pass RES parameter
5680         to TIMING_INIT and multiply result by 1000.
5682 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5686 2013-09-11  Andreas Schwab  <schwab@suse.de>
5688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5689         if not defined.
5690         (O_TMPFILE) [__USE_GNU]: Define.
5691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5692         Define.
5694 2013-09-11  Will Newton  <will.newton@linaro.org>
5696         [BZ #15857]
5697         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5698         does not overflow.
5700 2013-09-11  Will Newton  <will.newton@linaro.org>
5702         [BZ #15856]
5703         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5704         does not overflow.
5706 2013-09-11  Will Newton  <will.newton@linaro.org>
5708         [BZ #15855]
5709         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5710         does not overflow.
5712 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5714         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5715         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5716         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5717         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5718         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5720 2013-09-10  Allan McRae  <allan@archlinux.org>
5722         [BZ #15748]
5723         * manual/arith.texi (Parsing of Floats): Clarify
5724         cross-reference.
5726         [BZ #15849]
5727         * manual/install.texi (Running make install): Mention
5728         --enable-pt-chown.
5729         * INSTALL: Regenerated.
5731 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5733         * csu/init-first.c (_init): Remove the !SHARED condition around
5734         FPU control word initialization.
5735         * elf/dl-support.c (_dl_fpu_control): New variable.
5736         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5737         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5738         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5739         * math/test-fpucw-static.c: New file.
5740         * math/test-fpucw-ieee.c: New file.
5741         * math/test-fpucw-ieee-static.c: New file.
5742         * math/Makefile (tests): Add `test-fpucw-ieee' and
5743         `$(tests-static)'.
5744         (tests-static): New variable.
5745         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5746         dependency to...
5747         [($(build-shared),yes)]
5748         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5749         ... this.
5750         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5751         New dependency.
5753 2013-09-09  Allan McRae  <allan@archlinux.org>
5755         [BZ #15939]
5756         * manual/string.texi (Collation Functions): Fix typo in
5757         strcoll example.
5758         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5760         [BZ #15893]
5761         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5763         [BZ #15892]
5764         * libio/memstream.c (open_memstream): Fix memory leak.
5765         * libio/wmemstream.c (open_wmemstream): Likewise.
5767         [BZ #15895]
5768         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5770 2013-09-09  Will Newton  <will.newton@linaro.org>
5772         * malloc/Makefile: Add tst-realloc to tests.
5773         * malloc/tst-realloc.c: New file.
5775 2013-09-09  Allan McRae  <allan@archlinux.org>
5777         [BZ #15844]
5778         * COPYING: Update from GNU website to fix FSF address.
5779         * COPYING.LIB: Likewise.
5781 2013-09-06  David S. Miller  <davem@davemloft.net>
5783         * po/zh_TW.po: Update Chinese (traditional) translation from
5784         translation project.
5786 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5787             Joseph Myers  <joseph@codesourcery.com>
5789         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5790         "localeinfo.h".
5791         (obstack_chunk_alloc): New macro.
5792         (obstack_chunk_free): Likewise.
5793         (record_offset): New function.
5794         (init_locale_data): Likewise.
5795         (align_locale_data): Likewise.
5796         (add_locale_empty): Likewise.
5797         (add_locale_raw_data): Likewise.
5798         (add_locale_raw_obstack): Likewise.
5799         (add_locale_string): Likewise.
5800         (add_locale_wstring): Likewise.
5801         (add_locale_uint32): Likewise.
5802         (add_locale_uint32_array): Likewise.
5803         (add_locale_char): Likewise.
5804         (start_locale_structure): Likewise.
5805         (end_locale_structure): Likewise.
5806         (start_locale_prelude): Likewise.
5807         (end_locale_prelude): Likewise.
5808         (write_locale_data): Take locale_file structure rather than an
5809         iovec.
5810         * locale/programs/locfile.h: Include "obstack.h".
5811         (struct locale_file): Change to store locale file contents instead
5812         of header.
5813         (init_locale_data): New prototype.
5814         (align_locale_data): Likewise.
5815         (add_locale_empty): Likewise.
5816         (add_locale_raw_data): Likewise.
5817         (add_locale_raw_obstack): Likewise.
5818         (add_locale_string): Likewise.
5819         (add_locale_wstring): Likewise.
5820         (add_locale_uint32): Likewise.
5821         (add_locale_uint32_array): Likewise.
5822         (add_locale_char): Likewise.
5823         (start_locale_structure): Likewise.
5824         (end_locale_structure): Likewise.
5825         (start_locale_prelude): Likewise.
5826         (end_locale_prelude): Likewise.
5827         (write_locale_data): Update prototype.
5828         * locale/programs/3level.h (struct TABLE): Remove result field.
5829         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5830         Use new locale_file interface.
5831         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5832         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5833         * locale/programs/ld-address.c (address_output): Use new
5834         locale_file interface.
5835         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5836         NO_ADD_LOCALE.
5837         (collate_finish): Don't call collseq_table_finalize.
5838         (collate_output): Use new locale_file interface.
5839         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5840         in file.
5841         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5842         (TABLE): Move defines earlier in file.
5843         (ELEMENT): Likewise.
5844         (DEFAULT): Likewise.
5845         (wctrans_table_add): Move macro and inline function earlier in
5846         file.
5847         (struct wctype_table): Move type earlier in file.
5848         (add_locale_wctype_table): New static prototype.
5849         (struct locale_ctype_t): Use logical types instead of struct iovec
5850         pointers for members.
5851         (ctype_output): Use new locale_file interface.
5852         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5853         new locale_file interface.
5854         (allocate_arrays): Update for use of new locale_file interface.
5855         * locale/programs/ld-identification.c (identification_output): Use
5856         new locale_file interface.
5857         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5858         * locale/programs/ld-messages.c (messages_output): Likewise.
5859         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5860         * locale/programs/ld-name.c (name_output): Likewise.
5861         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5862         * locale/programs/ld-paper.c (paper_output): Likewise.
5863         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5864         * locale/programs/ld-time.c (time_output): Likewise.
5866 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5868         * benchtests/Makefile: Add memrchr benchmark.
5869         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5870         benchmark as memrchr.
5871         * benchtests/bench-memrchr-ifunc.c: New file.
5872         * benchtests/bench-memrchr.c: New file.
5874 2013-09-06   Will Newton  <will.newton@linaro.org>
5876         * benchtests/Makefile (string-bench): Add memcpy.
5878 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5879             Cong Wang  <amwang@redhat.com>
5881         [BZ #15850]
5882         * sysdeps/unix/sysv/linux/bits/in.h
5883         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5884         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5885         before __USE_KERNEL_IPV6_DEFS uses.
5886         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5887         IPPROTO_BEETPH.
5888         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5889         sockaddr_in6, or ipv6_mreq.
5891 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5893         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5894         memory access for final bytes in some large inputs.
5895         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5897 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5899         * string/test-memrchr.c: New file.
5900         * string/test-memrchr-ifunc.c: New file.
5901         * string/Makefile: Add new memrchr testcase.
5903 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5905         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5906         fanotify_init returns EPERM.
5908 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5910         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5911         errors.
5912         (top level): Treat second token from macro or constant entries for
5913         allowed headers as allowed.
5914         * include/complex.h: Condition internal declarations on
5915         [!_ISOMAC].
5916         * include/fenv.h: Condition include of <stdbool.h> and internal
5917         declarations on [!_ISOMAC].
5919 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5921         [BZ #15923]
5922         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5924 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5926         * configure.in (--enable-versioning): Remove configure option.
5927         (libc_cv_asm_symver_directive): Remove configure test.
5928         (libc_cv_ld_version_script_option): Likewise.
5929         (VERSIONING): Remove variable and AC_SUBST.
5930         (DO_VERSIONING): Remove AC_DEFINE.
5931         * configure: Regenerated.
5932         * config.h.in (DO_VERSIONING): Remove macro.
5933         * Makerules [$(versioning) = yes]: Change conditionals to
5934         [$(build-shared) = yes].
5935         * config.make.in (versioning): Remove variable.
5936         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5937         [$(build-shared) = yes].
5938         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5939         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5940         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5941         [$(build-shared) = yes].
5942         * extra-lib.mk [$(versioning) = yes]: Likewise.
5943         * hurd/Makefile [$(versioning) = yes]: Likewise.
5944         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5945         [SHARED].
5946         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5947         [SHARED].
5948         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5949         [SHARED && !NO_HIDDEN].
5950         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5951         [SHARED].
5952         [SHARED && DO_VERSIONING]: Likewise..
5953         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5954         [$(build-shared) = yes].
5955         * manual/install.texi (--disable-versioning): Remove
5956         documentation.
5957         * INSTALL: Regenerated.
5958         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5959         to [SHARED].
5960         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5961         [$(build-shared) = yes].
5962         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5963         * sysdeps/i386/i686/multiarch/strstr-c.c
5964         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5965         [SHARED && !NO_HIDDEN].
5966         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5967         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5968         * sysdeps/powerpc/powerpc32/dl-machine.c
5969         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5970         * sysdeps/powerpc/powerpc32/sysdep.h
5971         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5972         to [SHARED && PIC && !NO_HIDDEN].
5973         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5974         conditional to [SHARED].
5976 2013-09-04   Will Newton  <will.newton@linaro.org>
5978         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5979         * benchtests/bench-string.h: Include bench-timing.h instead
5980         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5981         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5982         call to HP_TIMING_DIFF_INIT.
5983         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5984         instead of hp-timing.h macros.
5985         * benchtests/bench-memchr.c: Likewise.
5986         * benchtests/bench-memcmp.c: Likewise.
5987         * benchtests/bench-memcpy.c: Likewise.
5988         * benchtests/bench-memmem.c: Likewise.
5989         * benchtests/bench-memmove.c: Likewise.
5990         * benchtests/bench-memset.c: Likewise.
5991         * benchtests/bench-rawmemchr.c: Likewise.
5992         * benchtests/bench-strcasecmp.c: Likewise.
5993         * benchtests/bench-strcasestr.c: Likewise.
5994         * benchtests/bench-strcat.c: Likewise.
5995         * benchtests/bench-strchr.c: Likewise.
5996         * benchtests/bench-strcmp.c: Likewise.
5997         * benchtests/bench-strcpy.c: Likewise.
5998         * benchtests/bench-strcpy_chk.c: Likewise.
5999         * benchtests/bench-strlen.c: Likewise.
6000         * benchtests/bench-strncasecmp.c: Likewise.
6001         * benchtests/bench-strncat.c: Likewise.
6002         * benchtests/bench-strncmp.c: Likewise.
6003         * benchtests/bench-strncpy.c: Likewise.
6004         * benchtests/bench-strnlen.c: Likewise.
6005         * benchtests/bench-strpbrk.c: Likewise.
6006         * benchtests/bench-strrchr.c: Likewise.
6007         * benchtests/bench-strspn.c: Likewise.
6008         * benchtests/bench-strstr.c: Likewise.
6010 2013-09-04  Will Newton  <will.newton@linaro.org>
6012         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6014 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6016         [BZ #15427]
6017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6018         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6019         * math/libm-test.inc (lgamma_test_data): Add more tests.
6020         * sysdeps/i386/fpu/libm-test-ulps: Update.
6021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6023 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6025         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6027         Add ifunc.
6028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6029         Add strcmp-sse2-unaligned
6030         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6032 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6034         * Versions.def (libc): Add GLIBC_2.19.
6036 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6038         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6039         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6041 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6043         [BZ #14155]
6044         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6045         intermediate calculations in recurrence.
6046         (__ieee754_ynf): Likewise.
6047         * math/libm-test.inc (jn_test_data): Do not allow spurious
6048         underflow exception.  Add more tests.
6049         (yn_test_data): Add more tests.
6050         * sysdeps/i386/fpu/libm-test-ulps: Update.
6051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6053 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6057 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6059         * csu/init-first.c: Fix then/than typos.
6060         * locale/programs/ld-collate.c: Likewise.
6061         * locale/programs/linereader.h: Likewise.
6062         * manual/charset.texi: Likewise.
6063         * manual/filesys.texi: Likewise.
6064         * manual/stdio.texi: Likewise.
6065         * manual/string.texi: Likewise.
6066         * stdlib/fmtmsg.c: Likewise.
6067         * sysdeps/i386/stpncpy.S: Likewise.
6068         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6069         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6071         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6073 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6075         * elf/dl-open.c: Fix typos.
6076         * iconvdata/gbbig5.c: Likewise.
6077         * iconvdata/iso-2022-jp.c: Likewise.
6078         * iconv/gconv_int.h: Likewise.
6079         * iconv/loop.c: Likewise.
6080         * nis/rpcsvc/nis.h: Likewise.
6081         * resolv/ns_name.c: Likewise.
6082         * stdio-common/vfscanf.c: Likewise.
6083         * streams/stropts.h: Likewise.
6084         * sunrpc/rpc_thread.c: Likewise.
6085         * sysdeps/i386/strpbrk.S: Likewise.
6086         * sysdeps/ieee754/k_standard.c: Likewise.
6087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6089         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6090         * sysdeps/mach/hurd/profil.c: Likewise.
6091         * sysdeps/s390/dl-procinfo.h: Likewise.
6092         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6094         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6095         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6096         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6098 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6100         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6103 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6106         aix specific files.
6107         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6108         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6109         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6110         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6111         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6112         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6113         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6114         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6116 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6117             Roland McGrath  <roland@hack.frob.com>
6119         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6120         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6122 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6124         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6125         __executable_start symbol instead of _start.
6127 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6129         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6130         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6131         Move macros to...
6132         * sysdeps/gnu/ldsodefs.h: ... this new file.
6134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6135         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6136         instead of ELFOSABI_LINUX.
6138         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6139         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6140         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6141         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6142         Likewise.
6143         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6144         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6145         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6146         Likewise.
6147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6148         (ibm_extended_long_double): Add ieee_nan member.
6149         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6150         (do_test): New function.
6152         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6153         TEST_TRUNC.
6154         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6155         functions, renamed from truncdfsf_test, trunctfsf_test,
6156         trunctfdf_test.
6157         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6158         functions.
6159         (do_test): Run all these.
6161 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6163         * argp/argp-help.c: Fix typos.
6164         * argp/argp-parse.c: Likewise.
6165         * debug/backtracesyms.c: Likewise.
6166         * elf/elf.h: Likewise.
6167         * malloc/malloc.c: Likewise.
6168         * nis/nis_print.c: Likewise.
6169         * resolv/res_comp.c: Likewise.
6170         * stdlib/stdlib.h: Likewise.
6171         * sunrpc/clnt_tcp.c: Likewise.
6172         * sunrpc/clnt_udp.c: Likewise.
6173         * sunrpc/clnt_unix.c: Likewise.
6174         * sysdeps/unix/bsd/ptsname.c: Likewise.
6175         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6176         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6178         Likewise.
6179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6180         Likewise.
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6182         Likewise.
6183         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6185 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6187         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6190 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6192         [BZ #15897]
6193         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6194         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6195         ($(objpfx)bug-dl-leaf): New rule.
6196         ($(objpfx)bug-dl-leaf.so): Likewise.
6197         ($(objpfx)bug-dl-leaf.out): Likewise.
6198         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6199         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6200         * dlfcn/bug-dl-leaf.c: New test.
6201         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6202         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6203         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6204         (dlclose): Likewise.
6205         (dlmopen): Likewise.
6207 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6209         * include/netdb.h [!_ISOMAC]:
6210         Don't include <tls.h>.
6211         (h_errno, __libc_h_errno): Move declaration and macros out of
6212         [_LIBC_REENTRANT].
6214         * include/resolv.h [_RESOLV_H_]:
6215         Don't include <tls.h>.
6216         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6217         * resolv/res_libc.c: Don't include <tls.h>.
6218         (_res): Use __attribute__ ((nocommon)) in place of
6219         __attribute__ ((section (".bss"))).
6221         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6222         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6224         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6226         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6227         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6229         * resolv/res_mkquery.c: Include <sys/time.h>.
6231         * inet/ifreq.c: Moved to ...
6232         * sysdeps/unix/ifreq.c: ... here.
6233         * inet/ifreq.c: New file, true stub version.
6235         * socket/sa_len.c: New file.
6236         * socket/Makefile (aux): Add it.
6237         * sysdeps/unix/sysv/linux/Makefile
6238         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6239         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6240         and #include <socket/sa_len.c>.
6241         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6242         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6245         * bits/socket.h: ... here.
6247         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6248         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6249         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6251 2013-08-27  Andreas Schwab  <schwab@suse.de>
6253         [BZ #15736]
6254         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6255         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6256         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6257         * string/test-strcasecmp.c (test_main): Run tests in several
6258         locales.
6259         * string/test-strncasecmp.c (test_main): Likewise.
6261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6262         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6263         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6265         (__strncasecmp_ssse3) [PIC]: Likewise.
6267 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6269         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6271         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6272         instead of explicitly declaring xdecrypt.
6273         * nis/nss_nis/nis-publickey.c: Likewise.
6275 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6277         [BZ #15890]
6278         * nscd/aicache.c: Include res_hconf.h.
6279         (addhstaiX): Initialize res_hconf.
6281 2013-08-26  Andreas Schwab  <schwab@suse.de>
6283         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6284         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6286 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6288         * nscd/aicache.c (addhstaiX): Fix indentation.
6290 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6292         * configure.ac: Quote $build_pt_chown test.
6293         * configure: Regenerated.
6295 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6297         [BZ #15532]
6298         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6299         * math/s_cexpf.c (__cexpf): Likewise.
6300         * math/s_cexpl.c (__cexpl): Likewise.
6301         * math/libm-test.inc (cexp_test_data): Correct expected return
6302         value for NaN + i0.  Add another test.
6304 2013-08-22  David S. Miller  <davem@davemloft.net>
6306         * po/ca.po: Update Catalan translation from translation project.
6307         * po/uk.po: Add Ukrainian translations from translation project.
6309 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6311         [BZ #15797]
6312         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6313         is infinite, not alongside NaN test.
6314         * math/s_fdimf.c (__fdimf): Likewise.
6315         * math/s_fdiml.c (__fdiml): Likewise.
6316         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6317         errno is unchanged.
6319 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6321         * argp/argp-help.c: Fix typos.
6322         * crypt/speeds.c: Likewise.
6323         * csu/check_fds.c: Likewise.
6324         * elf/dl-load.c: Likewise.
6325         * elf/dl-open.c: Likewise.
6326         * elf/reldep3.c: Likewise.
6327         * elf/reldep.c: Likewise.
6328         * elf/sprof.c: Likewise.
6329         * iconv/iconv_charmap.c: Likewise.
6330         * iconv/skeleton.c: Likewise.
6331         * iconv/strtab.c: Likewise.
6332         * io/lockf64.c: Likewise.
6333         * libio/libioP.h: Likewise.
6334         * resolv/gai_notify.c: Likewise.
6335         * resolv/ns_name.c: Likewise.
6336         * resolv/ns_samedomain.c: Likewise.
6337         * resolv/res_send.c: Likewise.
6338         * stdlib/random.c: Likewise.
6339         * sunrpc/rpc/xdr.h: Likewise.
6340         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6344         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6345         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6348         * sysdeps/mach/hurd/check_fds.c: Likewise.
6349         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6353         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6354         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6355         * sysdeps/pthread/aio_notify.c: Likewise.
6356         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6357         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6358         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6360         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6362 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6364         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6365         version if bit_Slow_SSE4_2 is set.
6366         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6367         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6369 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6371         [BZ #15867]
6372         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6373         trampoline stack frame information.
6374         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6376         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6377         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6378         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6379         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6380         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6381         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6382         sa_flags value.
6383         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6384         interrupting a syscall and set with option SA_SIGINFO.
6386 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6388         [BZ #15531]
6389         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6390         argument is infinite.
6391         * math/s_cprojf.c (__cprojf): Likewise.
6392         * math/s_cprojl.c (__cprojl): Likewise.
6393         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6394         * math/libm-test.inc (cproj_test_data): Add more tests.
6396         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6398         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6399         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6400         size.  Use __ffs to determine corresponding shift.
6402 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6403             Roland McGrath  <roland@hack.frob.com>
6405         * Makefile (INSTALL): Remove trailing blank lines from output of
6406         makeinfo.
6408 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6410         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6411         Align 32 bit compat elf_greg to 8 bytes.
6413 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6415         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6417 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6419         * string/strcoll_l.c (coll_seq): New structure.
6420         (get_next_seq_cached): New function.
6421         (get_next_seq): New function.
6422         (do_compare): New function.
6423         (STRCOLL): Use GNU style definition.  Simplify implementation
6424         by using get_next_seq, get_next_seq_cached and do_compare.
6426 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6428         [BZ #14699]
6429         CVE-2013-4237
6430         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6431         member.
6432         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6433         member.
6434         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6435         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6436         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6437         conditional.
6438         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6439         GETDENTS_64BIT_ALIGNED.
6440         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6441         * manual/filesys.texi (Reading/Closing Directory): Document
6442         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6443         strongly.
6444         * manual/conf.texi (Limits for Files): Add portability note to
6445         NAME_MAX, PATH_MAX.
6446         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6448 2013-08-13  Andreas Schwab  <schwab@suse.de>
6450         [BZ #15749]
6451         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6452         of fabs.
6453         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6454         LDBL_MAX_EXP >= 16384]: Add tests for it.
6456 2013-08-12  David S. Miller  <davem@davemloft.net>
6458         * version.h (RELEASE): Set to "development".
6459         (VERSION): Set to "2.18.90".
6460         * NEWS: Add 2.19 section.
6462 2013-08-03  David S. Miller  <davem@davemloft.net>
6464         * po/ko.po: Update Korean translation from translation project.
6466 2013-08-01  David S. Miller  <davem@davemloft.net>
6468         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6469         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6470         Bilka.
6472 2013-07-30  David S. Miller  <davem@davemloft.net>
6474         * po/fr.po: Update French translation from translation project.
6476 2013-07-28  David S. Miller  <davem@davemloft.net>
6478         * po/cs.po: Update Czech translation from translation project.
6480         * po/sv.po: Update Swedish translation from translation project.
6482 2013-07-27  David S. Miller  <davem@davemloft.net>
6484         * po/eo.po: Update Esperanto translation from translation project.
6486         * po/vi.po: Update Vietnamese translation from translation project.
6488         * po/de.po: Update German translation from translation project.
6490 2013-07-26  David S. Miller  <davem@davemloft.net>
6492         * po/bg.po: Update Bulgarian translation from translation project.
6494         * po/nl.po: Update Dutch translation from translation project.
6495         * po/pl.po: Update Polish translation from translation project.
6496         * po/ru.po: Update Russian translation from translation project.
6498 2013-07-24  David S. Miller  <davem@davemloft.net>
6500         * po/libc.pot: Update.
6502 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6504         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6505         variable page size.
6506         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6507         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6508         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6510 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6512         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6514 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6515             Andreas Schwab  <schwab@suse.de>
6516             Roland McGrath  <roland@hack.frob.com>
6517             Joseph Myers  <joseph@codesourcery.com>
6518             Carlos O'Donell  <carlos@redhat.com>
6520         [BZ #15755]
6521         * config.h.in: Define HAVE_PT_CHOWN.
6522         * config.make.in (build-pt-chown): New variable.
6523         * configure.in (--enable-pt_chown): New configure option.
6524         * configure: Regenerate.
6525         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6526         build-pt-chown is enabled.
6527         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6528         pt_chown to fix pty ownership.
6529         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6530         CLOSE_ALL_FDS.
6531         * manual/install.texi (Configuring and compiling): Mention
6532         --enable-pt_chown. Add @findex for grantpt.
6533         * INSTALL: Regenerate.
6535 2013-07-20  David S. Miller  <davem@davemloft.net>
6537         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6538         difference between 32-bit and 64-bit.
6540 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6542         [BZ #15711]
6543         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6544         Avoid system header dependency with -ffreestanding.
6545         ($(objpfx)bits/syscall%d): Likewise.
6547 2013-07-13  David S. Miller  <davem@davemloft.net>
6549         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6550         underflows from atanl/atan2l due to bug 15319.
6551         (casinh_test_data): Likewise.
6553 2013-07-07  David S. Miller  <davem@davemloft.net>
6555         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6557 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6559         * sysdeps/i386/fpu/libm-test-ulps: Update.
6560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6562 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6564         * configure.in (--enable-lock-elision): Fix message text.
6565         * INSTALL: Regenerate.
6566         * configure: Regenerate.
6568 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6572 2013-07-03  Andreas Jaeger  <aj@suse.de>
6574         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6575         define.
6576         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6577         (ptrace_peeksiginfo_args): Add.
6578         (__ptrace_peeksiginfo_flags): Add.
6579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6583 2013-07-03  Allan McRae  <allan@archlinux.org>
6585         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587 2013-07-02  David S. Miller  <davem@davemloft.net>
6589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6591 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6595 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6597         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6600 2013-07-02  Andi Kleen <ak@linux.intel.com>
6602         * config.h.in (ENABLE_LOCK_ELISION): Add.
6603         * configure.in (--enable-lock-elision): Add option.
6604         * manual/install.texi: Document --enable lock elision.
6605         * configure: Regenerate
6606         * INSTALL: Regenerate.
6608 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6610         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6611         SSE4.2 strcasecmp for libc.a.
6612         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6614 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6616         [BZ #13304]
6617         * soft-fp/op-common.h (_FP_FMA): New macro.
6618         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6619         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6620         (_FP_MUL_MEAT_1_imm): ... here.
6621         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6622         (_FP_MUL_MEAT_1_wide): ... here.
6623         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6624         (_FP_MUL_MEAT_1_hard): ... here.
6625         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6626         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6627         (_FP_MUL_MEAT_2_wide): ... here.
6628         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6629         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6630         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6631         (_FP_MUL_MEAT_2_gmp): ... here.
6632         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6633         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6634         (_FP_MUL_MEAT_4_wide): ... here.
6635         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6636         (_FP_MUL_MEAT_4_gmp): ... here.
6637         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6638         (_FP_WFRACBITS_DW_S): Likewise.
6639         (_FP_WFRACXBITS_DW_S): Likewise.
6640         (_FP_HIGHBIT_DW_S): Likewise.
6641         (FP_FMA_S): Likewise.
6642         (_FP_FRAC_HIGH_DW_S): Likewise.
6643         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6644         (_FP_WFRACBITS_DW_D): Likewise.
6645         (_FP_WFRACXBITS_DW_D): Likewise.
6646         (_FP_HIGHBIT_DW_D): Likewise.
6647         (FP_FMA_D): Likewise.
6648         (_FP_FRAC_HIGH_DW_D): Likewise.
6649         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6650         (_FP_WFRACBITS_DW_E): Likewise.
6651         (_FP_WFRACXBITS_DW_E): Likewise.
6652         (_FP_HIGHBIT_DW_E): Likewise.
6653         (FP_FMA_E): Likewise.
6654         (_FP_FRAC_HIGH_DW_E): Likewise.
6655         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6656         (_FP_WFRACBITS_DW_Q): Likewise.
6657         (_FP_WFRACXBITS_DW_Q): Likewise.
6658         (_FP_HIGHBIT_DW_Q): Likewise.
6659         (FP_FMA_Q): Likewise.
6660         (_FP_FRAC_HIGH_DW_Q): Likewise.
6661         * soft-fp/fmasf4.c: New file.
6662         * soft-fp/fmadf4.c: Likewise.
6663         * soft-fp/fmatf4.c: Likewise.
6665 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6668         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6669         Silvermont.
6670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6671         macro.
6672         (index_Slow_SSE4_2): Likewise.
6673         (index_Prefer_PMINUB_for_stringop): Likewise.
6674         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6675         bit_Slow_SSE4_2 is set.
6676         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6679 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6681         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6682         rtld_global._dl_hwcap2.
6683         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6684         POWER8.
6685         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6686         POWER8 feature descriptions defined in _dl_hwcap2.
6687         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6688         string handling for POWER8 feature bits.
6689         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6690         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6691         _dl_powerpc_cap_flags.
6692         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6693         * sysdeps/powerpc/rtld-global-offsets.sym
6694         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6695         _dl_hwcap2 in the rtld_global_ro structure.
6697 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6699         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6700         hardware capabilities in support of AT_HWCAP2.
6701         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6702         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6703         GLRO(dl_hwcap2).
6704         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6705         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6706         explicitly the unknown a_type display mechanism is used.
6707         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6708         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6709         struct member.
6710         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6711         to macro prototype for AT_HWCAP2 support.
6712         * sysdeps/i386/dl-procinfo.h: Likewise.
6713         * sysdeps/s390/dl-procinfo.h: Likewise.
6714         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6715         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6716         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6717         return -1 for unknown a_type display fallback.
6718         * sysdeps/sparc/dl-procinfo.h: Likewise.
6719         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6720         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6722 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6725         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6727 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6729         [BZ #12492]
6730         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6731         mprotect making __stack_prot writable.
6733 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6734             Joseph Myers  <joseph@codesourcery.com>
6736         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6737         as being properly aligned.
6739 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6741         * dlfcn/modstatic5.c: New file.
6742         * dlfcn/tststatic5.c: New file.
6743         * dlfcn/Makefile (tests): Add tststatic5.
6744         (tests-static): Likewise.
6745         (modules-names): Add modstatic5.
6746         (tststatic5-ENV): New variable.
6747         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6749         [BZ #15022]
6750         * elf/dl-support.c (_dl_main_map): New variable.
6751         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6752         (_dl_nns, _dl_load_adds): Set to 1.
6753         (_dl_initial_searchlist): Refer to _dl_main_map.
6754         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6755         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6756         call to _dl_get_origin.
6757         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6758         around call_map.
6759         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6760         * dlfcn/modstatic3.c: New file.
6761         * dlfcn/tststatic3.c: New file.
6762         * dlfcn/tststatic4.c: New file.
6763         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6764         (tests-static): Likewise.
6765         (modules-names): Add modstatic3.
6766         (tststatic3-ENV, tststatic4-ENV): New variables.
6767         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6768         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6770 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6772         * configure.in (CC): Require GCC version 4.4 or later.
6773         * configure: Regenerated.
6774         * manual/install.texi (Tools for Compilation): Update GCC version
6775         requirement.
6776         * INSTALL: Regenerated.
6778 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6780         [BZ #15674]
6781         * string/test-memcmp.c (check2): New.
6782         (main): Call check2.
6784         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6786 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6788         [BZ #15022]
6789         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6790         over to...
6791         (dl_open_worker) [!SHARED]: ... here.
6793 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6795         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6797 2013-06-25  Richard Henderson  <rth@redhat.com>
6799         * locale/programs/locarchive.c: Include <libc-internal.h>
6801 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6803         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6804         trailing whitespace removed.
6806 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6808         [BZ #10283]
6809         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6810         * locale/programs/locarchive.c: Include libc-mmap.h.
6811         (prepare_address_space): Take two new outputs (the mmap base and len).
6812         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6813         values.
6814         (create_archive): Declare new mmap base and len values for
6815         prepare_address_space, and store the result in ah.
6816         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6817         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6818         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6819         Declare new mmap base and len values for
6820         prepare_address_space, and store the result in new_ah.
6821         (open_archive): Declare new mmap base and len values for
6822         prepare_address_space, and store the result in ah.
6823         (close_archive): If ah->mmap_base is not NULL, use that and
6824         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6825         * sysdeps/generic/libc-mmap.h: New file.
6827 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6829         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6830         (ALIGN_UP): Likewise.
6831         (PTR_ALIGN_DOWN): Likewise.
6832         (PTR_ALIGN_UP): Likewise.
6834 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6837         entry mapped to PPC_PLATFORM_POWER8.
6838         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6839         POWER8.
6840         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6841         (_dl_string_platform): Add case for exporting platform position for
6842         POWER8.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6844         search path to sysdeps/powerpc/powerpc32/power8 directory.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6846         search path to sysdeps/powerpc/powerpc64/power8 directory.
6847         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6848         power7 directories.
6849         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6850         power7 directories.
6852 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6854         * INSTALL: Regenerate.
6856         * nscd/connections.c (nscd_init): Fix comment.
6858 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6860         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6862         [BZ #15667]
6863         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6864         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6866 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6868         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6869         DL_DST_REQ_STATIC.
6870         (DL_DST_REQ_STATIC): Remove macro.
6872 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6874         [BZ #7006]
6875         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6876         with a shift of 0 bits.
6878 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6880         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6881         $(tststatic-ENV).
6883 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6885         [BZ #15655]
6886         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6888 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6890         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6891         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6892         accepts -fno-tree-loop-distribute-patterns.
6893         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6894         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6895         recursive call.
6896         * string/memset.c (memset): Likewise.
6897         * string/test-memmove.c (simple_memmove): Disable loop transformation
6898         to library calls.
6899         * string/test-memset.c (simple_memset): Likewise.
6900         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6901         * benchtests/bench-memset.c (simple_memset): Likewise.
6902         * configure: Regenerated.
6904 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6906         * math/test-misc.c (main): Ignore fesetround failure when failures
6907         of subsequent rounding tests would be ignored.
6909         [BZ #15654]
6910         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6911         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6912         * math/fegetenv.c (__fegetenv): Return 0.
6913         * math/fegetexcept.c (fegetexcept): Return 0.
6914         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6915         FE_TONEAREST.
6916         * math/feholdexcpt.c (feholdexcept): Return 0.
6917         * math/fesetenv.c (__fesetenv): Return 0.
6918         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6919         argument FE_TONEAREST.
6920         * math/feupdateenv.c (__feupdateenv): Return 0.
6921         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6923 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6925         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6926         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6927         ($(objpfx)rtld-%.os rules): Use them.
6929 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6931         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6932         fields.
6934 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6936         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6937         length of target pattern, then descending length of dependency pattern.
6938         * configure.in (AWK): Require gawk 3.1.2 or newer.
6939         * manual/install.texi (Tools for Compilation): Say that we do.
6940         * configure: Regenerated.
6942         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6943         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6944         * scripts/sysd-rules.awk: ... this new script.
6945         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6946         than a glob-style pattern.
6948 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6950         * math/test-misc.c (main): Do not treat incorrectly rounded
6951         conversions as failure unless ROUNDING_TESTS passes.
6953 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6955         [BZ #15631]
6956         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6957         restore exception state around main square root computation, then
6958         check for inexactness explicitly.
6960         * math/libm-test.inc (fma_test_data): Add another test.
6962 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6964         * manual/threads.texi (Non-POSIX Extensions): New document
6965         node.  Document pthread_getattr_default_np and
6966         pthread_setattr_default_np.
6968         * Versions.def (libpthread): Add GLIBC_2.18.
6969         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6971         Likewise.
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6973         Likewise.
6974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6975         Likewise.
6976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6977         Likewise.
6978         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6979         Likewise.
6980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6981         Likewise.
6982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6983         Likewise.
6984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6987         Likewise.
6989 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6992         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6994 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6995             H.J. Lu  <hjl.tools@gmail.com>
6997         [BZ #15627]
6998         * sysdeps/x86_64/rtld-memset.c: Remove file.
6999         * sysdeps/x86_64/rtld-memset.S: New file.
7001 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7003         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7004         (test_in_one_mode): Take arguments for whether the rounding mode
7005         is supported for each floating-point type.
7006         (do_test): Pass new arguments to test_in_one_mode using
7007         ROUNDING_TESTS.
7009 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7011         * posix/tst-waitid.c (do_test): Distinguish different instances of
7012         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7013         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7014         before entering the kernel for waitpid.
7016 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7018         * NEWS: Fix note on clock function precision.  Text by Roland
7019         McGrath.
7021 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7023         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7024         it into place only when and if the sanity check passes.
7026 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7028         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7029         output for whether conversion result is exact.  Take argument
7030         indicating whether type is IBM long double.
7031         (round_for_all): Change need_exact field to ibm_ld.
7032         * stdlib/tst-strtod-round.c (struct exactness): New type.
7033         (struct test): Change bool ld_ok field to struct exactness exact.
7034         (TEST): Update all definitions for change to field.
7035         (tests): Regenerate array contents.
7036         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7037         field value.  Check for IBM long double here.
7038         (do_test): Update calls to test_in_one_mode.
7040 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7042         [BZ #12515]
7043         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7044         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7046 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7048         [BZ #15605]
7049         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7050         generated by the compiler on loop optimizations.
7051         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7052         general definitions.
7054 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7056         * math/bug-nextafter.c: Include <math-tests.h>.
7057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7058         the relevant type.
7059         * math/bug-nexttoward.c: Include <math-tests.h>.
7060         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7061         the relevant type.
7062         * math/test-misc.c: Include <math-tests.h>.
7063         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7064         the relevant type.
7066 2013-06-12  Andreas Jaeger  <aj@suse.de>
7068         * po/ia.po: Update Interlingua translation from translation
7069         project.
7071 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7073         * include/fenv.h: Include stdbool.h.
7074         (struct rm_ctx): New structure.
7075         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7076         Define macro.
7077         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7078         (SET_RESTORE_ROUNDF): Likewise.
7079         (SET_RESTORE_ROUNDL): Likewise.
7080         (SET_RESTORE_ROUND_NOEX): Likewise.
7081         (SET_RESTORE_ROUND_NOEXF): Likewise.
7082         (SET_RESTORE_ROUND_NOEXL): Likewise.
7083         (SET_RESTORE_ROUND_53BIT): Likewise.
7084         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7085         (libc_feresetround_noexf_ctx): Likewise.
7086         (libc_feresetround_noexl_ctx): Likewise.
7087         (libc_feholdsetround_53bit_ctx): Likewise.
7088         (libc_feresetround_53bit_ctx): Likewise.
7089         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7090         (libc_feholdexcept_setround_sse_ctx): New function.
7091         (libc_fesetenv_sse_ctx): Likewise.
7092         (libc_feupdateenv_sse_ctx): Likewise.
7093         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7094         (libc_feholdexcept_setround_387_ctx): Likewise.
7095         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7096         (libc_feholdsetround_387_prec_ctx): Likewise.
7097         (libc_feholdsetround_387_ctx): Likewise.
7098         (libc_feholdsetround_387_53bit_ctx): Likewise.
7099         (libc_feholdsetround_sse_ctx): Likewise.
7100         (libc_feresetround_sse_ctx): Likewise.
7101         (libc_feresetround_387_ctx): Likewise.
7102         (libc_feupdateenv_387_ctx): Likewise.
7103         (libc_feholdexcept_setroundf_ctx): Define macro.
7104         (libc_fesetenvf_ctx): Likewise.
7105         (libc_feupdateenvf_ctx): Likewise.
7106         (libc_feholdsetroundf_ctx): Likewise.
7107         (libc_feresetroundf_ctx): Likewise.
7108         (libc_feholdexcept_setround_ctx): Likewise.
7109         (libc_fesetenv_ctx): Likewise.
7110         (libc_feupdateenv_ctx): Likewise.
7111         (libc_feholdsetround_ctx): Likewise.
7112         (libc_feresetround_ctx): Likewise.
7113         (libc_feholdexcept_setroundl_ctx): Likewise.
7114         (libc_feupdateenvl_ctx): Likewise.
7115         (libc_feholdsetroundl_ctx): Likewise.
7116         (libc_feresetroundl_ctx): Likewise.
7117         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7118         (libc_feresetround_53bit_ctx): Likewise.
7120 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7122         * locale/iso-639.def: Convert to UTF-8.
7124 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7126         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7127         (EXCEPTION_TESTS_double): Likewise.
7128         (EXCEPTION_TESTS_long_double): Likewise.
7129         (EXCEPTION_TESTS): Likewise.
7130         * math/libm-test.inc (test_exceptions): Only test exceptions if
7131         EXCEPTION_TESTS (FLOAT).
7133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7135         * benchtests/Makefile (string-bench): Add strcpy_chk and
7136         stpcpy_chk.
7137         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7138         * benchtests/bench-stpcpy_chk.c: New file.
7139         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7140         * benchtests/bench-strcpy_chk.c: New file.
7141         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7142         code.
7143         (do_test): Likewise.
7145 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7147         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7148         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7149         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7150         with tabs where appropriate.
7151         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7152         dl-procinfo.h.
7153         [PPC_PLATFORM_PPC440]: Likewise.
7154         [PPC_PLATFORM_PPC464]: Likewise.
7155         [PPC_PLATFORM_PPC476]: Likewise.
7156         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7157         ppc464, and ppc476 platform strings merging from ports/
7158         dl-procinfo.h.
7160 2013-06-11  Andreas Schwab  <schwab@suse.de>
7162         [BZ #14991]
7163         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7164         (from_ucs4_idx): Regenerate.
7165         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7166         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7167         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7168         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7169         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7170         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7171         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7172         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7173         from FROM_LOOP and TO_LOOP specific macros.
7174         (BODY): Handle combining characters.
7175         * iconvdata/BIG5HKSCS.irreversible: Update.
7176         * iconvdata/BIG5HKSCS.precomposed: New file.
7177         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7178         characters.
7179         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7183         * include/sys/time.h: Fix indentation and add copyright header.
7185         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7186         (do_test): Likewise.
7187         * string/test-memchr.c (do_one_test): Likewise.
7188         (do_test): Likewise.
7189         * string/test-memcmp.c (do_one_test): Likewise.
7190         (do_test): Likewise.
7191         * string/test-memcpy.c (do_one_test): Likewise.
7192         (do_test): Likewise.
7193         * string/test-memmem.c (do_one_test): Likewise.
7194         (do_test): Likewise.
7195         (do_random_tests): Likewise.
7196         * string/test-memmove.c (do_one_test): Likewise.
7197         (do_test): Likewise.
7198         * string/test-memset.c (do_one_test): Likewise.
7199         (do_test): Likewise.
7200         * string/test-rawmemchr.c (do_one_test): Likewise.
7201         (do_test): Likewise.
7202         * string/test-strcasecmp.c (do_one_test): Likewise.
7203         (do_test): Likewise.
7204         * string/test-strcasestr.c (do_one_test): Likewise.
7205         (do_test): Likewise.
7206         * string/test-strcat.c (do_one_test): Likewise.
7207         (do_test): Likewise.
7208         * string/test-strchr.c (do_one_test): Likewise.
7209         (do_test): Likewise.
7210         * string/test-strcmp.c (do_one_test): Likewise.
7211         (do_test): Likewise.
7212         * string/test-strcpy.c (do_one_test): Likewise.
7213         (do_test): Likewise.
7214         * string/test-string.h: Likewise.
7215         (test_init): Likewise.
7216         * string/test-strlen.c (do_one_test): Likewise.
7217         (do_test): Likewise.
7218         * string/test-strncasecmp.c (do_one_test): Likewise.
7219         (do_test): Likewise.
7220         * string/test-strncat.c (do_one_test): Likewise.
7221         (do_test): Likewise.
7222         * string/test-strncmp.c (do_one_test): Likewise.
7223         (do_test_limit): Likewise.
7224         (do_test): Likewise.
7225         * string/test-strncpy.c (do_one_test): Likewise.
7226         (do_test): Likewise.
7227         * string/test-strnlen.c (do_one_test): Likewise.
7228         (do_test): Likewise.
7229         * string/test-strpbrk.c (do_one_test): Likewise.
7230         (do_test): Likewise.
7231         * string/test-strrchr.c (do_one_test): Likewise.
7232         (do_test): Likewise.
7233         * string/test-strspn.c (do_one_test): Likewise.
7234         (do_test): Likewise.
7235         * string/test-strstr.c (do_one_test): Likewise.
7236         (do_test): Likewise.
7238         * benchtests/Makefile (string-bench): Add string benchmarks.
7239         * benchtests/bench-bcopy-ifunc.c: New file.
7240         * benchtests/bench-bcopy.c: New file.
7241         * benchtests/bench-bzero-ifunc.c: New file.
7242         * benchtests/bench-bzero.c: New file.
7243         * benchtests/bench-memccpy-ifunc.c: New file.
7244         * benchtests/bench-memccpy.c: New file.
7245         * benchtests/bench-memchr-ifunc.c: New file.
7246         * benchtests/bench-memchr.c: New file.
7247         * benchtests/bench-memcmp-ifunc.c: New file.
7248         * benchtests/bench-memcmp.c: New file.
7249         * benchtests/bench-memmem-ifunc.c: New file.
7250         * benchtests/bench-memmem.c: New file.
7251         * benchtests/bench-memmove-ifunc.c: New file.
7252         * benchtests/bench-memmove.c: New file.
7253         * benchtests/bench-mempcpy-ifunc.c: New file.
7254         * benchtests/bench-mempcpy.c: New file.
7255         * benchtests/bench-memset-ifunc.c: New file.
7256         * benchtests/bench-memset.c: New file.
7257         * benchtests/bench-rawmemchr-ifunc.c: New file.
7258         * benchtests/bench-rawmemchr.c: New file.
7259         * benchtests/bench-stpcpy-ifunc.c: New file.
7260         * benchtests/bench-stpcpy.c: New file.
7261         * benchtests/bench-stpncpy-ifunc.c: New file.
7262         * benchtests/bench-stpncpy.c: New file.
7263         * benchtests/bench-strcasecmp-ifunc.c: New file.
7264         * benchtests/bench-strcasecmp.c: New file.
7265         * benchtests/bench-strcasestr-ifunc.c: New file.
7266         * benchtests/bench-strcasestr.c: New file.
7267         * benchtests/bench-strcat-ifunc.c: New file.
7268         * benchtests/bench-strcat.c: New file.
7269         * benchtests/bench-strchr-ifunc.c: New file.
7270         * benchtests/bench-strchr.c: New file.
7271         * benchtests/bench-strchrnul-ifunc.c: New file.
7272         * benchtests/bench-strchrnul.c: New file.
7273         * benchtests/bench-strcmp-ifunc.c: New file.
7274         * benchtests/bench-strcmp.c: New file.
7275         * benchtests/bench-strcpy-ifunc.c: New file.
7276         * benchtests/bench-strcpy.c: New file.
7277         * benchtests/bench-strcspn-ifunc.c: New file.
7278         * benchtests/bench-strcspn.c: New file.
7279         * benchtests/bench-strlen-ifunc.c: New file.
7280         * benchtests/bench-strlen.c: New file.
7281         * benchtests/bench-strncasecmp-ifunc.c: New file.
7282         * benchtests/bench-strncasecmp.c: New file.
7283         * benchtests/bench-strncat-ifunc.c: New file.
7284         * benchtests/bench-strncat.c: New file.
7285         * benchtests/bench-strncmp-ifunc.c: New file.
7286         * benchtests/bench-strncmp.c: New file.
7287         * benchtests/bench-strncpy-ifunc.c: New file.
7288         * benchtests/bench-strncpy.c: New file.
7289         * benchtests/bench-strnlen-ifunc.c: New file.
7290         * benchtests/bench-strnlen.c: New file.
7291         * benchtests/bench-strpbrk-ifunc.c: New file.
7292         * benchtests/bench-strpbrk.c: New file.
7293         * benchtests/bench-strrchr-ifunc.c: New file.
7294         * benchtests/bench-strrchr.c: New file.
7295         * benchtests/bench-strspn-ifunc.c: New file.
7296         * benchtests/bench-strspn.c: New file.
7297         * benchtests/bench-strstr-ifunc.c: New file.
7298         * benchtests/bench-strstr.c: New file.
7300         * benchtests/Makefile: Disable parallel execution of targets.
7301         (string-bench): Add memcpy.
7302         (benchset): New variable to store a list of benchmark sets.
7303         (bench-func): Renamed from bench.
7304         (bench-set): New target.
7305         (bench): Depend on bench-func and bench-set.
7306         * benchtests/README: Add section on benchmark sets.
7307         * benchtests/bench-memcpy-ifunc.c: New file.
7308         * benchtests/bench-memcpy.c: New file.
7309         * benchtests/bench-string.h: New file.
7311 2013-06-11  Andreas Schwab  <schwab@suse.de>
7313         [BZ #15577]
7314         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7315         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7316         values in the triple.
7317         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7318         terminator in the group key.
7320 2013-06-11  Andreas Jaeger  <aj@suse.de>
7322         * po/zh_TW.po: Update Chinese (traditional) translation from
7323         translation project.
7325 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7327         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7328         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7329         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7330         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7331         (clock_getcpuclockid): Likewise.
7332         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7333         Add weak_alias and libc_hidden_def.
7334         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7335         * rt/clock_gettime.c (clock_gettime): Rename to
7336         __clock_gettime.  Add weak_alias and libc_hidden_def.
7337         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7338         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7339         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7340         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7341         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7342         Likewise.
7343         * rt/clock_settime.c (clock_settime): Rename to
7344         __clock_settime.  Add weak_alias and libc_hidden_def.
7345         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7347 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7349         * mach/err_boot.sub: Remove trailing whitespace.
7350         * mach/err_ipc.sub: Likewise.
7351         * mach/err_mach.sub: Likewise.
7353         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7354         (ROUNDING_TESTS_double): Likewise.
7355         (ROUNDING_TESTS_long_double): Likewise.
7356         (ROUNDING_TESTS): Likewise.
7357         * math/libm-test.inc: Include <math-tests.h>.
7358         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7359         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7360         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7361         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7363 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7365         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7366         of assigning.
7368 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7370         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7371         otherwise empty TRANS lines.
7372         * sysdeps/gnu/errlist.c: Regenerated.
7374         * catgets/gencat.c (error_print): Use (void) in function
7375         definition.
7376         * crypt/crypt_util.c (__init_des): Likewise.
7377         * crypt/speeds.c (Stop): Likewise.
7378         (main): Likewise.
7379         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7380         * inet/ruserpass.c (token): Likewise.
7381         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7382         * intl/localealias.c (extend_alias_table): Likewise.
7383         * intl/plural-exp.c (init_germanic_plural): Likewise.
7384         * libio/fcloseall.c (__fcloseall): Likewise.
7385         * libio/genops.c (_IO_flush_all): Likewise.
7386         (_IO_flush_all_linebuffered): Likewise.
7387         (_IO_cleanup): Likewise.
7388         (_IO_iter_begin): Likewise.
7389         (_IO_iter_end): Likewise.
7390         (_IO_list_lock): Likewise.
7391         (_IO_list_unlock): Likewise.
7392         (_IO_list_resetlock): Likewise.
7393         * libio/getchar.c (getchar): Likewise.
7394         * libio/getchar_u.c (getchar_unlocked): Likewise.
7395         * libio/getwchar.c (getwchar): Likewise.
7396         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7397         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7398         * login/getpt.c (__getpt): Likewise.
7399         * login/tst-utmp.c (main): Likewise.
7400         * malloc/hooks.c (__malloc_check_init): Likewise.
7401         * malloc/malloc.c (__malloc_stats): Likewise.
7402         * malloc/mtrace.c (tr_break): Likewise.
7403         (mtrace): Likewise.
7404         (muntrace): Likewise.
7405         * misc/fstab.c (endfsent): Likewise.
7406         * misc/getclktck.c (__getclktck): Likewise.
7407         * misc/getdtsz.c (__getdtablesize): Likewise.
7408         * misc/gethostid.c (gethostid): Likewise.
7409         * misc/getpagesize.c (__getpagesize): Likewise.
7410         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7411         (__get_nprocs): Likewise.
7412         (__get_phys_pages): Likewise.
7413         (__get_avphys_pages): Likewise.
7414         * misc/getttyent.c (getttyent): Likewise.
7415         (setttyent): Likewise.
7416         (endttyent): Likewise.
7417         * misc/getusershell.c (getusershell): Likewise.
7418         (endusershell): Likewise.
7419         (setusershell): Likewise.
7420         (initshells): Likewise.
7421         * misc/hsearch.c (__hdestroy): Likewise.
7422         * misc/sync.c (sync): Likewise.
7423         * misc/syslog.c (closelog_internal): Likewise.
7424         (closelog): Likewise.
7425         * misc/ttyslot.c (ttyslot): Likewise.
7426         * misc/vhangup.c (vhangup): Likewise.
7427         * posix/fork.c (__fork): Likewise.
7428         * posix/getegid.c (__getegid): Likewise.
7429         * posix/geteuid.c (__geteuid): Likewise.
7430         * posix/getgid.c (__getgid): Likewise.
7431         * posix/getpid.c (__getpid): Likewise.
7432         * posix/getppid.c (__getppid): Likewise.
7433         * posix/getuid.c (__getuid): Likewise.
7434         * posix/pause.c (pause): Likewise.
7435         * posix/setpgrp.c (setpgrp): Likewise.
7436         * posix/setsid.c (__setsid): Likewise.
7437         * posix/test-vfork.c (noop): Likewise.
7438         * resolv/gethnamaddr.c (_endhtent): Likewise.
7439         (_gethtent): Likewise.
7440         (ht_endhostent): Likewise.
7441         (gethostent): Likewise.
7442         (dns_service): Likewise.
7443         * stdlib/drand48.c (drand48): Likewise.
7444         * stdlib/lrand48.c (lrand48): Likewise.
7445         * stdlib/mrand48.c (mrand48): Likewise.
7446         * stdlib/rand.c (rand): Likewise.
7447         * stdlib/random.c (__random): Likewise.
7448         * stdlib/setenv.c (clearenv): Likewise.
7449         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7450         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7451         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7452         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7453         (__get_nprocs): Likewise.
7454         (__get_phys_pages): Likewise.
7455         (__get_avphys_pages): Likewise.
7456         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7457         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7458         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7459         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7460         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7461         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7462         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7463         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7464         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7465         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7466         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7467         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7468         * sysdeps/posix/clock.c (clock): Likewise.
7469         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7470         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7471         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7472         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7473         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7475         (__get_nprocs_conf): Likewise.
7476         (__get_phys_pages): Likewise.
7477         (__get_avphys_pages): Likewise.
7478         * time/clock.c (clock): Likewise.
7479         * time/tzset.c (__tzname_max): Likewise.
7481 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7483         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7484         (__bswap_32): Do not use "register".
7485         * crypt/crypt.c (_ufc_doit_r): Likewise.
7486         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7487         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7488         * gmon/gmon.c (__monstartup): Likewise.
7489         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7490         * hurd/hurdmalloc.c (more_memory): Likewise.
7491         (malloc): Likewise.
7492         (free): Likewise.
7493         (realloc): Likewise.
7494         (malloc_fork_prepare): Likewise.
7495         (malloc_fork_parent): Likewise.
7496         (malloc_fork_child): Likewise.
7497         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7498         (_svcauth_des): Likewise.
7499         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7500         * inet/inet_net.c (inet_network): Likewise.
7501         * inet/inet_netof.c (inet_netof): Likewise.
7502         * inet/rcmd.c (__validuser2_sa): Likewise.
7503         * io/fts.c (fts_open): Likewise.
7504         (fts_load): Likewise.
7505         (fts_close): Likewise.
7506         (fts_read): Likewise.
7507         (fts_children): Likewise.
7508         (fts_build): Likewise.
7509         (fts_stat): Likewise.
7510         (fts_sort): Likewise.
7511         (fts_alloc): Likewise.
7512         (fts_lfree): Likewise.
7513         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7514         (_IO_file_xsgetn): Likewise.
7515         (_IO_file_xsgetn_mmap): Likewise.
7516         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7517         (_IO_cookie_write): Likewise.
7518         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7519         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7520         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7521         * malloc/obstack.c (_obstack_begin): Likewise.
7522         (_obstack_begin_1): Likewise.
7523         (_obstack_newchunk): Likewise.
7524         (_obstack_allocated_p): Likewise.
7525         (obstack_free): Likewise.
7526         (_obstack_memory_used): Likewise.
7527         * misc/getttyent.c (getttynam): Likewise.
7528         (getttyent): Likewise.
7529         (skip): Likewise.
7530         (value): Likewise.
7531         * misc/getusershell.c (initshells): Likewise.
7532         * misc/syslog.c (__vsyslog_chk): Likewise.
7533         * misc/ttyslot.c (ttyslot): Likewise.
7534         * nis/nis_hash.c (__nis_hash): Likewise.
7535         * posix/fnmatch_loop.c (FCT): Likewise.
7536         * posix/getconf.c (print_all): Likewise.
7537         (main): Likewise.
7538         * posix/getopt.c (exchange): Likewise.
7539         * posix/glob.c (globfree): Likewise.
7540         (prefix_array): Likewise.
7541         (__glob_pattern_type): Likewise.
7542         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7543         (NS_GET32): Likewise.
7544         (NS_PUT16): Likewise.
7545         (NS_PUT32): Likewise.
7546         * resolv/gethnamaddr.c (getanswer): Likewise.
7547         (gethostbyname2): Likewise.
7548         (gethostbyaddr): Likewise.
7549         (_gethtent): Likewise.
7550         (_gethtbyname2): Likewise.
7551         (_gethtbyaddr): Likewise.
7552         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7553         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7554         * resolv/res_init.c (__res_vinit): Likewise.
7555         (net_mask): Likewise.
7556         * resolv/res_mkquery.c (outchar): Likewise.
7557         (PRINT): Likewise.
7558         * stdio-common/printf_fp.c (outchar): Likewise.
7559         (PRINT): Likewise.
7560         * stdio-common/printf_fphex.c (outchar): Likewise.
7561         (PRINT): Likewise.
7562         * stdio-common/printf_size.c (outchar): Likewise.
7563         (PRINT): Likewise.
7564         * stdio-common/test_rdwr.c (main): Likewise.
7565         * stdio-common/tfformat.c (matches): Likewise.
7566         * stdio-common/vfprintf.c (outchar): Likewise.
7567         (printf_unknown): Likewise.
7568         (buffered_vfprintf): Likewise.
7569         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7570         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7571         (ReadFile): Likewise.
7572         * stdlib/qsort.c (SWAP): Likewise.
7573         (_quicksort): Likewise.
7574         * stdlib/setenv.c (__add_to_environ): Likewise.
7575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7576         * stdlib/strtol_l.c (__strtol_l): Likewise.
7577         * stdlib/tst-strtod.c (main): Likewise.
7578         * stdlib/tst-strtol.c (main): Likewise.
7579         * stdlib/tst-strtoll.c (main): Likewise.
7580         * string/bits/string2.h (__strcmp_cc): Likewise.
7581         (__strcmp_cg): Likewise.
7582         (__strcspn_c1): Likewise.
7583         (__strcspn_c2): Likewise.
7584         (__strcspn_c3): Likewise.
7585         (__strspn_c1): Likewise.
7586         (__strspn_c2): Likewise.
7587         (__strspn_c3): Likewise.
7588         (__strsep_1c): Likewise.
7589         (__strsep_2c): Likewise.
7590         (__strsep_3c): Likewise.
7591         * string/memccpy.c (__memccpy): Likewise.
7592         * string/stpcpy.c (__stpcpy): Likewise.
7593         * string/strcmp.c (strcmp): Likewise.
7594         * string/strrchr.c (strrchr): Likewise.
7595         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7596         Likewise.
7597         * sysdeps/mach/hurd/getcwd.c
7598         (_hurd_canonicalize_directory_name_internal): Likewise.
7599         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7600         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7601         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7602         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7603         Likewise, in both definitions.
7604         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7605         definitions.
7606         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7607         64] (__bswap_64): Likewise.
7608         * time/test_time.c (main): Likewise.
7609         * time/tzfile.c (__tzfile_read): Likewise.
7610         (__tzfile_compute): Likewise.
7611         * time/tzset.c (__tzset_parse_tz): Likewise.
7612         (tzset_internal): Likewise.
7613         (compute_change): Likewise.
7614         * wcsmbs/wcscat.c (__wcscat): Likewise.
7615         * wcsmbs/wcschr.c (wcschr): Likewise.
7616         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7617         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7618         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7619         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7620         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7621         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7622         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7623         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7624         * wcsmbs/wmemset.c (wmemset): Likewise.
7626 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7628         * scripts/config.guess: Update to version 2013-05-16.
7629         * scripts/config.sub: Update to version 2013-04-24.
7630         * scripts/install-sh: Update to version 2011-11-20.07.
7631         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7632         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7634 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7636         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7637         * elf/sln.c: Likewise.
7638         * hurd/hurd/ioctl.h: Likewise.
7639         * hurd/hurdmalloc.c: Likewise.
7640         * hurd/xattr.c: Likewise.
7641         * include/shlib-compat.h: Likewise.
7642         * inet/ruserpass.c: Likewise.
7643         * libio/iofgets_u.c: Likewise.
7644         * libio/iofgetws_u.c: Likewise.
7645         * locale/programs/ld-identification.c: Likewise.
7646         * locale/programs/ld-time.c: Likewise.
7647         * mach/msg-destroy.c: Likewise.
7648         * nss/nss_files/files-netgrp.c: Likewise.
7649         * resolv/res_data.c: Likewise.
7650         * soft-fp/op-1.h: Likewise.
7651         * soft-fp/op-2.h: Likewise.
7652         * soft-fp/op-4.h: Likewise.
7653         * soft-fp/op-common.h: Likewise.
7654         * stdio-common/printf_fphex.c: Likewise.
7655         * stdlib/strtod_l.c: Likewise.
7656         * sunrpc/rpc/clnt.h: Likewise.
7657         * sysdeps/generic/framestate.c: Likewise.
7658         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7659         * sysdeps/i386/bsd-setjmp.S: Likewise.
7660         * sysdeps/i386/__longjmp.S: Likewise.
7661         * sysdeps/i386/setjmp.S: Likewise.
7662         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7663         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7667         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7669         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7670         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7671         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7672         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7673         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7674         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7675         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7676         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7678         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7679         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7680         * sysdeps/ieee754/support.c: Likewise.
7681         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7682         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7683         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7684         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7685         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7686         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7687         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7688         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7689         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7690         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7691         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7692         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7693         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7694         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7695         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7696         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7697         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7700 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7702         * posix/transbug.c: Remove executable mode.
7704 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7706         * crypt/speeds.c: Remove trailing whitespace.
7707         * dlfcn/default.c: Likewise.
7708         * elf/ifuncdep2.c: Likewise.
7709         * elf/ifuncmain1.c: Likewise.
7710         * elf/ifuncmain1vis.c: Likewise.
7711         * elf/testobj.h: Likewise.
7712         * elf/tst-stackguard1.c: Likewise.
7713         * gmon/sys/gmon.h: Likewise.
7714         * hurd/hurdmsg.c: Likewise.
7715         * hurd/new-fd.c: Likewise.
7716         * hurd/ports-get.c: Likewise.
7717         * iconvdata/ibm1008_420.c: Likewise.
7718         * inet/tst-getni1.c: Likewise.
7719         * inet/tst-getni2.c: Likewise.
7720         * libio/ioungetc.c: Likewise.
7721         * libio/wfiledoalloc.c: Likewise.
7722         * manual/libm-err-tab.pl: Likewise.
7723         * math/w_dremf.c: Likewise.
7724         * misc/ftruncate.c: Likewise.
7725         * posix/bug-glob2.c: Likewise.
7726         * posix/tst-pcre.c: Likewise.
7727         * posix/wait4.c: Likewise.
7728         * resolv/README: Likewise.
7729         * resolv/res_debug.h: Likewise.
7730         * resolv/tst-inet_ntop.c: Likewise.
7731         * setjmp/bug269-setjmp.c: Likewise.
7732         * soft-fp/extended.h: Likewise.
7733         * soft-fp/op-1.h: Likewise.
7734         * soft-fp/op-2.h: Likewise.
7735         * soft-fp/op-4.h: Likewise.
7736         * soft-fp/op-8.h: Likewise.
7737         * soft-fp/testit.c: Likewise.
7738         * stdio-common/bug16.c: Likewise.
7739         * stdlib/random.c: Likewise.
7740         * sunrpc/rpcsvc/rquota.x: Likewise.
7741         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7742         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7743         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7744         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7745         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7746         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7747         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7748         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7750         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7751         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7752         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7753         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7754         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7758         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7759         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7763         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7767         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7769         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7770         * sysdeps/ieee754/s_lib_version.c: Likewise.
7771         * sysdeps/mach/hurd/check_fds.c: Likewise.
7772         * sysdeps/mach/hurd/getsockname.c: Likewise.
7773         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7774         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7775         * sysdeps/powerpc/bits/link.h: Likewise.
7776         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7777         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7778         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7779         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7780         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7781         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7782         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7783         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7784         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7785         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7786         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7787         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7788         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7789         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7790         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7791         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7796         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7797         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7799         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7800         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7801         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7802         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7805         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7806         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7809         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7810         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7811         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7812         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7813         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7814         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7815         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7816         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7817         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7818         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7819         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7821         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7822         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7823         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7824         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7825         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7828         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7829         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7830         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7831         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7832         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7835         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7836         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7838         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7839         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7840         * sysdeps/powerpc/sysdep.h: Likewise.
7841         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7842         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7843         * sysdeps/sh/dl-trampoline.S: Likewise.
7844         * sysdeps/sh/memset.S: Likewise.
7845         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7846         * sysdeps/sh/strlen.S: Likewise.
7847         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7848         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7849         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7850         * sysdeps/sparc/sparc32/rem.S: Likewise.
7851         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7852         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7853         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7854         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7855         * sysdeps/sparc/sparc32/urem.S: Likewise.
7856         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7857         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7858         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7859         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7860         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7861         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7862         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7863         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7864         * sysdeps/unix/bsd/times.c: Likewise.
7865         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7866         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7871         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7872         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7873         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7874         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7875         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7876         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7877         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7878         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7879         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7880         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7881         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7882         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7883         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7884         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7885         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7886         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7887         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7888         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7889         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7890         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7891         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7892         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7893         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7894         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7895         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7896         * sysdeps/x86_64/strcspn.S: Likewise.
7898 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7900         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7901         generated file.  Regenerate properly from gen-translit.pl.
7902         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7903         locale/C-translit.h.
7905 2013-06-05  Andreas Schwab  <schwab@suse.de>
7907         [BZ #15100]
7908         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7909         week as 6 instead of -1.
7910         * time/tst-strptime.c (day_tests): Add test case.
7912 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7914         * sysdeps/generic/math_private.h
7915         (libc_feholdexcept_setround_53bit): Replace with
7916         libc_feholdsetround_53bit.
7917         (libc_feupdateenv_53bit): Replace with
7918         libc_feresetround_53bit.
7919         (SET_RESTORE_ROUND_53BIT): Adjust.
7921 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7923         * string/test-strchrnul.c: Add copyright header.
7925         * posix/tst-getaddrinfo4.c: Increase test timeout.
7927 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7929         [BZ #15536]
7930         * math/libm-test.inc (MAX_EXP): Remove
7931         (MIN_EXP): Define.
7932         (ulp): Use MIN_EXP - MANT_DIG.
7933         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7935 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7937         * po/be.po: Revert last change.
7938         * po/zh_CN.po: Likewise.
7939         * po/header.pot: Likewise.
7941 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7943         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7944         link-libc-deps to empty as target-specific variable.
7945         * Makerules (link-libc-args): New variable.
7946         (libc-for-link): Likewise.
7947         (link-libc-deps): Likewise.
7948         (lib%.so): Depend on $(link-libc-deps).  Link with
7949         $(link-libc-args).
7950         (build-module): Link with $(link-libc-args).
7951         (build-module-asneeded): Likewise.
7952         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7953         list of objects.
7954         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7955         target-specific variable.
7956         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7957         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7958         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7959         libc.
7960         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7961         libc and ld.so.
7962         ($(objpfx)libpcprofile.so): Likewise.
7963         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7964         libc_nonshared.a.
7965         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7966         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7967         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7968         $(link-libc-deps).
7969         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7970         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7971         * login/Makefile ($(objpfx)libutil.so): Likewise.
7972         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7973         * math/Makefile ($(objpfx)libm.so): Likewise.
7974         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7975         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7976         variable instead of depending directly on libc.
7977         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7978         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7979         $(link-libc-deps).
7980         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7981         libc.
7982         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7983         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7984         ($(objpfx)libanl.so): Likewise.
7985         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7986         ld.so.
7987         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7988         $(link-libc-deps).
7989         * sysdeps/i386/fpu/Makefile: Remove file.
7990         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7991         ($(objpfx)libm.so): Remove dependency on ld.so.
7993 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7995         [BZ # 15553]
7996         * nis/yp_xdr.c (XDRMAXNAME): Define.
7997         (XDRMAXRECORD): Define.
7998         (xdr_domainname): Use XDRMAXNAME.
7999         (xdr_mapname): Likewise.
8000         (xdr_peername): Likewise.
8001         (xdr_keydat): Use XDRMAXRECORD.
8002         (xdr_valdat): Likewise.
8004 2013-05-30  Jeff Law  <law@redhat.com>
8006         [BZ #14256]
8007         * manual/errno.texi (ESTALE): Update to account for more than
8008         just NFS file systems.
8009         * sysdeps/gnu/errlist.c: Regenerated.
8011 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8013         [BZ #15465]
8014         * elf/Makefile (tests): Add tst-null-argv.
8015         (modules-names):  Add tst-null-argv-lib.
8016         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8017         (tst-null-argv-ENV): Set environment for tst-null-argv.
8018         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8019         (RTLD_PROGNAME): New macro.
8020         * elf/tst-null-argv.c: New test case.
8021         * elf/tst-null-argv-lib.c: Library for test case.
8022         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8023         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8024         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8025         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8026         * elf/dl-init.c (call_init): Likewise.
8027         (_dl_init): Likewise.
8028         * elf/dl-load.c (print_search_path): Likewise.
8029         (_dl_map_object): Likewise.
8030         * elf/dl-lookup.c (do_lookup_x): Likewise.
8031         (add_dependency): Likewise.
8032         (_dl_lookup_symbol_x): Likewise.
8033         (_dl_debug_bindings): Likewise.
8034         * elf/dl-open.c (_dl_show_scope): Likewise.
8035         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8036         * elf/dl-version.c (match_symbol): Likewise.
8037         (_dl_check_map_versions): Likewise.
8038         * elf/rtld.c (dl_main): Likewise.
8039         (print_unresolved): Use RTLD_PROGNAME.
8040         (print_missing_version): Likewise.
8041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8042         (elf_machine_rela): Likewise.
8043         * sysdeps/powerpc/powerpc32/dl-machine.c
8044         (__process_machine_rela): Likewise.
8045         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8046         Likewise.
8047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8048         Likewise.
8049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8050         Likewise.
8051         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8053         Likewise.
8054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8055         Likewise.
8056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8058 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8060         * po/be.po: Add descriptive title.
8061         * po/zh_CN.po: Likewise.
8062         * po/header.pot: Likewise.
8064 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8066         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8067         error message.
8068         (enlarge_archive): Likewise.
8070 2013-05-28  Ben North  <ben@redfrontdoor.org>
8072         * manual/arith.texi (frexp): It is the magnitude of the return
8073         value which lies in [0.5, 1), not the return value itself.
8075 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8079 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8081         * stdio-common/bug26.c (main): Correct fscanf template.
8083         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8084         declare _dl_skip_args.
8086         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8087         Don't declare.
8089         * manual/platform.texi: Add missing @end deftypefun.
8091 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8093         [BZ #15529]
8094         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8095         bit of mantissa of 2^16382.
8096         * math/libm-test.inc (hypot_test_data): Add more tests.
8098         * math/libm-test.inc: Add drem and pow10 to list of tested
8099         functions.
8100         (pow10_test): New function.
8101         (drem_test): Likewise.
8102         (drem_test_tonearest): Likewise.
8103         (drem_test_towardzero): Likewise.
8104         (drem_test_downward): Likewise.
8105         (drem_test_upward): Likewise.
8106         (main): Call the new functions.
8108         * math/libm-test.inc (finite_test_data): Remove.
8109         (finite_test): Run tests from isfinite_test_data.
8110         (gamma_test_data): Remove.
8111         (gamma_test): Run tests from lgamma_test_data.
8112         * sysdeps/i386/fpu/libm-test-ulps: Update.
8113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8115 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117         * manual/platform.texi: Add PowerPC PPR function set documentation.
8118         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8119         implementation.
8121 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8123         * math/libm-test.inc (MAX_EXP): Define.
8124         (ULPDIFF): Define.
8125         (ulp): New function.
8126         (check_float_internal): Use ULPDIFF.
8127         (cpow_test): Disable failing test.
8128         (check_ulp): Test ulp() implemetnation.
8129         (main): Call check_ulp before starting tests.
8131 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8133         * math/gen-libm-test.pl (generate_testfile): Do not handle
8134         START_DATA and END_DATA.
8135         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8136         END_DATA.
8137         (acos_tonearest_test_data): Likewise.
8138         (acos_towardzero_test_data): Likewise.
8139         (acos_downward_test_data): Likewise.
8140         (acos_upward_test_data): Likewise.
8141         (acosh_test_data): Likewise.
8142         (asin_test_data): Likewise.
8143         (asin_tonearest_test_data): Likewise.
8144         (asin_towardzero_test_data): Likewise.
8145         (asin_downward_test_data): Likewise.
8146         (asin_upward_test_data): Likewise.
8147         (asinh_test_data): Likewise.
8148         (atan_test_data): Likewise.
8149         (atanh_test_data): Likewise.
8150         (atan2_test_data): Likewise.
8151         (cabs_test_data): Likewise.
8152         (cacos_test_data): Likewise.
8153         (cacosh_test_data): Likewise.
8154         (carg_test_data): Likewise.
8155         (casin_test_data): Likewise.
8156         (casinh_test_data): Likewise.
8157         (catan_test_data): Likewise.
8158         (catanh_test_data): Likewise.
8159         (cbrt_test_data): Likewise.
8160         (ccos_test_data): Likewise.
8161         (ccosh_test_data): Likewise.
8162         (ceil_test_data): Likewise.
8163         (cexp_test_data): Likewise.
8164         (cimag_test_data): Likewise.
8165         (clog_test_data): Likewise.
8166         (clog10_test_data): Likewise.
8167         (conj_test_data): Likewise.
8168         (copysign_test_data): Likewise.
8169         (cos_test_data): Likewise.
8170         (cos_tonearest_test_data): Likewise.
8171         (cos_towardzero_test_data): Likewise.
8172         (cos_downward_test_data): Likewise.
8173         (cos_upward_test_data): Likewise.
8174         (cosh_test_data): Likewise.
8175         (cosh_tonearest_test_data): Likewise.
8176         (cosh_towardzero_test_data): Likewise.
8177         (cosh_downward_test_data): Likewise.
8178         (cosh_upward_test_data): Likewise.
8179         (cpow_test_data): Likewise.
8180         (cproj_test_data): Likewise.
8181         (creal_test_data): Likewise.
8182         (csin_test_data): Likewise.
8183         (csinh_test_data): Likewise.
8184         (csqrt_test_data): Likewise.
8185         (ctan_test_data): Likewise.
8186         (ctan_tonearest_test_data): Likewise.
8187         (ctan_towardzero_test_data): Likewise.
8188         (ctan_downward_test_data): Likewise.
8189         (ctan_upward_test_data): Likewise.
8190         (ctanh_test_data): Likewise.
8191         (ctanh_tonearest_test_data): Likewise.
8192         (ctanh_towardzero_test_data): Likewise.
8193         (ctanh_downward_test_data): Likewise.
8194         (ctanh_upward_test_data): Likewise.
8195         (erf_test_data): Likewise.
8196         (erfc_test_data): Likewise.
8197         (exp_test_data): Likewise.
8198         (exp_tonearest_test_data): Likewise.
8199         (exp_towardzero_test_data): Likewise.
8200         (exp_downward_test_data): Likewise.
8201         (exp_upward_test_data): Likewise.
8202         (exp10_test_data): Likewise.
8203         (exp2_test_data): Likewise.
8204         (expm1_test_data): Likewise.
8205         (fabs_test_data): Likewise.
8206         (fdim_test_data): Likewise.
8207         (finite_test_data): Likewise.
8208         (floor_test_data): Likewise.
8209         (fma_test_data): Likewise.
8210         (fma_towardzero_test_data): Likewise.
8211         (fma_downward_test_data): Likewise.
8212         (fma_upward_test_data): Likewise.
8213         (fmax_test_data): Likewise.
8214         (fmin_test_data): Likewise.
8215         (fmod_test_data): Likewise.
8216         (fpclassify_test_data): Likewise.
8217         (frexp_test_data): Likewise.
8218         (gamma_test_data): Likewise.
8219         (hypot_test_data): Likewise.
8220         (ilogb_test_data): Likewise.
8221         (isfinite_test_data): Likewise.
8222         (isgreater_test_data): Likewise.
8223         (isgreaterequal_test_data): Likewise.
8224         (isinf_test_data): Likewise.
8225         (isless_test_data): Likewise.
8226         (islessequal_test_data): Likewise.
8227         (islessgreater_test_data): Likewise.
8228         (isnan_test_data): Likewise.
8229         (isnormal_test_data): Likewise.
8230         (issignaling_test_data): Likewise.
8231         (isunordered_test_data): Likewise.
8232         (j0_test_data): Likewise.
8233         (j1_test_data): Likewise.
8234         (jn_test_data): Likewise.
8235         (ldexp_test_data): Likewise.
8236         (lgamma_test_data): Likewise.
8237         (lrint_test_data): Likewise.
8238         (lrint_tonearest_test_data): Likewise.
8239         (lrint_towardzero_test_data): Likewise.
8240         (lrint_downward_test_data): Likewise.
8241         (lrint_upward_test_data): Likewise.
8242         (llrint_test_data): Likewise.
8243         (llrint_tonearest_test_data): Likewise.
8244         (llrint_towardzero_test_data): Likewise.
8245         (llrint_downward_test_data): Likewise.
8246         (llrint_upward_test_data): Likewise.
8247         (log_test_data): Likewise.
8248         (log10_test_data): Likewise.
8249         (log1p_test_data): Likewise.
8250         (log2_test_data): Likewise.
8251         (logb_test_data): Likewise.
8252         (logb_downward_test_data): Likewise.
8253         (lround_test_data): Likewise.
8254         (llround_test_data): Likewise.
8255         (modf_test_data): Likewise.
8256         (nearbyint_test_data): Likewise.
8257         (nextafter_test_data): Likewise.
8258         (nexttoward_test_data): Likewise.
8259         (pow_test_data): Likewise.
8260         (pow_tonearest_test_data): Likewise.
8261         (pow_towardzero_test_data): Likewise.
8262         (pow_downward_test_data): Likewise.
8263         (pow_upward_test_data): Likewise.
8264         (remainder_test_data): Likewise.
8265         (remainder_tonearest_test_data): Likewise.
8266         (remainder_towardzero_test_data): Likewise.
8267         (remainder_downward_test_data): Likewise.
8268         (remainder_upward_test_data): Likewise.
8269         (remquo_test_data): Likewise.
8270         (rint_test_data): Likewise.
8271         (rint_tonearest_test_data): Likewise.
8272         (rint_towardzero_test_data): Likewise.
8273         (rint_downward_test_data): Likewise.
8274         (rint_upward_test_data): Likewise.
8275         (round_test_data): Likewise.
8276         (scalb_test_data): Likewise.
8277         (scalbn_test_data): Likewise.
8278         (scalbln_test_data): Likewise.
8279         (signbit_test_data): Likewise.
8280         (sin_test_data): Likewise.
8281         (sin_tonearest_test_data): Likewise.
8282         (sin_towardzero_test_data): Likewise.
8283         (sin_downward_test_data): Likewise.
8284         (sin_upward_test_data): Likewise.
8285         (sincos_test_data): Likewise.
8286         (sinh_test_data): Likewise.
8287         (sinh_tonearest_test_data): Likewise.
8288         (sinh_towardzero_test_data): Likewise.
8289         (sinh_downward_test_data): Likewise.
8290         (sinh_upward_test_data): Likewise.
8291         (sqrt_test_data): Likewise.
8292         (tan_test_data): Likewise.
8293         (tan_tonearest_test_data): Likewise.
8294         (tan_towardzero_test_data): Likewise.
8295         (tan_downward_test_data): Likewise.
8296         (tan_upward_test_data): Likewise.
8297         (tanh_test_data): Likewise.
8298         (tgamma_test_data): Likewise.
8299         (trunc_test_data): Likewise.
8300         (y0_test_data): Likewise.
8301         (y1_test_data): Likewise.
8302         (yn_test_data): Likewise.
8303         (significand_test_data): Likewise.
8305         * math/gen-libm-test.pl (@functions): Remove variable.
8306         (generate_testfile): Don't handle START and END lines.
8307         * math/libm-test.inc (START): New macro.
8308         (END): Likewise.
8309         (END_COMPLEX): Likewise.
8310         (acos_test): Use END macro without arguments.
8311         (acos_test_tonearest): Likewise.
8312         (acos_test_towardzero): Likewise.
8313         (acos_test_downward): Likewise.
8314         (acos_test_upward): Likewise.
8315         (acosh_test): Likewise.
8316         (asin_test): Likewise.
8317         (asin_test_tonearest): Likewise.
8318         (asin_test_towardzero): Likewise.
8319         (asin_test_downward): Likewise.
8320         (asin_test_upward): Likewise.
8321         (asinh_test): Likewise.
8322         (atan_test): Likewise.
8323         (atanh_test): Likewise.
8324         (atan2_test): Likewise.
8325         (cabs_test): Likewise.
8326         (cacos_test): Use END_COMPLEX macro without arguments.
8327         (cacosh_test): Likewise.
8328         (carg_test): Use END macro without arguments.
8329         (casin_test): Use END_COMPLEX macro without arguments.
8330         (casinh_test): Likewise.
8331         (catan_test): Likewise.
8332         (catanh_test): Likewise.
8333         (cbrt_test): Use END macro without arguments.
8334         (ccos_test): Use END_COMPLEX macro without arguments.
8335         (ccosh_test): Likewise.
8336         (ceil_test): Use END macro without arguments.
8337         (cexp_test): Use END_COMPLEX macro without arguments.
8338         (cimag_test): Use END macro without arguments.
8339         (clog_test): Use END_COMPLEX macro without arguments.
8340         (clog10_test): Likewise.
8341         (conj_test): Likewise.
8342         (copysign_test): Use END macro without arguments.
8343         (cos_test): Likewise.
8344         (cos_test_tonearest): Likewise.
8345         (cos_test_towardzero): Likewise.
8346         (cos_test_downward): Likewise.
8347         (cos_test_upward): Likewise.
8348         (cosh_test): Likewise.
8349         (cosh_test_tonearest): Likewise.
8350         (cosh_test_towardzero): Likewise.
8351         (cosh_test_downward): Likewise.
8352         (cosh_test_upward): Likewise.
8353         (cpow_test): Use END_COMPLEX macro without arguments.
8354         (cproj_test): Likewise.
8355         (creal_test): Use END macro without arguments.
8356         (csin_test): Use END_COMPLEX macro without arguments.
8357         (csinh_test): Likewise.
8358         (csqrt_test): Likewise.
8359         (ctan_test): Likewise.
8360         (ctan_test_tonearest): Likewise.
8361         (ctan_test_towardzero): Likewise.
8362         (ctan_test_downward): Likewise.
8363         (ctan_test_upward): Likewise.
8364         (ctanh_test): Likewise.
8365         (ctanh_test_tonearest): Likewise.
8366         (ctanh_test_towardzero): Likewise.
8367         (ctanh_test_downward): Likewise.
8368         (ctanh_test_upward): Likewise.
8369         (erf_test): Use END macro without arguments.
8370         (erfc_test): Likewise.
8371         (exp_test): Likewise.
8372         (exp_test_tonearest): Likewise.
8373         (exp_test_towardzero): Likewise.
8374         (exp_test_downward): Likewise.
8375         (exp_test_upward): Likewise.
8376         (exp10_test): Likewise.
8377         (exp2_test): Likewise.
8378         (expm1_test): Likewise.
8379         (fabs_test): Likewise.
8380         (fdim_test): Likewise.
8381         (finite_test): Likewise.
8382         (floor_test): Likewise.
8383         (fma_test): Likewise.
8384         (fma_test_towardzero): Likewise.
8385         (fma_test_downward): Likewise.
8386         (fma_test_upward): Likewise.
8387         (fmax_test): Likewise.
8388         (fmin_test): Likewise.
8389         (fmod_test): Likewise.
8390         (fpclassify_test): Likewise.
8391         (frexp_test): Likewise.
8392         (gamma_test): Likewise.
8393         (hypot_test): Likewise.
8394         (ilogb_test): Likewise.
8395         (isfinite_test): Likewise.
8396         (isgreater_test): Likewise.
8397         (isgreaterequal_test): Likewise.
8398         (isinf_test): Likewise.
8399         (isless_test): Likewise.
8400         (islessequal_test): Likewise.
8401         (islessgreater_test): Likewise.
8402         (isnan_test): Likewise.
8403         (isnormal_test): Likewise.
8404         (issignaling_test): Likewise.
8405         (isunordered_test): Likewise.
8406         (j0_test): Likewise.
8407         (j1_test): Likewise.
8408         (jn_test): Likewise.
8409         (ldexp_test): Likewise.
8410         (lgamma_test): Likewise.
8411         (lrint_test): Likewise.
8412         (lrint_test_tonearest): Likewise.
8413         (lrint_test_towardzero): Likewise.
8414         (lrint_test_downward): Likewise.
8415         (lrint_test_upward): Likewise.
8416         (llrint_test): Likewise.
8417         (llrint_test_tonearest): Likewise.
8418         (llrint_test_towardzero): Likewise.
8419         (llrint_test_downward): Likewise.
8420         (llrint_test_upward): Likewise.
8421         (log_test): Likewise.
8422         (log10_test): Likewise.
8423         (log1p_test): Likewise.
8424         (log2_test): Likewise.
8425         (logb_test): Likewise.
8426         (logb_test_downward): Likewise.
8427         (lround_test): Likewise.
8428         (llround_test): Likewise.
8429         (modf_test): Likewise.
8430         (nearbyint_test): Likewise.
8431         (nextafter_test): Likewise.
8432         (nexttoward_test): Likewise.
8433         (pow_test): Likewise.
8434         (pow_test_tonearest): Likewise.
8435         (pow_test_towardzero): Likewise.
8436         (pow_test_downward): Likewise.
8437         (pow_test_upward): Likewise.
8438         (remainder_test): Likewise.
8439         (remainder_test_tonearest): Likewise.
8440         (remainder_test_towardzero): Likewise.
8441         (remainder_test_downward): Likewise.
8442         (remainder_test_upward): Likewise.
8443         (remquo_test): Likewise.
8444         (rint_test): Likewise.
8445         (rint_test_tonearest): Likewise.
8446         (rint_test_towardzero): Likewise.
8447         (rint_test_downward): Likewise.
8448         (rint_test_upward): Likewise.
8449         (round_test): Likewise.
8450         (scalb_test): Likewise.
8451         (scalbn_test): Likewise.
8452         (scalbln_test): Likewise.
8453         (signbit_test): Likewise.
8454         (sin_test): Likewise.
8455         (sin_test_tonearest): Likewise.
8456         (sin_test_towardzero): Likewise.
8457         (sin_test_downward): Likewise.
8458         (sin_test_upward): Likewise.
8459         (sincos_test): Likewise.
8460         (sinh_test): Likewise.
8461         (sinh_test_tonearest): Likewise.
8462         (sinh_test_towardzero): Likewise.
8463         (sinh_test_downward): Likewise.
8464         (sinh_test_upward): Likewise.
8465         (sqrt_test): Likewise.
8466         (tan_test): Likewise.
8467         (tan_test_tonearest): Likewise.
8468         (tan_test_towardzero): Likewise.
8469         (tan_test_downward): Likewise.
8470         (tan_test_upward): Likewise.
8471         (tanh_test): Likewise.
8472         (tgamma_test): Likewise.
8473         (trunc_test): Likewise.
8474         (y0_test): Likewise.
8475         (y1_test): Likewise.
8476         (yn_test): Likewise.
8477         (significand_test): Likewise.
8479 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8481         [BZ #15381]
8482         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8484 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8486         [BZ #14894]
8487         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8488         __ppc_mdoio and __ppc_mdoom.
8489         * manual/platform.texi: Document new functions __ppc_yield,
8490         __ppc_mdoio and __ppc_mdoom.
8492 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8494         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8495         (main): Mention "tls" pseudo-hwcap is legacy.
8496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8498 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8500         * math/gen-libm-test.pl (parse_args): Output only string of
8501         arguments as text for test name, not full call or descriptions of
8502         tests for extra outputs.
8503         (generate_testfile): Do not pass function name to parse_args.
8504         Generate this_func variable from START.
8505         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8506         field to arg_str.
8507         (struct test_ff_f_data): Likewise.
8508         (test_ff_f_data_nexttoward): Likewise.
8509         (struct test_fi_f_data): Likewise.
8510         (struct test_fl_f_data): Likewise.
8511         (struct test_if_f_data): Likewise.
8512         (struct test_fff_f_data): Likewise.
8513         (struct test_c_f_data): Likewise.
8514         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8515         (struct test_fF_f1_data): Likewise.
8516         (struct test_ffI_f1_data): Likewise.
8517         (struct test_c_c_data): Rename test_name field to arg_str.
8518         (struct test_cc_c_data): Likewise.
8519         (struct test_f_i_data): Likewise.
8520         (struct test_ff_i_data): Likewise.
8521         (struct test_f_l_data): Likewise.
8522         (struct test_f_L_data): Likewise.
8523         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8524         and extra2_name.
8525         (COMMON_TEST_SETUP): New macro.
8526         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8527         (COMMON_TEST_CLEANUP): Likewise.
8528         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8529         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8530         macros.
8531         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8532         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8533         macros.
8534         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8535         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8536         cleanup macros.
8537         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8538         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8539         macros.
8540         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8541         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8542         macros.
8543         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8544         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8545         cleanup macros.
8546         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8547         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8548         cleanup macros.
8549         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8550         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8551         cleanup macros.
8552         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8553         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8554         macros.
8555         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8556         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8557         macros.
8558         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8559         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8560         macros.
8561         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8562         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8563         cleanup macros.
8564         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8565         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8566         cleanup macros.
8567         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8568         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8569         macros.
8570         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8571         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8572         cleanup macros.
8573         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8574         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8575         macros.
8576         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8577         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8578         macros.
8579         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8580         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8581         cleanup macros.
8582         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8584 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8586         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8587         to _sifields.sigfault.
8588         (si_addr_lsb): Define new macro.
8589         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8591         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8593 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8595         [BZ #15441]
8596         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8597         returns -1.
8598         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8599         null return -1.
8600         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8601         loading the domain.
8603 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8605         * math/gen-libm-test.pl (parse_args): Do not include expected
8606         result in test name.
8607         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8608         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8609         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8610         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8611         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8614 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8616         * benchtests/Makefile: Sort function entries.
8618         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8619         tanh, asinh, acosh, atanh.
8620         * benchtests/acos-inputs: New file.
8621         * benchtests/acosh-inputs: New file.
8622         * benchtests/asin-inputs: New file.
8623         * benchtests/asinh-inputs: New file.
8624         * benchtests/atanh-inputs: New file.
8625         * benchtests/cosh-inputs: New file.
8626         * benchtests/log-inputs: New file.
8627         * benchtests/sinh-inputs: New file.
8628         * benchtests/tanh-inputs: New file.
8630 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8632         [BZ #15339]
8633         * posix/tst-getaddrinfo4.c: New test.
8634         * posix/Makefile (tests): Add it.
8636 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8638         [BZ #15339]
8639         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8640         when no services were used.
8641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8642         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8644 2013-05-21  Andreas Schwab  <schwab@suse.de>
8646         [BZ #15014]
8647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8648         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8649         successful.
8650         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8651         redundant variable declarations and reallocation of buffer when
8652         parsing as IPv6 address.  Always set NSS status when called from
8653         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8654         buffer too small.  Correct computation of needed size.
8655         * nss/Makefile (tests): Add test-digits-dots.
8656         * nss/test-digits-dots.c: New test.
8658 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8660         * benchtests/Makefile: Remove instructions for adding
8661         benchmark tests.
8662         * benchtests/README: New file to explain how to execute and
8663         enhance the benchmark tests.
8665 2013-05-21  Andreas Schwab  <schwab@suse.de>
8667         [BZ #15493]
8668         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8669         * setjmp/tst-sigsetjmp.c: New test.
8671 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8673         * sysdeps/x86_64/memset.S (memset): New implementation.
8674         (__bzero): Likewise.
8675         (__memset_tail): New function.
8677 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8680         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8681         __memcpy_sse2_unaligned ifunc selection.
8682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8683         Add memcpy-sse2-unaligned.S.
8684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8685         Add: __memcpy_sse2_unaligned.
8687 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8689         [BZ #15490]
8690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8691         math_force_eval before restoring floating-point envrionment.
8692         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8694         Likewise.
8695         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8696         <math_private.h>.
8697         (__nearbyintl): Use math_force_eval before restoring
8698         floating-point environment.
8699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8701         * math/gen-libm-test.pl (special_functions): Remove.
8702         (parse_args): Don't handle TEST_extra.  Handle functions with no
8703         return value.
8704         * math/libm-test.inc (struct test_sincos_data): Replace with
8705         struct test_fFF_11_data.
8706         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8707         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8708         (sincos_test_data): Change element type to struct
8709         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8710         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8711         RUN_TEST_LOOP_sincos.
8712         * math/README.libm-test: Don't mention special handling of
8713         individual functions.
8714         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8716         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8717         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8718         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8721         * math/gen-libm-test.pl (get_variable): Remove function.
8722         (parse_args): Don't show pointer parameters to call in test
8723         names.  Use "extra output N" in test names for extra outputs
8724         rather than naming variables.
8726 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8728         [BZ #15488]
8729         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8730         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8731         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8732         double tests.
8733         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8734         disable.
8735         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8736         check_long_double.
8738         * math/gen-libm-test.pl (@tests): Remove variable.
8739         ($count): Likewise.
8740         (new_test): Remove function.
8741         (show_exceptions): New function.
8742         (special_functions): Use show_exceptions instead of new_test.
8743         (parse_args): Likewise.
8744         (generate_testfile): Pass only function name in generated call to
8745         print_max_error or print_complex_max_error.
8746         (get_ulps): Do not handle complex tests specially.
8747         (output_test): Rename to ...
8748         (get_all_ulps_for_test): ... this.  Return a string rather than
8749         printing to a file.  Require ulps to be present.
8750         (output_ulps): Generate arrays rather than #defines.
8751         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8752         (struct ulp_data): New type.
8753         (BUILD_COMPLEX_ULP): Remove macro.
8754         (compare_ulp_data): New function.
8755         (find_ulps): Likewise.
8756         (find_test_ulps): Likewise.
8757         (find_function_ulps): Likewise.
8758         (find_complex_function_ulps): Likewise.
8759         (print_max_error): Determine allowed ulps using
8760         find_function_ulps.
8761         (print_complex_max_error): Determine allowed ulps using
8762         find_complex_function_ulps.
8763         (check_float_internal): Determine max ulps using find_test_ulps.
8764         (check_float): Do not take max_ulp parameter.  Update call to
8765         check_float_internal.
8766         (check_complex): Likewise.
8767         (check_int): Do not take max_ulp parameter.
8768         (check_long): Likewise.
8769         (check_bool): Likewise.
8770         (check_longlong): Likewise.
8771         (struct test_f_f_data): Remove max_ulp field.
8772         (struct test_ff_f_data): Likewise.
8773         (struct test_ff_f_data_nexttoward): Likewise.
8774         (struct test_fi_f_data): Likewise.
8775         (struct test_fl_f_data): Likewise.
8776         (struct test_if_f_data): Likewise.
8777         (struct test_fff_f_data): Likewise.
8778         (struct test_c_f_data): Likewise.
8779         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8780         (struct test_fF_f1_data): Likewise.
8781         (struct test_ffI_f1_data): Likewise.
8782         (struct test_c_c_data): Remove max_ulp field.
8783         (struct test_cc_c_data): Likewise.
8784         (struct test_f_i_data): Likewise.
8785         (struct test_ff_i_data): Likewise.
8786         (struct test_f_l_data): Likewise.
8787         (struct test_f_L_data): Likewise.
8788         (struct test_sincos_data): Likewise.
8789         (RUN_TEST_f_f): Do not handle ulps.
8790         (RUN_TEST_LOOP_f_f): Likewise.
8791         (RUN_TEST_2_f): Likewise.
8792         (RUN_TEST_LOOP_2_f): Likewise.
8793         (RUN_TEST_fff_f): Likewise.
8794         (RUN_TEST_LOOP_fff_f): Likewise.
8795         (RUN_TEST_c_f): Likewise.
8796         (RUN_TEST_LOOP_c_f): Likewise.
8797         (RUN_TEST_f_f1): Likewise.
8798         (RUN_TEST_LOOP_f_f1): Likewise.
8799         (RUN_TEST_fF_f1): Likewise.
8800         (RUN_TEST_LOOP_fF_f1): Likewise.
8801         (RUN_TEST_fI_f1): Likewise.
8802         (RUN_TEST_LOOP_fI_f1): Likewise.
8803         (RUN_TEST_ffI_f1): Likewise.
8804         (RUN_TEST_LOOP_ffI_f1): Likewise.
8805         (RUN_TEST_c_c): Likewise.
8806         (RUN_TEST_LOOP_c_c): Likewise.
8807         (RUN_TEST_cc_c): Likewise.
8808         (RUN_TEST_LOOP_cc_c): Likewise.
8809         (RUN_TEST_f_i): Likewise.
8810         (RUN_TEST_LOOP_f_i): Likewise.
8811         (RUN_TEST_f_i_tg): Likewise.
8812         (RUN_TEST_LOOP_f_i_tg): Likewise.
8813         (RUN_TEST_ff_i_tg): Likewise.
8814         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8815         (RUN_TEST_f_b): Likewise.
8816         (RUN_TEST_LOOP_f_b): Likewise.
8817         (RUN_TEST_f_b_tg): Likewise.
8818         (RUN_TEST_LOOP_f_b_tg): Likewise.
8819         (RUN_TEST_f_l): Likewise.
8820         (RUN_TEST_LOOP_f_l): Likewise.
8821         (RUN_TEST_f_L): Likewise.
8822         (RUN_TEST_LOOP_f_L): Likewise.
8823         (RUN_TEST_sincos): Likewise.
8824         (RUN_TEST_LOOP_sincos): Likewise.
8826 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8828         [BZ #15480]
8829         [BZ #15485]
8830         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8831         main case of finite arguments, set rounding mode to FE_TONEAREST
8832         and discard exceptions.
8833         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8834         exceptions.
8835         (remainder_tonearest_test_data): New variable.
8836         (remainder_test_tonearest): New function.
8837         (remainder_towardzero_test_data): New variable.
8838         (remainder_test_towardzero): New function.
8839         (remainder_downward_test_data): New variable.
8840         (remainder_test_downward): New function.
8841         (remainder_upward_test_data): New variable.
8842         (remainder_test_upward): New function.
8843         (main): Call the new test functions.
8845         * math/libm-test.inc (struct test_f_f1_data): Remove field
8846         extra_init.
8847         (struct test_fF_f1_data): Likewise.
8848         (struct test_ffI_f1_data): Likewise.
8849         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8850         based on value of EXTRA_EXPECTED.
8851         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8852         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8853         EXTRA_VAR based on value of EXTRA_EXPECTED.
8854         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8855         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8856         EXTRA_VAR based on value of EXTRA_EXPECTED.
8857         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8858         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8859         EXTRA_VAR based on value of EXTRA_EXPECTED.
8860         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8861         * math/gen-libm-test.pl (parse_args): Don't output initializers
8862         for extra output values.
8864         * math/libm-test.inc (check_int): Expect result to be exactly
8865         equal to expected value and do not handle ulps.
8866         (check_long): Likewise.
8867         (check_longlong): Likewise.
8869         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8870         exceptions.
8871         (cimag_test_data): Likewise.
8872         (conj_test_data): Likewise.
8873         (copysign_test_data): Likewise.
8874         (cproj_test_data): Likewise.
8875         (creal_test_data): Likewise.
8876         (fabs_test_data): Likewise.
8877         (fdim_test_data): Likewise.
8878         (finite_test_data): Likewise.
8879         (floor_test_data): Likewise.
8880         (fmax_test_data): Likewise.
8881         (fmin_test_data): Likewise.
8882         (fmod_test_data): Likewise.
8883         (fpclassify_test_data): Likewise.
8884         (frexp_test_data): Likewise.
8885         (ilogb_test_data): Likewise.
8886         (isfinite_test_data): Likewise.
8887         (isgreater_test_data): Likewise.
8888         (isgreaterequal_test_data): Likewise.
8889         (isinf_test_data): Likewise.
8890         (isless_test_data): Likewise.
8891         (islessequal_test_data): Likewise.
8892         (islessgreater_test_data): Likewise.
8893         (isnan_test_data): Likewise.
8894         (isnormal_test_data): Likewise.
8895         (issignaling_test_data): Likewise.
8896         (isunordered_test_data): Likewise.
8897         (ldexp_test_data): Likewise.
8898         (lrint_test_data): Likewise.
8899         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8900         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8901         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8902         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8903         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8904         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8905         test input.
8906         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8907         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8908         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8909         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8910         that test input.
8911         (lrint_downward_test_data): Test for "inexact" exceptions.
8912         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8913         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8914         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8915         test input.
8916         (lrint_upward_test_data): Test for "inexact" exceptions.
8917         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8918         test input.
8919         (llrint_test_data): Test for "inexact" exceptions.
8920         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8921         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8922         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8923         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8924         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8925         (llrint_downward_test_data): Test for "inexact" exceptions.
8926         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8927         (llrint_upward_test_data): Test for "inexact" exceptions.
8928         (logb_test_data): Likewise.
8929         (logb_downward_test_data): Likewise.
8930         (nextafter_test_data): Likewise.
8931         (nexttoward_test_data): Likewise.
8932         (remainder_test_data): Likewise.
8933         (remquo_test_data): Likewise.
8934         (scalbn_test_data): Likewise.
8935         (scalbln_test_data): Likewise.
8936         (signbit_test_data): Likewise.
8937         (sqrt_test_data): Likewise.
8938         (significand_test_data): Likewise.
8940 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8942         [BZ #15424]
8943         * benchtests/bench-modf.c (struct args): Mark arg0 as
8944         volatile.
8945         * scripts/bench.pl: Mark members of struct args as volatile.
8947 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8949         [BZ # 15497]
8950         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8951         negative infinity on POWER6 or lower.
8952         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8954 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8956         [BZ #15442]
8957         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8958         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8959         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8960         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8961         (_FP_SETQNAN): New macro.
8962         (_FP_SETQNAN_SEMIRAW): Likewise.
8963         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8964         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8965         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8966         (FP_EXTEND): Use _FP_FRAC_SNANP.
8967         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8968         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8969         into account.
8970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8971         New macro.
8972         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8973         Likewise.
8975 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8977         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8978         with DIVIDE_BY_ZERO_EXCEPTION.
8979         (gamma_test_data): Likewise.
8980         (lgamma_test_data): Likewise.
8981         (log_test_data): Likewise.
8982         (log10_test_data): Likewise.
8983         (log2_test_data): Likewise.
8984         (tgamma_test_data): Likewise.
8986         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8987         (acos_test_tonearest): Likewise.
8988         (acos_test_towardzero): Likewise.
8989         (acos_test_downward): Likewise.
8990         (acos_test_upward): Likewise.
8991         (acosh_test): Likewise.
8992         (asin_test): Likewise.
8993         (asin_test_tonearest): Likewise.
8994         (asin_test_towardzero): Likewise.
8995         (asin_test_downward): Likewise.
8996         (asin_test_upward): Likewise.
8997         (asinh_test): Likewise.
8998         (atan_test): Likewise.
8999         (atanh_test): Likewise.
9000         (atan2_test): Likewise.
9001         (cabs_test): Likewise.
9002         (cacos_test): Likewise.
9003         (cacosh_test): Likewise.
9004         (casin_test): Likewise.
9005         (casinh_test): Likewise.
9006         (catan_test): Likewise.
9007         (catanh_test): Likewise.
9008         (cbrt_test): Likewise.
9009         (ccos_test): Likewise.
9010         (ccosh_test): Likewise.
9011         (cexp_test): Likewise.
9012         (clog_test): Likewise.
9013         (clog10_test): Likewise.
9014         (cos_test): Likewise.
9015         (cos_test_tonearest): Likewise.
9016         (cos_test_towardzero): Likewise.
9017         (cos_test_downward): Likewise.
9018         (cos_test_upward): Likewise.
9019         (cosh_test): Likewise.
9020         (cosh_test_tonearest): Likewise.
9021         (cosh_test_towardzero): Likewise.
9022         (cosh_test_downward): Likewise.
9023         (cosh_test_upward): Likewise.
9024         (cpow_test): Likewise.
9025         (csin_test): Likewise.
9026         (csinh_test): Likewise.
9027         (csqrt_test): Likewise.
9028         (ctan_test): Likewise.
9029         (ctan_test_tonearest): Likewise.
9030         (ctan_test_towardzero): Likewise.
9031         (ctan_test_downward): Likewise.
9032         (ctan_test_upward): Likewise.
9033         (ctanh_test): Likewise.
9034         (ctanh_test_tonearest): Likewise.
9035         (ctanh_test_towardzero): Likewise.
9036         (ctanh_test_downward): Likewise.
9037         (ctanh_test_upward): Likewise.
9038         (erf_test): Likewise.
9039         (erfc_test): Likewise.
9040         (exp_test): Likewise.
9041         (exp_test_tonearest): Likewise.
9042         (exp_test_towardzero): Likewise.
9043         (exp_test_downward): Likewise.
9044         (exp_test_upward): Likewise.
9045         (exp10_test): Likewise.
9046         (exp2_test): Likewise.
9047         (expm1_test): Likewise.
9048         (fmod_test): Likewise.
9049         (gamma_test): Likewise.
9050         (hypot_test): Likewise.
9051         (j0_test): Likewise.
9052         (j1_test): Likewise.
9053         (jn_test): Likewise.
9054         (lgamma_test): Likewise.
9055         (log_test): Likewise.
9056         (log10_test): Likewise.
9057         (log1p_test): Likewise.
9058         (log2_test): Likewise.
9059         (logb_test_downward): Likewise.
9060         (pow_test): Likewise.
9061         (pow_test_tonearest): Likewise.
9062         (pow_test_towardzero): Likewise.
9063         (pow_test_downward): Likewise.
9064         (pow_test_upward): Likewise.
9065         (remainder_test): Likewise.
9066         (remquo_test): Likewise.
9067         (sin_test): Likewise.
9068         (sin_test_tonearest): Likewise.
9069         (sin_test_towardzero): Likewise.
9070         (sin_test_downward): Likewise.
9071         (sin_test_upward): Likewise.
9072         (sincos_test): Likewise.
9073         (sinh_test): Likewise.
9074         (sinh_test_tonearest): Likewise.
9075         (sinh_test_towardzero): Likewise.
9076         (sinh_test_downward): Likewise.
9077         (sinh_test_upward): Likewise.
9078         (sqrt_test): Likewise.
9079         (tan_test): Likewise.
9080         (tan_test_tonearest): Likewise.
9081         (tan_test_towardzero): Likewise.
9082         (tan_test_downward): Likewise.
9083         (tan_test_upward): Likewise.
9084         (tanh_test): Likewise.
9085         (tgamma_test): Likewise.
9086         (y0_test): Likewise.
9087         (y1_test): Likewise.
9088         (yn_test): Likewise.
9090         * math/gen-libm-test.pl (adjust_arg): Remove function.
9091         (special_function): Remove argument $in_func.  Only handle
9092         generating output for tables of tests, not inside functions.
9093         (parse_args): Likewise.
9094         (generate_testfile): Remove variable $in_func.  Update call to
9095         parse_args.
9096         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9097         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9098         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9099         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9100         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9101         (MAX_VALUE_INIT): Rename macro to max_value.
9102         (MIN_VALUE_INIT): Rename macro to min_value.
9103         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9104         (plus_zero): Remove variable.
9105         (minus_zero): Likewise.
9106         (plus_infty): Likewise.
9107         (minus_infty): Likewise.
9108         (qnan_value): Likewise.
9109         (max_value): Likewise.
9110         (min_value): Likewise.
9111         (min_subnorm_value): Likewise.
9113 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9115         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9116         uint64_t or uint32_t usage.
9117         * crypt/sha256-block.c: Likewise.
9118         * crypt/sha256-crypt.c: Likewise.
9119         * crypt/sha256.c: Likewise.
9120         * crypt/sha512-block.c: Likewise.
9121         * crypt/sha512-crypt.c: Likewise.
9122         * crypt/sha512.c: Likewise.
9123         * debug/backtrace-tst.c: Likewise.
9124         * debug/pcprofiledump.c: Likewise.
9125         * elf/cache.c: Likewise.
9126         * elf/dl-cache.c: Likewise.
9127         * elf/dl-misc.c: Likewise.
9128         * elf/dl-profile.c: Likewise.
9129         * elf/dl-support.c: Likewise.
9130         * elf/ldconfig.c: Likewise.
9131         * elf/sprof.c: Likewise.
9132         * iconv/dummy-repertoire.c: Likewise.
9133         * iconv/iconv_charmap.c: Likewise.
9134         * iconv/skeleton.c: Likewise.
9135         * iconvdata/8bit-generic.c: Likewise.
9136         * iconvdata/cp737.h: Likewise.
9137         * iconvdata/cp775.h: Likewise.
9138         * iconvdata/ibm1008.h: Likewise.
9139         * iconvdata/ibm1025.h: Likewise.
9140         * iconvdata/ibm1046.h: Likewise.
9141         * iconvdata/ibm1097.h: Likewise.
9142         * iconvdata/ibm1112.h: Likewise.
9143         * iconvdata/ibm1122.h: Likewise.
9144         * iconvdata/ibm1123.h: Likewise.
9145         * iconvdata/ibm1124.h: Likewise.
9146         * iconvdata/ibm1129.h: Likewise.
9147         * iconvdata/ibm1130.h: Likewise.
9148         * iconvdata/ibm1132.h: Likewise.
9149         * iconvdata/ibm1133.h: Likewise.
9150         * iconvdata/ibm1137.h: Likewise.
9151         * iconvdata/ibm1140.h: Likewise.
9152         * iconvdata/ibm1141.h: Likewise.
9153         * iconvdata/ibm1142.h: Likewise.
9154         * iconvdata/ibm1143.h: Likewise.
9155         * iconvdata/ibm1144.h: Likewise.
9156         * iconvdata/ibm1145.h: Likewise.
9157         * iconvdata/ibm1146.h: Likewise.
9158         * iconvdata/ibm1147.h: Likewise.
9159         * iconvdata/ibm1148.h: Likewise.
9160         * iconvdata/ibm1149.h: Likewise.
9161         * iconvdata/ibm1153.h: Likewise.
9162         * iconvdata/ibm1154.h: Likewise.
9163         * iconvdata/ibm1155.h: Likewise.
9164         * iconvdata/ibm1156.h: Likewise.
9165         * iconvdata/ibm1157.h: Likewise.
9166         * iconvdata/ibm1158.h: Likewise.
9167         * iconvdata/ibm1160.h: Likewise.
9168         * iconvdata/ibm1161.h: Likewise.
9169         * iconvdata/ibm1162.h: Likewise.
9170         * iconvdata/ibm1163.h: Likewise.
9171         * iconvdata/ibm1164.h: Likewise.
9172         * iconvdata/ibm1166.h: Likewise.
9173         * iconvdata/ibm1167.h: Likewise.
9174         * iconvdata/ibm12712.h: Likewise.
9175         * iconvdata/ibm1390.h: Likewise.
9176         * iconvdata/ibm1399.h: Likewise.
9177         * iconvdata/ibm16804.h: Likewise.
9178         * iconvdata/ibm4517.h: Likewise.
9179         * iconvdata/ibm4899.h: Likewise.
9180         * iconvdata/ibm4909.h: Likewise.
9181         * iconvdata/ibm4971.h: Likewise.
9182         * iconvdata/ibm5347.h: Likewise.
9183         * iconvdata/ibm803.h: Likewise.
9184         * iconvdata/ibm856.h: Likewise.
9185         * iconvdata/ibm901.h: Likewise.
9186         * iconvdata/ibm902.h: Likewise.
9187         * iconvdata/ibm9030.h: Likewise.
9188         * iconvdata/ibm9066.h: Likewise.
9189         * iconvdata/ibm921.h: Likewise.
9190         * iconvdata/ibm922.h: Likewise.
9191         * iconvdata/ibm9448.h: Likewise.
9192         * iconvdata/isiri-3342.h: Likewise.
9193         * iconvdata/jis0201.h: Likewise.
9194         * include/link.h: Likewise.
9195         * include/netdb.h: Likewise.
9196         * inet/check_native.c: Likewise.
9197         * inet/check_pf.c: Likewise.
9198         * inet/getipv4sourcefilter.c: Likewise.
9199         * inet/getnameinfo.c: Likewise.
9200         * inet/getsourcefilter.c: Likewise.
9201         * inet/htonl.c: Likewise.
9202         * inet/setipv4sourcefilter.c: Likewise.
9203         * inet/setsourcefilter.c: Likewise.
9204         * inet/test-inet6_opt.c: Likewise.
9205         * inet/tst-network.c: Likewise.
9206         * locale/C-collate.c: Likewise.
9207         * locale/C-ctype.c: Likewise.
9208         * locale/C-time.c: Likewise.
9209         * locale/C-translit.h: Likewise.
9210         * locale/loadarchive.c: Likewise.
9211         * locale/programs/3level.h: Likewise.
9212         * locale/programs/charmap.c: Likewise.
9213         * locale/programs/charmap.h: Likewise.
9214         * locale/programs/ld-address.c: Likewise.
9215         * locale/programs/ld-collate.c: Likewise.
9216         * locale/programs/ld-ctype.c: Likewise.
9217         * locale/programs/ld-identification.c: Likewise.
9218         * locale/programs/ld-measurement.c: Likewise.
9219         * locale/programs/ld-messages.c: Likewise.
9220         * locale/programs/ld-monetary.c: Likewise.
9221         * locale/programs/ld-name.c: Likewise.
9222         * locale/programs/ld-numeric.c: Likewise.
9223         * locale/programs/ld-paper.c: Likewise.
9224         * locale/programs/ld-telephone.c: Likewise.
9225         * locale/programs/ld-time.c: Likewise.
9226         * locale/programs/linereader.c: Likewise.
9227         * locale/programs/locale.c: Likewise.
9228         * locale/programs/locarchive.c: Likewise.
9229         * locale/programs/locfile.h: Likewise.
9230         * locale/programs/repertoire.c: Likewise.
9231         * locale/programs/simple-hash.c: Likewise.
9232         * locale/programs/simple-hash.h: Likewise.
9233         * malloc/memusage.c: Likewise.
9234         * malloc/memusagestat.c: Likewise.
9235         * nis/nis_defaults.c: Likewise.
9236         * nis/nis_hash.c: Likewise.
9237         * nis/nis_print.c: Likewise.
9238         * nis/nis_xdr.c: Likewise.
9239         * nscd/connections.c: Likewise.
9240         * nscd/hstcache.c: Likewise.
9241         * nscd/nscd_gethst_r.c: Likewise.
9242         * nscd/nscd_getserv_r.c: Likewise.
9243         * nscd/nscd_helper.c: Likewise.
9244         * nscd/servicescache.c: Likewise.
9245         * nss/makedb.c: Likewise.
9246         * nss/nss_db/db-XXX.c: Likewise.
9247         * nss/nss_db/db-initgroups.c: Likewise.
9248         * nss/nss_db/db-netgrp.c: Likewise.
9249         * nss/nss_files/files-network.c: Likewise.
9250         * nss/nss_files/files-parse.c: Likewise.
9251         * posix/bug-regex5.c: Likewise.
9252         * posix/fnmatch_loop.c: Likewise.
9253         * posix/regcomp.c: Likewise.
9254         * posix/regexec.c: Likewise.
9255         * posix/tst-rfc3484-2.c: Likewise.
9256         * posix/tst-rfc3484-3.c: Likewise.
9257         * posix/tst-rfc3484.c: Likewise.
9258         * resolv/nss_dns/dns-canon.c: Likewise.
9259         * resolv/nss_dns/dns-network.c: Likewise.
9260         * resolv/res_init.c: Likewise.
9261         * resolv/res_mkquery.c: Likewise.
9262         * resolv/tst-aton.c: Likewise.
9263         * stdlib/cxa_atexit.c: Likewise.
9264         * stdlib/cxa_finalize.c: Likewise.
9265         * stdlib/gen-fpioconst.c: Likewise.
9266         * stdlib/strtol_l.c: Likewise.
9267         * string/tst-endian.c: Likewise.
9268         * sunrpc/auth_des.c: Likewise.
9269         * sunrpc/clnt_udp.c: Likewise.
9270         * sunrpc/rtime.c: Likewise.
9271         * sunrpc/svcauth_des.c: Likewise.
9272         * sunrpc/xdr.c: Likewise.
9273         * sunrpc/xdr_intXX_t.c: Likewise.
9274         * sunrpc/xdr_rec.c: Likewise.
9275         * sysdeps/generic/ldconfig.h: Likewise.
9276         * sysdeps/generic/ldsodefs.h: Likewise.
9277         * sysdeps/generic/memusage.h: Likewise.
9278         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9280         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9284         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9288         * sysdeps/posix/getaddrinfo.c: Likewise.
9289         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9290         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9291         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9292         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9293         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9294         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9295         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9296         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9297         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9298         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9299         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9300         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9301         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9302         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9303         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9304         * sysdeps/x86_64/dl-tls.h: Likewise.
9305         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9306         * time/alt_digit.c: Likewise.
9307         * time/era.c: Likewise.
9308         * wcsmbs/tst-c16c32-1.c: Likewise.
9310 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9312         * math/libm-test.inc (struct test_sincos_data): New type.
9313         (RUN_TEST_LOOP_sincos): New macro.
9314         (sincos_test_data): New variable.
9315         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9317 2013-05-16  Richard Henderson  <rth@redhat.com>
9319         * math/atest-exp2.c (LIMB64): New macro.
9320         (CONSTSZ): New macro.
9321         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9322         (hexdig): Move ...
9323         (print_mpn_fp): ... to function scope.
9324         (read_mpn_hex): Remove.
9325         (get_log2): Remove.
9326         (exp2_mpn): Use mp_log2.
9327         (main): Use mp_exp1.
9329 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9331         * math/libm-test.inc: Remove comment about not testing "inexact"
9332         exceptions.
9333         (INEXACT_EXCEPTION): New macro.
9334         (NO_INEXACT_EXCEPTION): Likewise.
9335         (INVALID_EXCEPTION_OK): Update value.
9336         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9337         (OVERFLOW_EXCEPTION_OK): Likewise.
9338         (UNDERFLOW_EXCEPTION_OK): Likewise.
9339         (IGNORE_ZERO_INF_SIGN): Likewise.
9340         (ERRNO_UNCHANGED): Likewise.
9341         (ERRNO_EDOM): Likewise.
9342         (ERRNO_ERANGE): Likewise.
9343         (test_exceptions): Handle testing "inexact" exceptions.
9344         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9345         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9346         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9347         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9348         INEXACT_EXCEPTION.
9349         (rint_towardzero_test_data): Likewise.
9350         (rint_downward_test_data): Likewise.
9351         (rint_upward_test_data): Likewise.
9353         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9354         with OVERFLOW_EXCEPTION.
9355         (exp10_test_data): Likewise.
9356         (exp2_test_data): Likewise.
9357         (expm1_test_data): Likewise.
9358         (lgamma_test_data): Likewise.
9359         (pow_test_data): Likewise.
9360         (tgamma_test_data): Likewise.
9361         (yn_test_data): Remove duplicate test of overflow.
9363         * math/libm-test.inc (struct test_cc_c_data): New type.
9364         (RUN_TEST_LOOP_cc_c): New macro.
9365         (cpow_test_data): New variable.
9366         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9368         * math/libm-test.inc (struct test_f_L_data): New type.
9369         (RUN_TEST_LOOP_f_L): New macro.
9370         (llrint_test_data): New variable.
9371         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9372         (llrint_tonearest_test_data): New variable.
9373         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9374         (llrint_towardzero_test_data): New variable.
9375         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9376         (llrint_downward_test_data): New variable.
9377         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9378         (llrint_upward_test_data): New variable.
9379         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9380         (llround_test_data): New variable.
9381         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9383 2013-05-13  Peter Collingbourne  <pcc@google.com>
9385         * math/atest-exp2.c (get_log2): Remove const attribute.
9387 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9389         * math/libm-test.inc (struct test_f_l_data): New type.
9390         (RUN_TEST_LOOP_f_l): New macro.
9391         (lrint_test_data): New variable.
9392         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9393         (lrint_tonearest_test_data): New variable.
9394         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9395         (lrint_towardzero_test_data): New variable.
9396         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9397         (lrint_downward_test_data): New variable.
9398         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9399         (lrint_upward_test_data): New variable.
9400         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9401         (lround_test_data): New variable.
9402         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9404 2013-05-15  Peter Collingbourne  <pcc@google.com>
9406         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9407         (EXTRACT_WORDS64) Use where appropriate.
9408         (INSERT_WORDS64) Likewise.
9410         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9411         constraints with x constraints.
9412         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9414         * malloc/obstack.c (_obstack_compat): Add initializer.
9416 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9419         si_trapno and add si_addr_lsb to _sifields.sigfault.
9420         (si_trapno): Remove macro.
9421         (si_addr_lsb): Define new macro.
9422         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9424 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9426         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9427         instead of TEST_f_l.
9428         (llrint_test_tonearest): Likewise.
9429         (llrint_test_towardzero): Likewise.
9430         (llrint_test_downward): Likewise.
9431         (llrint_test_upward): Likewise.
9432         (llround_test): Likewise.
9434         * math/libm-test.inc (struct test_f_i_data): Add comment.
9435         (RUN_TEST_LOOP_f_b): New macro.
9436         (RUN_TEST_LOOP_f_b_tg): Likewise.
9437         (finite_test_data): New variable.
9438         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9439         (isfinite_test_data): New variable.
9440         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9441         (isinf_test_data): New variable.
9442         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9443         (isnan_test_data): New variable.
9444         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9445         (isnormal_test_data): New variable.
9446         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9447         (issignaling_test_data): New variable.
9448         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9449         (signbit_test_data): New variable.
9450         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9452         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9453         with INVALID_EXCEPTION.
9454         (acosh_test_data): Likewise.
9455         (asin_test_data): Likewise.
9456         (atanh_test_data): Likewise.
9457         (fmod_test_data): Likewise.
9458         (log_test_data): Likewise.
9459         (log10_test_data): Likewise.
9460         (log2_test_data): Likewise.
9461         (pow_test_data): Likewise.
9462         (sqrt_test_data): Likewise.
9463         (y0_test_data): Likewise.
9464         (y1_test_data): Likewise.
9465         (yn_test_data): Likewise.
9467         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9468         function contents.
9470         * math/libm-test.inc (struct test_ff_i_data): New type.
9471         (RUN_TEST_LOOP_ff_i_tg): New macro.
9472         (isgreater_test_data): New variable.
9473         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9474         (isgreaterequal_test_data): New variable.
9475         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9476         (isless_test_data): New variable.
9477         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9478         (islessequal_test_data): New variable.
9479         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9480         (islessgreater_test_data): New variable.
9481         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9482         (isunordered_test_data): New variable.
9483         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9485 2013-05-14  David S. Miller  <davem@davemloft.net>
9487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9489 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9491         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9493         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9494         extra_test to int.
9495         (struct test_f_i_data): Change type of max_ulp to int.
9497         * math/libm-test.inc (test_ffI_f1_data): New type.
9498         (RUN_TEST_LOOP_ffI_f1): New macro.
9499         (remquo_test_data): New variable.
9500         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9502         * setjmp/tst-setjmp-fp.c: New file.
9503         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9504         (link-libm): New variable.
9505         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9507         * math/libm-test.inc (struct test_f_i_data): New type.
9508         (RUN_TEST_LOOP_f_i): New macro.
9509         (RUN_TEST_LOOP_f_i_tg): Likewise.
9510         (fpclassify_test_data): New variable.
9511         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9512         (ilogb_test_data): New variable.
9513         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9515         * math/libm-test.inc (scalbln_test): Correct function name in END
9516         call.
9518         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9519         (RUN_TEST_LOOP_fI_f1): New macro.
9520         (frexp_test_data): New variable.
9521         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9523         * math/libm-test.inc (struct test_fF_f1_data): New type.
9524         (RUN_TEST_LOOP_fF_f1): New macro.
9525         (modf_test_data): New variable.
9526         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9528         * math/libm-test.inc (struct test_f_f1_data): New type.
9529         (RUN_TEST_LOOP_f_f1): New macro.
9530         (gamma_test_data): New variable.
9531         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9532         (lgamma_test_data): New variable.
9533         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9535 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9537         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9538         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9539         (main): Comment "tls" pseudo-hwcap.
9541 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9543         * math/libm-test.inc (struct test_fl_f_data): New type.
9544         (RUN_TEST_LOOP_fl_f): New variable.
9545         (scalbln_test_data): New variable.
9546         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9548         * math/libm-test.inc (struct test_fi_f_data): New type.
9549         (RUN_TEST_LOOP_fi_f): New macro.
9550         (ldexp_test_data): New variable.
9551         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9552         (scalbn_test_data): New variable.
9553         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9555         * math/libm-test.inc (struct test_c_f_data): New type.
9556         (RUN_TEST_LOOP_c_f): New macro.
9557         (cabs_test_data): New variable.
9558         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9559         (carg_test_data): New variable.
9560         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9561         (cimag_test_data): New variable.
9562         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9563         (creal_test_data): New variable.
9564         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9566         * math/libm-test.inc (struct test_if_f_data): New type.
9567         (RUN_TEST_LOOP_if_f): New macro.
9568         (jn_test_data): New variable.
9569         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9570         (yn_test_data): New variable.
9571         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9573         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9575 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9577         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9578         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9580 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9582         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9583         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9584         (bench-deps): Add bench-timing.h.
9585         * benchtests-bench-skeleton.c: Include bench-timing.h.
9586         (main): Use TIMING_* macros instead of clock_gettime.
9587         * benchtests/bench-timing.h: New file.
9589         [BZ #14582]
9590         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9591         Renamed from _LIB_VERSION.
9592         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9594 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9596         * math/libm-test.inc (struct test_fff_f_data): New type.
9597         (RUN_TEST_LOOP_fff_f): New macro.
9598         (fma_test_data): New variable.
9599         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9600         (fma_towardzero_test_data): New variable.
9601         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9602         (fma_downward_test_data): New variable.
9603         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9604         (fma_upward_test_data): New variable.
9605         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9607         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9608         (struct test_c_c_data): New type.
9609         (RUN_TEST_LOOP_c_c): New macro.
9610         (cacos_test_data): New variable.
9611         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9612         (cacosh_test_data): New variable.
9613         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9614         (casin_test_data): New variable.
9615         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9616         (casinh_test_data): New variable.
9617         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9618         (catan_test_data): New variable.
9619         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9620         (catanh_test_data): New variable.
9621         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9622         (ccos_test_data): New variable.
9623         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9624         (ccosh_test_data): New variable.
9625         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9626         (cexp_test_data): New variable.
9627         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9628         (clog_test_data): New variable.
9629         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9630         (clog10_test_data): New variable.
9631         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9632         (conj_test_data): New variable.
9633         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9634         (cproj_test_data): New variable.
9635         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9636         (csin_test_data): New variable.
9637         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9638         (csinh_test_data): New variable.
9639         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9640         (csqrt_test_data): New variable.
9641         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9642         (ctan_test_data): New variable.
9643         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9644         (ctan_tonearest_test_data): New variable.
9645         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9646         (ctan_towardzero_test_data): New variable.
9647         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9648         (ctan_downward_test_data): New variable.
9649         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9650         (ctan_upward_test_data): New variable.
9651         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9652         (ctanh_test_data): New variable.
9653         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9654         (ctanh_tonearest_test_data): New variable.
9655         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9656         (ctanh_towardzero_test_data): New variable.
9657         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9658         (ctanh_downward_test_data): New variable.
9659         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9660         (ctanh_upward_test_data): New variable.
9661         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9662         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9663         of BUILD_COMPLEX.
9665         * math/libm-test.inc (struct test_ff_f_data): New type.
9666         (struct test_ff_f_data_nexttoward): Likewise.
9667         (RUN_TEST_LOOP_2_f): New macro.
9668         (RUN_TEST_LOOP_ff_f): Likewise.
9669         (atan2_test_data): New variable.
9670         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9671         (copysign_test_data): New variable.
9672         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9673         (fdim_test_data): New variable.
9674         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9675         (fmax_test_data): New variable.
9676         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9677         (fmin_test_data): New variable.
9678         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9679         (fmod_test_data): New variable.
9680         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9681         (hypot_test_data): New variable.
9682         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9683         (nextafter_test_data): New variable.
9684         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9685         (nexttoward_test_data): New variable.
9686         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9687         (pow_test_data): New variable.
9688         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9689         (pow_tonearest_test_data): New variable.
9690         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9691         (pow_towardzero_test_data): New variable.
9692         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9693         (pow_downward_test_data): New variable.
9694         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9695         (pow_upward_test_data): New variable.
9696         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9697         (remainder_test_data): New variable.
9698         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9699         (scalb_test_data): New variable.
9700         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9701         * sysdeps/i386/fpu/libm-test-ulps: Update.
9703 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9705         * math/libm-test.inc (fma_test): Use max_value instead of local
9706         variable fltmax.
9707         (nextafter_test): Likewise.
9709         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9710         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9711         (acos_downward_test_data): New variable.
9712         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9713         (acos_upward_test_data): New variable.
9714         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9715         (acosh_test_data): New variable.
9716         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9717         (asin_test_data): New variable.
9718         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9719         (asin_tonearest_test_data): New variable.
9720         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9721         (asin_towardzero_test_data): New variable.
9722         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9723         (asin_downward_test_data): New variable.
9724         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9725         (asin_upward_test_data): New variable.
9726         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9727         (asinh_test_data): New variable.
9728         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9729         (atan_test_data): New variable.
9730         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9731         (atanh_test_data): New variable.
9732         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9733         (cbrt_test_data): New variable.
9734         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9735         (ceil_test_data): New variable.
9736         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9737         (cos_test_data): New variable.
9738         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9739         (cos_tonearest_test_data): New variable.
9740         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9741         (cos_towardzero_test_data): New variable.
9742         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9743         (cos_downward_test_data): New variable.
9744         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9745         (cos_upward_test_data): New variable.
9746         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9747         (cosh_test_data): New variable.
9748         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9749         (cosh_tonearest_test_data): New variable.
9750         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9751         (cosh_towardzero_test_data): New variable.
9752         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9753         (cosh_downward_test_data): New variable.
9754         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9755         (cosh_upward_test_data): New variable.
9756         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9757         (erf_test_data): New variable.
9758         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9759         (erfc_test_data): New variable.
9760         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9761         (exp_test_data): New variable.
9762         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9763         (exp_tonearest_test_data): New variable.
9764         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9765         (exp_towardzero_test_data): New variable.
9766         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9767         (exp_downward_test_data): New variable.
9768         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9769         (exp_upward_test_data): New variable.
9770         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9771         (exp10_test_data): New variable.
9772         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9773         (exp2_test_data): New variable.
9774         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9775         (expm1_test_data): New variable.
9776         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9777         (fabs_test_data): New variable.
9778         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9779         (floor_test_data): New variable.
9780         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9781         (j0_test_data): New variable.
9782         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9783         (j1_test_data): New variable.
9784         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9785         (log_test_data): New variable.
9786         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9787         (log10_test_data): New variable.
9788         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9789         (log1p_test_data): New variable.
9790         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9791         (log2_test_data): New variable.
9792         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9793         (logb_test_data): New variable.
9794         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9795         (logb_downward_test_data): New variable.
9796         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9797         (nearbyint_test_data): New variable.
9798         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9799         (rint_test_data): New variable.
9800         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9801         (rint_tonearest_test_data): New variable.
9802         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9803         (rint_towardzero_test_data): New variable.
9804         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9805         (rint_downward_test_data): New variable.
9806         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9807         (rint_upward_test_data): New variable.
9808         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9809         (round_test_data): New variable.
9810         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9811         (sin_test_data): New variable.
9812         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9813         (sin_tonearest_test_data): New variable.
9814         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9815         (sin_towardzero_test_data): New variable.
9816         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9817         (sin_downward_test_data): New variable.
9818         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9819         (sin_upward_test_data): New variable.
9820         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9821         (sinh_test_data): New variable.
9822         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9823         (sinh_tonearest_test_data): New variable.
9824         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9825         (sinh_towardzero_test_data): New variable.
9826         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9827         (sinh_downward_test_data): New variable.
9828         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9829         (sinh_upward_test_data): New variable.
9830         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9831         (sqrt_test_data): New variable.
9832         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9833         (tan_test_data): New variable.
9834         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9835         (tan_tonearest_test_data): New variable.
9836         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9837         (tan_towardzero_test_data): New variable.
9838         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9839         (tan_downward_test_data): New variable.
9840         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9841         (tan_upward_test_data): New variable.
9842         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9843         (tanh_test_data): New variable.
9844         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9845         (tgamma_test_data): New variable.
9846         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9847         (trunc_test_data): New variable.
9848         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9849         (y0_test_data): New variable.
9850         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9851         (y1_test_data): New variable.
9852         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9853         (significand_test_data): New variable.
9854         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9856 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9858         [BZ #12387]
9859         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9861 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9863         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9865 2013-05-10  Andreas Jaeger  <aj@suse.de>
9867         [BZ #15448]
9868         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9869         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9871 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9873         * math/gen-libm-test.pl (adjust_arg): New function.
9874         (special_functions): Handle generating output in both functions
9875         and arrays.
9876         (parse_args): Likewise.
9877         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9878         $in_func argument to parse_args.
9879         * math/libm-test.inc (struct test_f_f_data): New type.
9880         (IF_ROUND_INIT_): New macro.
9881         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9882         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9883         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9884         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9885         (ROUND_RESTORE_): Likewise.
9886         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9887         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9888         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9889         (ROUND_RESTORE_FE_UPWARD): Likewise.
9890         (RUN_TEST_LOOP_f_f): New macro.
9891         (acos_test_data): New variable.
9892         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9893         (acos_tonearest_test_data): New variable.
9894         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9896 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9898         * benchtests/bench-skeleton.c (startup): Fix coding style.
9900 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9902         [BZ #6809]
9903         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9904         negative infinity argument.
9905         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9906         negative infinity argument.
9907         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9908         negative infinity argument.
9909         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9910         domain errors.
9912 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9914         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9915         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9916         * iconv/iconv_prog.c (main): Likewise.
9917         * locale/programs/charmap-dir.c (charmap_readdir)
9918         (fopen_uncompressed): Likewise.
9919         * locale/programs/locfile.c (siblings_uncached)
9920         (write_locale_data): Use lstat64 instead of lstat.
9921         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9922         stat.
9924 2013-05-10  Andreas Jaeger  <aj@suse.de>
9926         [BZ #15395]
9927         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9928         localization.
9929         Include <locale.h>.
9931 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9933         * elf/dl-close.c (_dl_close_worker): Add comments.
9935 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9937         [BZ #15359]
9938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9939         high part of pi/2.
9940         (__ieee754_rem_pio2l): Update comments.
9942         [BZ #15429]
9943         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9944         high part of pi/2.
9945         (__ieee754_rem_pio2l): Update comments.
9947         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9948         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9950         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9951         M_PI_4l.
9953         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9954         (M_PI_34_LOG10El): Likewise.
9955         (M_PI2_LOG10El): Likewise.
9956         (M_PI4_LOG10El): Likewise.
9957         (M_PI_LOG10El): Likewise.
9959 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9963 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9965         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9966         (MINUS_ZERO_INIT): Likewise.
9967         (PLUS_INFTY_INIT): Likewise.
9968         (MINUS_INFTY_INIT): Likewise.
9969         (QNAN_VALUE_INIT): Likewise.
9970         (MAX_VALUE_INIT): Likewise.
9971         (MIN_VALUE_INIT): Likewise.
9972         (MIN_SUBNORM_VALUE_INIT): Likewise.
9973         (plus_zero): Initialize with PLUS_ZERO_INIT.
9974         (minus_zero): Initialize with MINUS_ZERO_INIT.
9975         (plus_infty): Initialize with PLUS_INFTY_INIT.
9976         (minus_infty): Initialize with MINUS_INFTY_INIT.
9977         (qnan_value): Initialize with QNAN_VALUE_INIT.
9978         (max_value): Initialize with MAX_VALUE_INIT.
9979         (min_value): Initialize with MIN_VALUE_INIT.
9980         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9982         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9983         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9984         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9985         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9987         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9988         (RUN_TEST_2_f): Likewise.
9989         (RUN_TEST_ff_f): Likewise.
9990         (RUN_TEST_fi_f): Likewise.
9991         (RUN_TEST_fl_f): Likewise.
9992         (RUN_TEST_fff_f): Likewise.
9993         (RUN_TEST_c_f): Likewise.
9994         (RUN_TEST_f_f1): Likewise.
9995         (RUN_TEST_fF_f1): Likewise.
9996         (RUN_TEST_fI_f1): Likewise.
9997         (RUN_TEST_ffI_f1): Likewise.
9998         (RUN_TEST_c_c): Likewise.
9999         (RUN_TEST_cc_c): Likewise.
10000         (RUN_TEST_f_i): Likewise.
10001         (RUN_TEST_f_i_tg): Likewise.
10002         (RUN_TEST_ff_i_tg): Likewise.
10003         (RUN_TEST_f_b): Likewise.
10004         (RUN_TEST_f_b_tg): Likewise.
10005         (RUN_TEST_f_l): Likewise.
10006         (RUN_TEST_f_L): Likewise.
10007         (RUN_TEST_sincos): Likewise.
10008         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10009         whether to show exceptions.  Do not include ");\n" in return
10010         value.
10011         (special_functions): Output call to RUN_TEST_sincos instead of
10012         check_float calls.  Update calls to new_test.
10013         (parse_args): Output call to single RUN_TEST_* macro instead of
10014         check_* calls and other assignments.  Update calls to new_test.
10016         [BZ #2546]
10017         [BZ #2560]
10018         [BZ #5159]
10019         [BZ #15426]
10020         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10021         input to result for tgamma overflow.
10022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10023         (gamma_coeff): New variable.
10024         (NCOEFF): New macro.
10025         (gamma_positive): New function.
10026         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10027         underflow here.  Use gamma_positive instead of exp (lgamma) for
10028         other arguments.
10029         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10030         (gamma_coeff): New variable.
10031         (NCOEFF): New macro.
10032         (gammaf_positive): New function.
10033         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10034         underflow here.  Use gamma_positive instead of exp (lgamma) for
10035         other arguments.
10036         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10037         (gamma_coeff): New variable.
10038         (NCOEFF): New macro.
10039         (gammal_positive): New function.
10040         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10041         underflow here.  Use gamma_positive instead of exp (lgamma) for
10042         other arguments.
10043         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10044         (gamma_coeff): New variable.
10045         (NCOEFF): New macro.
10046         (gammal_positive): New function.
10047         (__ieee754_gammal_r): Handle positive infinity, overflow and
10048         underflow here.  Handle NaN the same as positive infinity.  Remove
10049         check x < 0xffffffff for negative integers.  Use gamma_positive
10050         instead of exp (lgamma) for other arguments.
10051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10052         (gamma_coeff): New variable.
10053         (NCOEFF): New macro.
10054         (gammal_positive): New function.
10055         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10056         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10057         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10058         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10060         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10061         * sysdeps/generic/math_private.h (__gamma_productf): New
10062         prototype.
10063         (__gamma_product): Likewise.
10064         (__gamma_productl): Likewise.
10065         * math/Makefile (libm-calls): Add gamma_product.
10066         * math/libm-test.inc (tgamma_test): Add more tests.
10067         * sysdeps/i386/fpu/libm-test-ulps: Update.
10068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10070 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10072         * benchtests/bench-skeleton.c (main): Preheat CPU.
10074 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10076         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10078 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10080         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10081         and _dl_skip_args_internal.
10083 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10085         * manual/message.texi (Message Translation): Talk about users.
10086         Message to key mapping impacts design.
10088 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10090         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10092         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10094         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10095         * sysdeps/wordsize-64/glob64.c: ... here.
10097         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10098         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10099         New macros.
10101         * debug/getlogin_r_chk.c: Moved to ...
10102         * login/getlogin_r_chk.c: ... here.
10103         * debug/Makefile (routines): Move getlogin_r_chk to ...
10104         * login/Makefile (routines): ... here.
10105         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10106         * login/Versions (libc: GLIBC_2.4): ... here.
10108         * io/poll.c (__poll): Renamed from poll.
10109         Add libc_hidden_def.
10110         (poll): Define as weak alias.
10112         * debug/ptsname_r_chk.c: Moved to ...
10113         * login/ptsname_r_chk.c: ... here.
10114         * debug/Makefile (routines): Move ptsname_r_chk to ...
10115         * login/Makefile (routines): ... here.
10116         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10117         * login/Versions (libc: GLIBC_2.4): ... here.
10119         * posix/getlogin.c: Moved to ...
10120         * login/getlogin.c: ... here.
10121         * posix/getlogin_r.c: Moved to ...
10122         * login/getlogin_r.c: ... here.
10123         * posix/getlogin_r.c: Moved to ...
10124         * login/getlogin_r.c: ... here.
10125         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10126         * login/Makefile (routines): ... here.
10127         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10128         * login/Versions (libc: GLIBC_2.0): ... here.
10130         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10131         (setrlimit): Define as weak alias.
10133         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10134         Call __ names for open, ftruncate, and close.
10135         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10136         (truncate): Define as weak alias.
10138 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10140         * math/gen-libm-test.pl (parse_args): Initialize x before each
10141         test of frexp, modf and remquo.
10143         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10144         test signgam value.
10146 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10148         [BZ #15418]
10149         [BZ #15419]
10150         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10151         internal tests.
10152         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10154 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10156         * elf/dl-writev.h: New file.
10157         * elf/dl-misc.c: Include it.
10158         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10159         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10161 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10163         * math/libm-test.inc (noXFails): Remove variable.
10164         (noXPasses): Likewise.
10165         (BUILD_COMPLEX_INT): Remove macro.
10166         (print_screen): Remove xfail argument.
10167         (print_screen_max_error): Likewise.
10168         (update_stats): Likewise.
10169         (print_max_error): Likewise.  Update calls to other affected
10170         functions.
10171         (print_complex_max_error): Likewise.
10172         (test_single_exception): Update calls to print_screen.
10173         (test_single_errno): Likewise.
10174         (check_float_internal): Remove xfail argument.  Update calls to
10175         other affected functions.
10176         (check_float): Likewise.
10177         (check_complex): Likewise.
10178         (check_int): Likewise.
10179         (check_long): Likewise.
10180         (check_bool): Likewise.
10181         (check_longlong): Likewise.
10182         (main): Don't print noXFails and noXPasses.
10183         * math/gen-libm-test.pl (top level): Don't mention expected
10184         failure handling in comment.
10185         (new_test): Don't handle expected failures.
10186         (parse_args): Don't mention expected failure handling in comment.
10187         (generate_testfile): Don't handle expected failures.
10188         (parse_ulps): Likewise.
10189         (print_ulps_file): Likewise.
10190         (get_failure): Remove function.
10191         (output_test): Don't handle expected failures.
10192         * make/README.libm-test: Don't mention expected failure handling.
10194         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10195         (minus_zero): Likewise.
10196         (plus_infty): Likewise.
10197         (minus_infty): Likewise.
10198         (qnan_value): Likewise.
10199         (max_value): Likewise.
10200         (min_value): Likewise.
10201         (min_subnorm_value): Likewise.
10202         (initialize): Do not initialize those variables dynamically.
10204 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10206         * io/open.c (__open_2): Moved to ...
10207         * io/open_2.c: ... this new file.
10208         * io/open64.c (__open64_2): Moved to ...
10209         * io/open64_2.c: ... this new file.
10210         * io/openat.c (__openat_2): Moved to ...
10211         * io/openat_2.c: ... this new file.
10212         * io/openat64.c (__openat64_2): Moved to ...
10213         * io/openat64_2.c: ... this new file.
10214         * io/Makefile (routines): Add them.
10215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10216         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10217         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10218         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10219         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10220         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10221         (__openat64): Add hidden_ver.
10222         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10223         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10225         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10226         Separately conditionalize setting of GLRO(dl_sysinfo) so
10227         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10228         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10230 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10232         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10234         definition.
10235         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10236         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10237         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10238         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10239         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10241 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10243         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10244         test signgam value.
10246         * math/libm-test.inc (hypot_test): Do not use
10247         IGNORE_ZERO_INF_SIGN.
10249 2013-05-03  Andreas Jaeger  <aj@suse.de>
10251         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10252         Linux 3.9.
10253         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10254         (PF_MAX): Adjust for VSOCK change.
10256 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10260 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10262         [BZ #15264]
10263         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10264         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10265         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10267 2013-05-02  David S. Miller  <davem@davemloft.net>
10269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10271 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10273         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10275 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10277         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10279 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10281         [BZ #14952]
10282         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10283         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10284         Use __attribute__ ((__gnu_inline__)).
10285         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10286         Don't use __attribute__ ((__gnu_inline__)).
10288 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10290         [BZ #15423]
10291         * math/s_catan.c (__catan): Handle small real or imaginary part of
10292         input specially to avoid spurious underflow.
10293         * math/s_catanf.c (__catanf): Likewise.
10294         * math/s_catanh.c (__catanh): Likewise.
10295         * math/s_catanhf.c (__catanhf): Likewise.
10296         * math/s_catanhl.c (__catanhl): Likewise.
10297         * math/s_catanl.c (__catanl): Likewise.
10298         * math/libm-test.inc (catan_test): Add more tests.
10299         (catanh_test): Likewise.
10300         * sysdeps/i386/fpu/libm-test-ulps: Update.
10301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10303 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10307 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10309         [BZ #15416]
10310         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10311         accurately for denominator in atan2.
10312         * math/s_catanf.c (__catanf): Likewise.
10313         * math/s_catanh.c (__catanh): Likewise.
10314         * math/s_catanhf.c (__catanhf): Likewise.
10315         * math/s_catanhl.c (__catanhl): Likewise.
10316         * math/s_catanl.c (__catanl): Likewise.
10317         * math/libm-test.inc (catan_test): Add more tests.
10318         (catanh_test): Likewise.
10319         * sysdeps/i386/fpu/libm-test-ulps: Update.
10320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10322 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10324         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10326         * benchtests/Makefile (bench): Remove slow benchmarks.
10327         * benchtests/atan-inputs: Add slow benchmark inputs.
10328         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10329         (BENCH_FUNC): Accept variant offset.
10330         (VARIANT): Define.
10331         * benchtests/bench-skeleton.c (main): Run benchmark for each
10332         variant.
10333         * benchtests/cos-inputs: Add slow benchmark inputs.
10334         * benchtests/exp-inputs: Likewise.
10335         * benchtests/pow-inputs: Likewise.
10336         * benchtests/sin-inputs: Likewise.
10337         * benchtests/slowatan-inputs: Remove.
10338         * benchtests/slowatan.c: Remove.
10339         * benchtests/slowcos-inputs: Remove.
10340         * benchtests/slowcos.c: Remove.
10341         * benchtests/slowexp-inputs: Remove.
10342         * benchtests/slowexp.c: Remove.
10343         * benchtests/slowpow-inputs: Remove.
10344         * benchtests/slowpow.c: Remove.
10345         * benchtests/slowsin-inputs: Remove.
10346         * benchtests/slowsin.c: Remove.
10347         * benchtests/slowtan-inputs: Remove.
10348         * benchtests/slowtan.c: Remove.
10349         * benchtests/tan-inputs: Add slow benchmark inputs.
10350         * scripts/bench.pl: Parse comments and directives.
10352         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10353         in CPPFLAGS.
10354         ($(objpfx)bench-%.c): Remove *-ITER.
10355         * benchtests/bench-modf.c: Remove definition of ITER.
10356         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10357         (main): Loop for DURATION seconds instead of fixed number of
10358         iterations.
10359         * scripts/bench.pl: Don't expect iterations in parameters.
10361 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10363         * io/fchdir.c (__fchdir): Renamed from fchdir.
10364         (fchdir): Define as weak alias.
10366 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10368         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10369         (ERRNO_EDOM): Likewise.
10370         (ERRNO_ERANGE): Likewise.
10371         (noErrnoTests): New variable.
10372         (init_max_error): Set errno to 0.
10373         (test_single_errno): New function.
10374         (test_errno): Likewise.
10375         (check_float_internal): Call test_errno.  Set errno to 0.
10376         (check_complex): Refer to errno tests in comment.
10377         (check_int): Call test_errno.  Set errno to 0.
10378         (check_long): Likewise.
10379         (check_bool): Likewise.
10380         (check_longlong): Likewise.
10381         (cos_test): Use ERRNO_* flags for errno tests instead of
10382         check_int.
10383         (expm1_test): Likewise.
10384         (fmod_test): Likewise.
10385         (ilogb_test): Likewise.
10386         (lgamma_test): Likewise.
10387         (pow_test): Likewise.
10388         (remainder_test): Likewise.
10389         (sin_test): Likewise.
10390         (tan_test): Likewise.
10391         (yn_test): Likewise.
10392         (initialize): Set errno to 0.
10393         (main): Print number of errno tests.
10394         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10396 2013-04-29  Andreas Jaeger  <aj@suse.de>
10398         [BZ #15084]
10399         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10400         and RES_USEVC.
10402         [BZ #15085]
10403         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10404         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10405         unimplemented.
10407         [BZ #15380]
10408         * stdlib/random.c (__initstate): Return NULL if
10409         __initstate fails.
10411         [BZ #15086]
10412         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10413         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10414         RES_SNGLKUPREOP.
10416 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10420 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10422         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10423         of individual tests.
10424         (casin_test): Likewise.
10425         (casinh_test): Likewise.
10427 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #15409]
10430         * math/s_catan.c (__catan): Handle arguments with large real or
10431         imaginary part separately without squaring.
10432         * math/s_catanf.c (__catanf): Likewise.
10433         * math/s_catanh.c (__catanh): Likewise.
10434         * math/s_catanhf.c (__catanhf): Likewise.
10435         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10436         and redefine.
10437         (__catanhl): Handle arguments with large real or imaginary part
10438         separately without squaring.
10439         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10440         and redefine.
10441         (__catanl): Handle arguments with large real or imaginary part
10442         separately without squaring.
10443         * math/libm-test.inc (catan_test): Add more tests.
10444         (catanh_test): Likewise.
10445         * sysdeps/i386/fpu/libm-test-ulps: Update.
10446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10448 2013-04-27  Andreas Jaeger  <aj@suse.de>
10450         [BZ #15007]
10451         * stdlib/stdlib.h: Update guards for qecvt.
10452         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10453         <stdlib.h>.
10455 2013-04-27  Allan McRae  <allan@archlinux.org>
10457         * sysdeps/i386/fpu/libm-test-ulps: Update.
10459 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10461         [BZ #15406]
10462         * math/s_catan.c: Include <float.h>.
10463         (__catan): Ensure underflow exception occurs for underflowed
10464         result.
10465         * math/s_catanf.c: Include <float.h>.
10466         (__catanf): Ensure underflow exception occurs for underflowed
10467         result.
10468         * math/s_catanh.c: Include <float.h>.
10469         (__catanh): Ensure underflow exception occurs for underflowed
10470         result.
10471         * math/s_catanhf.c: Include <float.h>.
10472         (__catanhf): Ensure underflow exception occurs for underflowed
10473         result.
10474         * math/s_catanhl.c: Include <float.h>.
10475         (__catanhl): Ensure underflow exception occurs for underflowed
10476         result.
10477         * math/s_catanl.c: Include <float.h>.
10478         (__catanl): Ensure underflow exception occurs for underflowed
10479         result.
10480         * math/libm-test.inc (catan_test): Add more tests.
10481         (catanh_test): Likewise.
10483         [BZ #15405]
10484         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10485         underflowed result.
10486         * math/s_ccoshf.c (__ccoshf): Likewise.
10487         * math/s_ccoshl.c (__ccoshl): Likewise.
10488         * math/s_csin.c (__csin): Likewise.
10489         * math/s_csinf.c (__csinf): Likewise.
10490         * math/s_csinh.c (__csinh): Likewise.
10491         * math/s_csinhf.c (__csinhf): Likewise.
10492         * math/s_csinhl.c (__csinhl): Likewise.
10493         * math/s_csinl.c (__csinl): Likewise.
10494         * math/libm-test.inc (ccos_test): Add more tests.
10495         (ccosh_test): Likewise.
10496         (csin_test): Likewise.
10497         (csinh_test): Likewise.
10499 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10501         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10502         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10503         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10504         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10505         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10506         powerpc/power5+/fpu folders.
10507         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10510 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10514 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10516         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10517         additions to variable.
10518         [$(config-machine) = x86_64] (modules-names): Likewise.
10519         ($(objpfx)tst-audit3): Remove dependency.
10520         ($(objpfx)tst-audit3.out): Likewise.
10521         ($(objpfx)tst-audit4): Likewise.
10522         ($(objpfx)tst-audit4.out): Likewise.
10523         ($(objpfx)tst-audit5): Likewise.
10524         ($(objpfx)tst-audit5.out): Likewise.
10525         ($(objpfx)tst-audit6): Likewise.
10526         ($(objpfx)tst-audit6.out): Likewise.
10527         ($(objpfx)tst-audit7): Likewise.
10528         ($(objpfx)tst-audit7.out): Likewise.
10529         (tst-audit3-ENV): Remove variable.
10530         (tst-audit4-ENV): Likewise.
10531         (tst-audit5-ENV): Likewise.
10532         (tst-audit6-ENV): Likewise.
10533         (tst-audit7-ENV): Likewise.
10534         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10535         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10536         addition to variable.
10537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10538         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10539         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10540         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10541         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10542         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10543         tst-audit3, tst-audit4 and tst-audit5.
10544         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10545         tst-audit6 and tst-audit7.
10546         [$(subdir) = elf] (modules-names): Add audit modules for those
10547         tests.
10548         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10549         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10550         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10551         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10552         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10553         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10554         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10555         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10556         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10557         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10558         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10559         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10560         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10561         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10562         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10563         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10564         Likewise.
10565         [$(subdir) = elf && $(config-cflags-avx) = yes]
10566         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10567         [$(subdir) = elf && $(config-cflags-avx) = yes]
10568         (CFLAGS-tst-auditmod4a.c): Likewise.
10569         [$(subdir) = elf && $(config-cflags-avx) = yes]
10570         (CFLAGS-tst-auditmod4b.c): Likewise.
10571         [$(subdir) = elf && $(config-cflags-avx) = yes]
10572         (CFLAGS-tst-auditmod6b.c): Likewise.
10573         [$(subdir) = elf && $(config-cflags-avx) = yes]
10574         (CFLAGS-tst-auditmod6c.c): Likewise.
10575         [$(subdir) = elf && $(config-cflags-avx) = yes]
10576         (CFLAGS-tst-auditmod7b.c): Likewise.
10577         * elf/tst-audit3.c: Move to ...
10578         * sysdeps/x86_64/tst-audit3.c: ... here.
10579         * elf/tst-audit4.c: Move to ...
10580         * sysdeps/x86_64/tst-audit4.c: ... here.
10581         * elf/tst-audit5.c: Move to ...
10582         * sysdeps/x86_64/tst-audit5.c: ... here.
10583         * elf/tst-audit6.c: Move to ...
10584         * sysdeps/x86_64/tst-audit6.c: ... here.
10585         * elf/tst-audit7.c: Move to ...
10586         * sysdeps/x86_64/tst-audit7.c: ... here.
10587         * elf/tst-auditmod3a.c: Move to ...
10588         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10589         * elf/tst-auditmod3b.c: Move to ...
10590         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10591         * elf/tst-auditmod4a.c: Move to ...
10592         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10593         * elf/tst-auditmod4b.c: Move to ...
10594         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10595         * elf/tst-auditmod5a.c: Move to ...
10596         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10597         * elf/tst-auditmod5b.c: Move to ...
10598         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10599         * elf/tst-auditmod6a.c: Move to ...
10600         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10601         * elf/tst-auditmod6b.c: Move to ...
10602         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10603         * elf/tst-auditmod6c.c: Move to ...
10604         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10605         * elf/tst-auditmod7a.c: Move to ...
10606         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10607         * elf/tst-auditmod7b.c: Move to ...
10608         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10610 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10612         [BZ #15366]
10613         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10614         define unconditionally.
10615         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10616         define unconditionally.
10617         (INT8_C, INT16_C, etc.): Likewise.
10619 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10621         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10622         __ehdr_start with hidden visibility.
10624         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10626 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10628         * math/libm-test.inc (cos_test): Use accurate hex constants.
10629         (sincost_test): Likewise.
10631 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10633         * math/libm-test.inc (catan_test): Add more tests.
10634         (catanh_test): Likewise.
10636         * math/s_catanf.c (__catanf): Use suffixed floating-point
10637         constants.
10638         * math/s_catanhf.c (__catanhf): Likewise.
10639         * math/s_catanhl.c (__catanhl): Likewise.
10640         * math/s_catanl.c (__catanl): Likewise.
10642         [BZ #15394]
10643         * math/s_catan.c (__catan): Calculate imaginary part of result
10644         with log1p not log unless computing log of number close to 0.
10645         * math/s_catanf.c (__catanf): Likewise.
10646         * math/s_catanl.c (__catanl): Likewise.
10647         * math/s_catanh.c (__catanh): Calculate real part of result with
10648         log1p not log unless computing log of number close to 0.
10649         * math/s_catanhf.c (__catanhf): Likewise.
10650         * math/s_catanhl.c (__catanhl): Likewise.
10651         * math/libm-test.inc (catan_test): Add more tests.
10652         (catanh_test): Likewise.
10653         * sysdeps/i386/fpu/libm-test-ulps: Update.
10654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10656 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10658         * benchtests/Makefile: Mention files in which fast and slow
10659         paths of math functions are implemented.
10661 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10663         * sysdeps/posix/timespec_get.c: New file.
10665 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10667         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10668         POWER.
10669         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10670         for POWER.
10671         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10672         powerpc/power5/fpu folders.
10673         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10674         * benchtests/Makefile: Add modf testcase.
10675         * benchtests/bench-modf.c: New file: Benchmark test for mo
10677 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10679         [BZ #14888]
10680         * time/Makefile (tests): Add tst-strptime-whitespace.
10681         * time/strptime_l.c (get_number): Use ISSPACE.
10682         (__strptime_internal): Likewise.
10683         * time/tst-strptime-whitespace.c: New test case.
10685 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10687         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10688         member.
10689         (_nss_files_init): Set it here.
10691 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10693         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10694         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10695         unsigned.
10697 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10699         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10701 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10704         size just once.
10706 2013-04-21  David S. Miller  <davem@davemloft.net>
10708         * po/ru.po: Update Russion translation from translation project.
10710 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10712         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10713         and setfsgid.
10715 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10717         * configure.in: Remove i386 configure warning. Remove i386 case.
10718         * configure: Regenerate.
10719         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10720         Add example to error message.
10721         * sysdeps/i386/configure: Regenerate.
10723 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10725         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10726         slowtan.
10727         * benchtests/cos-inputs: New file.
10728         * benchtests/slowcos-inputs: New file.
10729         * benchtests/slowcos.c: New file.
10730         * benchtests/slowtan-inputs: New file.
10731         * benchtests/slowtan.c: New file.
10732         * benchtests/tan-inputs: New file.
10734 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10736         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10737         considered kosher.
10739 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741         * benchtests/Makefile: Include cppflags-iterator.mk to add
10742         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10744         * Makefile.in (bench-clean): New target.
10745         * benchtests/Makefile (bench-clean): Likewise.
10747 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10749         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10751 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10753         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10755 2013-04-15  Andreas Schwab  <schwab@suse.de>
10757         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10759         * nscd/pwdcache.c (cache_addpw): Likewise.
10760         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10761         more than recsize.
10763 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10765         * benchtests/Makefile (bench): Write all output to
10766         bench-out.tmp together.
10768 2013-04-15  Andreas Schwab  <schwab@suse.de>
10770         * nscd/nscd.c (main): Don't fork again after closing files.
10772 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10774         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10776         * benchtests/Rules (bench-deps): Collect dependencies into a
10777         single variable.  Add Makefile to dependencies.
10778         ($(objpfx)bench-%.c): Depend on bench-deps.
10780 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10781             Xavier Roche  <roche+kml2@exalead.com>
10783         [BZ #15361]
10784         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10785         just that it's a file descriptor.
10786         * manual/llio.texi (Synchronizing AIO Operations): Update description
10787         for EBADF error from aio_fsync.
10789 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791         * Rules (bench): Move target definition...
10792         * benchtests/Makefile: ... here.
10794 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10796         * math/libm-test.inc (cos_test): Fix PI/2 test.
10797         (sincos_test): Likewise.
10798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10799         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10801 2013-04-11  Andreas Schwab  <schwab@suse.de>
10803         [BZ #13988]
10804         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10805         accept exponent character only when digits were seen.
10806         * stdio-common/Makefile (tests): Add bug26.
10807         * stdio-common/bug26.c: New file.
10809         [BZ #14293]
10810         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10811         non-freeable.
10813 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10815         * Makeconfig (rtld-prefix): Define built linker prefix.
10816         * Rules (run-bench): Use it.
10817         * math/Makefile (run-regen-ulps): Likewise.
10819         * Rules (bench): Remove eval.
10821 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10822             Roland McGrath  <roland@hack.frob.com>
10823             Ondrej Bilka  <neleai@seznam.cz>
10825         [BZ #15346]
10826         * time/getdate.c: Include ctype.h and alloca.h.
10827         (__getdate_r): Trim leading and trailing spaces of input.
10828         * time/tst-getdate.c (tests): Add tests with leading and
10829         trailing spaces.
10831 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10833         [BZ #14280]
10834         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10835         when computing value.
10837 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10839         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10840         Use testrun.sh to run libm tests.
10842         [BZ #15309]
10843         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10845 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10847         [BZ #15264]
10848         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10852         * Makefile.in (regen-ulps): New target.
10853         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10854         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10855         [ifneq (no,$(PERL)] (regen-ulps): New target.
10856         [ifeq (no,$(PERL)] (regen-ulps): New target.
10857         * math/libm-test.inc (ulps_file_name): Define.
10858         (output_dir): New variable.
10859         (options): Add "output-dir" option.
10860         (parse_opt): Handle 'o' case.
10861         (main): If output_dir is non-NULL use it as a prefix
10862         otherwise use "".
10863         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10865 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10867         [BZ #10060, #10062]
10868         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10869         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10870         fail configure if __sync_val_compare_and_swap is not inlined.
10871         * sysdeps/i386/configure: Regenerate.
10872         * configure.in: Build for i686 when configured for i386.
10873         * configure: Regenerate.
10874         * README: Remove i386 reference.
10876 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10878         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10879         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10881 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10883         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10884         (lmsnanval): New variables.
10885         (F): Add conversion tests.
10886         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10887         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10889         * stdio-common/tstdiomisc.c (F): Properly collect individual
10890         tests' results.
10892         [BZ #14686, #15336]
10893         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10894         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10895         Instead, use input NaN values or generate a qNaN by arithmetic
10896         operation.  Also fix bugs to comply with the standard.
10897         * math/libm-test.inc (remainder_test): Add more tests.
10899         [BZ #15335, #15342]
10900         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10902         input NaN values or generate a qNaN by arithmetic operation.
10904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10905         unreachable code.
10907         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10908         definitions.
10910 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10912         [BZ #14478]
10913         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10914         underflowed result.
10915         * math/s_cexpf.c (__cexpf): Likewise.
10916         * math/s_cexpl.c (__cexpl): Likewise.
10917         * math/libm-test.inc (cexp_test): Add more tests.
10919 2013-04-03  Andreas Schwab  <schwab@suse.de>
10921         [BZ #15330]
10922         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10923         order arrays from heap if bigger than alloca cutoff.
10925 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10927         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10928         (SNAN_TESTS_double): Refer to GCC PR56831.
10929         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10930         GCC PR56828.
10932 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10934         * Rules (bench): Move bench.out after the run is complete.
10936         * Rules (bench): Echo currently running benchmark.
10938         * benchtests/Makefile (bench): Add atan and slowatan.
10939         * benchtests/atan-inputs: New file.
10940         * benchtests/slowatan-inputs: New file.
10941         * benchtests/slowatan.c: New file.
10943         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10945         its value.
10947         [BZ #15305]
10948         * sysdeps/unix/sysv/linux/kernel-features.h
10949         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10950         __ASSUME_XFS_RESTRICTED_CHOWN.
10951         * sysdeps/unix/sysv/linux/pathconf.c
10952         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10953         Save and restore errno.
10955 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10957         [BZ #15327]
10958         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10959         arguments using __kernel_casinh.
10960         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10961         arguments using __kernel_casinhf.
10962         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10963         arguments using __kernel_casinhl.
10964         * math/libm-test.inc (cacosh_test): Add more tests.
10965         * sysdeps/i386/fpu/libm-test-ulps: Update.
10966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10970         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10973         * bench/Makefile (bench): Add sin and slowsin.
10974         * benchtests/sin-inputs: New file.
10975         * benchtests/slowsin-inputs: New file.
10976         * benchtests/slowsin.c: New file.
10978         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10979         (bench): Add slowexp and slowpow.
10980         (exp-ITER): Increase iterations.
10981         (pow-ITER): Likewise.
10982         * benchtests/exp-inputs: Change input.
10983         * benchtests/pow-inputs: Likewise.
10984         * benchtests/slowexp-inputs: New file.
10985         * benchtests/slowexp.c: New file.
10986         * benchtests/slowpow-inputs: New file.
10987         * benchtests/slowpow.c: New file.
10989 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10991         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10992         instructions.
10993         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10994         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10995         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10996         * benchtests/Makefile: Add rint benchtest.
10997         * benchtests/rint-inputs: Input for rint benchtest.
10999 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11001         * Versions.def (libm): Add GLIBC_2.18.
11002         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11003         hidden libm prototypes.
11004         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11005         * math/Makefile (libm-calls): Add s_issignaling.
11006         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11007         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11008         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11009         declaration.
11010         * math/math.h [__USE_GNU] (issignaling): New macro.
11011         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11012         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11013         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11014         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11016         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11017         * manual/arith.texi (issignaling): New section.
11018         * manual/libm-err-tab.pl (@all_functions): Update comment.
11019         * math/gen-libm-test.pl (parse_args): Apply special handling for
11020         issignaling.
11021         * math/libm-test.inc (print_float, issignaling_test): New
11022         functions.
11023         (check_float_internal): Add issignaling checks.
11024         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11025         default definition.
11026         * sysdeps/powerpc/math-tests.h: New file.
11027         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11028         tests.
11029         * math/test-snan.c (TEST_FUNC): Likewise.
11031 2013-03-30  David S. Miller  <davem@davemloft.net>
11033         * po/de.po: Update from translation team.
11035 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11037         [BZ #10357]
11038         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11039         imaginary part less than 1.0 and real part less than 0.5
11040         specially.
11041         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11042         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11043         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11044         (cacos_test): Add more tests.
11045         (casin_test): Likewise.
11046         (casinh_test): Likewise.
11047         * sysdeps/i386/fpu/libm-test-ulps: Update.
11048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11050 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11052         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11053         ONE with its value.
11055         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11056         (__pow_mp): Replace ONE and MONE with their values.
11057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11059         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11060         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11061         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11064         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11066         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11067         (__pow_mp): Replace ZERO and MZERO with their values.
11068         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11069         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11072         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11073         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11074         (__sqr): Likewise.
11076         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11078         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11080 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11082         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11083         Declare with __attribute__ ((weak)).
11084         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11085         Call __call_tls_dtors only if it's not NULL.
11087 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11089         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11090         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11091         magic __ehdr_start linker symbol if it's defined.
11092         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11093         them up here if it was already done.
11095         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11096         (_dl_aux_init): Use const in cast when setting it.
11097         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11098         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11099         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11101         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11102         Declare them here.
11103         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11104         * csu/libc-tls.c: Nor here.
11105         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11107         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11108         (__libc_message): Never call vsyslog.
11110 2013-03-28  Alan Modra  <amodra@gmail.com>
11112         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11113         Define as empty.
11114         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11115         Likewise.
11117 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11119         [BZ #15214]
11120         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11121         underflow.
11122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11124 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11126         [BZ #15304]
11127         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11128         Don't add gid passed as argument.
11130         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11132 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #15307]
11135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11136         imaginary part between 1.0 and 1.5 and real part less than 0.5
11137         specially.
11138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11140         * math/libm-test.inc (cacos_test): Add more tests.
11141         (casin_test): Likewise.
11142         (casinh_test): Likewise.
11143         * sysdeps/i386/fpu/libm-test-ulps: Update.
11144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11146 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11148         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11149         constants.
11150         (norm): Likewise.
11151         (denorm): Likewise.
11152         (__dbl_mp): Likewise.
11153         (add_magnitudes): Likewise.
11154         (sub_magnitudes): Likewise.
11155         (__add): Likewise.
11156         (__sub): Likewise.
11157         (__mul): Likewise.
11158         (__sqr): Likewise.
11159         (__inv): Likewise.
11160         (__dvd): Likewise.
11162         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11163         commented code.
11164         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11165         (__dubcos): Likewise.
11166         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11167         (__ieee754_acos): Likewise.
11168         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11170         (__exp1): Likewise.
11171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11173         (log1): Likewise.
11174         (my_log2): Likewise.
11175         (checkint): Likewise.
11176         * sysdeps/ieee754/dbl-64/e_remainder.c
11177         (__ieee754_remainder): Likewise.
11178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11180         (bsloww): Likewise.
11181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11183         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11185         MANTISSA_STORE_T to store computations on mantissa.  Use
11186         macros for rounding and division.
11187         (denorm): Likewise.
11188         (__dbl_mp): Likewise.
11189         (add_magnitudes): Likewise.
11190         (sub_magnitudes): Likewise.
11191         (__mul): Likewise.
11192         (__sqr): Likewise.
11193         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11194         powers of two in terms of TWOPOW macro.
11195         (mp_no): Make type of mantissa as MANTISSA_T.
11196         [!RADIXI]: Define RADIXI.
11197         [!TWO52]: Define TWO52.
11198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11200 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11202         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11203         llroundl symbol when building for PPC32.
11205 2013-03-24  Mark H Weaver  <mhw@netris.org>
11207         * manual/arith.texi (Normalization Functions): Fix prototypes for
11208         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11210 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11212         [BZ #13889]
11213         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11214         high value to check if expl overflow.
11215         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11216         to check for underflow and overflow.
11217         * math/libm-test.inc: Add exp test.
11219 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11221         [BZ #11120]
11222         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11223         with NOT_IN_libc.
11225 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11227         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11228         symbol.
11230 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11232         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11233         wrap blocks consisting of several statements.
11235         * sysdeps/generic/math-tests.h: New file.
11236         * sysdeps/i386/fpu/math-tests.h: Likewise.
11237         * math/test-snan.c: Include it.
11238         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11240 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #15285]
11243         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11244         (__ieee754_j0l): Do not improve calculations using cos of twice
11245         input for inputs above LDBL_MAX / 2.0L.
11246         (__ieee754_y0l): Likewise.
11247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11248         (__ieee754_j1l): Do not improve calculations using cos of twice
11249         input for inputs above LDBL_MAX / 2.0L.
11250         (__ieee754_y1l): Likewise.
11251         * math/libm-test.inc (j0_test): Add another test.
11252         (j1_test): Likewise.
11253         (y0_test): Likewise.
11254         (y1_test): Likewise.
11255         * sysdeps/i386/fpu/libm-test-ulps: Update.
11257 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259         * Rules ($(objpfx)bench-%.c): Include code from a C source
11260         file.
11262 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11264         [BZ #15287]
11265         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11266         imaginary part 1.0 and real part less than 0.5 specially.
11267         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11268         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11269         * math/libm-test.inc (cacos_test): Add more tests.
11270         (casin_test): Likewise.
11271         (casinh_test): Likewise.
11272         * sysdeps/i386/fpu/libm-test-ulps: Update.
11273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11275 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11278         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11280 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11282         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11283         * config.make.in (config-cflags-sse4): Remove variable.
11284         (config-cflags-avx): Likewise.
11285         (config-cflags-sse2avx): Likewise.
11286         (config-cflags-novzeroupper): Likewise.
11287         (config-asflags-i686): Likewise.
11288         (have-mfma4): Likewise.
11289         (have-as-vis3): Likewise.
11290         (MIG): Likewise.
11291         * configure.in (MIG): Do not AC_SUBST.
11292         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11293         (libc_cv_cc_sse4): Do not AC_SUBST.
11294         (libc_cv_cc_avx): Likewise.
11295         (libc_cv_cc_sse2avx): Likewise.
11296         (libc_cv_cc_novzeroupper): Likewise.
11297         (libc_cv_cc_fma4): Likewise.
11298         (libc_cv_as_i686): Likewise.
11299         (libc_cv_sparc_as_vis3): Likewise.
11300         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11301         LIBC_CONFIG_VAR.
11302         (config-asflags-i686): Likewise.
11303         (config-cflags-avx): Likewise.
11304         (config-cflags-sse2avx): Likewise.
11305         (have-mfma4): Likewise.
11306         (config-cflags-novzeroupper): Likewise.
11307         * sysdeps/mach/configure.in (MIG): Likewise.
11308         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11309         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11310         LIBC_CONFIG_VAR.
11311         (config-cflags-avx): Likewise.
11312         (config-cflags-sse2avx): Likewise.
11313         (have-mfma4): Likewise.
11314         (config-cflags-novzeroupper): Likewise.
11315         * configure: Regenerated.
11316         * sysdeps/i386/configure: Likewise.
11317         * sysdeps/mach/configure: Likewise.
11318         * sysdeps/sparc/configure: Likewise.
11319         * sysdeps/x86_64/configure: Likewise.
11321 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11323         [BZ #14812]
11324         * locale/programs/localedef.c (options): Put N_ translation marker
11325         on argument names, not just descriptions.
11327 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11329         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11331 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11333         [BZ #14176]
11334         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11336 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11338         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11339         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11340         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11341         [!BEFORE_ABORT] (before_abort): New function.
11342         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11343         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11344         (writev_for_fatal): New function.
11345         (WRITEV_FOR_FATAL): New macro; call that.
11346         (backtrace_and_maps): New function.
11347         (BEFORE_ABORT): New macro; call that.
11348         (struct str_list): Type removed.
11349         (__libc_message, __libc_fatal): Functions removed.
11350         Include <sysdeps/posix/libc_fatal.c> instead.
11352 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11354         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11355         constants.
11356         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11357         double constants.
11359 2013-03-19  Andreas Schwab  <schwab@suse.de>
11361         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11362         * sysdeps/gnu/configure: Regenerate.
11364         * configure.in: Substitute libc_cv_rtlddir.
11365         * configure: Regenerate.
11366         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11367         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11368         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11369         * elf/Makefile (install-others, CFLAGS-interp.c)
11370         (ldso_install, common-ldd-rewrite): Likewise.
11371         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11372         $(inst_slibdir)/$(rtld-installed-name).
11373         * scripts/rellns-sh: Add -p option.
11374         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11375         for source.
11377 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11379         * manual/nptl.texi: Renamed to ...
11380         * manual/threads.texi: ... this.
11381         * manual/Makefile (chapters): Update.
11383 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11385         [BZ #14812]
11386         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11387         on argument names, not just descriptions.
11388         * malloc/memusagestat.c (options): Likewise.
11389         * nss/getent.c (options): Likewise.
11391 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11393         [BZ #14812]
11394         * iconv/iconv_prog.c (options): Put N_ translation marker
11395         on argument names, not just descriptions.
11396         * iconv/iconvconfig.c (options): Likewise.
11398 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11400         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11401         implementation which is faster on all x86_64 architectures.
11402         Tested on AMD, Intel Nehalem, SNB, IVB.
11403         * sysdeps/x86_64/strnlen.S: Likewise.
11405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11406         Remove all multiarch strlen and strnlen versions.
11407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11408         Remove strlen and strnlen related parts.
11410         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11411         Inline strlen part.
11412         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11414         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11415         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11416         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11417         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11418         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11419         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11421 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11423         * manual/memory.texi (Malloc Tunable Parameters):
11424         Sort parameters alphabetically. Add comments for missing entries.
11426 2013-03-17  David S. Miller  <davem@davemloft.net>
11428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11430 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11432         [BZ #15283]
11433         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11434         for arguments at most half maximum finite value.
11435         * math/libm-test.inc (j0_test): Add more tests.
11436         (j1_test): Likewise.
11437         (y0_test): Likewise.
11438         (y1_test): Likewise.
11439         * sysdeps/i386/fpu/libm-test-ulps: Update.
11440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11442         [BZ #14155]
11443         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11444         1 / x and functions P and Q for arguments above 0x1p256L.
11445         (__ieee754_y0l): Likewise.
11446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11447         (__ieee754_y1l): Likewise.
11448         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11449         (j1_test): Likewise.
11450         (y0_test): Likewise.
11451         (y1_test): Likewise.
11453 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11455         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11456         variable.
11458 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11460         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11461         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11462         zero since it's initialized to EXEC_PAGESIZE.
11464         * sysdeps/unix/sysv/linux/ldsodefs.h
11465         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11466         * sysdeps/generic/ldsodefs.h: ... here.
11468 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11470         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11472         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11473         math/test-snan.c.
11474         * math/test-snan.c: Renamed from
11475         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11476         * math/Makefile (tests): Add test-snan.
11477         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11478         test-powerpc-snan.
11480         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11481         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11482         functions.
11483         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11484         __builtin_nan family of functions.
11485         * math/libm-test.inc (initialize): Initialize qnan_value with
11486         __builtin_nan family of functions.
11487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11488         Remove variables.
11489         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11490         Remove functions.
11491         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11492         storage class.  Initialize qNaN_var and sNaN_var with
11493         __builtin_nan and __builtin_nans families of functions,
11494         respectively.
11496         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11497         (sqrt_test): Remove duplicate test with qNaN input.
11498         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11499         (round_test, signbit_test, significand_test): Note missing +/-Inf
11500         as well as qNaN tests.
11502         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11503         qNaN_var.  Fix a few strings, too.
11504         * math/libm-test.inc (nan_value): Rename to qnan_value.
11505         * math/gen-libm-test.pl (%beautify): Adjust to that.
11506         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11507         * math/test-misc.c (main): Likewise.
11508         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11509         to __qnan_bytes, and __qnan_union, respectively.
11510         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11511         Likewise.
11512         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11513         and lqnanval, respectively.
11514         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11515         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11516         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11517         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11519         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11520         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11521         doubles.
11523         * math/test-misc.c (main): Fix copy'n'pastos.
11524         * misc/tst-efgcvt.c (special): Likewise.
11526         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11527         Remove declarations.
11529 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11531         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11532         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11533         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11534         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11536 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11539         macro to return vdso values correctly in IFUNC implementations.
11540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11541         Optimization by using IFUNC.
11543 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11544             Richard Henderson  <rth@redhat.com>
11545             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11547         * Makefile.in (bench): New target.
11548         * NEWS: Mention the benchmark framework.
11549         * Rules (bench): Likewise.
11550         (binaries-bench): Generate binaries for functions to
11551         benchmark.
11552         * benchtests/Makefile: New makefile for benchmark tests.
11553         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11554         programs.
11555         * benchtests/exp-inputs: New input file for EXP function.
11556         * benchtests/pow-inputs: New input file for POW function.
11557         * scripts/bench.pl: New script to generate source files for
11558         benchmark programs.
11560 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11562         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11564         computations on mantissa.  Use macros for rounding and
11565         division.
11566         (denorm): Likewise.
11567         (__dbl_mp): Likewise.
11568         (add_magnitudes): Likewise.
11569         (sub_magnitudes): Likewise.
11570         (__mul): Likewise.
11571         (__sqr): Likewise.
11572         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11573         powers of two in terms of TWOPOW macro.
11574         (mp_no): Make type of mantissa as MANTISSA_T.
11575         [!RADIXI]: Define RADIXI.
11576         [!TWO52]: Define TWO52.
11577         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11579         * manual/nptl.texi (cindex): Modify threads to pthreads.
11581 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11583         * sysdeps/x86_64/preconfigure: Regenerated.
11585 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #14155]
11588         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11589         0x1p28 and above.
11590         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11591         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11592         0x1p28 and above.
11593         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11594         * math/libm-test.inc (j0_test): Do not allow one spurious
11595         underflow exception.
11596         (y1_test): Likewise.
11598 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11600         * manual/Makefile (chapters): Add nptl.
11601         * manual/debug.texi (Debugging Support): Add link to Threads
11602         chapter.
11603         * manual/nptl.texi: New file.
11605         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11607 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11609         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11610         for non-NULL pointer before the memory validity test. Pointed
11611         out by Holger Brunck <holger.brunck@keymile.com>.
11613 2013-03-13  Andreas Schwab  <schwab@suse.de>
11615         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11616         instead of .os.
11618 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11620         * timezone/zic.c: Update from tzcode 2013b.
11622 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11624         * manual/install.texi (Configuring and compiling):
11625         Mention i686 and i586.
11626         * INSTALL: Regenerate.
11628 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11630         * sysdeps/init_array/elf-init.c: New file.
11631         * csu/elf-init.c
11632         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11633         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11635         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11636         __gmon_start__ as global, but as static with a .preinit_array pointer.
11637         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11638         * sysdeps/init_array/crti.S: New file, empty except for comments.
11639         * sysdeps/init_array/crtn.S: Likewise.
11641 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11643         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11644         definining bcopy.
11645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11646         Remove Prefer_SSE_for_memop.
11647         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11648         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11649         HAS_PREFER_SSE_FOR_MEMOP.
11650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11651         memset-x86-64.
11652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11653         Remove bzero, memset ifunc support.
11654         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11655         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11659 2013-03-11  Andreas Schwab  <schwab@suse.de>
11661         [BZ #15234]
11662         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11663         by SHLIB_COMPAT.
11664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11665         (GLIBC_2.16): Remove pthread_atfork.
11667 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11669         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11670         (ptestcases.h): Likewise.
11672 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11674         * Makeconfig ($(common-objpfx)config.status): Depend on
11675         sysdeps/*/preconfigure{,.in} too.
11677 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11679         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11680         (__free_hook): Use void * instead of __malloc_ptr_t.
11681         (__malloc_hook): Likewise.
11682         (__realloc_hook): Likewise.
11683         (__memalign_hook): Likewise.
11684         (__after_morecore_hook): Likewise.
11685         * malloc/arena.c (save_malloc_hook): Likewise.
11686         (save_free_hook): Likewise.
11687         * malloc/hooks.c (malloc_hook_ini): Likewise.
11688         (realloc_hook_ini): Likewise.
11689         (memalign_hook_ini): Likewise.
11690         * malloc/malloc.c (malloc_hook_ini): Likewise.
11691         (realloc_hook_ini): Likewise.
11692         (memalign_hook_ini): Likewise.
11693         (__free_hook): Likewise.
11694         (__malloc_hook): Likewise.
11695         (__realloc_hook): Likewise.
11696         (__memalign_hook): Likewise.
11697         (__libc_malloc): Likewise.
11698         (__libc_free): Likewise.
11699         (__libc_realloc): Likewise.
11700         (__libc_memalign): Likewise.
11701         (__libc_valloc): Likewise.
11702         (__libc_pvalloc): Likewise.
11703         (__libc_calloc): Likewise.
11704         (__posix_memalign): Likewise.
11705         * malloc/morecore.c (__sbrk): Likewise.
11706         (__default_morecore): Likewise.
11708         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11710         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11711         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11712         __malloc_ptrdiff_t.
11714         * malloc/malloc.h (__malloc_size_t): Remove macro.
11715         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11716         __malloc_size_t.
11717         (old_memalign_hook): Likewise.
11718         (old_realloc_hook): Likewise.
11719         (struct hdr): Likewise.
11720         (flood): Likewise.
11721         (mallochook): Likewise.
11722         (memalignhook): Likewise.
11723         (reallochook): Likewise.
11724         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11725         (tr_old_realloc_hook): Likewise.
11726         (tr_old_memalign_hook): Likewise.
11727         (tr_mallochook): Likewise.
11728         (tr_reallochook): Likewise.
11729         (tr_memalignhook): Likewise.
11731 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11734         default_ldbl_pack and using as default implementation.
11735         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11736         implementation.
11737         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11738         redundant definition.
11739         (ldbl_insert_mantissa): Likewise.
11740         (ldbl_canonicalize): Likewise.
11741         (ldbl_nearbyint): Likewise.
11742         (ldbl_pack): Rename to ldbl_pack_ppc.
11743         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11744         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11745         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11747 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11750         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11752         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11755         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11756         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11758 2013-03-07  Andreas Jaeger  <aj@suse.de>
11760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11761         bits/mman-linux.h.
11763 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11765         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11766         Include mpa.h and declare __MPEXP.
11767         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11769         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11772         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11775         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11776         (__slowpow): Use long double EXPL and LOGL functions to
11777         compute POW.
11778         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11779         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11780         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11781         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11782         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11783         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11786         intermediate variable to calculate exponent.
11787         (__sqr): Likewise.
11788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11789         Likewise.
11790         (__sqr): Likewise.
11792         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11793         [!NO__SQR]: Define __sqr.
11794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11795         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11796         sysdeps/ieee754/dbl-64/mpa.c.
11797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11799         [BZ #12723]
11800         * posix/Makefile (tests): Add tst-pathconf.
11801         * posix/tst-pathconf.c: New test case.
11802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11803         _PC_PIPE_BUF.
11804         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11806 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11808         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11810 2013-03-06  Andreas Jaeger  <aj@suse.de>
11812         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11813         definition via __MAP_ANONYMOUS.
11815         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11816         it's not part of Linux headers.
11818         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11819         (MAP_HUGE_MASK): Define.
11821         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11822         Define.
11823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11825         Define.
11826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11827         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11828         Define.
11829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11830         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11831         Define.
11832         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11834         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11835         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11836         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11837         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11838         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11839         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11842         Handle f2fs.
11844         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11845         Handle f2fs and efivarfs.
11847         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11848         f2fs.
11850         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11851         (EFIVARFS_MAGIC): Add.
11852         (F2FS_LINK_MAX): Add.
11854 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11856         * stdio-common/vfprintf.c: Replace __builtin_expect with
11857         __glibc_unlikely.
11859 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11861         [BZ #13550]
11862         * sysdeps/generic/bp-sym.h: Remove file.
11863         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11864         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11865         <bp-sym.h> and <bp-asm.h>.
11866         (__longjmp): Don't use BP_SYM.
11867         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11868         and <bp-asm.h>.
11869         (memcpy): Don't use BP_SYM.
11870         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11871         <bp-sym.h> and <bp-asm.h>.
11872         (memcpy): Don't use BP_SYM.
11873         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11874         <bp-asm.h>.
11875         (memcpy): Don't use BP_SYM.
11876         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11877         <bp-asm.h>.
11878         (memset): Don't use BP_SYM.
11879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11881         (__bzero): Don't use BP_SYM.
11882         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11883         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11885         <bp-sym.h> and <bp-asm.h>.
11886         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11887         pointers.
11888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11889         <bp-sym.h> and <bp-asm.h>.
11890         (memcpy): Don't use BP_SYM.
11891         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11892         <bp-sym.h> and <bp-asm.h>.
11893         (memset): Don't use BP_SYM.
11894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11896         (__bzero): Don't use BP_SYM.
11897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11900         <bp-sym.h> and <bp-asm.h>.
11901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11902         pointers.
11903         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11904         <bp-sym.h> and <bp-asm.h>.
11905         (memcpy): Don't use BP_SYM.
11906         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11907         <bp-sym.h> and <bp-asm.h>.
11908         (memset): Don't use BP_SYM.
11909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11911         (__bzero): Don't use BP_SYM.
11912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11915         <bp-sym.h> and <bp-asm.h>.
11916         (__memchr): Don't use BP_SYM.
11917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11918         <bp-sym.h> and <bp-asm.h>.
11919         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11920         pointers.
11921         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11922         <bp-sym.h> and <bp-asm.h>.
11923         (memcpy): Don't use BP_SYM.
11924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11925         <bp-sym.h> and <bp-asm.h>.
11926         (__mempcpy): Don't use BP_SYM.
11927         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11928         <bp-sym.h> and <bp-asm.h>.
11929         (__memrchr): Don't use BP_SYM.
11930         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11931         <bp-sym.h> and <bp-asm.h>.
11932         (memset): Don't use BP_SYM.
11933         (__bzero): Likewise.
11934         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11935         <bp-sym.h> and <bp-asm.h>.
11936         (__rawmemchr): Don't use BP_SYM.
11937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11938         <bp-sym.h> and <bp-asm.h>.
11939         (__STRCMP): Don't use BP_SYM.
11940         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11941         <bp-sym.h> and <bp-asm.h>.
11942         (strchr): Don't use BP_SYM.
11943         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11944         <bp-sym.h> and <bp-asm.h>.
11945         (__strchrnul): Don't use BP_SYM.
11946         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11947         <bp-sym.h> and <bp-asm.h>.
11948         (strlen): Don't use BP_SYM.
11949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11950         <bp-sym.h> and <bp-asm.h>.
11951         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11952         pointers.
11953         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11954         <bp-sym.h> and <bp-asm.h>.
11955         (__strnlen): Don't use BP_SYM.
11956         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11957         <bp-sym.h> and <bp-asm.h>.
11958         (__GI__setjmp): Don't use BP_SYM.
11959         (_setjmp): Likewise.
11960         (__sigsetjmp): Likewise.
11961         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11962         (L(start_addresses)): Don't use BP_SYM.
11963         (_start): Likewise.
11964         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11965         <bp-asm.h>.
11966         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11967         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11968         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11969         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11970         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11971         <bp-asm.h>.
11972         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11973         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11974         about bounded pointers.
11975         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11976         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11977         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11978         <bp-asm.h>.
11979         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11980         about bounded pointers.  Remove GKM FIXME comments.
11981         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11982         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11983         <bp-asm.h>.
11984         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11985         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11986         Remove GKM FIXME comments.
11987         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11988         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11989         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11990         <bp-asm.h>.
11991         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11992         about bounded pointers.  Remove GKM FIXME comment.
11993         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11994         and <bp-asm.h>.
11995         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11996         pointers.
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11998         <bp-sym.h> and <bp-asm.h>.
11999         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12001         <bp-sym.h> and <bp-asm.h>.
12002         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12003         comment.
12005 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12007         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12008         call free(NULL).
12010 2013-03-05  David S. Miller  <davem@davemloft.net>
12012         * po/es.po: Update from translation team.
12014 2013-03-05  Andreas Jaeger  <aj@suse.de>
12016         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12017         <bits/mman-linux.h>.
12018         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12019         is fine.
12020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12021         <bits/mman-linux.h> to end of file.
12022         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12023         is fine.
12024         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12025         <bits/mman-linux.h> to end of file.
12026         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12027         is fine.
12028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12029         <bits/mman-linux.h> to end of file.
12031         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12032         (MCL_CURRENT, MCL_FUTURE): Define here.
12034 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12036         [BZ #15232]
12037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12038         attribute_hidden.
12039         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12041 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12044         fourth parameter needed for rt_sigprocmask syscall.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12046         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12050         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12052 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12054         [BZ #13550]
12055         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12056         comment about bounded pointers.
12057         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12058         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12060 2013-03-04  Andreas Jaeger  <aj@suse.de>
12062         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12063         common definitions.
12065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12066         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12067         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12068         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12070         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12072 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12074         [BZ #15055]
12075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12076         __ieee754_sqrl instead of __sqrl.
12078 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12080         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12081         * sysdeps/powerpc/fpu_control.h: ... here.
12082         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12083         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12084         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12085         * sysdeps/powerpc/bits/mathinline.h: ... here.
12087 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12089         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12090         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12091         to just [NEED_DL_SYSINFO_DSO].
12092         * elf/dl-support.c: Likewise.
12093         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12094         * elf/rtld.c (dl_main): Likewise.
12095         * elf/setup-vdso.h (setup_vdso): Likewise.
12096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12097         * sysdeps/unix/sysv/linux/dl-sysdep.c
12098         (_dl_discover_osversion): Likewise.
12100 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12102         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12103         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12105 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12107         * NEWS: Mention libm performance improvements and non-x86 PI
12108         futex support.
12110         * csu/libc-start.c (__pthread_initialize_minimal): Change
12111         function arguments.
12112         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12114 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12116         [BZ #13550]
12117         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12119         <bp-sym.h> and <bp-asm.h>.
12120         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12122         and <bp-asm.h>.
12123         (memcpy): Don't use BP_SYM.
12124         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12125         <bp-asm.h>.
12126         (__mpn_add_n): Don't use BP_SYM.
12127         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12128         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12129         and <bp-asm.h>.
12130         (__mpn_addmul_1): Don't use BP_SYM.
12131         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12132         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12133         <bp-sym.h>.
12134         (_setjmp): Don't use BP_SYM.
12135         (__novmx_setjmp): Likewise.
12136         (__GI__setjmp): Likewise.
12137         (__vmx_setjmp): Likewise.
12138         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12139         <bp-sym.h>.
12140         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12141         (__bzero): Don't use BP_SYM.
12142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12144         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12145         <bp-sym.h> and <bp-asm.h>.
12146         (memcpy): Don't use BP_SYM.
12147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12148         <bp-sym.h> and <bp-asm.h>.
12149         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12151         <bp-sym.h> and <bp-asm.h>.
12152         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12153         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12154         <bp-asm.h>.
12155         (__mpn_lshift): Don't use BP_SYM.
12156         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12157         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12158         <bp-asm.h>.
12159         (memset): Don't use BP_SYM.
12160         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12161         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12162         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12163         <bp-asm.h>.
12164         (__mpn_mul_1): Don't use BP_SYM.
12165         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12167         <bp-sym.h> and <bp-asm.h>.
12168         (memcmp): Don't use BP_SYM.
12169         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12170         <bp-sym.h> and <bp-asm.h>.
12171         (memcpy): Don't use BP_SYM.
12172         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12173         <bp-sym.h> and <bp-asm.h>.
12174         (memset): Don't use BP_SYM.
12175         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12176         <bp-sym.h> and <bp-asm.h>.
12177         (strncmp): Don't use BP_SYM.
12178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12179         <bp-sym.h> and <bp-asm.h>.
12180         (memcpy): Don't use BP_SYM.
12181         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12182         <bp-sym.h> and <bp-asm.h>.
12183         (memset): Don't use BP_SYM.
12184         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12185         <bp-sym.h> and <bp-asm.h>.
12186         (__memchr): Don't use BP_SYM.
12187         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12188         <bp-sym.h> and <bp-asm.h>.
12189         (memcmp): Don't use BP_SYM.
12190         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12191         <bp-sym.h> and <bp-asm.h>.
12192         (memcpy): Don't use BP_SYM.
12193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12194         <bp-sym.h> and <bp-asm.h>.
12195         (__mempcpy): Don't use BP_SYM.
12196         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12197         <bp-sym.h> and <bp-asm.h>.
12198         (__memrchr): Don't use BP_SYM.
12199         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12200         <bp-sym.h> and <bp-asm.h>.
12201         (memset): Don't use BP_SYM.
12202         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12203         <bp-sym.h> and <bp-asm.h>.
12204         (__rawmemchr): Don't use BP_SYM.
12205         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12206         <bp-sym.h> and <bp-asm.h>.
12207         (__STRCMP): Don't use BP_SYM.
12208         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12209         <bp-sym.h> and <bp-asm.h>.
12210         (strchr): Don't use BP_SYM.
12211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12212         <bp-sym.h> and <bp-asm.h>.
12213         (__strchrnul): Don't use BP_SYM.
12214         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12215         <bp-sym.h> and <bp-asm.h>.
12216         (strlen): Don't use BP_SYM.
12217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12218         <bp-sym.h> and <bp-asm.h>.
12219         (strncmp): Don't use BP_SYM.
12220         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12221         <bp-sym.h> and <bp-asm.h>.
12222         (__strnlen): Don't use BP_SYM.
12223         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12224         <bp-asm.h>.
12225         (__mpn_rshift): Don't use BP_SYM.
12226         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12228         <bp-sym.h> and <bp-asm.h>.
12229         (__sigsetjmp): Don't use BP_SYM.
12230         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12231         (L(start_addresses)): Don't use BP_SYM.
12232         (_start): Likewise.
12233         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12234         <bp-asm.h>.
12235         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12236         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12237         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12238         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12239         <bp-asm.h>.
12240         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12241         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12242         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12243         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12244         <bp-asm.h>.
12245         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12246         comments.
12247         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12248         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12249         <bp-asm.h>.
12250         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12251         FIXME comments.
12252         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12253         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12254         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12255         <bp-asm.h>.
12256         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12257         comment.
12258         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12259         and <bp-asm.h>.
12260         (strncmp): Don't use BP_SYM,
12261         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12262         <bp-asm.h>.
12263         (__mpn_sub_n): Don't use BP_SYM.
12264         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12265         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12266         and <bp-asm.h>.
12267         (__mpn_submul_1): Don't use BP_SYM.
12268         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12270         <bp-sym.h> and <bp-asm.h>.
12271         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12273         <bp-sym.h> and <bp-asm.h>.
12274         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12275         comment.
12277 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12280         Use ZK to minimize writes to Z.
12281         (sub_magnitudes): Simplify code a bit.
12282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12283         Use ZK to minimize writes to Z.
12284         (sub_magnitudes): Simplify code a bit.
12286 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12288         * csu/gmon-start.c: Add special exception to license text.
12290 2013-02-27  Richard Henderson  <rth@redhat.com>
12292         * scripts/config.guess: Update from config.git.
12293         * scripts/config.sub: Likewise.
12295 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12299         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12301         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12303         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12305         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12307 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12309         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12310         [$(build-shared = yes].
12312 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12315         (__mul): Reduce iterations for calculating mantissa.
12317         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12318         MPTWO.
12319         (__mpranred): Likewise.
12321         [BZ #15160]
12322         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12323         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12325 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12327         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12328         Define __attribute__.
12330 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12332         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12333         unused.
12334         * posix/regex_internal.h (__attribute): Remove.
12335         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12336         (re_string_context_at): Likewise.
12337         (bitset_not): Use __attribute__ and mark function as possibly
12338         unused.
12339         (bitset_merge): Likewise.
12340         (bitset_mask): Likewise.
12341         (re_string_char_size_at): Likewise.
12342         (re_string_wchar_at): Likewise.
12343         (re_string_elem_size_at): Likewise.
12345 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12347         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12348         code.
12349         (cc32): Likewise.
12351         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12352         (__acr): Likewise.
12353         (__cpy): Likewise.
12354         (norm): Likewise.
12355         (denorm): Likewise.
12356         (__dbl_mp): Likewise.
12357         (add_magnitudes): Likewise.
12358         (sub_magnitudes): Likewise.
12359         (__mul): Likewise.
12360         (__inv): Likewise.
12362         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12363         style.
12365         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12366         style.
12368         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12369         code.
12371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12372         up changes with default code.
12373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12374         Likewise.
12376 2013-02-24  Allan McRae  <allan@archlinux.org>
12378         * manual/socket.texi (The Internet Namespace): Order menu items
12379         to match that in the file.
12381         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12382         node listing of the info page menu.
12384 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12386         [BZ #13550]
12387         * sysdeps/i386/bp-asm.h: Remove file.
12388         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12389         (PARMS): Do not use macros from bp-asm.h.
12390         (S1): Likewise.
12391         (S2): Likewise.
12392         (SIZE): Likewise.
12393         (__mpn_add_n): Do not use BP_SYM
12394         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12395         "bp-asm.h".
12396         (PARMS): Do not use macros from bp-asm.h.
12397         (S1): Likewise.
12398         (SIZE): Likewise.
12399         (__mpn_addmul_1): Do not use BP_SYM
12400         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12401         "bp-asm.h".
12402         (PARMS): Do not use macros from bp-asm.h.
12403         (SIGMSK): Likewise.
12404         (_setjmp): Likewise.  Do not use BP_SYM.
12405         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12406         "bp-asm.h".
12407         (PARMS): Do not use macros from bp-asm.h.
12408         (SIGMSK): Likewise.
12409         (setjmp): Likewise.  Do not use BP_SYM.
12410         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12411         "bp-asm.h".
12412         (PARMS): Do not use macros from bp-asm.h.
12413         (__frexp): Do not use BP_SYM.
12414         (frexp): Likewise.
12415         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12416         "bp-asm.h".
12417         (PARMS): Do not use macros from bp-asm.h.
12418         (__frexpf): Do not use BP_SYM.
12419         (frexpf): Likewise.
12420         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12421         "bp-asm.h".
12422         (PARMS): Do not use macros from bp-asm.h.
12423         (__frexpl): Do not use BP_SYM.
12424         (frexpl): Likewise.
12425         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12426         "bp-asm.h".
12427         (PARMS): Do not use macros from bp-asm.h.
12428         (__remquo): Do not use BP_SYM.
12429         (remquo): Likewise.
12430         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12431         "bp-asm.h".
12432         (PARMS): Do not use macros from bp-asm.h.
12433         (__remquof): Do not use BP_SYM.
12434         (remquof): Likewise.
12435         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12436         "bp-asm.h".
12437         (PARMS): Do not use macros from bp-asm.h.
12438         (__remquol): Do not use BP_SYM.
12439         (remquol): Likewise.
12440         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12441         "bp-asm.h".
12442         (PARMS): Do not use macros from bp-asm.h.
12443         (DEST): Likewise.
12444         (SRC): Likewise.
12445         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12446         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12447         "bp-asm.h".
12448         (PARMS): Do not use macros from bp-asm.h.
12449         (strlen): Do not use BP_SYM.
12450         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12451         "bp-asm.h".
12452         (PARMS): Do not use macros from bp-asm.h.
12453         (S1): Likewise.
12454         (S2): Likewise.
12455         (SIZE): Likewise.
12456         (__mpn_add_n): Do not use BP_SYM.
12457         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12458         "bp-asm.h".
12459         (PARMS): Do not use macros from bp-asm.h.
12460         (S1): Likewise.
12461         (SIZE): Likewise.
12462         (__mpn_addmul_1): Do not use BP_SYM.
12463         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12464         weak_alias.
12465         (bzero): Likewise.
12466         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12467         "bp-asm.h".
12468         (PARMS): Do not use macros from bp-asm.h.
12469         (S): Likewise.
12470         (SIZE): Likewise.
12471         (__mpn_lshift): Do not use BP_SYM.
12472         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12473         "bp-asm.h".
12474         (PARMS): Do not use macros from bp-asm.h.
12475         (DEST): Likewise.
12476         (SRC): Likewise.
12477         (LEN): Likewise.
12478         (memcpy): Likewise.  Do not use BP_SYM.
12479         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12480         libc_hidden_def and weak_alias.
12481         (mempcpy): Do not use BP_SYM in weak_alias.
12482         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12483         "bp-asm.h".
12484         (PARMS): Do not use macros from bp-asm.h.
12485         (DEST): Likewise.
12486         (LEN): Likewise.
12487         [!BZERO_P] (CHR): Likewise.
12488         (memset): Likewise.  Do not use BP_SYM.
12489         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12490         "bp-asm.h".
12491         (PARMS): Do not use macros from bp-asm.h.
12492         (S1): Likewise.
12493         (SIZE): Likewise.
12494         (__mpn_mul_1): Do not use BP_SYM.
12495         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12496         "bp-asm.h".
12497         (PARMS): Do not use macros from bp-asm.h.
12498         (S): Likewise.
12499         (SIZE): Likewise.
12500         (__mpn_rshift): Do not use BP_SYM.
12501         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12502         "bp-asm.h".
12503         (PARMS): Do not use macros from bp-asm.h.
12504         (STR): Likewise.
12505         (CHR): Likewise.
12506         (strchr): Likewise.  Do not use BP_SYM.
12507         (index): Do not use BP_SYM in weak_alias.
12508         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12509         "bp-asm.h".
12510         (PARMS): Do not use macros from bp-asm.h.
12511         (DEST): Likewise.
12512         (SRC): Likewise.
12513         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12514         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12515         "bp-asm.h".
12516         (PARMS): Do not use macros from bp-asm.h.
12517         (strlen): Do not use BP_SYM.
12518         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12519         "bp-asm.h".
12520         (PARMS): Do not use macros from bp-asm.h.
12521         (S1): Likewise.
12522         (S2): Likewise.
12523         (SIZE): Likewise.
12524         (__mpn_sub_n): Do not use BP_SYM.
12525         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12526         "bp-asm.h".
12527         (PARMS): Do not use macros from bp-asm.h.
12528         (S1): Likewise.
12529         (SIZE): Likewise.
12530         (__mpn_submul_1): Do not use BP_SYM.
12531         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12532         "bp-asm.h".
12533         (PARMS): Do not use macros from bp-asm.h.
12534         (S1): Likewise.
12535         (S2): Likewise.
12536         (SIZE): Likewise.
12537         (__mpn_add_n): Do not use BP_SYM.
12538         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12539         weak_alias.
12540         (bzero): Likewise.
12541         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12542         "bp-asm.h".
12543         (PARMS): Do not use macros from bp-asm.h.
12544         (BLK2): Likewise.
12545         (LEN): Likewise.
12546         (memcmp): Do not use BP_SYM.
12547         (bcmp): Do not use BP_SYM in weak_alias.
12548         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12549         "bp-asm.h".
12550         (PARMS): Do not use macros from bp-asm.h.
12551         (DEST): Likewise.
12552         (SRC): Likewise.
12553         (LEN): Likewise.
12554         (memcpy): Likewise.  Do not use BP_SYM.
12555         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12556         "bp-asm.h".
12557         (PARMS): Do not use macros from bp-asm.h.
12558         (DEST): Likewise.
12559         (SRC): Likewise.
12560         (LEN): Likewise.
12561         (memmove): Likewise.  Do not use BP_SYM.
12562         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12563         "bp-asm.h".
12564         (PARMS): Do not use macros from bp-asm.h.
12565         (DEST): Likewise.
12566         (SRC): Likewise.
12567         (LEN): Likewise.
12568         (__mempcpy): Likewise.  Do not use BP_SYM.
12569         (mempcpy): Do not use BP_SYM in weak_alias.
12570         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12571         "bp-asm.h".
12572         (PARMS): Do not use macros from bp-asm.h.
12573         (DEST): Likewise.
12574         (LEN): Likewise.
12575         [!BZERO_P] (CHR): Likewise.
12576         (memset): Likewise.  Do not use BP_SYM.
12577         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12578         "bp-asm.h".
12579         (PARMS): Do not use macros from bp-asm.h.
12580         (STR2): Likewise.
12581         (strcmp): Do not use BP_SYM.
12582         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12583         "bp-asm.h".
12584         (PARMS): Do not use macros from bp-asm.h.
12585         (STR): Likewise.
12586         (DELIM): Likewise.
12587         [USE_AS_STRTOK_R] (SAVE): Likewise.
12588         (FUNCTION): Likewise.  Do not use BP_SYM.
12589         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12590         aliases.
12591         (strtok_r): Likewise.
12592         (__GI___strtok_r): Likewise.
12593         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12594         (PARMS): Do not use macros from bp-asm.h.
12595         (S): Likewise.
12596         (SIZE): Likewise.
12597         (__mpn_lshift): Do not use BP_SYM.
12598         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12599         (PARMS): Do not use macros from bp-asm.h.
12600         (STR): Likewise.
12601         (CHR): Likewise.
12602         (__memchr): Do not use BP_SYM.
12603         (memchr): Do not use BP_SYM in weak_alias.
12604         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12605         (PARMS): Do not use macros from bp-asm.h.
12606         (BLK2): Likewise.
12607         (LEN): Likewise.
12608         (memcmp): Do not use BP_SYM.
12609         (bcmp): Do not use BP_SYM in weak_alias.
12610         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12611         (PARMS): Do not use macros from bp-asm.h.
12612         (S1): Likewise.
12613         (SIZE): Likewise.
12614         (__mpn_mul_1): Do not use BP_SYM.
12615         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12616         "bp-asm.h".
12617         (PARMS): Do not use macros from bp-asm.h.
12618         (STR): Likewise.
12619         (CHR): Likewise.
12620         (__rawmemchr): Do not use BP_SYM.
12621         (rawmemchr): Do not use BP_SYM in weak_alias.
12622         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12623         (PARMS): Do not use macros from bp-asm.h.
12624         (S): Likewise.
12625         (SIZE): Likewise.
12626         (__mpn_rshift): Do not use BP_SYM.
12627         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12628         (PARMS): Do not use macros from bp-asm.h.
12629         (SIGMSK): Likewise.
12630         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12631         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12632         (_start): Do not use BP_SYM.
12633         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12634         (PARMS): Do not use macros from bp-asm.h.
12635         (DEST): Likewise.
12636         (SRC): Likewise.
12637         (__stpcpy): Likewise.  Do not use BP_SYM.
12638         (stpcpy): Do not use BP_SYM in weak_alias.
12639         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12640         "bp-asm.h".
12641         (PARMS): Do not use macros from bp-asm.h.
12642         (DEST): Likewise.
12643         (SRC): Likewise.
12644         (LEN): Likewise.
12645         (__stpncpy): Likewise.  Do not use BP_SYM.
12646         (stpncpy): Do not use BP_SYM in weak_alias.
12647         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12648         (PARMS): Do not use macros from bp-asm.h.
12649         (STR): Likewise.
12650         (CHR): Likewise.
12651         (strchr): Likewise.  Do not use BP_SYM.
12652         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12653         "bp-asm.h".
12654         (PARMS): Do not use macros from bp-asm.h.
12655         (STR): Likewise.
12656         (CHR): Likewise.
12657         (__strchrnul): Likewise.  Do not use BP_SYM.
12658         (strchrnul): Do not use BP_SYM in weak_alias.
12659         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12660         "bp-asm.h".
12661         (PARMS): Do not use macros from bp-asm.h.
12662         (STOP): Likewise.
12663         (strcspn): Do not use BP_SYM.
12664         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (STR): Likewise.
12668         (STOP): Likewise.
12669         (strpbrk): Likewise.  Do not use BP_SYM.
12670         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12671         "bp-asm.h".
12672         (PARMS): Do not use macros from bp-asm.h.
12673         (STR): Likewise.
12674         (CHR): Likewise.
12675         (strrchr): Likewise.  Do not use BP_SYM.
12676         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12677         (PARMS): Do not use macros from bp-asm.h.
12678         (SKIP): Likewise.
12679         (strspn): Do not use BP_SYM.
12680         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12681         (PARMS): Do not use macros from bp-asm.h.
12682         (STR): Likewise.
12683         (DELIM): Likewise.
12684         (SAVE): Likewise.
12685         (FUNCTION): Likewise.  Do not use BP_SYM.
12686         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12687         aliases.
12688         (strtok_r): Likewise.
12689         (__GI___strtok_r): Likewise.
12690         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12691         (PARMS): Do not use macros from bp-asm.h.
12692         (S1): Likewise.
12693         (S2): Likewise.
12694         (SIZE): Likewise.
12695         (__mpn_sub_n): Do not use BP_SYM.
12696         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12697         "bp-asm.h".
12698         (PARMS): Do not use macros from bp-asm.h.
12699         (S1): Likewise.
12700         (SIZE): Likewise.
12701         (__mpn_submul_1): Do not use BP_SYM.
12702         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12703         <bp-sym.h>.
12704         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12705         and <bp-asm.h>.
12706         (PARMS): Do not use macros from bp-asm.h.
12707         (FLAGS): Likewise.
12708         (PTID): Likewise.
12709         (TLS): Likewise.
12710         (CTID): Likewise.
12711         (__clone): Do not use BP_SYM.
12712         (clone): Do not use BP_SYM in weak_alias.
12713         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12714         and <bp-asm.h>.
12715         (PARMS): Do not use macros from bp-asm.h.
12716         (LEN): Likewise.
12717         (__mmap64): Do not use BP_SYM.
12718         (mmap64): Do not use BP_SYM in weak_alias.
12719         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12720         <bp-sym.h> and <bp-asm.h>.
12721         (PARMS): Do not use macros from bp-asm.h.
12722         (__posix_fadvise64_l64): Do not use BP_SYM.
12723         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12724         (PARMS): Do not use macros from bp-asm.h.
12725         (NSOPS): Likewise.
12726         (semtimedop): Do not use BP_SYM.
12727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12728         and <bp-asm.h>.
12730 2013-02-21  Allan McRae  <allan@archlinux.org>
12732         * manual/message.texi (Charset conversion in gettext):
12733         Move @end statement to beginning of line.
12735 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12738         static.
12739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12740         Likewise.
12742         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12743         (denorm): Likewise.
12744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12747 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12749         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12750         tail-call to the resolved function if pltexit isn't needed.
12752 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12755         or Y being zero as being unlikely.
12756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12757         Likewise.
12759 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12761         * manual/nss.texi (System Databases and Name Service Switch):
12762         Remove frobnicate @pxref.
12764 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12766         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12767         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12769 2013-02-20  Petr Machata  <pmachata@redhat.com>
12771         * elf/elf.h (R_ARM_TARGET1): New macro.
12772         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12773         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12774         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12775         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12776         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12777         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12778         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12779         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12780         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12781         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12782         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12783         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12784         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12785         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12786         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12787         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12788         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12789         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12790         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12791         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12792         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12793         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12794         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12795         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12796         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12797         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12798         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12799         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12800         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12801         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12802         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12803         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12804         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12805         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12806         (R_ARM_THM_GOT_BREL12): Likewise.
12807         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12808         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12809         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12810         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12811         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12812         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12813         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12814         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12815         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12817 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12819         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12820         __attribute_used__ to __attribute__ ((unused)).
12822 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12824         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12825         powerpc mpa.c.
12826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12827         comment formatting.
12828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12830 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12832         [BZ #13550]
12833         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12834         Remove macro.
12835         (ENTER): Remove both macro definitions.
12836         (LEAVE): Likewise.
12837         (CHECK_BOUNDS_LOW): Likewise.
12838         (CHECK_BOUNDS_HIGH): Likewise.
12839         (CHECK_BOUNDS_BOTH): Likewise.
12840         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12841         (RETURN_BOUNDED_POINTER): Likewise.
12842         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12843         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12844         (POP_ERRNO_LOCATION_RETURN): Likewise.
12845         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12847         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12848         macros.
12849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12850         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12851         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12852         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12853         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12854         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12855         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12856         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12857         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12858         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12859         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12860         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12861         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12862         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12863         removed macros.
12864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12865         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12866         macros.
12867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12868         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12869         * sysdeps/i386/i586/memset.S (memset): Likewise.
12870         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12871         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12872         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12873         macros.
12874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12875         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12876         Change uses of L(2) to L(out).
12877         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12878         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12879         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12880         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12881         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12882         removed macros.
12883         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12884         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12885         macros.
12886         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12887         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12888         (RETURN): Do not use macro LEAVE.
12889         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12890         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12891         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12892         * sysdeps/i386/i686/memset.S (memset): Likewise.
12893         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12894         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12895         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12896         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12897         Likewise.
12898         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12899         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12900         L(1_2) and L(1_3) into L(1).
12901         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12902         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12903         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12904         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12905         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12906         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12907         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12908         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12909         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12910         macros.
12911         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12912         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12913         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12914         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12915         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12916         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12917         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12918         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12919         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12920         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12921         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12922         * sysdeps/i386/strspn.S (strspn): Likewise.
12923         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12924         conditional code.
12925         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12926         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12927         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12928         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12929         L(1_3) into L(1_1).
12930         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12931         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12932         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12933         macros.
12934         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12936 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12938         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12939         macro.
12941 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12943         * math/atest-exp.c (exp_mpn): Remove ROUND.
12944         * math/atest-exp2.c (exp_mpn): Likewise.
12945         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12947         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12948         * stdlib/tst-tls-atexit-lib.c: Likewise.
12949         * stdlib/tst-tls-atexit.c: Likewise.
12951 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12953         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12954         and __attribute_alloc_size__.
12956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12958         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12959         __attribute_alloc_size__.
12960         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12961         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12963 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12965         * include/programs/xmalloc.h: New file.
12966         * catgets/gencat.c: Include it.
12967         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12968         * elf/pldd.c: Likewise.
12969         * iconv/iconv_charmap.c: Likewise.
12970         * iconv/iconvconfig.c: Likewise.
12971         * iconv/strtab.c: Likewise.
12972         * locale/programs/locale.c: Likewise.
12973         * locale/programs/localedef.h: Likewise.
12974         * locale/programs/simple-hash.c: Likewise.
12975         * nscd/nscd.h: Likewise.
12976         * nss/makedb.c: Likewise.
12977         * sysdeps/generic/ldconfig.h: Likewise.
12979 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12981         * Versions.def: Add GLIBC_2.18.
12982         * include/link.h (struct link_map): New member l_tls_dtor_count.
12983         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12984         (__call_tls_dtors): Likewise.
12985         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12986         __cxa_thread_atexit_impl.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12988         Likewise.
12989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12990         Likewise.
12991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12997         Likewise.
12998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12999         Likewise.
13000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13002         Likewise.
13003         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13004         (tests): Add test case tst-tls-atexit.
13005         (modules-names): Add shared library for tst-tls-atexit.
13006         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13007         (GLIBC_PRIVATE): Add __call_tls_dtors.
13008         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13009         for libstdc++.
13010         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13011         * stdlib/tst-tls-atexit.c: New test case.
13012         * stdlib/tst-tls-atexit-lib.c: New test case.
13014         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13016         * elf/Versions (ld): Add _dl_find_dso_for_object.
13017         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13018         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13019         (dl_open_worker): Use _dl_find_dso_for_object.
13020         * elf/dl-sym.c (do_sym): Likewise.
13021         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13023 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13025         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13026         Syntactic changes only.
13027         (_dl_runtime_profile): Do a tail-call to the resolved function.
13029 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13031         [BZ #13550]
13032         * sysdeps/x86_64/bp-asm.h: Remove file.
13033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13034         <bp-sym.h> and <bp-asm.h>.
13035         (__clone): Do not use BP_SYM.
13036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13037         <bp-sym.h> and <bp-asm.h>.
13038         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13039         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13040         "bp-asm.h".
13041         (_setjmp): Do not use BP_SYM.
13042         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13043         "bp-asm.h".
13044         (setjmp): Do not use BP_SYM.
13045         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13046         libc_hidden_def.
13047         (mempcpy): Do not use BP_SYM in weak_alias.
13048         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13049         "bp-asm.h".
13050         (strchr): Do not use BP_SYM.
13051         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13052         "bp-asm.h".
13053         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13054         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13055         (_start): Do not use BP_SYM.
13056         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13057         "bp-asm.h".
13058         (strcat): Do not use BP_SYM.
13059         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13060         "bp-asm.h".
13061         (STRCMP): Do not use BP_SYM.
13062         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13063         "bp-asm.h".
13064         (STRCPY): Do not use BP_SYM.
13065         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13066         "bp-asm.h".
13067         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13068         "bp-asm.h".
13069         (FUNCTION): Do not use BP_SYM.
13070         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13071         weak_alias.
13072         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13074 2013-02-17  Andreas Jaeger  <aj@suse.de>
13076         * time/Versions: Sort entries.
13077         * string/Versions: Likewise.
13078         * resolv/Versions: Likewise.
13079         * posix/Versions: Likewise.
13080         * iconv/Versions: Likewise.
13081         * elf/Versions: Likewise.
13082         * wcsmbs/Versions: Likewise.
13084 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13086         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13087         loop termination condition.
13089         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13090         variable to calculate EZ.
13091         (__sqr): Likewise.
13093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13094         the lower precision input.
13096 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #13550]
13099         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13100         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13101         (run-via-rtld-prefix): Do not handle %-bp tests.
13102         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13103         (all-object-suffixes): Remove .ob.
13104         (bppfx): Remove variable.
13105         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13106         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13107         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13108         [$(build-bounded) = yes] (libtype.ob): Likewise.
13109         * Makerules (elide-routines.ob): Remove variable.
13110         (do-tests-clean): Do not handle *-bp.out.
13111         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13112         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13113         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13114         (tests): Do not include $(tests-bp.out).
13115         (xtests): Do not include $(xtests-bp.out).
13116         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13117         [$(build-bounded) = yes] ($(addprefix
13118         $(objpfx),$(binaries-bounded))): Remove rule.
13119         ($(objpfx)%-bp.out): Remove rule.
13120         * config.make.in (build-bounded): Remove variable.
13121         * crypt/Makefile [$(build-bounded) = yes]
13122         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13123         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13124         append to variable.
13125         [$(build-bounded) = yes] (install-lib): Likewise.
13126         [$(build-bounded) = yes] (generated): Likewise.
13127         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13128         Remove rule.
13129         * intl/Makefile [$(build-bounded) = yes]
13130         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13131         * math/Makefile [$(build-bounded) = yes]
13132         ($(tests:%=$(objpfx)%-bp): Likewise.
13133         * misc/Makefile [$(build-bounded) = yes]
13134         ($(objpfx)tst-tsearch-bp): Likewise.
13135         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13136         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13137         Remove dependency.
13138         * string/Makefile (o-objects.ob): Remove variable.
13139         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13140         (CFLAGS-.ob): Remove variable.
13141         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13142         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13143         both definitions of variable.
13144         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13145         (ASFLAGS-.ob): Remove variable.
13147 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #13550]
13150         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13151         Remove __BOUNDED_POINTERS__ from condition.
13152         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13153         * string/bits/string2.h [!__NO_STRING_INLINES &&
13154         !__BOUNDED_POINTERS__]: Likewise.
13155         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13156         Likewise.
13157         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13158         Remove conditional code.
13159         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13160         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13161         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13162         condition.
13164         [BZ #13550]
13165         * csu/libc-start.c: Do not include <bp-sym.h>.
13166         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13167         * elf/dl-open.c: Do not include <bp-sym.h>.
13168         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13169         * math/fegetenv.c: Do not include <bp-sym.h>.
13170         (fegetenv): Do not use BP_SYM in versioned symbols.
13171         * nptl/sysdeps/pthread/bits/libc-lockP.h
13172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13173         <bp-sym.h>.
13174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13175         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13177         (__pthread_mutex_destroy): Likewise.
13178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13179         (__pthread_mutex_lock): Likewise.
13180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13181         (__pthread_mutex_trylock): Likewise.
13182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13183         (__pthread_mutex_unlock): Likewise.
13184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13185         (__pthread_mutexattr_init): Likewise.
13186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13187         (__pthread_mutexattr_destroy): Likewise.
13188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13189         (__pthread_mutexattr_settype): Likewise.
13190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13191         (__pthread_rwlock_init): Likewise.
13192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13193         (__pthread_rwlock_destroy): Likewise.
13194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13195         (__pthread_rwlock_rdlock): Likewise.
13196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13197         (__pthread_rwlock_tryrdlock): Likewise.
13198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13199         (__pthread_rwlock_wrlock): Likewise.
13200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13201         (__pthread_rwlock_trywrlock): Likewise.
13202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13203         (__pthread_rwlock_unlock): Likewise.
13204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13205         (__pthread_key_create): Likewise.
13206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13207         (__pthread_setspecific): Likewise.
13208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13209         (__pthread_getspecific): Likewise.
13210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13211         Likewise.
13212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13213         (_pthread_cleanup_push_defer): Likewise.
13214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13215         (_pthread_cleanup_pop_restore): Likewise.
13216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13217         (pthread_setcancelstate): Likewise.
13218         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13219         <bp-sym.h>.
13220         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13221         (memchr): Do not use BP_SYM in weak_alias.
13222         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13223         (fegetenv): Do not use BP_SYM in versioned symbols.
13224         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13225         (fesetenv): Do not use BP_SYM in versioned symbols.
13226         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13227         (feupdateenv): Do not use BP_SYM in versioned symbols.
13228         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13229         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13230         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13231         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13232         (open64): Do not use BP_SYM in weak_alias.
13233         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13234         (fegetenv): Do not use BP_SYM in versioned symbols.
13235         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13236         (fesetenv): Do not use BP_SYM in versioned symbols.
13237         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13238         (feupdateenv): Do not use BP_SYM in versioned symbols.
13239         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13240         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13241         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13242         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13243         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13244         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13246         <bp-sym.h>.
13247         (__libc_start_main): Do not use BP_SYM.
13249 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13252         redundant return line.
13253         (norm): Likewise.
13254         (denorm): Likewise.
13255         (dbl_mp): Likewise.
13256         (sub_magnitudes): Likewise.
13257         (__add): Likewise.
13258         (__sub): Likewise.
13259         (__mul): Likewise.
13260         (__inv): Likewise.
13261         (__dvd): Likewise.
13262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13263         (norm): Likewise.
13264         (denorm): Likewise.
13265         (dbl_mp): Likewise.
13266         (sub_magnitudes): Likewise.
13267         (__add): Likewise.
13268         (__sub): Likewise.
13269         (__mul): Likewise.
13270         (__inv): Likewise.
13271         (__dvd): Likewise.
13273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13274         instead of __mul.
13275         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13276         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13277         (cc32): Likewise.
13279         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13280         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13282         of __mul for squares.
13283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13284         function
13285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13286         Likewise.
13287         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13290 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13292         [BZ #13550]
13293         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13294         code.
13295         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13296         prototype or function definition.  Rename ubp_* variables and
13297         parameters.  Remove argv definitions conditional on
13298         [__BOUNDED_POINTERS__].
13299         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13300         * elf/dl-runtime.c (_dl_fixup): Likewise.
13301         * include/set-hooks.h (RUN_HOOK): Likewise.
13302         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13303         definition.
13304         * string/strcpy.c (strcpy): Do not use __unbounded.
13305         * sysdeps/generic/frame.h (struct layout): Likewise.
13306         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13307         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13308         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13309         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13310         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13311         (__backtrace): Likewise.
13312         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13313         use __ptrvalue.
13314         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13315         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13316         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13317         Likewise.
13318         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13319         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13322         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13323         Do not use __unbounded.
13324         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13325         Rename __unboundedrlimits parameter to rlimits in prototype.
13326         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13327         Do not use __unbounded.
13328         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13329         not use __ptrvalue.
13330         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13331         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13332         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13334         __ptrvalue or __unbounded.
13335         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13336         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13337         use __unbounded.
13338         (__new_msgctl): Do not use __ptrvalue.
13339         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13340         __unbounded.
13341         (__libc_msgrcv): Do not use __ptrvalue.
13342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13343         startup_info): Do not use __unbounded.
13344         (__libc_start_main): Likewise.  Rename ubp_* variables and
13345         parameters.  Remove argv definitions conditional on
13346         [__BOUNDED_POINTERS__].
13347         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13348         __ptrvalue.
13349         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13350         use __unbounded.
13351         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13352         or __ptrvalue.
13353         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13354         use __unbounded.
13355         (__new_shmctl): Do not use __ptrvalue.
13356         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13357         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13358         Likewise.
13359         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13360         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13361         (__libc_sigaction): Likewise.
13362         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13363         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13367 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13369         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13371         * string/mempcpy.c: Implement by calling memcpy.
13373 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13378         evaluation.
13380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13381         values in the mantissa.
13383         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13384         minimize writes to Z.
13385         (sub_magnitudes): Simplify code a bit.
13387 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13389         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13390         from the message.  The linker prefixes all warnings with that already.
13392 2013-02-12  Andreas Schwab  <schwab@suse.de>
13394         [BZ #15078]
13395         * posix/regexec.c (extend_buffers): Add parameter min_len.
13396         (check_matching): Pass minimum needed length.
13397         (clean_state_log_if_needed): Likewise.
13398         (get_subexp): Likewise.
13399         * posix/Makefile (tests): Add bug-regex34.
13400         (bug-regex34-ENV): Define.
13401         * posix/bug-regex34.c: New file.
13403         [BZ #11561]
13404         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13405         elements compare against the byte sequence of it, not its name.
13406         * posix/Makefile (tests): Add bug-regex35.
13407         (bug-regex35-ENV): Define.
13408         * posix/bug-regex35.c: New file.
13410 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13412         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13413         comment.
13414         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13415         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13416         (CHECK_EOL): Add undef.
13418 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13420         * bits/stdlib-bsearch.h: New file.
13421         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13422         * stdlib/stdlib.h: Likewise.
13424 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13426         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13427         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13428         declaration.
13429         * manual/search.texi (Array Search Function): Add missing const in
13430         lfind prototype.
13431         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13432         declaration to use rlim_t.
13433         (Basic Scheduling Functions): Remove erroneous const from
13434         sched_getparam prototype.  Remove erroneous * from
13435         sched_get_priority_max and sched_get_priority_min prototypes.
13436         (Resource Usage): Fix summary @comment on vtimes to refer to
13437         sys/vtimes.h rather than vtimes.h.
13438         Add missing *s in vtimes prototype.
13439         (Limits on Resources): Fix ulimit prototype to return long int.
13440         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13441         prototypes to use long int rather than double.
13442         (BSD Random): Fix initstate and setstate to use char *, not void *.
13443         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13444         prototype to make second argument 'struct aiocb64 *const[]'.
13445         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13446         (Status of AIO Operations): Remove erroneous const in aio_return and
13447         aio_return64 prototypes.
13448         (Synchronizing I/O): Fix sync prototype to return void.
13449         * manual/startup.texi (Suboptions): Remove an erroneous const in
13450         getsubopt prototype.
13451         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13452         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13453         use size_t rather than int.
13454         (Scanning All Users): Likewise for getpwent_r.
13455         (Setting Groups): Add missing const to setgroups prototype.
13456         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13457         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13458         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13459         'const void *' rather than 'const char *'.
13460         (Host Address Functions): Likewise for inet_ntop.
13461         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13462         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13463         ssize_t for return value.
13464         (Sending Data): Likewise for send, sendto, sendmsg.
13465         (Socket Option Functions): Add a missing const in setsockopt prototype.
13466         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13467         use wchar_t for the argument.
13468         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13469         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13470         take no arguments.
13471         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13472         double/float/long double for second argument.
13473         Fix return types of significand, significandf, significandl.
13474         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13475         argument in fchmod prototype.
13476         (File Owner): Use uid_t and gid_t in fchown prototype.
13477         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13478         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13479         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13480         use 'const struct dirent **' as argument types to CMP function pointer
13481         argument.
13482         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13483         (File Times): Fix summary magic @comment for struct utimbuf and utime
13484         to refer to utime.h, not time.h.
13485         * manual/string.texi (Argz Functions): Add missing const in
13486         argz_extract and argz_next prototypes.
13487         (Finding Tokens in a String): Likewise for basename.
13488         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13489         (Copying and Concatenation): Fix typo in wmemmove prototype.
13490         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13491         (Signal Stack): Remove erroneous const in sigstack prototype.
13492         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13493         prototype.
13494         (Simple Calendar Time): Likewise for stime.
13495         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13496         prototype.
13497         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13498         say sys/sysctl.h instead.
13499         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13500         and vsyslog prototypes.
13502 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13504         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13505         Remove.
13507 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13509         * misc/sys/mman.h: Fix typo in mremap comment.
13511 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13513         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13514         the '\0' terminator.
13516 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13518         [BZ #13550]
13519         * debug/segfault.c: Don't include <bp-checks.h>.
13520         * sysdeps/generic/bp-checks.h: Remove file.
13521         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13522         (__GETDENTS): Don't use CHECK_N.
13523         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13524         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13525         (__getgroups): Don't use CHECK_N.
13526         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13527         (setgroups): Don't use CHECK_N.
13528         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13529         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13530         (__libc_msgrcv): Don't use CHECK_N.
13531         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13532         (__libc_msgsnd): Don't use CHECK_N.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13534         <bp-checks.h>.
13535         (__libc_pread): Don't use CHECK_N.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13537         include <bp-checks.h>.
13538         (__libc_pread64): Don't use CHECK_N.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13540         include <bp-checks.h>.
13541         (__libc_pwrite): Don't use CHECK_N.
13542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13543         include <bp-checks.h>.
13544         (__libc_pwrite64): Don't use CHECK_N.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13546         <bp-checks.h>.
13547         (__libc_pread): Don't use CHECK_N.
13548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13549         include <bp-checks.h>.
13550         (__libc_pread64): Don't use CHECK_N.
13551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13552         include <bp-checks.h>.
13553         (__libc_pwrite): Don't use CHECK_N.
13554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13555         include <bp-checks.h>.
13556         (__libc_pwrite64): Don't use CHECK_N.
13557         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13558         (do_pread): Don't use CHECK_N.
13559         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13560         (do_pread64): Don't use CHECK_N.
13561         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13562         (do_pwrite): Don't use CHECK_N.
13563         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13564         (do_pwrite64): Don't use CHECK_N.
13565         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13566         (__libc_readv): Don't use CHECK_N.
13567         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13568         (semop): Don't use CHECK_N.
13569         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13570         <bp-checks.h>.
13571         (semtimedop): Don't use CHECK_N.
13572         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13573         (__libc_pread): Don't use CHECK_N.
13574         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13575         <bp-checks.h>.
13576         (__libc_pread64): Don't use CHECK_N.
13577         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13578         <bp-checks.h>.
13579         (__libc_pwrite): Don't use CHECK_N.
13580         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13581         <bp-checks.h>.
13582         (__libc_pwrite64): Don't use CHECK_N.
13583         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13584         <bp-checks.h>.
13585         (__libc_msgrcv): Don't use CHECK_N.
13586         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13587         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13588         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13589         (__libc_writev): Don't use CHECK_N.
13591 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13593         * string/strcpy.c: Removed unused variable.
13595         * Makeconfig (+sysdep-includes): Define with := rather than =.
13596         Use an existing include/ subdir of each sysdeps dir before it.
13598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13600         * nscd/connection.c (register_traced_file): Comment function.
13601         [HAVE_INOTIFY] (union __inev): Define.
13602         [HAVE_INOTIFY] (inotify_check_files): New function.
13603         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13604         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13605         clear_db_cache.
13606         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13608 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13610         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13611         loaded if not already and that a failure is permanent.
13613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13615         [BZ #15006]
13616         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13617         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13619 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13621         [BZ #13550]
13622         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13623         (CHECK_1_NULL_OK): Likewise.
13624         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13625         (__fxstat): Do not use CHECK_1.
13626         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13627         <bp-checks.h>.
13628         (___fxstat64): Do not use CHECK_1.
13629         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13630         <bp-checks.h>.
13631         (__fxstatat): Do not use CHECK_1.
13632         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13633         <bp-checks.h>.
13634         (__fxstatat64): Do not use CHECK_1.
13635         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13636         <bp-checks.h>.
13637         (__fxstat): Do not use CHECK_1.
13638         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13639         <bp-checks.h>.
13640         (__fxstatat): Do not use CHECK_1.
13641         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13642         <bp-checks.h>.
13643         (__getresgid): Do not use CHECK_1.
13644         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13645         <bp-checks.h>.
13646         (__getresuid): Do not use CHECK_1.
13647         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13648         <bp-checks.h>.
13649         (__lxstat): Do not use CHECK_1.
13650         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13651         <bp-checks.h>.
13652         (__old_msgctl): Do not use CHECK_1.
13653         (__new_msgctl): Likewise.
13654         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13655         <bp-checks.h>.
13656         (__new_setrlimit): Do not use CHECK_1.
13657         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13658         <bp-checks.h>.
13659         (__old_shmctl): Do not use CHECK_1.
13660         (__new_shmctl): Likewise.
13661         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13662         <bp-checks.h>.
13663         (__xstat): Do not use CHECK_1.
13664         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13665         (__lxstat): Do not use CHECK_1.
13666         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13667         <bp-checks.h>.
13668         (___lxstat64): Do not use CHECK_1.
13669         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13670         (__old_msgctl): Do not use CHECK_1.
13671         (__new_msgctl): Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13673         <bp-checks.h>.
13674         (__gettimeofday): Do not use CHECK_1.
13675         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13676         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13677         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13678         <bp-checks.h>.
13679         (__gettimeofday): Do not use CHECK_1.
13680         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13681         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13682         (__new_shmctl): Do not use CHECK_1.
13683         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13684         <bp-checks.h>.
13685         (do_sigtimedwait): Do not use CHECK_1.
13686         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13687         <bp-checks.h>.
13688         (do_sigwaitinfo): Do not use CHECK_1.
13689         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13690         <bp-checks.h>.
13691         (msgctl): Do not use CHECK_1.
13692         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13693         <bp-checks.h>.
13694         (shmctl): Do not use CHECK_1.
13695         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13696         (ustat): Do not use CHECK_1.
13697         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13698         <bp-checks.h>.
13699         (__fxstat): Do not use CHECK_1.
13700         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13701         <bp-checks.h>.
13702         (__fxstatat): Do not use CHECK_1.
13703         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13704         <bp-checks.h>.
13705         (__lxstat): Do not use CHECK_1.
13706         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13707         <bp-checks.h>.
13708         (__xstat): Do not use CHECK_1.
13709         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13710         (__xstat): Do not use CHECK_1.
13711         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13712         (___xstat64): Do not use CHECK_1.
13714         [BZ #13550]
13715         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13716         definitions.
13717         (CHECK_BOUNDS_HIGH): Likewise.
13718         * string/strcpy.c: Do not include <bp-checks.h>.
13719         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13721 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13723         * nscd/nscd-client.h (__nscd_drop_map_ref):
13724         Add __attribute__ ((unused)).
13725         * nis/nss-nisplus.h (niserr2nss): Likewise.
13727         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13728         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13730         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13731         Remove inline keyword.
13732         * include/rounding-mode.h (round_away): Likewise.
13733         * libio/wfileops.c (adjust_wide_data): Likewise.
13734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13735         (__m128i_strloadu_tolower): Likewise.
13736         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13737         (__m128i_strloadu_tolower): Likewise.
13738         * time/mktime.c (ydhms_diff): Likewise.
13739         * locale/elem-hash.h (elem_hash): Likewise.
13740         * locale/setlocale.c (setdata): Likewise.
13741         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13742         (re_string_wchar_at): Likewise.
13743         (bitset_not, bitset_merge, bitset_mask): Likewise.
13744         [!(__GNUC__ > 3)] (inline): Remove macro.
13745         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13746         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13747         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13748         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13749         * string/memcmp.c (memcmp_bytes): Likewise.
13750         * locale/programs/locarchive.c (compute_hashval): Likewise.
13751         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13752         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13753         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13754         * nss/getent.c (print_rpc, print_protocols): Likewise.
13755         (print_passwd, print_group, print_aliases): Likewise.
13756         * nis/nss-nisplus.h (niserr2nss): Likewise.
13757         * nscd/connections.c (restart_p): Likewise.
13758         Change return type to bool.
13760 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13762         * Makeconfig (all-Depend-files): Add existing
13763         $(sorted-subdirs:=/Depend) files.
13764         (all-subdirs): Remove nss.
13765         * sysdeps/unix/inet/Subdirs: Add it here instead.
13766         * hesiod/Depend: New file.
13768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13769         instead of calling alloca.
13771         * io/lseek.c (__lseek): Rename to __libc_lseek.
13772         Define __lseek as an alias.
13774         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13776 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13778         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13779         else clause and remove check for non-standard endianness.
13781 2013-02-04  David S. Miller  <davem@davemloft.net>
13783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13785 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13787         [BZ #13550]
13788         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13789         (__ubp_memchr): Remove prototype.
13790         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13791         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13792         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13793         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13794         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13795         Remove alias.
13796         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13797         (__ubp_memchr): Likewise.
13798         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13799         (__ubp_memchr): Likewise.
13800         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13801         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13802         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13803         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13804         CHECK_STRING.
13805         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13806         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13807         (__getcwd): Do not use CHECK_STRING.
13808         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13809         <bp-checks.h>.
13810         (__real_chown): Do not use CHECK_STRING.
13811         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13812         <bp-checks.h>.
13813         (fchownat): Do not use CHECK_STRING.
13814         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13815         CHECK_STRING.
13816         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13817         <bp-checks.h>.
13818         (__lchown): Do not use CHECK_STRING.
13819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13821         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13822         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13824         include <bp-checks.h>.
13825         (truncate64): Do not use CHECK_STRING.
13826         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13827         <bp-checks.h>.
13828         (__real_chown): Do not use CHECK_STRING.
13829         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13830         <bp-checks.h>.
13831         (__lchown): Do not use CHECK_STRING.
13832         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13833         <bp-checks.h>.
13834         (__chown): Do not use CHECK_STRING.
13835         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13836         <bp-checks.h>.
13837         (truncate64): Do not use CHECK_STRING.
13838         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13839         Likewise.
13840         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13841         (__xmknod): Do not use CHECK_STRING.
13842         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13843         <bp-checks.h>.
13844         (__xmknodat): Do not use CHECK_STRING.
13845         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13846         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13848 2013-02-04  Andreas Schwab  <schwab@suse.de>
13850         [BZ #14142]
13851         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13852         * include/netdb.h: Likewise for h_errno.
13853         * elf/tst-stackguard1.c: Include <tls.h>.
13855 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13857         * elf/link.h (struct link_map): Extend the l_addr comment.
13858         * include/link.h (struct link_map): Likewise.
13860 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13862         [BZ #13550]
13863         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13864         (BOUNDED_1): Remove macro.
13865         * debug/backtrace.c: Don't include <bp-checks.h>.
13866         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13867         (__backtrace): Likewise.
13868         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13869         <bp-checks.h>.
13870         (__backtrace): Don't use BOUNDED_1.
13871         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13872         <bp-checks.h>.
13873         (__backtrace): Don't use BOUNDED_1.
13874         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13875         (__backtrace): Don't use BOUNDED_1.
13876         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13877         (shmat): Don't use BOUNDED_N.
13879 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13881         [BZ #13550]
13882         * sysdeps/generic/bp-start.h: Remove file.
13883         * csu/libc-start.c: Don't include <bp-start.h>.
13884         (LIBC_START_MAIN): Set up __environ directly instead of using
13885         INIT_ARGV_and_ENVIRON.
13886         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13887         <bp-start.h>.
13889         [BZ #13550]
13890         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13891         definitions.
13892         (CHECK_FCNTL): Likewise.
13893         (CHECK_N_PAGES): Likewise.
13895         [BZ #13550]
13896         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13897         definitions.
13898         (CHECK_SIGSET_NULL_OK): Likewise.
13899         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13900         <bp-checks.h>.
13901         (sigpending): Don't use CHECK_SIGSET.
13902         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13903         <bp-checks.h>.
13904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13905         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13906         <bp-checks.h>.
13907         (do_sigsuspend): Don't use CHECK_SIGSET.
13908         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13909         use CHECK_SIGSET.
13910         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13911         (do_sigwait): Don't use CHECK_SIGSET.
13912         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13913         use CHECK_SIGSET.
13914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13915         include <bp-checks.h>.
13916         (sigpending): Don't use CHECK_SIGSET.
13917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13918         include <bp-checks.h>.
13919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13920         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13921         <bp-checks.h>.
13922         (sigpending): Don't use CHECK_SIGSET.
13923         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13924         <bp-checks.h>.
13925         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13927         [BZ #13550]
13928         * sysdeps/generic/bp-semctl.h: Remove file.
13929         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13930         <bp-checks.h> and <bp-semctl.h>.
13931         (__old_semctl): Don't use CHECK_SEMCTL.
13932         (__new_semctl): Likewise.
13933         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13934         and <bp-semctl.h>.
13935         (__old_semctl): Don't use CHECK_SEMCTL.
13936         (__new_semctl): Likewise.
13937         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13938         <bp-checks.h> and <bp-semctl.h>.
13939         (__old_semctl): Don't use CHECK_SEMCTL.
13940         (__new_semctl): Likewise.
13941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13942         <bp-checks.h> and <bp-semctl.h>.
13943         (semctl): Don't use CHECK_SEMCTL.
13945         [BZ #13550]
13946         * Makerules (elide-bp-thunks): Remove variable.
13947         (elide-routines.oS): Don't use $(elide-bp-thunks).
13948         (elide-routines.os): Likewise.
13949         (elide-routines.o): Likewise.
13950         (elide-routines.op): Likewise.
13951         (elide-routines.og): Likewise.
13952         (objects): Don't use $(bp-thunks).
13953         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13954         include.
13955         (common-generated): Do not add s-proto-bp.d.
13956         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13957         (int): Likewise.
13958         (typ): Likewise.
13959         Do not generate makefile rules for bounded-pointer thunks.
13960         * sysdeps/generic/bp-thunks.h: Remove file.
13961         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13962         * sysdeps/unix/s-proto-bp.S: Likewise.
13964         [BZ #15062]
13965         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13966         parts of result separately when argument is not close to line from
13967         -i to i and one part of argument is small.
13968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13970         * math/libm-test.inc (cacos_test): Add more tests.
13971         (casin_test): Likewise.
13972         (casinh_test): Likewise.
13973         * sysdeps/i386/fpu/libm-test-ulps: Update.
13974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13976 2013-01-31  David S. Miller  <davem@davemloft.net>
13978         * po/de.po: Update from translation team.
13980 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13982         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13984 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13986         * configure.in (_AC_PROG_CC_C89): New definition.
13987         * configure: Regenerate.
13989         * configure.in (AC_PROG_CPP): New definition.
13990         * configure: Regenerate.
13992 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13994         * debug/tst-backtrace.h: New file.
13995         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13996         (ret): Remove variable.
13997         (x): Likewise.
13998         (FAIL): Remove macro.
13999         (NO_INLINE): Likewise.
14000         (fn1): Use match function instead of strstr.
14001         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14002         (ret): Remove variable.
14003         (x): Likewise.
14004         (FAIL): Remove macro.
14005         (NO_INLINE): Likewise.
14006         (fn): Use match function instead of strstr.
14007         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14008         (ret): Remove variable.
14009         (x): Likewise.
14010         (FAIL): Remove macro.
14011         (NO_INLINE): Likewise.
14012         (handle_signal): Use match function instead of strstr.
14013         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14014         (ret): Remove variable.
14015         (x): Likewise.
14016         (FAIL): Remove macro.
14017         (NO_INLINE): Likewise.
14018         (handle_signal): Use match function instead of strstr.
14020 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14022         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14024 2013-01-23  David S. Miller  <davem@davemloft.net>
14026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14027         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14028         argument of CAS if possible.
14029         * sysdeps/sparc/sparc64/bits/atomic.h
14030         (__arch_compare_and_exchange_val_32_acq): Likewise.
14031         (__arch_compare_and_exchange_val_64_acq): Likewise.
14033 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14035         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14036         * sysdeps/posix/ulimit.c: ... this.
14037         Include <limits.h>.
14038         * sysdeps/unix/bsd/ulimit.c: Remove file.
14040 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14042         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14043         (LDFLAGS-tst-array5): Likewise.
14045 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14047         [BZ #15036]
14048         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14049         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14050         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14051         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14053 2013-01-21  David S. Miller  <davem@davemloft.net>
14055         * sysdeps/sparc/backtrace.c: New file.
14056         * sysdeps/sparc/sparc32/backtrace.h: New file.
14057         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14058         * sysdeps/sparc/sparc64/backtrace.h: New file.
14059         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14060         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14061         -funwind-tables.
14063 2013-01-21  Andreas Schwab  <schwab@suse.de>
14065         [BZ #15020]
14066         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14067         closed its stdout.
14069 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14072         "mpa2.h".
14073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14075 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14076             Mark Mitchell  <mark@codesourcery.com>
14077             Tom de Vries  <tom@codesourcery.com>
14078             Paul Pluzhnikov  <ppluzhnikov@google.com>
14080         * debug/tst-backtrace2.c: New file.
14081         * debug/tst-backtrace3.c: Likewise.
14082         * debug/tst-backtrace4.c: Likewise.
14083         * debug/tst-backtrace5.c: Likewise.
14084         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14085         (CFLAGS-tst-backtrace3.c): Likewise.
14086         (CFLAGS-tst-backtrace4.c): Likewise.
14087         (CFLAGS-tst-backtrace5.c): Likewise.
14088         (LDFLAGS-tst-backtrace2): Likewise.
14089         (LDFLAGS-tst-backtrace3): Likewise.
14090         (LDFLAGS-tst-backtrace4): Likewise.
14091         (LDFLAGS-tst-backtrace5): Likewise.
14092         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14093         tst-backtrace4 and tst-backtrace5.
14095 2013-01-18  Anton Blanchard  <anton@samba.org>
14096             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14098         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14099         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14101         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14103         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14104         "+r" and remove output regs list as redundant.  Add explicit inline
14105         asm to specify register of return val to work around compiler codegen
14106         bug.  Remove (int) cast on return value.  Add return type parameter to
14107         use in macro so that this macro does not truncate return value for
14108         64-bit values.
14109         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14110         pass to INTERNAL_VSYSCALL_NCS.
14111         (INLINE_VSYSCALL): Add 'long int' as return type to
14112         INTERNAL_VSYSCALL_NCS macro invocation.
14113         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14114         INTERNAL_VSYSCALL_NCS macro invocation.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14117 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14119         [BZ #14496]
14120         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14121         Fix application of SIMD FP exception mask.
14123         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14124         mp_no from a power of two.
14125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14126         __mpexp_twomm1.  Use __pow_mp.
14128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14129         multiplication.
14131 2013-01-17  David S. Miller  <davem@davemloft.net>
14133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14135 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14137         [BZ #15023]
14138         * include/complex.h: Condition contents on [!_COMPLEX_H].
14139         (__kernel_casinhf): New prototype.
14140         (__kernel_casinh): Likewise.
14141         (__kernel_casinhl): Likewise.
14142         * math/Makefile (libm_calls): Add k_casinh.
14143         * math/k_casinh.c: New file.
14144         * math/k_casinhf.c: Likewise.
14145         * math/k_casinhl.c: Likewise.
14146         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14147         finite nonzero arguments.
14148         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14149         finite nonzero arguments.
14150         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14151         finite nonzero arguments.
14152         * math/s_casinh.c: Do not include <float.h>.
14153         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14154         * math/s_casinhf.c: Do not include <float.h>.
14155         (__casinhf): Move code for finite nonzero arguments to
14156         k_casinhf.c.
14157         * math/s_casinhl.c: Do not include <float.h>.
14158         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14159         redefine.
14160         (__casinhl): Move code for finite nonzero arguments to
14161         k_casinhl.c.
14162         * math/libm-test.inc (cacos_test): Add more tests.
14163         * sysdeps/i386/fpu/libm-test-ulps: Update.
14164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14166 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14168         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14169         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14170         [!HAVE_MREMAP]: Remove [defined linux] case.
14171         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14173 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14175         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14177 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14179         * elf/elf.h (R_386_SIZE32): New relocation.
14180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14181         R_386_SIZE32.
14182         (elf_machine_rela): Likewise.
14183         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14184         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14186 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14188         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14189         (FP_FAST_FMA): Do not define.
14190         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14191         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14192         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14193         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14194         !_SOFT_FLOAT]: Likewise.
14195         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14196         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14197         value.
14198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14199         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14200         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14202         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14203         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14204         file.
14206 2013-01-16  Andreas Schwab  <schwab@suse.de>
14208         [BZ #14327]
14209         * include/stdlib.h (__mktemp): Add declaration.
14210         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14211         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14213 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14215         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14216         definitions.
14217         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14218         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14219         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14220         definitions here.
14221         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14222         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14223         definitions.
14224         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14225         and ONE.
14226         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14227         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14229         definitions.
14230         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14231         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14232         definitions.
14233         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14235         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14237 2013-01-15  David S. Miller  <davem@davemloft.net>
14239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14240         trunc{,f} to libm-sysdep_routes.
14241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14243         file.
14244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14246         file.
14247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14248         file.
14249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14251         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14252         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14253         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14254         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14255         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14256         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14259         nearbyint{,f} to libm-sysdep_routes.
14260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14262         New file.
14263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14264         file.
14265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14266         New file.
14267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14268         file.
14269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14272         file.
14273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14274         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14275         file.
14276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14277         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14278         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14280         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14281         libc_feholdexcept and libc_fesetenv.
14283 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14285         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14287 2013-01-14  David S. Miller  <davem@davemloft.net>
14289         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14290         (SPARC_ASM_VIS2_IFUNC): Likewise.
14291         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14293         use of 'siam' instruction.
14294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14295         Likewise.
14296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14297         Likewise.
14298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14299         Likewise.
14300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14305         file.
14306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14307         file.
14308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14309         file.
14310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14311         file.
14312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14317         new VIS2 routines.
14318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14321         Likewise.
14322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14327         routines to libm-sysdep_routines.
14328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14331         fdim/fdimf to libm-sysdep_routines.
14332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14333         file.
14334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14336         file.
14337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14340         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14341         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14342         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14343         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14345 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14347         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14348         to optimize copies.
14350         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14355         local variable MPTWO.
14356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14357         Likewise.
14359 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14361         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14362         GLOB_NOESCAPE.
14364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14366         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14368 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14370         * manual/pattern.texi (glob_t): Document gl_flags.
14371         (glob64_t): Likewise.
14373 2013-01-11  David S. Miller  <davem@davemloft.net>
14375         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14376         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14377         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14378         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14379         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14380         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14381         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14382         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14383         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14384         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14385         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14386         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14387         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14390         sparc V9 rather than using V8 code.
14391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14394         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14395         Move to...
14396         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14397         Here.
14399 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14401         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14402         not in the main loop.
14403         * configure: Regenerated.
14405 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14407         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14408         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14409         to just #else.
14410         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14411         [!__GLIBC_HAVE_LONG_LONG] case.
14412         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14413         condition to just #else.
14414         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14415         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14416         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14417         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14418         unconditional.
14419         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14420         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14421         #elif condition to just #else.
14422         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14423         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14424         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14425         #elif condition to just #else.
14427 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14429         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14430         (EF_MIPS_ARCH_64): Fix value.
14431         (EF_MIPS_ARCH_32R2): New.
14432         (EF_MIPS_ARCH_64R2): New.
14434 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14436         * Makeconfig (+link-pie-before-libc): New.
14437         (+link-pie-after-libc): Likewise.
14438         (+link-pie-tests): Likewise.
14439         (+link-pie): Rewritten.
14440         (link-before-libc): Remove $(config-LDFLAGS).
14441         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14442         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14443         (config-LDFLAGS): Renamed to ...
14444         (rtld-LDFLAGS): This.
14445         (rtld-tests-LDFLAGS): New macro.
14446         (link-libc-rpath-link): Likewise.
14447         (link-libc-tests-rpath-link): Likewise.
14448         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14449         (link-libc): Prepand $(link-libc-rpath-link).
14450         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14451         (test-program-prefix): New macro.
14452         (test-via-rtld-prefix): Likewise.
14453         (test-program-cmd): Likewise.
14454         (host-test-program-cmd): Likewise.
14455         * Makefile ($(common-objpfx)testrun.sh): Replace
14456         $(run-program-prefix) with $(test-program-prefix).
14457         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14458         $(rtld-LDFLAGS).
14459         ($(common-objpfx)shlib.lds): Likewise.
14460         (build-module-helper): Likewise.
14461         ($(common-objpfx)format.lds): Likewise.
14462         * Rules (binaries-pie-tests): New.
14463         (binaries-pie-notests): Likewise.
14464         (binaries-pie): Rewritten.
14465         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14466         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14467         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14468         (make-test-out): Replace $(host-built-program-cmd) with
14469         $(host-test-program-cmd).
14470         * config.make.in (build-hardcoded-path-in-tests): New variable.
14471         * configure.in (--enable-hardcoded-path-in-tests): New configure
14472         option.
14473         (hardcoded_path_in_tests): New AC_SUBST.
14474         * configure: Regenerated.
14475         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14476         $(built-program-cmd) with $(test-program-cmd).
14477         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14478         (test_program_cmd): This.
14479         * elf/Makefile ($(objpfx)order.out): Run test with
14480         $(test-program-prefix).
14481         ($(objpfx)order2.out): Likewise.
14482         ($(objpfx)tst-initorder.out): Likewise.
14483         ($(objpfx)tst-initorder2.out): Likewise.
14484         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14485         $(test-program-cmd).
14486         ($(objpfx)tst-array1-static.out): Likewise.
14487         ($(objpfx)tst-array2.out): Likewise.
14488         ($(objpfx)tst-array3.out): Likewise.
14489         ($(objpfx)tst-array4.out): Likewise.
14490         ($(objpfx)tst-array5.out): Likewise.
14491         ($(objpfx)tst-array5-static.out): Likewise.
14492         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14493         $(test-program-cmd).
14494         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14495         $(run-program-prefix) with $(test-program-prefix).
14496         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14497         (test_program_prefix): This.
14498         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14499         $(run-program-prefix) with $(test-program-prefix).
14500         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14501         (test_program_prefix): This.
14502         * iconvdata/tst-tables.sh: Likewise.
14503         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14504         $(run-program-prefix) with $(test-program-prefix).
14505         ($(objpfx)tst-translit.out): Likewise.
14506         ($(objpfx)tst-gettext2.out): Likewise.
14507         ($(objpfx)tst-gettext4.out): Likewise.
14508         ($(objpfx)tst-gettext6.out): Likewise.
14509         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14510         (test_program_prefix): This.
14511         * intl/tst-gettext2.sh: Likewise.
14512         * intl/tst-gettext4.sh  Likewise.
14513         * intl/tst-gettext6.sh: Likewise.
14514         * intl/tst-translit.sh: Likewise.
14515         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14516         with $(test-program-cmd).
14517         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14518         $(run-program-prefix) with $(test-program-prefix).
14519         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14520         (test_program_prefix): This.
14521         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14522         $(run-program-prefix) with $(test-program-prefix).
14523         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14524         (test_program_prefix): This.
14525         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14526         * posix/Makefile ($(objpfx)globtest.out): Replace
14527         $(run-via-rtld-prefix) and $(test-wrapper) with
14528         $(test-program-prefix) and $(test-via-rtld-prefix).
14529         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14530         $(test-program-prefix).
14531         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14532         $(host-test-program-cmd).
14533         (tst-spawn-ARGS): Likewise.
14534         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14535         $(test-program-prefix).
14536         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14537         (test_via_rtld_prefix): This.
14538         (test_wrapper): Renamed to ...
14539         (test_program_prefix): This.
14540         (run_program_prefix): Replaced by test_program_prefix.
14541         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14542         (test_program_prefix): This.
14543         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14544         with $(host-test-program-cmd).
14545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14546         $(run-program-prefix) with $(test-program-prefix).
14547         ($(objpfx)tst-printf.out): Likewise.
14548         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14549         $(test-program-cmd).
14550         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14551         (test_program_prefix): This.
14552         * stdio-common/tst-unbputc.sh: Likewise.
14553         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14554         $(run-program-prefix) with $(test-program-prefix).
14555         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14556         (test_program_prefix): This.
14557         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14558         $(built-program-cmd) with $(test-program-cmd).
14560 2013-01-11  Andreas Jaeger  <aj@suse.de>
14562         [BZ #15003]
14563         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14564         value. Sync with Linux 3.7.
14566 2013-01-10  David S. Miller  <davem@davemloft.net>
14568         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14569         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14570         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14572 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14574         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14575         never set.
14576         * configure: Regenerated.
14578 2013-01-10  David S. Miller  <davem@davemloft.net>
14580         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14581         sparc V9 rather than using V8 code.
14582         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14583         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14585 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14587         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14588         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14589         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14590         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14591         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14592         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14593         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14594         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14595         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14596         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14597         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14598         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14599         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14600         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14601         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14602         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14603         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14604         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14605         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14606         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14607         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14608         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14609         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14610         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14611         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14612         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14613         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14615 2013-01-10  David S. Miller  <davem@davemloft.net>
14617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14619 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14621         * posix/Makefile (tests-static): New variable.
14622         (tests): Add $(tests-static).
14623         (tst-exec-static-ARGS): New variable.
14624         (tst-spawn-static-ARGS): Likewise.
14625         * posix/tst-exec-static.c: New file.
14626         * posix/tst-spawn-static.c: Likewise.
14627         * posix/tst-exec.c: Support run directly.
14628         * posix/tst-spawn.c: Likewise.
14630 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14632         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14633         long.
14634         * math/bits/mathcalls.h (llrint): Likewise.
14635         (llround): Likewise.
14636         * stdlib/stdlib.h (struct drand48_data): Likewise.
14637         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14638         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14639         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14640         Likewise.
14641         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14642         Likewise.
14643         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14644         (elf_greg_t): Likewise.
14645         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14646         (__jmp_buf): Likewise.
14647         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14648         definitions.
14649         (llrint): Likewise, for all definitions.
14650         (llrintl): Likewise.
14652         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14653         Remove [__GNUC__] condition.
14654         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14655         condition to just [__USE_ISOC99].
14656         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14658 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14660         [BZ #14200]
14661         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14662         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14663         defined.
14664         (_POSIX_V6_ILP32_OFF32): Likewise.
14665         (_XBS5_ILP32_OFF32): Likewise.
14666         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14667         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14669 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14671         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14674         doubles __mpexp_twomm1.  Adjust usage.
14675         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14676         Remove.
14678 2013-01-10  Andreas Schwab  <schwab@suse.de>
14680         [BZ #14964]
14681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14682         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14684 2013-01-09  David S. Miller  <davem@davemloft.net>
14686         [BZ #15003]
14687         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14688         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14689         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14690         TCP_FASTOPEN): Define.
14691         (tcp_repair_opt): New structure.
14692         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14693         enum values.
14694         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14695         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14696         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14697         (tcp_cookie_transactions): New structure.
14699 2013-01-09  Anton Blanchard  <anton@samba.org>
14701         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14702         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14704         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14706 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14708         * include/features.h (__USE_ANSI): Remove.
14710 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14712         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14714         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14716 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14718         * sysdeps/s390/fpu/libm-test-ulps: Update.
14720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14722         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14723         (__acr): Likewise.
14724         (__cpy): Likewise.
14725         (norm): Likewise.
14726         (denorm): Likewise.
14727         (__mp_dbl): Likewise.
14728         (__dbl_mp): Likewise.
14729         (add_magnitudes): Likewise.
14730         (sub_magnitudes): Likewise.
14731         (__add): Likewise.
14732         (__sub): Likewise.
14733         (__mul): Likewise.
14734         (__inv): Likewise.
14735         (__dvd): Likewise.
14736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14737         (__acr): Likewise.
14738         (__cpy): Likewise.
14739         (norm): Likewise.
14740         (denorm): Likewise.
14741         (__mp_dbl): Likewise.
14742         (__dbl_mp): Likewise.
14743         (add_magnitudes): Likewise.
14744         (sub_magnitudes): Likewise.
14745         (__add): Likewise.
14746         (__sub): Likewise.
14747         (__mul): Likewise.
14748         (__inv): Likewise.
14749         (__dvd): Likewise.
14750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14751         (__acr): Likewise.
14752         (__cpy): Likewise.
14753         (norm): Likewise.
14754         (denorm): Likewise.
14755         (__mp_dbl): Likewise.
14756         (__dbl_mp): Likewise.
14757         (add_magnitudes): Likewise.
14758         (sub_magnitudes): Likewise.
14759         (__add): Likewise.
14760         (__sub): Likewise.
14761         (__mul): Likewise.
14762         (__inv): Likewise.
14763         (__dvd): Likewise.
14765 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14767         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14768         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14769         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14770         2 && __USE_EXTERN_INLINES]: Likewise.
14772 2013-01-08  Andreas Jaeger  <aj@suse.de>
14774         [BZ# 14985]
14775         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14776         Remove.
14777         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14778         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14780 2013-01-07  Anton Blanchard  <anton@samba.org>
14782         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14783         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14784         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14785         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14786         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14787         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14788         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14789         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14791         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14792         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14793         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14795         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14796         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14797         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14798         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14799         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14800         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14802         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14803         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14805         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14806         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14807         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14808         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14809         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14812         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14814         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14816         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14817         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14818         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14819         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14820         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14821         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14822         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14823         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14824         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14826 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14828         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14829         (__MALLOC_PMT): Likewise.
14830         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14831         [__GNUC__], only on [_LIBC].
14832         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14833         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14834         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14835         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14836         forward declaration.
14837         (realloc_hook_ini): Likewise.
14838         (memalign_hook_ini): Likewise.
14839         (__libc_memalign): Do not use __MALLOC_PMT in variable
14840         declaration.
14841         (__libc_valloc): Likewise.
14842         (__libc_pvalloc): Likewise.
14843         (__libc_calloc): Likewise.
14844         (__posix_memalign): Likewise.
14846         [BZ #14996]
14847         * math/s_casinh.c: Include <float.h>.
14848         (__casinh): Do not do computation with squaring and square root
14849         for large arguments.
14850         * math/s_casinhf.c: Include <float.h>.
14851         (__casinhf): Do not do computation with squaring and square root
14852         for large arguments.
14853         * math/s_casinhl.c: Include <float.h>.
14854         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14855         (__casinhl): Do not do computation with squaring and square root
14856         for large arguments.
14857         * math/libm-test.inc (casin_test): Add more tests.
14858         (casinh_test): Likewise.
14859         * sysdeps/i386/fpu/libm-test-ulps: Update.
14860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14862 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14864         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14865         (__x86_64_raw_data_cache_size): Likewise.
14866         (__x86_64_data_cache_size_half): Likewise.
14867         (__x86_64_raw_data_cache_size_half): Likewise.
14868         (__x86_64_shared_cache_size): Likewise.
14869         (__x86_64_raw_shared_cache_size): Likewise.
14870         (__x86_64_shared_cache_size_half): Likewise.
14871         (__x86_64_raw_shared_cache_size_half): Likewise.
14872         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14873         to ...
14874         (__x86_data_cache_size): This.
14875         (__x86_64_raw_data_cache_size): Renamed to ...
14876         (__x86_raw_data_cache_size): This.
14877         (__x86_64_data_cache_size_half): Renamed to ...
14878         (__x86_data_cache_size_half): This.
14879         (__x86_64_raw_data_cache_size_half): Renamed to ...
14880         (__x86_raw_data_cache_size_half): This.
14881         (__x86_64_shared_cache_size): Renamed to ...
14882         (__x86_shared_cache_size): This.
14883         (__x86_64_raw_shared_cache_size): Renamed to ...
14884         (__x86_raw_shared_cache_size): This.
14885         (__x86_64_shared_cache_size_half): Renamed to ...
14886         (__x86_shared_cache_size_half): This.
14887         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14888         (__x86_raw_shared_cache_size_half): This.
14889         * sysdeps/x86_64/memcpy.S: Updated.
14890         * sysdeps/x86_64/memset.S: Likewise.
14891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14895 2013-01-04  David S. Miller  <davem@davemloft.net>
14897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14899 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14901         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14902         1 to avoid redefinition warning.
14903         (__USE_GNU): Don't define.
14904         (init_signaling_nan): Protoize.
14906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14908 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14912         (__cpymn): Likewise.
14913         (norm): Remove commented code.
14914         (denorm): Likewise.
14915         (__mp_dbl): Likewise.
14916         (__inv): Likewise.
14917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14918         (__cpymn): Likewise.
14919         (norm): Remove commented code.
14920         (denorm): Likewise.
14921         (__mp_dbl): Likewise.
14922         (__inv): Likewise.
14924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14925         mp_no value for 1.0 and 2.0.
14926         (norm): Use RADIXI instead of radixi.d.
14927         (denorm): Likewise.
14928         (__mul): Use 0.0 instead of zero.d.
14929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14930         mp_no value for 1.0 and 2.0.
14931         (norm): Use RADIXI instead of radixi.d.
14932         (denorm): Likewise.
14933         (__mul): Use 0.0 instead of zero.d.
14935 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14937         [BZ #14994]
14938         * math/s_casinh.c (__casinh): Reduce finite argument to first
14939         quadrant then set signs of results at the end.
14940         * math/s_casinhf.c (__casinhf): Likewise.
14941         * math/s_casinhl.c (__casinhl): Likewise.
14942         * math/libm-test.inc (casin_test): Add more tests.
14943         (casinh_test): Likewise.
14944         * sysdeps/i386/fpu/libm-test-ulps: Update.
14945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14949         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14951         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14953         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14954         declarations.
14955         (denorm): Likewise.
14956         (__mp_dbl): Likewise.
14957         (__inv): Likewise.
14959         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14960         and adjust the header comment.
14962         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14963         variable name from declaration.
14965 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14968         Initialize COMMON_CPUID_INDEX_7 element.
14969         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14970         (CPUID_RTM): Likewise.
14971         (HAS_RTM): Likewise.
14972         (COMMON_CPUID_INDEX_7): New enum.
14974 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14976         [BZ #14981]
14977         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14978         size is zero, record memory as freed.
14980 2013-01-03  Andreas Jaeger  <aj@suse.de>
14982         * po/ia.po: Add new Interlingua translation.
14984 2012-01-03  Allan McRae  <allan@archlinux.org>
14986         * locale/programs/localedef.c: Fix description of '--posix' flag.
14988 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14990         * NEWS: Update dates in second copyright notice.
14991         * README: Update copyright dates in example.
14992         * manual/libc.texinfo: Update copyright dates.
14993         * scripts/test-installation.pl: Update copyright date in --version
14994         output.
14996         * hurd/ctty-input.c: Fix copyright notice formatting.
14997         * hurd/ctty-output.c: Likewise.
14998         * hurd/dtable.c: Likewise.
14999         * hurd/hurd-raise.c: Likewise.
15000         * hurd/hurdprio.c: Likewise.
15001         * hurd/msgportdemux.c: Likewise.
15002         * misc/sys/file.h: Likewise.
15003         * misc/sys/ioctl.h: Likewise.
15004         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15005         * sysdeps/mach/hurd/chdir.c: Likewise.
15006         * sysdeps/mach/hurd/fchdir.c: Likewise.
15007         * sysdeps/mach/hurd/rename.c: Likewise.
15008         * sysdeps/mach/hurd/rmdir.c: Likewise.
15009         * sysdeps/mach/hurd/seekdir.c: Likewise.
15010         * sysdeps/mach/hurd/setsid.c: Likewise.
15011         * sysdeps/posix/wait3.c: Likewise.
15013         * All files with FSF copyright notices: Update copyright dates
15014         using scripts/update-copyrights.
15015         * intl/plural.c: Regenerated.
15016         * locale/programs/charmap-kw.h: Likewise.
15017         * locale/programs/locfile-kw.h: Likewise.
15019 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15021         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15022         four values.
15024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15025         calculation loop and add branch prediction.
15027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15028         check access beyond bounds of m1np.
15030         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15031         MPTWO.
15032         (__inv): Remove local variable MPTWO to use the global
15033         constant.
15034         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15036         variable MPTWO.
15037         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15038         MP3HALFS static const.
15040 2013-01-01  David S. Miller  <davem@davemloft.net>
15042         * po/ca.po: Update from translation team.
15044 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15046         * scripts/update-copyrights: New file.
15047         * Makeconfig: Reformat copyright notice.
15048         * ctype/ctype.h: Likewise.
15049         * debug/swprintf_chk.c: Likewise.
15050         * elf/dl-cache.c: Likewise.
15051         * elf/dl-debug.c: Likewise.
15052         * elf/dl-object.c: Likewise.
15053         * grp/initgroups.c: Likewise.
15054         * hurd/Makefile: Likewise.
15055         * hurd/hurd/signal.h: Likewise.
15056         * hurd/hurdfault.c: Likewise.
15057         * hurd/hurdioctl.c: Likewise.
15058         * hurd/hurdlookup.c: Likewise.
15059         * hurd/intr-msg.c: Likewise.
15060         * iconv/gconv_open.c: Likewise.
15061         * libio/swprintf.c: Likewise.
15062         * locale/lc-ctype.c: Likewise.
15063         * locale/nl_langinfo.c: Likewise.
15064         * mach/Machrules: Likewise.
15065         * mach/Makefile: Likewise.
15066         * malloc/obstack.h: Likewise.
15067         * manual/Makefile: Likewise.
15068         * manual/tsort.awk: Likewise.
15069         * misc/bits/stab.def: Likewise.
15070         * nis/nis_print_group_entry.c: Likewise.
15071         * nis/nis_table.c: Likewise.
15072         * nis/nss_compat/compat-pwd.c: Likewise.
15073         * nis/nss_compat/compat-spwd.c: Likewise.
15074         * po/Makefile: Likewise.
15075         * posix/fnmatch.c: Likewise.
15076         * posix/regex.h: Likewise.
15077         * resolv/Makefile: Likewise.
15078         * resolv/nss_dns/dns-network.c: Likewise.
15079         * resolv/res_hconf.c: Likewise.
15080         * scripts/gen-sorted.awk: Likewise.
15081         * soft-fp/soft-fp.h: Likewise.
15082         * stdio-common/printf.h: Likewise.
15083         * stdlib/monetary.h: Likewise.
15084         * stdlib/random.c: Likewise.
15085         * stdlib/random_r.c: Likewise.
15086         * sysdeps/generic/Makefile: Likewise.
15087         * sysdeps/gnu/Makefile: Likewise.
15088         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15090         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15092         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15095         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15096         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15098         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15099         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15100         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15101         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15102         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15103         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15104         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15106         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15107         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15108         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15109         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15110         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15111         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15112         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15114         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15115         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15116         * sysdeps/mach/hurd/errnos.awk: Likewise.
15117         * sysdeps/mach/hurd/fork.c: Likewise.
15118         * sysdeps/mach/hurd/getcwd.c: Likewise.
15119         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15120         * sysdeps/mach/hurd/mmap.c: Likewise.
15121         * sysdeps/mach/hurd/utimes.c: Likewise.
15122         * sysdeps/mach/hurd/xmknod.c: Likewise.
15123         * sysdeps/posix/profil.c: Likewise.
15124         * sysdeps/posix/readdir_r.c: Likewise.
15125         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15126         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15127         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15128         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15130         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15131         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15132         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15134         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15135         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15136         * sysdeps/pthread/lio_listio.c: Likewise.
15137         * sysdeps/sparc/dl-procinfo.h: Likewise.
15138         * sysdeps/unix/i386/sysdep.S: Likewise.
15139         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15140         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15141         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15142         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15144         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15145         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15146         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15147         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15148         * sysdeps/wordsize-32/divdi3.c: Likewise.
15149         * time/sys/time.h: Likewise.
15150         * wcsmbs/Makefile: Likewise.
15152 2013-01-01  David S. Miller  <davem@davemloft.net>
15154         * po/fr.po: Update from translation team.
15156         * catgets/gencat.c: Update copyright year.
15157         * csu/version.c: Likewise.
15158         * debug/catchsegv.sh: Likewise.
15159         * debug/pcprofiledump.c: Likewise.
15160         * debug/xtrace.sh: Likewise.
15161         * elf/ldconfig.c: Likewise.
15162         * elf/ldd.bash.in: Likewise.
15163         * elf/pldd.c: Likewise.
15164         * elf/sotruss.ksh: Likewise.
15165         * elf/sprof.c: Likewise.
15166         * iconv/iconv_prog.c: Likewise.
15167         * iconv/iconvconfig.c: Likewise.
15168         * locale/programs/locale.c: Likewise.
15169         * locale/programs/localedef.c: Likewise.
15170         * login/programs/pt_chown.c: Likewise.
15171         * malloc/memusage.sh: Likewise.
15172         * malloc/memusagestat.c: Likewise.
15173         * malloc/mtrace.pl: Likewise.
15174         * nscd/nscd.c: Likewise.
15175         * nss/getent.c: Likewise.
15176         * nss/makedb.c: Likewise.
15177         * posix/getconf.c: Likewise.
15179 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15182         numbers.
15184 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15186         * math/bits/mathcalls.h (modf): Use __nonnull.
15188 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15190         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15191         (split): Use macro CN instead of the bare value.
15192         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15193         could be used.
15194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15195         instead of the bare value.
15196         (power1): Likewise.
15198 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15200         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15201         __ATAN_TWOM.
15202         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15204         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15205         their values.
15206         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15207         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15208         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15209         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15211 2012-12-28  Andreas Jaeger  <aj@suse.de>
15213         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15214         values are from Linux 3.7.
15216         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15217         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15219 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15221         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15222         TRUE case.
15224         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15225         (norm): Likewise.
15226         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15227         variables with preprocessor constants.
15228         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15229         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15230         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15232 2012-12-27  Bruno Haible  <bruno@clisp.org>
15234         [BZ #14317]
15235         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15236         only if needed.
15238 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15241         and use variable directly.
15242         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15244         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15245         MPONE.
15246         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15247         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15248         variable MPONE.
15249         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15251         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15252         include directive.  Remove local variable MPONE.
15253         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15254         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15255         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15257 2012-12-25  David S. Miller  <davem@davemloft.net>
15259         * version.h (RELEASE): Set to "development".
15260         (VERSION): Set to "2.17.90".
15261         * NEWS: Add 2.18 section.
15263 2012-12-21  David S. Miller  <davem@davemloft.net>
15265         * po/hr.po: Update from translation team.
15267 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15269         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15271 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15273         * NEWS:  Mention new memcpy for MIPS.
15275 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15277         * manual/contrib.texi (Contributors): Spelling correction.
15279 2012-12-15  David S. Miller  <davem@davemloft.net>
15281         * po/ru.po: Update from translation team.
15283 2012-12-13  David S. Miller  <davem@davemloft.net>
15285         * NEWS: Mention IFUNC testsuite enhancements.
15287         * po/pl.po: Update from translation team.
15288         * po/bg.po: Likewise.
15290         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15291         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15293 2012-12-11  David S. Miller  <davem@davemloft.net>
15295         * po/sv.po: Update from translation team.
15297         * po/vi.po: Update from translation team.
15299         * po/cs.po: Update from translation team.
15301         * po/de.po: Update from translation team.
15302         * po/eo.po: Likewise.
15303         * po/nl.po: Likewise.
15305 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15307         [BZ #14246]
15308         * manual/argp.texi (Argp Helper Functions): Move node to follow
15309         Argp Parsing State.
15311         [BZ #14872]
15312         * manual/conf.texi (Limits on File System Capacity): Mention if
15313         terminating null is included in the max size.
15315 2012-12-10  Andreas Jaeger  <aj@suse.de>
15317         * po/cs.po: Update from translation team.
15319 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15321         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15322         void pointer and cast to uintptr_t.
15323         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15324         path.
15325         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15326         * sysdeps/s390/s390-64/memset.S: Likewise.
15328 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15330         [BZ #14833]
15331         * menual/message.texi (Message Translation): Fix typos.
15332         (Helper programs for gettext): Likewise.
15334 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15336         [BZ #14898]
15337         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15338         Change to -1.
15340 2012-12-07  David S. Miller  <davem@davemloft.net>
15342         * po/libc.pot: Update.
15344 2012-12-07  Richard Henderson  <rth@redhat.com>
15346         [BZ #10114]
15347         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15348         normal/normal case to before the switch.
15349         (_FP_DIV): Likewise.
15351 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15352             Mike Frysinger  <vapier@gentoo.org>
15354         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15355         check for __NR_fadvise64_64.
15357 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15359         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15360         0, not just to plain "0" as a statement.
15361         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15362         with cw.
15364 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15366         * NEWS: Use sourceware.org in Bugzilla URL.
15368 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15371         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15373         * stdio-common/tst-put-error.c (do_test): Add newline to the
15374         padded test to ensure flush.
15376 2012-12-05  Jeff Law  <law@redhat.com>
15378         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15380 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15382         * README: Don't refer to ports add-on as distributed separately.
15383         Mention AArch64 in list of systems supported in the ports add-on.
15385         * LICENSES: Add more non-FSF copyright and license notices.
15387         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15388         ((unused)).
15390         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15392         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15393         10000 as width of padded output.
15395 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15397         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15399         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15400         variable LX with __attribute__ ((unused)).
15401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15402         Likewise.
15403         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15404         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15405         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15406         with __attribute__ ((unused)).
15408 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15410         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15412 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15414         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15415         (CFLAGS-nldbl-acos.c): New variable.
15416         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15417         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15418         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15419         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15420         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15421         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15422         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15423         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15424         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15425         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15426         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15427         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15428         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15429         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15430         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15431         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15432         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15433         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15434         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15435         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15436         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15437         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15438         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15439         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15440         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15441         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15442         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15443         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15444         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15445         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15446         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15447         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15448         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15449         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15450         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15451         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15452         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15453         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15454         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15455         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15456         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15457         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15458         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15459         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15460         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15461         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15462         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15463         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15464         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15465         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15466         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15467         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15468         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15469         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15470         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15471         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15472         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15473         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15474         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15475         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15476         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15477         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15478         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15479         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15480         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15481         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15482         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15483         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15484         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15485         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15486         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15487         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15488         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15489         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15490         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15491         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15492         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15493         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15494         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15495         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15496         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15497         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15498         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15499         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15500         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15501         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15502         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15503         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15504         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15505         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15506         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15507         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15508         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15509         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15510         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15511         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15512         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15515         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15517         [BZ #14914]
15518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15519         whole low double instead of just low 47 bits when splitting values
15520         into two parts.
15522 2012-12-03  Allan McRae  <allan@archlinux.org>
15524         * manual/stdio.texi (Predefined Printf Handlers): Remove
15525         @hsep and @vsep usage.
15527 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15529         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15530         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15532 2012-12-03  Jeff Law  <law@redhat.com>
15534         * time/sys/time.h (settimeofday): Do not mark TV argument
15535         as __nonnull.
15537 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15539         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15540         when currently writing and seek to current position when not.
15541         * libio/Makefile (tests): Remove bug-fclose1.
15542         * libio/bug-fclose1.c: Delete.
15544 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15546         * manual/arith.texi (feenableexcept): Fix typo.
15547         (fedisableexcept): Likewise.
15549 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15551         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15552         second, differently-typed declaration, rather than a cast.
15554 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15556         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15557         * include/rpc/svc.h: ... here.
15559 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15561         [BZ #13013]
15562         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15563         depending n and resplen2 to catch cases where answer
15564         equals answerp2.
15566 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15568         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15569         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15571 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15575 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15577         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15579 2012-11-28  Jeff Law  <law@redhat.com>
15581         [BZ #13761]
15582         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15583         dataset_temporary.  Track alloca usage into alloca_used.
15584         If dataset is large allocate and release it via malloc/free.
15586 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15588         [BZ #14197]
15589         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15591 2012-11-28  David S. Miller  <davem@davemloft.net>
15593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15595 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15597         [BZ #14803]
15598         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15599         of pi/2 rounded to nearest to 64 bits.
15600         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15601         nearest to 64 bits.
15602         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15603         bits.
15605 2012-11-28  Jeff Law <law@redhat.com>
15606             Martin Osvald <mosvald@redhat.com>
15608         [BZ #14889]
15609         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15610         * sunrpc/svc.c: Include time.h.
15611         (__svc_accept_failed): New function.
15612         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15613         any reason other than EINTR, call __svc_accept_failed.
15614         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15615         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15617 2012-11-28  Andreas Schwab  <schwab@suse.de>
15619         * scripts/abilist.awk: Also handle indirect functions in .opd
15620         section.
15622 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15624         [BZ #13881]
15625         * sysdeps/x86/fpu/powl_helper.c: New file.
15626         * sysdeps/x86/fpu/Makefile: Likewise.
15627         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15628         (p3): New object.
15629         (__ieee754_powl): Use __powl_helper for finite arguments except
15630         integer exponents below 8.
15631         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15632         (p3): New object.
15633         (__ieee754_powl): Use __powl_helper for finite arguments except
15634         integer exponents below 8.
15635         * math/libm-test.inc (pow_test): Add more tests and enable some
15636         previously disabled tests.
15637         * sysdeps/i386/fpu/libm-test-ulps: Update.
15638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15640 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15641             Carlos O'Donell  <carlos_odonell@mentor.com>
15643         * nss/makedb.c (is_prime): Assert that input is odd and greater
15644         than 4.  Note that fact in a comment too.
15645         (next_prime): Add 4 to input.
15647 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15649         [BZ #11741]
15650         * libio/Makefile (tests): Add test case tst-fwrite-error.
15651         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15652         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15653         * libio/tst-fwrite-error.c: New test case.
15655 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15657         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15658         before casting to void *.
15659         * include/libc-internal.h (__pointer_type): New macro.
15660         (__integer_if_pointer_type_sub): Likewise.
15661         (__integer_if_pointer_type): Likewise.
15662         (cast_to_integer): Likewise.
15663         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15664         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15665         before casting to atomic64_t.
15666         (atomic_exchange_acq): Likewise.
15667         (__arch_exchange_and_add_body): Likewise.
15668         (__arch_add_body): Likewise.
15669         (atomic_add_negative): Likewise.
15670         (atomic_add_zero): Likewise.
15672 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15674         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15675         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15676         (add_fdes): Likewise.
15677         (linear_search_fdes): Likewise.
15678         (binary_search_unencoded_fdes): Likewise.
15680 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15682         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15684 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15686         * configure.in: Autodetect C++ header directories.
15687         * configure: Regenerated.
15689 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15691         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15693 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15697 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15699         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15700         LDBL_MANT_DIG == 106]: Disable some tests.
15701         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15702         Likewise.
15703         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15704         Likewise.
15706         [BZ #14871]
15707         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15708         input for small inputs.  Return +/- pi/2 for large inputs.
15709         * math/libm-test.inc (atan_test): Add more tests.
15711         * sysdeps/generic/unwind-dw2-fde-glibc.c
15712         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15713         __attribute__ ((unused)).
15715         [BZ #14645]
15716         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15717         x * y if x and y are nonzero and z is zero.
15719         [BZ #14811]
15720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15721         nonzero exponents with absolute value below 0x1p-117 to +/-
15722         0x1p-117.
15724         [BZ #14869]
15725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15726         up arguments below 2**-450, not just those below 2**-500.
15727         * math/libm-test.inc (hypot_test): Add another test.
15729         [BZ #14868]
15730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15731         Return a+b for ratio over 2**120, not 2**60.
15732         * math/libm-test.inc (hypot_test): Add another test.
15734         * math/libm-test.inc (clog_test): Use
15735         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15736         (clog10_test): Likewise.
15738         [BZ #6778]
15739         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15741 2012-11-22  Andreas Schwab  <schwab@suse.de>
15743         * sysdeps/i386/fpu/libm-test-ulps: Update.
15745 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15747         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15748         printf output with newline.
15750 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15752         [BZ #14865]
15753         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15754         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15755         -z nodlopen, -z initfirst and -z execstack support.
15756         * configure: Regenerated.
15758         * elf/elf.h (DF_1_NODIRECT): New macro.
15759         (DF_1_IGNMULDEF): Likewise.
15760         (DF_1_NOKSYMS): Likewise.
15761         (DF_1_NOHDR): Likewise.
15762         (DF_1_EDITED): Likewise.
15763         (DF_1_NORELOC): Likewise.
15764         (DF_1_SYMINTPOSE): Likewise.
15765         (DF_1_GLOBAUDIT): Likewise.
15766         (DF_1_SINGLETON): Likewise.
15767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15768         DT_1_SUPPORTED_MASK bits.
15769         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15771 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15773         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15775 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15777         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15778         macro.
15780         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15781         (sendmmsg): Move declarations...
15782         * socket/sys/socket.h: ... here.
15783         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15784         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15785         include it from...
15786         * socket/recvmmsg.c: ... this new file.
15787         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15788         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15789         definition of __sendmmsg hidden.
15790         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15791         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15792         Move ENOSYS stub into and include it from...
15793         * socket/sendmmsg.c: ... this new file.
15794         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15795         (sysdep_routines): Move recvmmsg and sendmmsg...
15796         * socket/Makefile (routines): ... here.
15797         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15798         (GLIBC_PRIVATE): Add __sendmmsg.
15799         * include/sys/socket.h (__sendmmsg): Add declarations.
15800         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15801         sendmmsg.
15803 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15805         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15806         variable I1 with __attribute__ ((unused)).
15807         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15809 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15811         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15812         DUMMY variables with __attribute__ ((unused)).
15814         * bits/byteswap.h: Include <bits/types.h>.
15815         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15817 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15819         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15820         string_t.  Do not manually set errno.
15821         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15822         length with __strnlen.  Make sure to both set errno and return it on
15823         failure.
15825 2012-11-19  David S. Miller  <davem@davemloft.net>
15827         With help from Joseph Myers.
15828         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15829         very large arguments properly.
15830         * math/libm-test.inc (atan_test): New tests.
15831         (atan2_test): New tests.
15832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15835 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15837         [BZ #14856]
15838         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15839         Define to 3.
15841         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15842         [POSIX] (EADDRNOTAVAIL): Likewise.
15843         [POSIX] (EAFNOSUPPORT): Likewise.
15844         [POSIX] (EALREADY): Likewise.
15845         [POSIX] (ECONNABORTED): Likewise.
15846         [POSIX] (ECONNREFUSED): Likewise.
15847         [POSIX] (ECONNRESET): Likewise.
15848         [POSIX] (EDESTADDRREQ): Likewise.
15849         [POSIX] (EDQUOT): Likewise.
15850         [POSIX] (EHOSTUNREACH): Likewise.
15851         [POSIX] (EIDRM): Likewise.
15852         [POSIX] (EISCONN): Likewise.
15853         [POSIX] (ELOOP): Likewise.
15854         [POSIX] (EMULTIHOP): Likewise.
15855         [POSIX] (ENETDOWN): Likewise.
15856         [POSIX] (ENETUNREACH): Likewise.
15857         [POSIX] (ENOBUFS): Likewise.
15858         [POSIX] (ENODATA): Likewise.
15859         [POSIX] (ENOLINK): Likewise.
15860         [POSIX] (ENOMSG): Likewise.
15861         [POSIX] (ENOPROTOOPT): Likewise.
15862         [POSIX] (ENOSR): Likewise.
15863         [POSIX] (ENOSTR): Likewise.
15864         [POSIX] (ENOTCONN): Likewise.
15865         [POSIX] (ENOTSOCK): Likewise.
15866         [POSIX] (EOPNOTSUPP): Likewise.
15867         [POSIX] (EOVERFLOW): Likewise.
15868         [POSIX] (EPROTO): Likewise.
15869         [POSIX] (EPROTONOSUPPORT): Likewise.
15870         [POSIX] (EPROTOTYPE): Likewise.
15871         [POSIX] (ESTALE): Likewise.
15872         [POSIX] (ETIME): Likewise.
15873         [POSIX] (ETXTBSY): Likewise.
15874         [POSIX] (EWOULDBLOCK): Likewise.
15875         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15876         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15877         [POSIX] (SEEK_CUR): Likewise.
15878         [POSIX] (SEEK_END): Likewise.
15879         [POSIX || UNIX98] (mode_t): Do not require.
15880         [POSIX] (off_t): Likewise.
15881         [POSIX] (pid_t): Likewise.
15882         [POSIX] (sys/stat.h): Do not allow header.
15883         [POSIX] (unistd.h): Likewise.
15884         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15885         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15886         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15887         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15888         require.
15889         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15890         sigevent): Specify elements.
15891         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15892         entry.
15893         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15894         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15896         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15897         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15898         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15899         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15900         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15901         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15902         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15903         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15904         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15905         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15906         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15907         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15908         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15910         Likewise.
15911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15912         Likewise.
15913         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15914         Likewise.
15915         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15916         Likewise.
15917         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15918         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15919         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15920         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15921         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15922         Specify lower bound on value.
15923         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15924         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15925         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15926         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15927         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15928         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15929         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15930         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15931         value.
15932         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15933         as optional.
15934         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15935         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15936         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15937         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15938         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15939         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15940         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15941         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15942         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15943         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15944         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15945         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15946         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15947         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15948         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15949         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15950         entry.
15951         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15952         optional.
15953         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15954         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15955         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15956         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15957         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15958         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15959         Likewise.
15960         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15961         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15962         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15963         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15964         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15965         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15967         as optional.
15968         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15969         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15970         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15971         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15972         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15973         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15974         specify as optional.
15975         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15976         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15977         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15978         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15979         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15980         [XPG3] (NL_LANGMAX): Likewise.
15981         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15982         [POSIX || XPG3] (NL_NMAX): Likewise.
15983         [POSIX || XPG3] (NL_SETMAX): Likewise.
15984         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15985         [XPG3] (NZERO): Likewise.
15986         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15987         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15988         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15989         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15990         (REG_ERANGE): Expect.
15991         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15992         optional-constant.
15993         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15994         Use (void) in prototype.
15995         [POSIX] (*_t): Allow.
15996         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15997         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15998         (WRDE_BADVAL): Expect.
16000         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16001         expect.
16002         [XPG3 || XPG4] (O_RSYNC): Likewise.
16003         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16004         Likewise.
16005         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16006         [XPG3 || XPG4] (sigqueue): Likewise.
16007         [XPG3 || XPG4] (sigtimedwait): Likewise.
16008         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16009         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16010         [XPG3 || XPG4] (vsnprintf): Likewise.
16011         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16012         Likewise.
16013         [XPG3 || XPG4] (blksize_t): Likewise.
16014         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16015         Likewise.
16016         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16017         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16018         [XPG3 || XPG4] (struct itimerspec): Likewise.
16019         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16020         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16021         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16022         [XPG3 || XPG4] (clockid_t): Likewise.
16023         [XPG3 || XPG4] (timer_t): Likewise.
16024         [XPG3 || XPG4] (clock_getres): Likewise.
16025         [XPG3 || XPG4] (clock_gettime): Likewise.
16026         [XPG3 || XPG4] (clock_settime): Likewise.
16027         [XPG3 || XPG4] (nanosleep): Likewise.
16028         [XPG3 || XPG4] (timer_create): Likewise.
16029         [XPG3 || XPG4] (timer_delete): Likewise.
16030         [XPG3 || XPG4] (timer_gettime): Likewise.
16031         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16032         [XPG3 || XPG4] (timer_settime): Likewise.
16033         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16034         [XPG3 || XPG4] (getlogin_r): Likewise.
16035         [XPG3 || XPG4] (pread): Likewise.
16036         [XPG3 || XPG4] (pthread_atfork): Likewise.
16037         [XPG3 || XPG4] (pwrite): Likewise.
16039         [BZ #14835]
16040         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16041         <bits/siginfo.h>.
16043 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16045         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16046         finalizing MALLSTREAM.
16048         * sysdeps/mach/hurd/syncfs.c: New file.
16050 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16052         [BZ #14719]
16053         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16054         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16056         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16057         (_nss_dns_gethostbyname4_r): Likewise.
16058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16059         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16061 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16063         [BZ #13763]
16064         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16066 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16068         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16069         * elf/cache.c (print_entry): Print ",AArch64" for
16070         FLAG_AARCH64_LIB64
16072         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16073         * elf/cache.c (print_entry): Print ",hard-float" for
16074         FLAG_ARM_LIBHF.
16076 2012-11-18  David S. Miller  <davem@davemloft.net>
16078         With help from Joseph Myers.
16079         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16080         cutoff to 2**-13.
16081         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16082         cutoff to 2**-25.
16083         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16084         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16085         small.
16086         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16087         * math/libm-test.inc (y0_test): New tests.
16088         (y1_test): New tests.
16089         * sysdeps/i386/fpu/libm-test-ulps: Update.
16090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16093 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16095         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16096         64-bit targets.
16097         * configure: Regenerated.
16099 2012-11-17  David S. Miller  <davem@davemloft.net>
16101         [BZ #14811]
16102         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16103         nonzero exponents with absolute value below 0x1p-128 to +/-
16104         0x1p-128.
16106 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16108         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16110         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16112         * posix/getconf-speclist.c: New file.
16113         * posix/posix-envs.def: Likewise.
16114         * posix/confstr.c (START_ENV_GROUP): New macro.
16115         (END_ENV_GROUP): Likewise.
16116         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16117         (KNOWN_PRESENT_ENV_STRING): Likewise.
16118         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16119         (UNKNOWN_ENVIRONMENT): Likewise.
16120         (confstr): Include posix-envs.def instead of handling
16121         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16122         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16123         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16124         (END_ENV_GROUP): Likewise.
16125         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16126         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16127         (UNKNOWN_ENVIRONMENT): Likewise.
16128         (__sysconf): Include posix-envs.def instead of handling associated
16129         cases directly here.
16130         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16131         preprocessing getconf-speclist.c rather than running getconf or
16132         generating empty file.
16134 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16136         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16138 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16140         [BZ #14672]
16141         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16143 2012-11-16  David S. Miller  <davem@davemloft.net>
16145         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16146         smaller than LDBL_EPSILON/2.0L, just return xm1.
16148 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16150         * elf/tst-array1.c (init): Set constructor priority to 1000.
16151         (fini): Set destructor priority to 1000.
16152         * elf/tst-array2dep.c: Likewise.
16154 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16156         [BZ #11741]
16157         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16158         (_IO_new_file_xsputn): Also return EOF if none of the input
16159         data was written when overflow failed.
16160         * libio/iopadn.c (_IO_padn): Likewise.
16161         * libio/iowpadn.c (_IO_wpadn): Likewise.
16162         * stdio-common/tst-put-error.c: Add copyright notice.
16163         (do_test): Add case for printing padded string.
16164         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16165         _IO_padn returned error.
16166         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16167         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16168         return EOF.
16170 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16172         * libio/libioP.h: Add comment note that the references to C++
16173         bits are now obsolete.
16175 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16177         * math/libm-test.inc (check_complex): Use asprintf.
16179 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16181         * debug/pcprofiledump.c (print_version): Update copyright year.
16182         * malloc/memusagestat.c (print_version): Likewise.
16184 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16186         [BZ #14831]
16187         * elf/Makefile (tests): Add tst-audit8.
16188         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16189         ($(objpfx)tst-audit8.out): New target.
16190         (tst-audit8-ENV): New variable.
16191         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16192         audit if l_reloc_result is NULL.
16193         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16194         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16195         * elf/tst-audit8.c: New file.
16197 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16199         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16200         * misc/Makefile (CFLAGS-select.c): Define.
16201         * posix/Makefile (CFLAGS-pause.c): Define.
16203 2012-11-13  David S. Miller  <davem@davemloft.net>
16205         * crypt/Makefile: Move test targets after toplevel Rules
16206         inclusion.  Grab any necessary sysdep routines when linking.
16207         * crypt/md5.c (md5_process_block): Remove define, we will always
16208         name it __md5_process_block.
16209         (md5_finish_ctx): Update md5_process_block call.
16210         (md5_stream): Likewise.
16211         (md5_process_bytes): Likewise.
16212         (md5_process_block): Rename to __md5_process_block and move to ...
16213         * crypt/md5-block.c: ... here.
16214         * crypt/sha256.c (sha256_process_block): Move to ...
16215         * crypt/sha256-block.c: ... here.
16216         * crypt/sha512.c (sha512_process_block): Move to ...
16217         * crypt/sha512-block.c: ... here.
16218         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16219         path.
16220         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16221         * sysdeps/sparc/sparc64/multiarch/Makefile
16222         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16223         crypt subdir.
16224         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16225         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16226         multiarch changes.
16227         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16228         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16229         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16230         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16231         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16232         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16233         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16234         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16235         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16236         file.
16237         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16239         file.
16240         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16242 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16244         * timezone/tzselect.ksh: Update from tzcode git revision
16245         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16246         * timezone/zdump.c: Likewise.
16247         * timezone/zic.c: Likewise.
16248         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16249         in TZVERSION setting, not $(PKGVERSION).
16250         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16251         REPORT_BUGS_TO settings.
16253         [BZ #14838]
16254         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16255         macro.
16257 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16259         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16260         detection to immediately after _FP_ROUND().
16261         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16262         bits are 0.
16264 2012-11-11  David S. Miller  <davem@davemloft.net>
16266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16267         inttypes.h
16268         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16269         __close rather than their public counterparts.
16271 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16273         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16274         file.
16275         [UNIX98] (sem_timedwait): Do not expect.
16276         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16277         [XPG4 || UNIX98] (sockatmark): Do not expect.
16278         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16279         (clock_getcpuclockid): Do not expect.
16280         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16281         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16282         Do not expect.
16283         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16284         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16285         [UNIX98] (vwscanf): Likewise.
16286         [UNIX98] (vswscanf): Likewise.
16288 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16290         * timezone/version.h: Remove file.
16291         * timezone/README: Do not refer to version.h.
16292         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16293         $(objpfx)version.h.
16294         ($(objpfx)zdump.o): Likewise.
16295         ($(objpfx)version.h): New target.
16297         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16298         2012i.
16299         * timezone/README: Don't mention modification to tzselect.ksh.
16300         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16301         work on unmodified tzselect.ksh.  Substitute version numbers in
16302         tzselect.ksh.
16304         * Makefile (format-me): Remove.
16305         (INSTALL): Adjust indentation.  Use commands directly instead of
16306         using $(format-me).
16308         * aclocal.m4 (ACX_PKGVERSION): New macro.
16309         (ACX_BUGURL): Likewise.
16310         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16311         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16312         (REPORT_BUGS_TO): Likewise.
16313         * configure: Regenerated.
16314         * config.h.in (PKGVERSION): New macro.
16315         (REPORT_BUGS_TO): Likewise.
16316         * config.make.in (PKGVERSION): New variable.
16317         (PKGVERSION_TEXI): Likewise.
16318         (REPORT_BUGS_TO): Likewise.
16319         (REPORT_BUGS_TEXI): Likewise.
16320         * Makefile (format-me): Use -I$(common-objpfx)manual.
16321         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16322         ($(common-objpfx)manual/%): New target.
16323         (manual/%): Remove target.
16324         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16325         (print_version): Use PKGVERSION.
16326         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16327         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16328         and REPORT_BUGS_TO.
16329         ($(objpfx)xtrace): Likewise.
16330         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16331         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16332         (print_version): Use PKGVERSION.
16333         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16334         (do_version): Use PKGVERSION.
16335         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16336         REPORT_BUGS_TO.
16337         (common-ldd-rewrite): Likewise.
16338         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16339         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16340         (print_version): Use PKGVERSION.
16341         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16342         * elf/pldd.c (argp_program_bug_address): Remove variable.
16343         (more_help): New function.
16344         (argp): Use more_help.
16345         (print_version): Use PKGVERSION.
16346         * elf/sln.c (main): Use PKGVERSION.
16347         (usage): Use REPORT_BUGS_TO.
16348         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16349         (top level): Use PKGVERSION.
16350         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16351         (print_version): Use PKGVERSION.
16352         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16353         (print_version): Use PKGVERSION.
16354         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16355         (print_version): Use PKGVERSION.
16356         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16357         (print_version): Use PKGVERSION.
16358         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16359         (print_version): Use PKGVERSION.
16360         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16361         (print_version): Use PKGVERSION.
16362         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16363         and BUGURL.
16364         ($(objpfx)memusage): Likewise.
16365         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16366         (do_version): Use PKGVERSION.
16367         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16368         (print_version): Use PKGVERSION.
16369         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16370         ($PKGVERSION): New variable.
16371         ($REPORT_BUGS_TO): Likewise.
16372         (usage): Use $REPORT_BUGS_TO.
16373         (top level): Use $PKGVERSION.
16374         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16375         ($(objpfx)pkgvers.texi): New rule.
16376         ($(objpfx)stamp-pkgvers): Likewise.
16377         * manual/install.texi: Include pkgvers.texi.
16378         (--with-pkgversion): Document new configure option.
16379         (--with-bugurl): Likewise.
16380         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16381         than necessarily for this particular distribution.  Use
16382         REPORT_BUGS_TO for where to report bugs.
16383         * INSTALL: Regenerated.
16384         * manual/libc.texinfo: Include pkgvers.texi.
16385         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16386         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16387         (print_version): Use PKGVERSION.
16388         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16389         (print_version): Use PKGVERSION.
16390         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16391         (print_version): Use PKGVERSION.
16392         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16393         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16394         macro.
16395         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16396         (print_version): Use PKGVERSION.
16397         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16398         (print_version): Use PKGVERSION.
16399         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16400         and PKGVERSION.
16402         * timezone/checktab.awk: Update from tzcode 2012i.
16403         * timezone/ialloc.c: Likewise.
16404         * timezone/private.h: Likewise.
16405         * timezone/scheck.c: Likewise.
16406         * timezone/tzfile.h: Likewise.
16407         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16408         (TZVERSION): Hardcode tzcode version number.
16409         * timezone/zdump.c: Update from tzcode 2012i.
16410         * timezone/zic.c: Likewise.
16411         * timezone/version.h: New file.
16412         * timezone/README: Describe version.h.  Update upstream location.
16414         [BZ #14824]
16415         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16416         (mktemp): Enable declaration.
16417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16421         Likewise.
16422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16423         Likewise.
16424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16425         Likewise.
16426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16427         Likewise.
16428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16429         Likewise.
16430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16431         Likewise.
16433         [BZ #14821]
16434         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16435         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16436         for copies of such integer values.
16437         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16438         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16440 2012-11-09  Andreas Jaeger  <aj@suse.de>
16442         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16443         definitions and declarations that are provided by
16444         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16446 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16448         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16449         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16450         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16451         definition.
16453 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16455         * elf/elf.h: Update comment before AArch64 relocations.
16457 2012-11-07  David S. Miller  <davem@davemloft.net>
16459         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16460         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16461         (__start_context): Declare.
16462         (__makecontext_ret): Delete.
16463         (__makecontext): Hook up __start_context instead of
16464         __makecontext_ret.
16465         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16466         (sysdep_routines): Add __start_context when in stdlib.
16468 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16470         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16471         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16472         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16473         hardcoded "nm".
16474         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16475         (READELF): New variable.  Use it instead of hardcoded "readelf".
16477 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16479         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16480         * sysdeps/x86/Makefile: Here.
16481         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16482         * sysdeps/x86/tst-xmmymm.sh: This.
16484 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16486         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16487         expectations.
16488         [UNIX98] (pthread_barrier_t): Do not expect.
16489         [UNIX98] (pthread_barrierattr_t): Likewise.
16490         [UNIX98] (pthread_spinlock_t): Likewise.
16491         [UNIX98] (pthread_barrier_destroy): Likewise.
16492         [UNIX98] (pthread_barrier_init): Likewise.
16493         [UNIX98] (pthread_barrier_wait): Likewise.
16494         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16495         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16496         [UNIX98] (pthread_barrierattr_init): Likewise.
16497         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16498         [UNIX98] (pthread_getcpuclockid): Likewise.
16499         [UNIX98] (pthread_mutex_timedlock): Likewise.
16500         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16501         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16502         [UNIX98] (pthread_sigmask): Likewise.
16503         [UNIX98] (pthread_spin_destroy): Likewise.
16504         [UNIX98] (pthread_spin_init): Likewise.
16505         [UNIX98] (pthread_spin_lock): Likewise.
16506         [UNIX98] (pthread_spin_trylock): Likewise.
16507         [UNIX98] (pthread_spin_unlock): Likewise.
16508         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16509         Do not expect.
16510         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16511         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16512         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16513         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16514         [XPG3 || XPG4] (pthread_key_t): Likewise.
16515         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16516         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16517         [XPG3 || XPG4] (pthread_once_t): Likewise.
16518         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16519         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16520         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16521         [XPG3 || XPG4] (pthread_t): Likewise.
16523         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16524         not expect.
16525         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16527         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16528         Change function return type to int.
16530         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16531         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16532         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16533         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16534         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16535         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16536         [!POSIX] (posix_madvise): Likewise.
16537         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16538         && !UNIX98].
16539         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16540         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16541         (mode_t): Likewise.
16542         (posix_mem_offset): Likewise.
16543         (posix_typed_mem_get_info): Likewise.
16544         (posix_typed_mem_open): Likewise.
16546         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16547         Change condition to [XOPEN2K8].
16549         * conform/conformtest.pl: Preprocess allow-header data with -x c
16550         instead of from stdin.
16551         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16552         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16553         [C99-based standards] (cerfc): Likewise.
16554         [C99-based standards] (cexp2): Likewise.
16555         [C99-based standards] (cexpm1): Likewise.
16556         [C99-based standards] (clog10): Likewise.
16557         [C99-based standards] (clog1p): Likewise.
16558         [C99-based standards] (clog2): Likewise.
16559         [C99-based standards] (clgamma): Likewise.
16560         [C99-based standards] (ctgamma): Likewise.
16561         [C99-based standards] (cerff): Likewise.
16562         [C99-based standards] (cerfcf): Likewise.
16563         [C99-based standards] (cexp2f): Likewise.
16564         [C99-based standards] (cexpm1f): Likewise.
16565         [C99-based standards] (clog10f): Likewise.
16566         [C99-based standards] (clog1pf): Likewise.
16567         [C99-based standards] (clog2f): Likewise.
16568         [C99-based standards] (clgammaf): Likewise.
16569         [C99-based standards] (ctgammaf): Likewise.
16570         [C99-based standards] (cerfl): Likewise.
16571         [C99-based standards] (cerfcl): Likewise.
16572         [C99-based standards] (cexp2l): Likewise.
16573         [C99-based standards] (cexpm1l): Likewise.
16574         [C99-based standards] (clog10l): Likewise.
16575         [C99-based standards] (clog1pl): Likewise.
16576         [C99-based standards] (clog2l): Likewise.
16577         [C99-based standards] (clgammal): Likewise.
16578         [C99-based standards] (ctgammal): Likewise.
16579         * conform/data/inttypes.h-data [C99-based standards]: Include
16580         stdint.h-data.  Remove all expectations for stdint.h contents.
16581         [C99-based standards] (PRI*): Do not allow.
16582         [C99-based standards] (SCN*): Likewise.
16583         [C99-based standards] (*_t): Likewise.
16584         [C99-based-standards] (PRId8): Expect macro.
16585         [C99-based-standards] (PRIi8): Likewise.
16586         [C99-based-standards] (PRIo8): Likewise.
16587         [C99-based-standards] (PRIu8): Likewise.
16588         [C99-based-standards] (PRIx8): Likewise.
16589         [C99-based-standards] (PRIX8): Likewise.
16590         [C99-based-standards] (SCNd8): Likewise.
16591         [C99-based-standards] (SCNi8): Likewise.
16592         [C99-based-standards] (SCNo8): Likewise.
16593         [C99-based-standards] (SCNu8): Likewise.
16594         [C99-based-standards] (SCNx8): Likewise.
16595         [C99-based-standards] (PRIdLEAST8): Likewise.
16596         [C99-based-standards] (PRIiLEAST8): Likewise.
16597         [C99-based-standards] (PRIoLEAST8): Likewise.
16598         [C99-based-standards] (PRIuLEAST8): Likewise.
16599         [C99-based-standards] (PRIxLEAST8): Likewise.
16600         [C99-based-standards] (PRIXLEAST8): Likewise.
16601         [C99-based-standards] (SCNdLEAST8): Likewise.
16602         [C99-based-standards] (SCNiLEAST8): Likewise.
16603         [C99-based-standards] (SCNoLEAST8): Likewise.
16604         [C99-based-standards] (SCNuLEAST8): Likewise.
16605         [C99-based-standards] (SCNxLEAST8): Likewise.
16606         [C99-based-standards] (PRIdFAST8): Likewise.
16607         [C99-based-standards] (PRIiFAST8): Likewise.
16608         [C99-based-standards] (PRIoFAST8): Likewise.
16609         [C99-based-standards] (PRIuFAST8): Likewise.
16610         [C99-based-standards] (PRIxFAST8): Likewise.
16611         [C99-based-standards] (PRIXFAST8): Likewise.
16612         [C99-based-standards] (SCNdFAST8): Likewise.
16613         [C99-based-standards] (SCNiFAST8): Likewise.
16614         [C99-based-standards] (SCNoFAST8): Likewise.
16615         [C99-based-standards] (SCNuFAST8): Likewise.
16616         [C99-based-standards] (SCNxFAST8): Likewise.
16617         [C99-based-standards] (PRId16): Likewise.
16618         [C99-based-standards] (PRIi16): Likewise.
16619         [C99-based-standards] (PRIo16): Likewise.
16620         [C99-based-standards] (PRIu16): Likewise.
16621         [C99-based-standards] (PRIx16): Likewise.
16622         [C99-based-standards] (PRIX16): Likewise.
16623         [C99-based-standards] (SCNd16): Likewise.
16624         [C99-based-standards] (SCNi16): Likewise.
16625         [C99-based-standards] (SCNo16): Likewise.
16626         [C99-based-standards] (SCNu16): Likewise.
16627         [C99-based-standards] (SCNx16): Likewise.
16628         [C99-based-standards] (PRIdLEAST16): Likewise.
16629         [C99-based-standards] (PRIiLEAST16): Likewise.
16630         [C99-based-standards] (PRIoLEAST16): Likewise.
16631         [C99-based-standards] (PRIuLEAST16): Likewise.
16632         [C99-based-standards] (PRIxLEAST16): Likewise.
16633         [C99-based-standards] (PRIXLEAST16): Likewise.
16634         [C99-based-standards] (SCNdLEAST16): Likewise.
16635         [C99-based-standards] (SCNiLEAST16): Likewise.
16636         [C99-based-standards] (SCNoLEAST16): Likewise.
16637         [C99-based-standards] (SCNuLEAST16): Likewise.
16638         [C99-based-standards] (SCNxLEAST16): Likewise.
16639         [C99-based-standards] (PRIdFAST16): Likewise.
16640         [C99-based-standards] (PRIiFAST16): Likewise.
16641         [C99-based-standards] (PRIoFAST16): Likewise.
16642         [C99-based-standards] (PRIuFAST16): Likewise.
16643         [C99-based-standards] (PRIxFAST16): Likewise.
16644         [C99-based-standards] (PRIXFAST16): Likewise.
16645         [C99-based-standards] (SCNdFAST16): Likewise.
16646         [C99-based-standards] (SCNiFAST16): Likewise.
16647         [C99-based-standards] (SCNoFAST16): Likewise.
16648         [C99-based-standards] (SCNuFAST16): Likewise.
16649         [C99-based-standards] (SCNxFAST16): Likewise.
16650         [C99-based-standards] (PRId32): Likewise.
16651         [C99-based-standards] (PRIi32): Likewise.
16652         [C99-based-standards] (PRIo32): Likewise.
16653         [C99-based-standards] (PRIu32): Likewise.
16654         [C99-based-standards] (PRIx32): Likewise.
16655         [C99-based-standards] (PRIX32): Likewise.
16656         [C99-based-standards] (SCNd32): Likewise.
16657         [C99-based-standards] (SCNi32): Likewise.
16658         [C99-based-standards] (SCNo32): Likewise.
16659         [C99-based-standards] (SCNu32): Likewise.
16660         [C99-based-standards] (SCNx32): Likewise.
16661         [C99-based-standards] (PRIdLEAST32): Likewise.
16662         [C99-based-standards] (PRIiLEAST32): Likewise.
16663         [C99-based-standards] (PRIoLEAST32): Likewise.
16664         [C99-based-standards] (PRIuLEAST32): Likewise.
16665         [C99-based-standards] (PRIxLEAST32): Likewise.
16666         [C99-based-standards] (PRIXLEAST32): Likewise.
16667         [C99-based-standards] (SCNdLEAST32): Likewise.
16668         [C99-based-standards] (SCNiLEAST32): Likewise.
16669         [C99-based-standards] (SCNoLEAST32): Likewise.
16670         [C99-based-standards] (SCNuLEAST32): Likewise.
16671         [C99-based-standards] (SCNxLEAST32): Likewise.
16672         [C99-based-standards] (PRIdFAST32): Likewise.
16673         [C99-based-standards] (PRIiFAST32): Likewise.
16674         [C99-based-standards] (PRIoFAST32): Likewise.
16675         [C99-based-standards] (PRIuFAST32): Likewise.
16676         [C99-based-standards] (PRIxFAST32): Likewise.
16677         [C99-based-standards] (PRIXFAST32): Likewise.
16678         [C99-based-standards] (SCNdFAST32): Likewise.
16679         [C99-based-standards] (SCNiFAST32): Likewise.
16680         [C99-based-standards] (SCNoFAST32): Likewise.
16681         [C99-based-standards] (SCNuFAST32): Likewise.
16682         [C99-based-standards] (SCNxFAST32): Likewise.
16683         [C99-based-standards] (PRId64): Likewise.
16684         [C99-based-standards] (PRIi64): Likewise.
16685         [C99-based-standards] (PRIo64): Likewise.
16686         [C99-based-standards] (PRIu64): Likewise.
16687         [C99-based-standards] (PRIx64): Likewise.
16688         [C99-based-standards] (PRIX64): Likewise.
16689         [C99-based-standards] (SCNd64): Likewise.
16690         [C99-based-standards] (SCNi64): Likewise.
16691         [C99-based-standards] (SCNo64): Likewise.
16692         [C99-based-standards] (SCNu64): Likewise.
16693         [C99-based-standards] (SCNx64): Likewise.
16694         [C99-based-standards] (PRIdLEAST64): Likewise.
16695         [C99-based-standards] (PRIiLEAST64): Likewise.
16696         [C99-based-standards] (PRIoLEAST64): Likewise.
16697         [C99-based-standards] (PRIuLEAST64): Likewise.
16698         [C99-based-standards] (PRIxLEAST64): Likewise.
16699         [C99-based-standards] (PRIXLEAST64): Likewise.
16700         [C99-based-standards] (SCNdLEAST64): Likewise.
16701         [C99-based-standards] (SCNiLEAST64): Likewise.
16702         [C99-based-standards] (SCNoLEAST64): Likewise.
16703         [C99-based-standards] (SCNuLEAST64): Likewise.
16704         [C99-based-standards] (SCNxLEAST64): Likewise.
16705         [C99-based-standards] (PRIdFAST64): Likewise.
16706         [C99-based-standards] (PRIiFAST64): Likewise.
16707         [C99-based-standards] (PRIoFAST64): Likewise.
16708         [C99-based-standards] (PRIuFAST64): Likewise.
16709         [C99-based-standards] (PRIxFAST64): Likewise.
16710         [C99-based-standards] (PRIXFAST64): Likewise.
16711         [C99-based-standards] (SCNdFAST64): Likewise.
16712         [C99-based-standards] (SCNiFAST64): Likewise.
16713         [C99-based-standards] (SCNoFAST64): Likewise.
16714         [C99-based-standards] (SCNuFAST64): Likewise.
16715         [C99-based-standards] (SCNxFAST64): Likewise.
16716         [C99-based-standards] (PRIdMAX): Likewise.
16717         [C99-based-standards] (PRIiMAX): Likewise.
16718         [C99-based-standards] (PRIoMAX): Likewise.
16719         [C99-based-standards] (PRIuMAX): Likewise.
16720         [C99-based-standards] (PRIxMAX): Likewise.
16721         [C99-based-standards] (PRIXMAX): Likewise.
16722         [C99-based-standards] (SCNdMAX): Likewise.
16723         [C99-based-standards] (SCNiMAX): Likewise.
16724         [C99-based-standards] (SCNoMAX): Likewise.
16725         [C99-based-standards] (SCNuMAX): Likewise.
16726         [C99-based-standards] (SCNxMAX): Likewise.
16727         [C99-based-standards] (PRIdPTR): Likewise.
16728         [C99-based-standards] (PRIiPTR): Likewise.
16729         [C99-based-standards] (PRIoPTR): Likewise.
16730         [C99-based-standards] (PRIuPTR): Likewise.
16731         [C99-based-standards] (PRIxPTR): Likewise.
16732         [C99-based-standards] (PRIXPTR): Likewise.
16733         [C99-based-standards] (SCNdPTR): Likewise.
16734         [C99-based-standards] (SCNiPTR): Likewise.
16735         [C99-based-standards] (SCNoPTR): Likewise.
16736         [C99-based-standards] (SCNuPTR): Likewise.
16737         [C99-based-standards] (SCNxPTR): Likewise.
16738         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16739         allow.
16740         * conform/data/stdint.h-data: Update comments to clarify
16741         requirements.
16742         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16743         type.
16744         [C99-based standards] (INT8_MAX): Likewise.
16745         [C99-based standards] (INT16_MIN): Likewise.
16746         [C99-based standards] (INT16_MAX): Likewise.
16747         [C99-based standards] (INT32_MIN): Likewise.
16748         [C99-based standards] (INT32_MAX): Likewise.
16749         [C99-based standards] (INT64_MIN): Likewise.
16750         [C99-based standards] (INT64_MAX): Likewise.
16751         [C99-based standards] (UINT8_MAX): Likewise.
16752         [C99-based standards] (UINT16_MAX): Likewise.
16753         [C99-based standards] (UINT32_MAX): Likewise.
16754         [C99-based standards] (UINT64_MAX): Likewise.
16755         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16756         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16757         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16758         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16759         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16760         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16761         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16762         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16763         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16764         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16765         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16766         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16767         [C99-based standards] (INT_FAST8_MIN): Likewise.
16768         [C99-based standards] (INT_FAST8_MAX): Likewise.
16769         [C99-based standards] (INT_FAST16_MIN): Likewise.
16770         [C99-based standards] (INT_FAST16_MAX): Likewise.
16771         [C99-based standards] (INT_FAST32_MIN): Likewise.
16772         [C99-based standards] (INT_FAST32_MAX): Likewise.
16773         [C99-based standards] (INT_FAST64_MIN): Likewise.
16774         [C99-based standards] (INT_FAST64_MAX): Likewise.
16775         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16776         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16777         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16778         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16779         [C99-based standards] (INTPTR_MIN): Likewise.
16780         [C99-based standards] (INTPTR_MAX): Likewise.
16781         [C99-based standards] (UINTPTR_MAX): Likewise.
16782         [C99-based standards] (INTMAX_MIN): Likewise.
16783         [C99-based standards] (INTMAX_MAX): Likewise.
16784         [C99-based standards] (UINTMAX_MAX): Likewise.
16785         [C99-based standards] (PTRDIFF_MIN): Likewise.
16786         [C99-based standards] (PTRDIFF_MAX): Likewise.
16787         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16788         [C99-based standards] (SIZE_MAX): Likewise.
16789         [C99-based standards] (WCHAR_MAX): Likewise.
16790         [C99-based standards] (WINT_MAX): Likewise.
16791         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16792         constraint on value.
16793         [C99-based standards] (WCHAR_MIN): Likewise.
16794         [C99-based standards] (WINT_MIN): Likewise.
16795         [C99-based standards] (*_t): Allow.
16796         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16797         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16798         Include math.h-data and complex.h-data.  Remove all expectations
16799         of math.h and complex.h contents.
16800         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16801         at end of line.
16802         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16803         (struct tm): Expect tag.
16804         [C99-based-standards] (wcstof): Expect function.
16805         [C99-based-standards] (wcstold): Likewise.
16806         [C99-based-standards] (wcstoll): Likewise.
16807         [C99-based-standards] (wcstoull): Likewise.
16808         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16809         macro-int-constant.  Specify type.
16810         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16811         constraint on value.
16812         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16813         Specify type.
16814         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16815         Specify value.
16816         [ISO C standards]: Do not allow headers.
16817         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16818         wcs[abcdefghijklmnopqrstuvwxyz]*.
16819         [ISO C standards] (*_t): Do not allow.
16820         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16821         Expect function.
16822         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16823         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16824         Specify type.
16825         [ISO C standards]: Do not allow headers.
16826         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16827         is[abcdefghijklmnopqrstuvwxyz]*.
16828         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16829         to[abcdefghijklmnopqrstuvwxyz]*.
16830         [ISO C standards] (*_t): Do not allow.
16831         * conform/data/stdalign.h-data: New file.
16832         * conform/data/stdbool.h-data: Likewise.
16833         * conform/data/stdnoreturn.h-data: Likewise.
16835 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16837         [BZ #14815]
16838         * manual/filesys.texi (Directory Entries): Typo fix.
16839         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16841 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16843         * elf/elf.h (EM_AARCH64): New macro.
16844         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16845         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16846         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16847         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16848         (R_AARCH64_TLSDESC): Likewise.
16849         (NT_ARM_TLS): Likewise.
16850         (NT_ARM_HW_BREAK): Likewise.
16851         (NT_ARM_HW_WATCH): Likewise.
16853 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16855         [BZ #14811]
16856         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16857         (__ieee754_powl): Saturate nonzero exponents with absolute value
16858         below 0x1p-79 to +/- 0x1p-79.
16859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16860         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16861         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16862         nonzero exponents with absolute value below 0x1p-32 to +/-
16863         0x1p-32.
16864         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16865         (__ieee754_powl): Saturate nonzero exponents with absolute value
16866         below 0x1p-79 to +/- 0x1p-79.
16867         * math/libm-test.inc (pow_test): Add more tests.
16869 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16871         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16872         _dl_s390_cap_flags with kernel. Increase string length.
16873         (_dl_s390_platforms): Add z196 and zEC12.
16875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16877         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16878         Change XOPEN21K to XOPEN2K.
16880 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16882         * string/memmove.c: Use memcpy when possible.
16884 2012-11-06  Andreas Jaeger  <aj@suse.de>
16886         * po/eo.po: Update from translation team.
16888 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16890         [BZ #14793]
16891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16892         exponent and small x and y exponents, scale x or y up.  Increase
16893         by 2 the exponent used in scaling up.
16894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16896         * math/libm-test.inc (fma_test): Add more tests.
16897         (fma_test_towardzero): Likewise.
16898         (fma_test_downward): Likewise.
16899         (fma_test_upward): Likewise.
16901 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16903         [BZ #14805]
16904         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16905         fenv_t *.
16907         [BZ #14801]
16908         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16909         namespace for names of struct fields.
16910         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16911         fenv_t fields.
16912         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16913         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16915 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16917         [BZ #3665]
16918         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16920 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16922         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16923         PTR_DEMANGLE.
16925         [BZ #5246]
16926         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16927         PTR_DEMANGLE.
16929 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16931         [BZ #14797]
16932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16933         definitely overflow as x * y not x * y + z.
16934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16935         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16936         * math/libm-test.inc (fma_test): Add more tests.
16937         (fma_test_towardzero): Likewise.
16938         (fma_test_downward): Likewise.
16939         (fma_test_upward): Likewise.
16941 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16943         [BZ #157]
16945         * include/stub-tag.h: Remove file.
16946         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16947         '#include' of it.
16948         * manual/maint.texi (Porting): Don't reference it.
16949         * Makerules ($(objpfx)stubs): Likewise.
16950         * dirent/closedir.c: Don't include <stub-tag.h>.
16951         * dirent/dirfd.c: Likewise.
16952         * dirent/fdopendir.c: Likewise.
16953         * dirent/getdents.c: Likewise.
16954         * dirent/getdents64.c: Likewise.
16955         * dirent/opendir.c: Likewise.
16956         * dirent/readdir.c: Likewise.
16957         * dirent/readdir64.c: Likewise.
16958         * dirent/readdir64_r.c: Likewise.
16959         * dirent/readdir_r.c: Likewise.
16960         * dirent/rewinddir.c: Likewise.
16961         * dirent/seekdir.c: Likewise.
16962         * dirent/telldir.c: Likewise.
16963         * gmon/profil.c: Likewise.
16964         * grp/setgroups.c: Likewise.
16965         * inet/if_index.c: Likewise.
16966         * io/access.c: Likewise.
16967         * io/chdir.c: Likewise.
16968         * io/chmod.c: Likewise.
16969         * io/chown.c: Likewise.
16970         * io/close.c: Likewise.
16971         * io/dup.c: Likewise.
16972         * io/dup2.c: Likewise.
16973         * io/dup3.c: Likewise.
16974         * io/euidaccess.c: Likewise.
16975         * io/faccessat.c: Likewise.
16976         * io/fchdir.c: Likewise.
16977         * io/fchmod.c: Likewise.
16978         * io/fchmodat.c: Likewise.
16979         * io/fchown.c: Likewise.
16980         * io/fchownat.c: Likewise.
16981         * io/fcntl.c: Likewise.
16982         * io/flock.c: Likewise.
16983         * io/fstatfs.c: Likewise.
16984         * io/fstatfs64.c: Likewise.
16985         * io/fstatvfs.c: Likewise.
16986         * io/fstatvfs64.c: Likewise.
16987         * io/futimens.c: Likewise.
16988         * io/fxstat.c: Likewise.
16989         * io/fxstat64.c: Likewise.
16990         * io/fxstatat.c: Likewise.
16991         * io/fxstatat64.c: Likewise.
16992         * io/getcwd.c: Likewise.
16993         * io/isatty.c: Likewise.
16994         * io/lchmod.c: Likewise.
16995         * io/lchown.c: Likewise.
16996         * io/link.c: Likewise.
16997         * io/linkat.c: Likewise.
16998         * io/lseek.c: Likewise.
16999         * io/lseek64.c: Likewise.
17000         * io/lxstat64.c: Likewise.
17001         * io/mkdir.c: Likewise.
17002         * io/mkdirat.c: Likewise.
17003         * io/mkfifo.c: Likewise.
17004         * io/mkfifoat.c: Likewise.
17005         * io/open.c: Likewise.
17006         * io/open64.c: Likewise.
17007         * io/openat.c: Likewise.
17008         * io/openat64.c: Likewise.
17009         * io/pipe.c: Likewise.
17010         * io/pipe2.c: Likewise.
17011         * io/poll.c: Likewise.
17012         * io/posix_fadvise.c: Likewise.
17013         * io/posix_fadvise64.c: Likewise.
17014         * io/posix_fallocate.c: Likewise.
17015         * io/posix_fallocate64.c: Likewise.
17016         * io/read.c: Likewise.
17017         * io/readlink.c: Likewise.
17018         * io/readlinkat.c: Likewise.
17019         * io/rmdir.c: Likewise.
17020         * io/sendfile.c: Likewise.
17021         * io/sendfile64.c: Likewise.
17022         * io/statfs.c: Likewise.
17023         * io/statfs64.c: Likewise.
17024         * io/statvfs.c: Likewise.
17025         * io/statvfs64.c: Likewise.
17026         * io/symlink.c: Likewise.
17027         * io/symlinkat.c: Likewise.
17028         * io/ttyname.c: Likewise.
17029         * io/ttyname_r.c: Likewise.
17030         * io/umask.c: Likewise.
17031         * io/unlink.c: Likewise.
17032         * io/unlinkat.c: Likewise.
17033         * io/utime.c: Likewise.
17034         * io/utimensat.c: Likewise.
17035         * io/write.c: Likewise.
17036         * io/xmknod.c: Likewise.
17037         * io/xmknodat.c: Likewise.
17038         * io/xstat.c: Likewise.
17039         * io/xstat64.c: Likewise.
17040         * login/getpt.c: Likewise.
17041         * login/grantpt.c: Likewise.
17042         * login/unlockpt.c: Likewise.
17043         * math/e_acoshl.c: Likewise.
17044         * math/e_acosl.c: Likewise.
17045         * math/e_asinl.c: Likewise.
17046         * math/e_atan2l.c: Likewise.
17047         * math/e_atanhl.c: Likewise.
17048         * math/e_coshl.c: Likewise.
17049         * math/e_expl.c: Likewise.
17050         * math/e_fmodl.c: Likewise.
17051         * math/e_gammal_r.c: Likewise.
17052         * math/e_hypotl.c: Likewise.
17053         * math/e_j0l.c: Likewise.
17054         * math/e_j1l.c: Likewise.
17055         * math/e_jnl.c: Likewise.
17056         * math/e_lgammal_r.c: Likewise.
17057         * math/e_log10l.c: Likewise.
17058         * math/e_log2l.c: Likewise.
17059         * math/e_logl.c: Likewise.
17060         * math/e_powl.c: Likewise.
17061         * math/e_rem_pio2l.c: Likewise.
17062         * math/e_sinhl.c: Likewise.
17063         * math/e_sqrtl.c: Likewise.
17064         * math/fclrexcpt.c: Likewise.
17065         * math/fedisblxcpt.c: Likewise.
17066         * math/feenablxcpt.c: Likewise.
17067         * math/fegetenv.c: Likewise.
17068         * math/fegetexcept.c: Likewise.
17069         * math/fegetround.c: Likewise.
17070         * math/feholdexcpt.c: Likewise.
17071         * math/fesetenv.c: Likewise.
17072         * math/fesetround.c: Likewise.
17073         * math/feupdateenv.c: Likewise.
17074         * math/fgetexcptflg.c: Likewise.
17075         * math/fraiseexcpt.c: Likewise.
17076         * math/fsetexcptflg.c: Likewise.
17077         * math/ftestexcept.c: Likewise.
17078         * math/k_cosl.c: Likewise.
17079         * math/k_rem_pio2l.c: Likewise.
17080         * math/k_sinl.c: Likewise.
17081         * math/k_tanl.c: Likewise.
17082         * math/s_asinhl.c: Likewise.
17083         * math/s_atanl.c: Likewise.
17084         * math/s_cbrtl.c: Likewise.
17085         * math/s_erfl.c: Likewise.
17086         * math/s_expm1l.c: Likewise.
17087         * math/s_log1pl.c: Likewise.
17088         * math/s_tanhl.c: Likewise.
17089         * misc/acct.c: Likewise.
17090         * misc/brk.c: Likewise.
17091         * misc/chflags.c: Likewise.
17092         * misc/chroot.c: Likewise.
17093         * misc/fchflags.c: Likewise.
17094         * misc/fgetxattr.c: Likewise.
17095         * misc/flistxattr.c: Likewise.
17096         * misc/fremovexattr.c: Likewise.
17097         * misc/fsetxattr.c: Likewise.
17098         * misc/fsync.c: Likewise.
17099         * misc/ftruncate.c: Likewise.
17100         * misc/futimes.c: Likewise.
17101         * misc/futimesat.c: Likewise.
17102         * misc/getdomain.c: Likewise.
17103         * misc/getdtsz.c: Likewise.
17104         * misc/gethostid.c: Likewise.
17105         * misc/gethostname.c: Likewise.
17106         * misc/getloadavg.c: Likewise.
17107         * misc/getpagesize.c: Likewise.
17108         * misc/getsysstats.c: Likewise.
17109         * misc/getxattr.c: Likewise.
17110         * misc/gtty.c: Likewise.
17111         * misc/ioctl.c: Likewise.
17112         * misc/lgetxattr.c: Likewise.
17113         * misc/listxattr.c: Likewise.
17114         * misc/llistxattr.c: Likewise.
17115         * misc/lremovexattr.c: Likewise.
17116         * misc/lsetxattr.c: Likewise.
17117         * misc/lutimes.c: Likewise.
17118         * misc/madvise.c: Likewise.
17119         * misc/mincore.c: Likewise.
17120         * misc/mlock.c: Likewise.
17121         * misc/mlockall.c: Likewise.
17122         * misc/mmap.c: Likewise.
17123         * misc/mprotect.c: Likewise.
17124         * misc/msync.c: Likewise.
17125         * misc/munlock.c: Likewise.
17126         * misc/munlockall.c: Likewise.
17127         * misc/munmap.c: Likewise.
17128         * misc/preadv.c: Likewise.
17129         * misc/preadv64.c: Likewise.
17130         * misc/ptrace.c: Likewise.
17131         * misc/pwritev.c: Likewise.
17132         * misc/pwritev64.c: Likewise.
17133         * misc/readv.c: Likewise.
17134         * misc/reboot.c: Likewise.
17135         * misc/remap_file_pages.c: Likewise.
17136         * misc/removexattr.c: Likewise.
17137         * misc/revoke.c: Likewise.
17138         * misc/select.c: Likewise.
17139         * misc/setdomain.c: Likewise.
17140         * misc/setegid.c: Likewise.
17141         * misc/seteuid.c: Likewise.
17142         * misc/sethostid.c: Likewise.
17143         * misc/sethostname.c: Likewise.
17144         * misc/setregid.c: Likewise.
17145         * misc/setreuid.c: Likewise.
17146         * misc/setxattr.c: Likewise.
17147         * misc/sstk.c: Likewise.
17148         * misc/stty.c: Likewise.
17149         * misc/swapoff.c: Likewise.
17150         * misc/swapon.c: Likewise.
17151         * misc/sync.c: Likewise.
17152         * misc/syncfs.c: Likewise.
17153         * misc/syscall.c: Likewise.
17154         * misc/truncate.c: Likewise.
17155         * misc/ualarm.c: Likewise.
17156         * misc/usleep.c: Likewise.
17157         * misc/ustat.c: Likewise.
17158         * misc/utimes.c: Likewise.
17159         * misc/vhangup.c: Likewise.
17160         * misc/writev.c: Likewise.
17161         * posix/_exit.c: Likewise.
17162         * posix/alarm.c: Likewise.
17163         * posix/execve.c: Likewise.
17164         * posix/fexecve.c: Likewise.
17165         * posix/fork.c: Likewise.
17166         * posix/fpathconf.c: Likewise.
17167         * posix/getaddrinfo.c: Likewise.
17168         * posix/getegid.c: Likewise.
17169         * posix/geteuid.c: Likewise.
17170         * posix/getgid.c: Likewise.
17171         * posix/getgroups.c: Likewise.
17172         * posix/getlogin.c: Likewise.
17173         * posix/getlogin_r.c: Likewise.
17174         * posix/getpgid.c: Likewise.
17175         * posix/getpid.c: Likewise.
17176         * posix/getppid.c: Likewise.
17177         * posix/getresgid.c: Likewise.
17178         * posix/getresuid.c: Likewise.
17179         * posix/getsid.c: Likewise.
17180         * posix/getuid.c: Likewise.
17181         * posix/glob64.c: Likewise.
17182         * posix/nanosleep.c: Likewise.
17183         * posix/pathconf.c: Likewise.
17184         * posix/pause.c: Likewise.
17185         * posix/posix_madvise.c: Likewise.
17186         * posix/pread.c: Likewise.
17187         * posix/pread64.c: Likewise.
17188         * posix/pwrite.c: Likewise.
17189         * posix/pwrite64.c: Likewise.
17190         * posix/sched_getaffinity.c: Likewise.
17191         * posix/sched_getp.c: Likewise.
17192         * posix/sched_gets.c: Likewise.
17193         * posix/sched_primax.c: Likewise.
17194         * posix/sched_primin.c: Likewise.
17195         * posix/sched_rr_gi.c: Likewise.
17196         * posix/sched_setaffinity.c: Likewise.
17197         * posix/sched_setp.c: Likewise.
17198         * posix/sched_sets.c: Likewise.
17199         * posix/sched_yield.c: Likewise.
17200         * posix/setgid.c: Likewise.
17201         * posix/setlogin.c: Likewise.
17202         * posix/setpgid.c: Likewise.
17203         * posix/setresgid.c: Likewise.
17204         * posix/setresuid.c: Likewise.
17205         * posix/setsid.c: Likewise.
17206         * posix/setuid.c: Likewise.
17207         * posix/sleep.c: Likewise.
17208         * posix/spawni.c: Likewise.
17209         * posix/sysconf.c: Likewise.
17210         * posix/times.c: Likewise.
17211         * posix/wait.c: Likewise.
17212         * posix/wait3.c: Likewise.
17213         * posix/wait4.c: Likewise.
17214         * posix/waitpid.c: Likewise.
17215         * resolv/gai_sigqueue.c: Likewise.
17216         * resource/getpriority.c: Likewise.
17217         * resource/getrlimit.c: Likewise.
17218         * resource/getrusage.c: Likewise.
17219         * resource/nice.c: Likewise.
17220         * resource/setpriority.c: Likewise.
17221         * resource/setrlimit.c: Likewise.
17222         * resource/ulimit.c: Likewise.
17223         * rt/aio_cancel.c: Likewise.
17224         * rt/aio_fsync.c: Likewise.
17225         * rt/aio_read.c: Likewise.
17226         * rt/aio_sigqueue.c: Likewise.
17227         * rt/aio_suspend.c: Likewise.
17228         * rt/aio_write.c: Likewise.
17229         * rt/clock_getres.c: Likewise.
17230         * rt/clock_gettime.c: Likewise.
17231         * rt/clock_nanosleep.c: Likewise.
17232         * rt/clock_settime.c: Likewise.
17233         * rt/lio_listio.c: Likewise.
17234         * rt/mq_close.c: Likewise.
17235         * rt/mq_getattr.c: Likewise.
17236         * rt/mq_notify.c: Likewise.
17237         * rt/mq_open.c: Likewise.
17238         * rt/mq_receive.c: Likewise.
17239         * rt/mq_send.c: Likewise.
17240         * rt/mq_setattr.c: Likewise.
17241         * rt/mq_timedreceive.c: Likewise.
17242         * rt/mq_timedsend.c: Likewise.
17243         * rt/mq_unlink.c: Likewise.
17244         * rt/shm_open.c: Likewise.
17245         * rt/shm_unlink.c: Likewise.
17246         * rt/timer_create.c: Likewise.
17247         * rt/timer_delete.c: Likewise.
17248         * rt/timer_getoverr.c: Likewise.
17249         * rt/timer_gettime.c: Likewise.
17250         * rt/timer_settime.c: Likewise.
17251         * setjmp/__longjmp.c: Likewise.
17252         * setjmp/setjmp.c: Likewise.
17253         * signal/kill.c: Likewise.
17254         * signal/killpg.c: Likewise.
17255         * signal/raise.c: Likewise.
17256         * signal/sigaction.c: Likewise.
17257         * signal/sigaltstack.c: Likewise.
17258         * signal/sigblock.c: Likewise.
17259         * signal/sigignore.c: Likewise.
17260         * signal/sigintr.c: Likewise.
17261         * signal/signal.c: Likewise.
17262         * signal/sigpause.c: Likewise.
17263         * signal/sigpending.c: Likewise.
17264         * signal/sigqueue.c: Likewise.
17265         * signal/sigreturn.c: Likewise.
17266         * signal/sigset.c: Likewise.
17267         * signal/sigsetmask.c: Likewise.
17268         * signal/sigstack.c: Likewise.
17269         * signal/sigsuspend.c: Likewise.
17270         * signal/sigtimedwait.c: Likewise.
17271         * signal/sigvec.c: Likewise.
17272         * signal/sigwait.c: Likewise.
17273         * signal/sigwaitinfo.c: Likewise.
17274         * signal/sysv_signal.c: Likewise.
17275         * socket/accept.c: Likewise.
17276         * socket/accept4.c: Likewise.
17277         * socket/bind.c: Likewise.
17278         * socket/connect.c: Likewise.
17279         * socket/getpeername.c: Likewise.
17280         * socket/getsockname.c: Likewise.
17281         * socket/getsockopt.c: Likewise.
17282         * socket/isfdtype.c: Likewise.
17283         * socket/listen.c: Likewise.
17284         * socket/recv.c: Likewise.
17285         * socket/recvfrom.c: Likewise.
17286         * socket/recvmsg.c: Likewise.
17287         * socket/send.c: Likewise.
17288         * socket/sendmsg.c: Likewise.
17289         * socket/sendto.c: Likewise.
17290         * socket/setsockopt.c: Likewise.
17291         * socket/shutdown.c: Likewise.
17292         * socket/sockatmark.c: Likewise.
17293         * socket/socket.c: Likewise.
17294         * socket/socketpair.c: Likewise.
17295         * stdio-common/ctermid.c: Likewise.
17296         * stdio-common/cuserid.c: Likewise.
17297         * stdio-common/remove.c: Likewise.
17298         * stdio-common/rename.c: Likewise.
17299         * stdio-common/renameat.c: Likewise.
17300         * stdio-common/tempname.c: Likewise.
17301         * stdlib/getcontext.c: Likewise.
17302         * stdlib/makecontext.c: Likewise.
17303         * stdlib/setcontext.c: Likewise.
17304         * stdlib/swapcontext.c: Likewise.
17305         * stdlib/system.c: Likewise.
17306         * streams/fattach.c: Likewise.
17307         * streams/fdetach.c: Likewise.
17308         * streams/getmsg.c: Likewise.
17309         * streams/getpmsg.c: Likewise.
17310         * streams/putmsg.c: Likewise.
17311         * streams/putpmsg.c: Likewise.
17312         * sysdeps/unix/bsd/getpt.c: Likewise.
17313         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17314         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17315         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17317         Likewise.
17318         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17319         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17320         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17321         * sysvipc/msgctl.c: Likewise.
17322         * sysvipc/msgget.c: Likewise.
17323         * sysvipc/msgrcv.c: Likewise.
17324         * sysvipc/msgsnd.c: Likewise.
17325         * sysvipc/semctl.c: Likewise.
17326         * sysvipc/semget.c: Likewise.
17327         * sysvipc/semop.c: Likewise.
17328         * sysvipc/semtimedop.c: Likewise.
17329         * sysvipc/shmat.c: Likewise.
17330         * sysvipc/shmctl.c: Likewise.
17331         * sysvipc/shmdt.c: Likewise.
17332         * sysvipc/shmget.c: Likewise.
17333         * termios/tcdrain.c: Likewise.
17334         * termios/tcflow.c: Likewise.
17335         * termios/tcflush.c: Likewise.
17336         * termios/tcgetattr.c: Likewise.
17337         * termios/tcgetpgrp.c: Likewise.
17338         * termios/tcsendbrk.c: Likewise.
17339         * termios/tcsetattr.c: Likewise.
17340         * termios/tcsetpgrp.c: Likewise.
17341         * time/adjtime.c: Likewise.
17342         * time/clock.c: Likewise.
17343         * time/getitimer.c: Likewise.
17344         * time/gettimeofday.c: Likewise.
17345         * time/setitimer.c: Likewise.
17346         * time/settimeofday.c: Likewise.
17347         * time/stime.c: Likewise.
17348         * time/time.c: Likewise.
17350 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17352         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17353         /usr/old/bin.
17355         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17356         instead of spaces.
17357         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17359 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #14796]
17362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17363         FE_TONEAREST before applying Dekker multiplication and Knuth
17364         addition.  Clear inexact exceptions and check for exact zero
17365         results afterwards.
17366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17367         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17369         * math/libm-test.inc (fma_test): Add more tests.
17370         (fma_test_towardzero): Likewise.
17371         (fma_test_downward): Likewise.
17372         (fma_test_upward): Likewise.
17373         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17374         function.
17375         (libc_fesetround): New macro.
17376         (libc_fesetroundf): Likewise.
17377         (libc_fesetroundl): Likewise.
17378         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17379         function.
17380         (libc_fesetround_387): Likewise.
17381         (libc_fesetroundf): New macro.
17382         (libc_fesetround): Likewise.
17383         (libc_fesetroundl): Likewise.
17384         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17385         function.
17386         (libc_fesetroundf): New macro.
17387         (libc_fesetround): Likewise.
17388         (libc_fesetroundl): Likewise.
17389         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17390         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17391         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17392         libm_hidden_ver.
17393         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17394         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17395         libm_hidden_def.
17396         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17397         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17398         libm_hidden_ver.
17399         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17400         libm_hidden_def.
17402         [BZ #3439]
17403         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17404         integer constant usable in #if and use that to give value to enum
17405         constant.
17406         (FE_DIVBYZERO): Likewise.
17407         (FE_UNDERFLOW): Likewise.
17408         (FE_OVERFLOW): Likewise.
17409         (FE_INVALID): Likewise.
17410         (FE_INVALID_SNAN): Likewise.
17411         (FE_INVALID_ISI): Likewise.
17412         (FE_INVALID_IDI): Likewise.
17413         (FE_INVALID_ZDZ): Likewise.
17414         (FE_INVALID_IMZ): Likewise.
17415         (FE_INVALID_COMPARE): Likewise.
17416         (FE_INVALID_SOFTWARE): Likewise.
17417         (FE_INVALID_SQRT): Likewise.
17418         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17419         (FE_TONEAREST): Likewise.
17420         (FE_TOWARDZERO): Likewise.
17421         (FE_UPWARD): Likewise.
17422         (FE_DOWNWARD): Likewise.
17423         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17424         (FE_DIVBYZERO): Likewise.
17425         (FE_OVERFLOW): Likewise.
17426         (FE_UNDERFLOW): Likewise.
17427         (FE_INEXACT): Likewise.
17428         (FE_TONEAREST): Likewise.
17429         (FE_DOWNWARD): Likewise.
17430         (FE_UPWARD): Likewise.
17431         (FE_TOWARDZERO): Likewise.
17432         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17433         (FE_UNDERFLOW): Likewise.
17434         (FE_OVERFLOW): Likewise.
17435         (FE_DIVBYZERO): Likewise.
17436         (FE_INVALID): Likewise.
17437         (FE_TONEAREST): Likewise.
17438         (FE_TOWARDZERO): Likewise.
17439         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17440         (FE_OVERFLOW): Likewise.
17441         (FE_UNDERFLOW): Likewise.
17442         (FE_DIVBYZERO): Likewise.
17443         (FE_INEXACT): Likewise.
17444         (FE_TONEAREST): Likewise.
17445         (FE_TOWARDZERO): Likewise.
17446         (FE_UPWARD): Likewise.
17447         (FE_DOWNWARD): Likewise.
17448         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17449         (FE_DIVBYZERO): Likewise.
17450         (FE_OVERFLOW): Likewise.
17451         (FE_UNDERFLOW): Likewise.
17452         (FE_INEXACT): Likewise.
17453         (FE_TONEAREST): Likewise.
17454         (FE_DOWNWARD): Likewise.
17455         (FE_UPWARD): Likewise.
17456         (FE_TOWARDZERO): Likewise.
17458 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17460         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17462 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17464         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17465         commands.  Quote $PWD.
17466         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17467         -x" by "export".
17468         (remove_newlines): Remove.
17470 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17472         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17473         * stdlib/stdlib.h (atof): Moved to ...
17474         * include/bits/stdlib-float.h: Here.  New file.
17475         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17476         * stdlib/bits/stdlib-float.h: New file.
17477         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17478         -mno-sse -mno-mmx.
17479         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17480         <xmmintrin.h>.
17482 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17484         * conform/conformtest.pl (@headers): Add fenv.h.
17485         * conform/data/fenv.h-data: New file.
17486         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17487         include of <math/fenv.h>.
17489         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17490         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17491         && !UNIX98].  Enables tests for XOPEN2K8.
17492         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17493         POSIX2008]: Likewise.
17495         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17496         (struct rusage): Do not expect type or its members.
17498         [BZ #3439]
17499         * math/math.h (FP_NAN): Define macro to integer constant usable in
17500         #if and use that to give value to enum constant.
17501         (FP_INFINITE): Likewise.
17502         (FP_ZERO): Likewise.
17503         (FP_SUBNORMAL): Likewise.
17504         (FP_NORMAL): Likewise.
17506 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17508         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17509         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17510         arguments.
17512 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17514         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17515         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17516         autoconf-time if not.
17517         * configure.in: Remove AC_PREREQ.
17519 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17521         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17522         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17523         of the internal implementation.
17525 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17527         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17528         except include of <misc/sys/syslog.h>.
17530 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17533         function returns with a NULL context exit with zero.
17535 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17537         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17539 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17541         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17542         (run_program_cmd): This.
17543         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17544         (tst_langinfo): New variable.  Use it.
17546 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17548         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17549         floating point opcodes.
17551 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17553         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17554         variable.
17556         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17558         * sysdeps/mach/hurd/powerpc: Remove directory.
17559         * sysdeps/mach/powerpc: Likewise.
17561 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17563         * scripts/check-local-headers.sh: Ignore c++ headers.
17565 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17567         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17568         __libc_cleanup_region_start argument.
17570 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17572         [BZ #14784]
17573         [BZ #14785]
17574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17575         x * y using scaling, not as x * y + z.
17576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17577         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17578         * math/libm-test.inc (fma_test): Add more tests.
17579         (fma_test_towardzero): Likewise.
17580         (fma_test_downward): Likewise.
17581         (fma_test_upward): Likewise.
17583 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17585         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17587 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17589         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17590         New variable.
17592 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17594         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17596 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17599         Fix sort order.
17600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17601         Likewise.
17603 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17606         Fix the order of the list for glibc 2.17.
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17608         Likewise.
17610 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17614 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17616         [BZ #14610]
17617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17618         for low part of x being zero before using __atanl (y).
17619         * math/libm-test.inc (atan2_test): Add another test.
17621         * manual/install.texi (Configuring and compiling): Document
17622         general use of test-wrapper and test-wrapper-env.
17623         * INSTALL: Regenerated.
17625         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17626         (__fma): Do not extract and scale down low bits on after-rounding
17627         systems when result rounded to normal precision would have normal
17628         exponent.
17629         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17630         (__fmal): Do not extract and scale down low bits on after-rounding
17631         systems when result rounded to normal precision would have normal
17632         exponent.
17633         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17634         (__fmal): Do not extract and scale down low bits on after-rounding
17635         systems when result rounded to normal precision would have normal
17636         exponent.
17637         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17638         macro.
17639         (fma_test): Add more tests.
17640         (fma_test_towardzero): Likewise.
17641         (fma_test_downward): Likewise.
17642         (fma_test_upward): Likewise.
17644 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17646         * sysdeps/i386/tininess.h: Renamed to ...
17647         * sysdeps/x86/tininess.h: This.
17648         * sysdeps/x86_64/tininess.h: Removed.
17650 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17652         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17653         input.  Use $(build-program-cmd).
17654         ($(objpfx)tst-array1-static.out): Likewise.
17655         ($(objpfx)tst-array2.out): Likewise.
17656         ($(objpfx)tst-array3.out): Likewise.
17657         ($(objpfx)tst-array4.out): Likewise.
17658         ($(objpfx)tst-array5.out): Likewise.
17659         ($(objpfx)tst-array5-static.out): Likewise.
17661 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17663         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17664         if defined.
17666         * nss/nsswitch.h (nss_interface_function): Provide new
17667         macro for use with NSS functions.
17668         * grp/initgroups.c: Use new macro.
17669         * nss/getXXbyYY.c: Likewise.
17670         * nss/getXXbyYY_r.c: Likewise.
17671         * nss/getXXent.c: Likewise.
17672         * nss/getXXent_r.c: Likewise.
17673         * sysdeps/posix/getaddrinfo.c: Likewise.
17675 2012-10-30  Andreas Jaeger  <aj@suse.de>
17677         * po/ru.po: Update Russion translation from translation project.
17679 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17681         [BZ #14152]
17682         [BZ #14783]
17683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17684         result and shift together with sticky bit instead of replicating
17685         round-to-nearest rounding.
17686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17688         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17689         missing underflow exceptions.
17690         (fma_test_towardzero): Add more tests.
17691         (fma_test_downward): Likewise.
17692         (fma_test_upward): Likewise.
17694         [BZ #14047]
17695         * sysdeps/generic/tininess.h: New file.
17696         * sysdeps/i386/tininess.h: Likewise.
17697         * sysdeps/sh/tininess.h: Likewise.
17698         * sysdeps/x86_64/tininess.h: Likewise.
17699         * stdlib/tst-strtod-underflow.c: Likewise.
17700         * stdlib/tst-tininess.c: Likewise.
17701         * stdlib/strtod_l.c: Include <tininess.h>.
17702         (round_and_return): Do not set errno for exact underflow cases.
17703         Force an underflow exception when setting errno for underflow.
17704         Determine underflow based on rounding to normal precision if
17705         TININESS_AFTER_ROUNDING.
17706         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17707         ERANGE for exact underflow cases.
17708         * stdlib/Makefile (tests): Add tst-tininess and
17709         tst-strtod-underflow.
17710         ($(objpfx)tst-tininess): Use $(link-libm).
17711         ($(objpfx)tst-strtod-underflow): Likewise.
17713 2012-10-30  Andreas Jaeger  <aj@suse.de>
17715         [BZ#14767]
17716         * elf/Makefile (tests): Remove conditional for have-initfini-array
17717         since this is now always required and the variable does not exist
17718         anymore.
17719         (tests-static): Likewise.
17720         (modules-names): Likewise.
17722         * po/eo.po: Add Esperanto translation from translation project.
17724         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17725         merged with constructor/destructor.
17726         (init_array): Likewise.
17727         * elf/tst-array2dep.c (fini_array): Likewise.
17728         (init_array): Likewise.
17730 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17732         * manual/message.texi: Delete @cartouche tags.
17734 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17736         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17737         EOPNOTSUPP.
17738         * sysdeps/mach/hurd/fsync.c: Likewise.
17740         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17741         [_POSIX_REALTIME_SIGNALS]: Change condition to
17742         [_POSIX_REALTIME_SIGNALS > 0].
17744 2012-10-27  Andreas Jaeger  <aj@suse.de>
17746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17747         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17749         [__WORDSIZE != 64]: Likewise.
17751 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17753         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17754         *  iconvdata/tst-tables.sh: Likewise.
17756 2012-10-25  David S. Miller  <davem@davemloft.net>
17758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17759         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17760         of strtoull.
17762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17763         ifunc-impl-list.c
17764         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17765         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17766         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17767         file.
17769 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17771         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17772         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17773         __getdirentries.
17775 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17776             Jim Blandy  <jimb@codesourcery.com>
17778         * scripts/cross-test-ssh.sh: New file.
17779         * manual/install.texi (Configuring and compiling): Document use of
17780         cross-test-ssh.sh.
17781         * INSTALL: Regenerated.
17783 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17785         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17786         EOPNOTSUPP.
17788 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17790         * Makeconfig (run-program-prefix): Fix comment.
17792 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17793             Jim Blandy  <jimb@codesourcery.com>
17795         * Makeconfig (test-wrapper): New variable,
17796         (test-wrapper-env): Likewise.
17797         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17798         (run-built-tests): Define to yes.
17799         (run-program-prefix): Use $(test-wrapper).
17800         (built-program-cmd): Likewise.
17801         * Rules (make-test-out): Use $(test-wrapper-env) and
17802         $(host-built-program-cmd).
17803         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17804         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17805         tst-pathopt.sh.
17806         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17807         $(test-wrapper-env) to tst-rtld-load-self.sh.
17808         ($(objpfx)order2.out): Use $(test-wrapper).
17809         ($(objpfx)tst-initorder.out): Likewise.
17810         ($(objpfx)tst-initorder2.out): Likewise.
17811         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17812         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17813         (test_wrapper_env): New variable.  Use it to run ld.so.
17814         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17815         Use it to run ld.so.
17816         (test_wrapper_env): Likewise.
17817         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17818         $(test-wrapper) to run-iconv-test.sh.
17819         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17820         (ICONV): Use $test_wrapper.
17821         * posix/Makefile ($(objpfx)globtest.out): Pass
17822         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17823         globtest.sh, not $(run-program-prefix).
17824         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17825         (test_wrapper): Likewise.
17826         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17827         set together with run_via_rtld_prefix.
17828         (run_program_prefix): Define in terms of test_wrapper and
17829         run_via_rtld_prefix.
17831 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17833         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17834         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17835         Targets removed.
17837         [BZ #14743]
17838         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17839         Declare __clock_getres, __clock_gettime, __clock_settime,
17840         __clock_nanosleep, and __clock_getcpuclockid.
17841         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17842         Remove librt_hidden_def (clock_gettime).
17843         * sysdeps/unix/clock_gettime.c: Likewise.
17844         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17846         * rt/clock_getres.c: Define __clock_getres as an alias.
17847         * sysdeps/posix/clock_getres.c: Likewise.
17848         * rt/clock_settime.c: Define __clock_settime as an alias.
17849         * sysdeps/unix/clock_settime.c: Likewise.
17850         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17851         * sysdeps/unix/clock_nanosleep.c: Likewise.
17852         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17853         * rt/clock-compat.c: New file.
17854         * rt/Makefile (librt-routines): Add clock-compat and move
17855         $(clock-routines) to ...
17856         (routines): ... here, new variable.
17857         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17858         Don't add get_clockfreq here.
17859         * rt/Versions (libc: GLIBC_2.17): New version set.
17860         Add clock_* symbols here.
17861         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17863         (GLIBC_2.17): Add clock_* symbols.
17864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17868         Likewise.
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17870         Likewise.
17871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17875         * NEWS: Mention the move.
17877         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17878         Use __open, __read, __close rather than their public counterparts.
17879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17880         (__get_clockfreq_via_cpuinfo): Likewise.
17881         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17882         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17884         * config.h.in (HAVE_IFUNC): New #undef.
17885         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17886         was successful.
17887         * configure: Regenerated.
17889 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17891         * configure.in: Move READELF check to start of file.
17892         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17893         libc_cv_asm_gnu_indirect_function in the process.
17894         * configure: Regenerated.
17896 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17898         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17899         send the output to /dev/null.
17900         (libc_cv_cc_with_libunwind): Likewise.
17901         (libc_cv_as_noexecstack): Likewise.
17902         * configure: Regenerate.
17904 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17906         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17908         * posix/globtest.sh (TMPDIR): Do not set.
17909         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17910         (testout): Likewise.
17912 2012-10-24  Andreas Jaeger  <aj@suse.de>
17914         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17915         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17916         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17917         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17918         posix_fadvise64, posix_fallocate64.
17920         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17921         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17922         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17923         Likewise.
17924         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17925         Likewise.
17926         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17929         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17930         <bits/fcntl-linux.h>.
17931         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17933         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17934         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17935         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17936         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17937         [__WORDSIZE != 64]: Likewise.
17939 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17941         * Makeconfig (run-built-tests): New variable.
17942         * Rules [$(cross-compiling) = yes]: Change condition to
17943         [$(run-built-tests) = no].
17944         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17945         to [$(run-built-tests) = yes].
17946         * elf/Makefile [$(cross-compiling) = no]: Likewise
17947         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17948         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17949         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17950         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17951         * io/Makefile [$(cross-compiling) = no]: Likewise.
17952         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17953         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17954         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17955         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17956         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17957         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17958         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17959         * string/Makefile [$(cross-compiling) = no]: Likewise.
17961         * posix/Makefile ($(objpfx)globtest.out): Pass
17962         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17963         $(rtld-installed-name).
17964         * posix/globtest.sh (elf_objpfx): Remove variable.
17965         (rtld_installed_name): Likewise.
17966         (library_path): Likewise.
17967         (run_program_prefix): New variable.  Use for running globtest
17968         binary.
17970 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17971             Joseph Myers  <joseph@codesourcery.com>
17973         * Makeconfig (host-built-program-cmd): New variable.
17974         * elf/Makefile (tst-stackguard1-ARGS): Use
17975         $(host-built-program-cmd).
17976         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17977         (tst-spawn-ARGS): Likewise.
17978         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17980 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17981             Jim Blandy  <jimb@codesourcery.com>
17983         * Makeconfig (run-via-rtld-prefix): New variable.
17984         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17985         (built-program-cmd): Likewise.
17987 2012-10-22  Andreas Jaeger  <aj@suse.de>
17989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17990         __O_RSYNC if it exists, otherwise to O_SYNC.
17992 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17993             Joseph Myers  <joseph@codesourcery.com>
17995         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17996         /dev/null.
17997         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17998         from /dev/null
17999         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18000         /dev/null.
18002 2012-10-22  Andreas Jaeger  <aj@suse.de>
18004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18005         Define always.
18006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18009         bits/fcntl-linux.h.
18011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18012         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18015         to __O_LARGEFILE.
18016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18017         to __O_LARGEFILE.
18019 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18020             Joseph Myers  <joseph@codesourcery.com>
18022         * config.make.in (NM): New variable.
18024 2012-10-21  Andreas Jaeger  <aj@suse.de>
18026         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18027         definitions and declarations that are provided by
18028         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18030 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18032         [BZ #14683]
18033         * elf/Makefile (tests-static): Add tst-leaks1-static.
18034         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18035         ($(objpfx)tst-leaks1-static): New rule.
18036         ($(objpfx)tst-leaks1-static-mem): Likewise.
18037         (tst-leaks1-static-ENV): New macro.
18038         * elf/dl-open.c (dl_open_worker): Check the main application
18039         only if SHARED is defined.
18040         * elf/tst-leaks1-static.c: New file.
18042 2012-10-20  Andreas Jaeger  <aj@suse.de>
18044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18045         generic values for Linux.
18046         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18047         and declarations that are provided by <bits/fcntl-linux.h> and
18048         include <bits/fcntl-linux.h>.
18049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18052 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18054         * io/fcntl.h: Move include of <bits/types.h> to the top and
18055         include it unconditionally.
18057 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18059         * wcsmbs/Makefile (tests-ifunc): New variable.
18060         (tests): Add $(tests-ifunc).
18061         * wcsmbs/test-wcschr-ifunc.c: New file.
18062         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18063         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18064         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18065         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18066         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18068         * string/Makefile (tests-ifunc): New variable.
18069         (tests): Add $(tests-ifunc).
18070         * string/test-memccpy.c (TEST_NAME): New macro.
18071         * string/test-memchr.c (TEST_NAME): Likewise.
18072         * string/test-memcmp.c (TEST_NAME): Likewise.
18073         * string/test-memcpy.c (TEST_NAME): Likewise.
18074         * string/test-memmem.c (TEST_NAME): Likewise.
18075         * string/test-memmove.c (TEST_NAME): Likewise.
18076         * string/test-memset.c (TEST_NAME): Likewise.
18077         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18078         * string/test-stpcpy.c (TEST_NAME): Likewise.
18079         * string/test-stpncpy.c (TEST_NAME): Likewise.
18080         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18081         * string/test-strcasestr.c (TEST_NAME): Likewise.
18082         * string/test-strcat.c (TEST_NAME): Likewise.
18083         * string/test-strchr.c (TEST_NAME): Likewise.
18084         * string/test-strcmp.c(TEST_NAME): Likewise.
18085         * string/test-strcpy.c (TEST_NAME): Likewise.
18086         * string/test-strcspn.c (TEST_NAME): Likewise.
18087         * string/test-strlen.c (TEST_NAME): Likewise.
18088         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18089         * string/test-strncmp.c (TEST_NAME): Likewise.
18090         * string/test-strncpy.c (TEST_NAME): Likewise.
18091         * string/test-strnlen.c (TEST_NAME): Likewise.
18092         * string/test-strpbrk.c (TEST_NAME): Likewise.
18093         * string/test-strrchr.c (TEST_NAME): Likewise.
18094         * string/test-strspn.c (TEST_NAME): Likewise.
18095         * string/test-strstr.c (TEST_NAME): Likewise.
18096         * string/test-bcopy-ifunc.c: New file.
18097         * string/test-bzero-ifunc.c: Likewise.
18098         * string/test-memccpy-ifunc.c: Likewise.
18099         * string/test-memchr-ifunc.c: Likewise.
18100         * string/test-memcmp-ifunc.c: Likewise.
18101         * string/test-memcpy-ifunc.c: Likewise.
18102         * string/test-memmem-ifunc.c: Likewise.
18103         * string/test-memmove-ifunc.c: Likewise.
18104         * string/test-mempcpy-ifunc.c: Likewise.
18105         * string/test-memset-ifunc.c: Likewise.
18106         * string/test-rawmemchr-ifunc.c: Likewise.
18107         * string/test-stpcpy-ifunc.c: Likewise.
18108         * string/test-stpncpy-ifunc.c: Likewise.
18109         * string/test-strcasecmp-ifunc.c: Likewise.
18110         * string/test-strcasestr-ifunc.c: Likewise.
18111         * string/test-strcat-ifunc.c: Likewise.
18112         * string/test-strchr-ifunc.c: Likewise.
18113         * string/test-strchrnul-ifunc.c: Likewise.
18114         * string/test-strcmp-ifunc.c: Likewise.
18115         * string/test-strcpy-ifunc.c: Likewise.
18116         * string/test-strcspn-ifunc.c: Likewise.
18117         * string/test-strlen-ifunc.c: Likewise.
18118         * string/test-strncasecmp-ifunc.c: Likewise.
18119         * string/test-strncat-ifunc.c: Likewise.
18120         * string/test-strncmp-ifunc.c: Likewise.
18121         * string/test-strncpy-ifunc.c: Likewise.
18122         * string/test-strnlen-ifunc.c: Likewise.
18123         * string/test-strpbrk-ifunc.c: Likewise.
18124         * string/test-strrchr-ifunc.c: Likewise.
18125         * string/test-strspn-ifunc.c: Likewise.
18126         * string/test-strstr-ifunc.c: Likewise.
18128         * debug/Makefile (tests-ifunc): New variable.
18129         (tests): Add $(tests-ifunc).
18130         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18131         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18132         * debug/test-stpcpy_chk-ifunc.c: New file.
18133         * debug/test-strcpy_chk-ifunc.c: Likewise.
18135 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18137         [BZ #13601]
18138         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18139         header is not read in.
18141 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18143         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18144         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18145         directly.  Pass built executable to script as
18146         $(built-program-cmd).
18147         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18148         $testprogram without using LD_LIBRARY_PATH and $ldso.
18150         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18151         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18152         $(rtld-installed-name).
18153         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18154         (rtld_installed_name): Likewise.
18155         (library_path): Likewise.
18156         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18157         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18158         $(run-program-prefix) to tst-tables.sh.
18159         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18160         it to run tst-table-from and tst-table-to.
18161         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18162         Pass it to tst-table.sh.
18163         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18164         $(run-program-prefix) to tst-gettext.sh.
18165         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18166         tst-translit.sh.
18167         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18168         tst-gettext2.sh.
18169         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18170         to run tst-gettext.
18171         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18172         to run tst-gettext2.
18173         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18174         to run tst-translit.
18175         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18176         $(run-program-prefix) to tst-mtrace.sh.
18177         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18178         to run tst-mtrace.
18179         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18180         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18181         $(rtld-installed-name).
18182         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18183         (rtld_installed_name): Likewise.
18184         (run_program_prefix): New variable.  Use it to run wordexp-test.
18186         * Makeconfig (ARCH): Remove all definitions.
18187         (machine): Likewise.
18188         [ARCH]: Remove conditional code.
18189         [!objdir]: Give error.
18190         [!objdir] (objpfx): Remove.
18191         [!objdir] (common-objpfx): Likewise.
18192         [!objdir] (common-objdir): Likewise.
18193         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18194         AC_CONFIG_FILES call.
18195         * configure: Regenerated.
18197         [BZ #13888]
18198         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18199         or TMPDIR.
18200         (testout): Likewise.
18202         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18203         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18204         $(rtld-installed-name).
18205         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18206         (rtld_installed_name): Likwise.
18207         (runit): Remove function.
18208         (run_getconf): New variable,  Use it for running getconf binary.
18210 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18212         [BZ #14716]
18213         * string/test-memmem.c (check_result): New function.
18214         (do_one_test): Use it.
18215         (check1): New function.
18216         (test_main): Use it.
18218 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18220         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18222 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18224         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18225         (_G_LSEEK64): Likewise.
18226         (_G_MMAP64): Likewise.
18227         (_G_FSTAT64): Likewise.
18228         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18229         (_G_LSEEK64): Likewise.
18230         (_G_MMAP64): Likewise.
18231         (_G_FSTAT64): Likewise.
18232         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18233         unconditional.  Call __mmap64 directly.
18234         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18235         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18236         __lseek64 directly.
18237         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18238         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18239         __mmap64 directly.
18240         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18241         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18242         __lseek64 directly.
18243         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18244         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18245         __lseek64 directly.
18246         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18247         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18248         __lseek64 directly.
18249         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18250         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18251         __fxstat64 directly.
18252         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18253         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18254         unconditional.
18255         (freopen64) [!_G_OPEN64]: Remove conditional code.
18256         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18257         unconditional.
18258         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18259         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18260         unconditional.
18261         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18262         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18263         unconditional.
18264         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18265         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18266         unconditional.
18267         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18268         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18269         unconditional.
18270         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18271         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18272         unconditional.
18273         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18274         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18275         unconditional.
18276         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18278 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18280         [BZ #12140]
18281         * manual/memory.texi (Malloc Tunable Parameters): Add note
18282         about free list pointers overwriting some perturb bytes.
18283         Wording suggested by Roland McGrath.
18285 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18287         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18288         (lgamma_test): Likewise.
18289         (tgamma_test): Likewise.
18291 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18293         [BZ #14700]
18294         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18295         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18297 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18299         * NEWS: Mention BZ #14716.
18300         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18301         when removing AVAILABLE1_USES_J macro.
18303 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18305         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18306         (__bswap_64): __uint64_t for unsigned 64-bit int.
18308 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18310         * include/string.h (memmem): Declare libc hidden alias.
18311         * string/memmem.c (memmem): Define libc hidden alias.
18312         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18313         __read, __close instead of open, read, close.
18315 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18318         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18319         global and hidden.
18320         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18321         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18322         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18323         Likewise.
18324         (__rawmemchr_sse2): Likewise.
18325         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18326         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18327         (__strchr_sse2): Likewise.
18328         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18329         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18330         (__strcasecmp_sse2): Likewise.
18331         (__strncasecmp_sse2): Likewise.
18332         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18333         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18334         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18335         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18336         (__strrchr_sse2): Likewise.
18337         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18338         ifunc-impl-list.c.
18339         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18340         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18341         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18342         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18343         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18344         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18347         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18348         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18349         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18350         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18351         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18352         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18353         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18354         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18355         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18356         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18357         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18358         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18359         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18360         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18361         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18362         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18363         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18364         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18365         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18366         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18367         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18368         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18370         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18371         global and hidden.
18372         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18373         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18374         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18375         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18376         Likewise.
18377         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18378         Likewise.
18379         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18380         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18381         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18382         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18383         ifunc-impl-list.c.
18384         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18385         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18386         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18387         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18388         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18389         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18390         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18391         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18392         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18393         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18394         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18395         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18396         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18397         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18398         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18399         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18400         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18401         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18402         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18406         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18407         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18408         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18409         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18410         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18411         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18412         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18416         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18418         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18419         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18420         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18421         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18422         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18423         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18424         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18426         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18427         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18428         * include/ifunc-impl-list.h: New file.
18429         * misc/ifunc-impl-list.c: Likewise.
18430         * misc/Makefile (routines): Add ifunc-impl-list.
18431         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18432         * string/test-string.h: Include <ifunc-impl-list.h>.
18433         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18434         impl_array): New variables.
18435         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18436         are defined.
18437         (test_init): Call __libc_ifunc_impl_list to initialize
18438         func_list if TEST_IFUNC and TEST_NAME are defined.
18440         * string/Makefile (strop-tests): Add bcopy and bzero.
18441         * string/test-bcopy.c: New file.
18442         * string/test-bzero.c: Likewise.
18443         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18444         defined.
18445         * string/test-memset.c: Support bzero test if TEST_BZERO is
18446         defined.
18447         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18448         __libc_memmove.
18449         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18450         __libc_memset.
18451         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18452         of memset.
18454 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18456         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18457         * configure: Regenerated.
18459         * Makeconfig (+link-static-before-libc): Don't include
18460         $(link-static-libc).
18462         * libio/libio.h (_IO_pos_t): Remove.
18464 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18466         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18467         McGrath.
18469 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18471         * crypt/crypt-entry.c: Include fips-private.h.
18472         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18473         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18474         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18475         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18477 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18479         * crypt/crypt-private.h: Include stdbool.h.
18480         (_ufc_setup_salt_r): Return bool.
18481         * crypt/crypt-entry.c: Include errno.h.
18482         (__crypt_r): Return NULL with EINVAL for bad salt.
18483         * crypt/crypt_util.c (bad_for_salt): New.
18484         (_ufc_setup_salt_r): Check that salt is long enough and within
18485         the specified alphabet.
18486         * crypt/badsalttest.c: New file.
18487         * crypt/Makefile (tests): Add it.
18488         ($(objpfx)badsalttest): New.
18490 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18492         * NEWS: Add entry for BZ #14602.
18494 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18496         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18497         type-generic.
18498         * math/libm-test.inc: Update comment listing what functions and
18499         macros are tested.
18500         (isgreater_test): New function.
18501         (isgreaterequal_test): Likewise.
18502         (isless_test): Likewise.
18503         (islessequal_test): Likewise.
18504         (islessgreater_test): Likewise.
18505         (isunordered_test): Likewise.
18506         (main): Call the new functions.
18508 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18510         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18511         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18512         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18513         * sysdeps/i386/configure: Regenerated.
18514         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18515         * sysdeps/mach/configure: Regenerated.
18516         * sysdeps/mach/hurd/configure: Regenerated.
18517         * sysdeps/powerpc/configure: Regenerated.
18518         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18519         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18520         * sysdeps/s390/s390-32/configure: Regenerated.
18521         * sysdeps/s390/s390-64/configure: Regenerated.
18522         * sysdeps/sh/configure: Regenerated.
18523         * sysdeps/sparc/configure: Regenerated.
18524         * sysdeps/unix/sysv/linux/configure: Regenerated.
18525         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18526         * sysdeps/x86_64/configure: Regenerated.
18528         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18529         defined.  Don't check if MAP is NULL.
18531 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18533         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18534         (_G_stat64): Likewise.
18535         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18536         (_G_stat64): Likewise.
18537         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18538         instead of struct _G_stat64.
18539         * libio/fileops.c (mmap_remap_check): Likewise.
18540         (decide_maybe_mmap): Likewise.
18541         (_IO_new_file_seekoff): Likewise.
18542         (_IO_file_stat): Likewise.
18543         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18544         _G_off64_t.
18545         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18546         instead of struct _G_stat64.
18547         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18549 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18551         [BZ #14602]
18552         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18553         Replace with ...
18554         (CHECK_EOL): New macro.
18555         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18556         CHECK_EOL.
18557         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18558         Replace with CHECK_EOL.
18559         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18560         Replace with CHECK_EOL.
18562 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18564         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18565         type-generic.
18566         * math/libm-test.inc: Update comment listing what functions and
18567         macros are tested.
18568         (finite_test): New function.
18569         (isinf_test): Likewise.
18570         (isnan_test): Likewise.
18571         (fpclassify_test): Test subnormal input.
18572         (isfinite_test): Likewise.
18573         (isnormal_test): Likewise.
18574         (main): Call the new functions.
18576 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18578         [BZ #14660]
18579         * Makerules (%.dynsym): Force C locale when running
18580         $(OBJDUMP) --dynamic-syms.
18582 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18584         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18585         <stdint.h>.
18587 2012-10-06  David S. Miller  <davem@davemloft.net>
18589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18590         upper 32-bits of the length value in %o2 since we use branch-on-register
18591         tests which consider the entire 64-bit register.
18593 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18595         * string/test-strstr.c (check2): Add a test for page boundary.
18597 2012-10-05  David S. Miller  <davem@davemloft.net>
18599         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18600         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18601         file.
18602         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18603         sysdep_routines.
18604         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18605         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18606         and bzero when HWCAP_SPARC_CRYPTO is present.
18608 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18610         [BZ #14602]
18611         * string/test-strstr.c (check2): New function.
18612         (test_main): Call check2.
18614         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18615         and bug-strchr1.
18616         * string/bug-strcasestr1.c (do_test): Moved to ...
18617         * string/test-strcasestr.c (check1): Here.  New function.
18618         (do_one_test): Break out result checking code into ...
18619         (check_result): This.  New function.
18620         (do_one_test): Call check_result.
18621         (test_main): Call check1.
18622         * string/bug-strchr1.c (do_test): Moved to ...
18623         * string/test-strchr.c (check1): Here.  New function.
18624         (do_one_test): Break out result checking code into ...
18625         (check_result): This.  New function.
18626         (do_one_test): Call check_result.
18627         (test_main): Call check1.
18628         * string/bug-strstr1.c (main): Moved to ...
18629         * string/test-strstr.c (check1): Here.  New function.
18630         (do_one_test): Break out result checking code into ...
18631         (check_result): This.  New function.
18632         (do_one_test): Call check_result.
18633         (test_main): Call check1.
18634         * string/bug-strcasestr1.c: Removed.
18635         * string/bug-strchr1.c: Likewise.
18636         * string/bug-strstr1.c: Likewise.
18638         * elf/Makefile (dl-routines): Add hwcaps.
18639         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18640         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18641         (_dl_important_hwcaps): Moved to ...
18642         * elf/dl-hwcaps.c: Here.  New file.
18643         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18645         [BZ #14557]
18646         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18647         if IS_IN_rtld isn't defined.
18649         * elf/dl-support.c (_dl_sysinfo_map): New.
18650         Include "get-dynamic-info.h" and "setup-vdso.h".
18651         (_dl_non_dynamic_init): Call setup_vdso.
18652         * elf/dynamic-link.h: Don't include <assert.h>.
18653         (elf_get_dynamic_info): Moved to ...
18654         * elf/get-dynamic-info.h: Here.  New file.
18655         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18656         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18657         * elf/setup-vdso.h: Here.  New file.
18658         * elf/rtld.c: Include "setup-vdso.h".
18659         (dl_main): Call setup_vdso.
18661 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18663         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18664         creal in comment listing functions tested.  List finite, isinf,
18665         isnan, isless, islessequal, isgreater, isgreaterequal,
18666         islessgreater, isunordered, lgamma_r and pow10 as functions and
18667         macros not tested.  Mention which functions not tested are aliases
18668         for other functions.  Fix typo.  Note that signs of NaNs are not
18669         tested.
18671         * scripts/config.guess: Update from config.git.
18672         * scripts/config.sub: Likewise.
18674 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18676         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18677         * misc/madvise.c (madvise): Renamed to __madvise.
18678         Make madvise a weak alias.
18679         * include/sys/mman.h: Declare __madvise.
18680         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18681         * sysdeps/unix/syscalls.list
18682         (madvise): Make __madvise the strong name, and madvise a weak alias.
18683         * sysdeps/unix/sysv/linux/syscalls.list
18684         (madvise, mmap): Remove redundant entries.
18685         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18686         * malloc/malloc.c (mtrim): Likewise.
18687         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18689 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18691         * sysdeps/mach/hurd/dl-cache.c: File removed.
18692         * config.h.in (USE_LDCONFIG): New #undef.
18693         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18694         * configure: Regenerated.
18695         * elf/Makefile (dl-routines): Add dl-cache only under
18696         [$(use-ldconfig) = yes].
18697         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18698         cache on [USE_LDCONFIG].
18699         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18700         [USE_LDCONFIG].
18701         * elf/rtld.c (dl_main): Likewise.
18703 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18705         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18706         _SC_LEVEL4_CACHE_LINESIZE.
18708 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18710         * sysdeps/unix/bsd/confstr.h: File removed.
18712 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18714         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18715         sys/sdt-config.h.
18717 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18719         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18720         Make 'mapoff' field ElfW(Off) rather than off_t.
18722 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18724         * nscd/Makefile: Remove nscd-cflags and all its users.
18725         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18726         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18728         [BZ #10631]
18729         * malloc.c (malloc_printerr): Clarify error message.
18731 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18733         [BZ #14648]
18734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18735         Set bit_FMA_Usable if FMA is supported.
18736         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18737         macro.
18738         (bit_FMA4_Usable): Updated.
18739         (index_FMA_Usable): New macro.
18740         (CPUID_FMA): Likewise
18741         (HAS_FMA): Defined with bit_FMA_Usable.
18743 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18745         * bits/types.h (__swblk_t): Type removed.
18746         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18747         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18749         (__SWBLK_T_TYPE): Likewise.
18750         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18751         (__SWBLK_T_TYPE): Likewise.
18752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18753         (__SWBLK_T_TYPE): Likewise.
18754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18755         (__SWBLK_T_TYPE): Likewise.
18757 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18758             Honza Horak <hhorak@redhat.com>
18760         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18761         (xdr_mapname): Use YPMAXMAP as maxsize.
18762         (xdr_peername): Use YPMAXPEER as maxsize.
18763         (xdr_keydat): Use YPAXRECORD as maxsize.
18764         (xdr_valdat): Use YPMAXRECORD as maxsize.
18766 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18768         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18770         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18771         * csu/init-first.c: ... here.
18772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18773         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18774         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18775         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18776         * sysdeps/i386/init-first.c: File removed.
18777         * sysdeps/sh/init-first.c: File removed.
18779 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18781         [BZ #14645]
18782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18783         if x * y might underflow to zero and z is zero.
18784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18786         * math/libm-test.inc (min_subnorm_value): New variable.
18787         (fma_test): Add more tests.
18788         (fma_test_towardzero): Likewise.
18789         (fma_test_downward): Likewise
18790         (fma_test_upward): Likewise.
18791         (initialize): Set min_subnorm_value.
18793 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18795         [BZ #14638]
18796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18797         0 + 0.
18798         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18799         mode for addition resulting in exact zero.
18800         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18802         exact 0 + 0.
18803         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18805         * math/libm-test.inc (fma_test): Add more tests.
18806         (fma_test_towardzero): New function.
18807         (fma_test_downward): Likewise.
18808         (fma_test_upward): Likewise.
18809         (main): Call the new functions.
18811 2012-09-28  David S. Miller  <davem@davemloft.net>
18813         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18815 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18817         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18818         instead of SIGALRM.
18820         * sysdeps/gnu/_G_config.h: Moved to ...
18821         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18822         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18823         * sysdeps/generic/_G_config.h: ... here.
18825         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18827         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18829         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18830         Conditionalize target on [libnss_test1.so-version].
18832         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18834         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18835         (elfobjdir): Move out of conditionals.
18837         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18838         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18839         (__nss_lookup_function): Conditionalize label remove_from_tree on
18840         [!DO_STATIC_NSS || SHARED], matching its only use.
18842 2012-09-28  David S. Miller  <davem@davemloft.net>
18844         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18845         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18846         file.
18847         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18848         sysdep_routines.
18849         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18851         when HWCAP_SPARC_CRYPTO is present.
18853 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18855         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18857 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18859         [BZ #6530]
18860         * stdio-common/vfprintf.c (process_string_arg): Revert
18861         2000-07-22 change.
18863 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18865         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18866         for testcase.
18867         * stdio-common/tst-sprintf.c: Include <locale.h>
18868         (main): Test sprintf's handling of incomplete multibyte
18869         characters.
18871 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18873         * elf/dl-runtime.c (VERSYMIDX): Removed.
18874         * elf/dl-version.c (VERSYMIDX): Likewise.
18875         * elf/do-rel.h (VERSYMIDX): Likewise.
18876         (VALIDX): Likewise.
18877         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18878         * elf/rtld.c (VALIDX): Likewise.
18879         (ADDRIDX): Likewise.
18880         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18881         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18882         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18883         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18884         (VALIDX): Likewise.
18885         (ADDRIDX): Likewise.
18887 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18889         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18891 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18893         [BZ #11438]
18894         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18895         to global scope.
18896         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18897         addresses are in the same scope as 192.0.2/24.
18898         * posix/gai.conf: Document new scope table defaults.
18900 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18902         [BZ #5298]
18903         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18904         for ftell.  Compute offsets from write pointers instead.
18905         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18907 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909         [BZ #14543]
18910         * libio/Makefile (tests): New test case tst-fseek.
18911         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18912         combination works in wide mode.
18913         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18914         state when the external buffer state changes.
18916 2012-09-27  David S. Miller  <davem@davemloft.net>
18918         [BZ #14376]
18919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18920         pass reloc->r_addend in as the 'high' argument to
18921         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18925 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18927         * rt/tst-aio2.c: Include <pthread.h>.
18928         * rt/tst-aio3.c: Likewise.
18930 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18932         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18934 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18936         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18937         contents on [SHARED].
18939 2012-09-26  Marek Polacek  <polacek@redhat.com>
18941         [BZ #14530]
18942         [BZ #13741]
18943         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18944         for C++ and GCC <4.3 as well as for non GCC compilers.
18946 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18950 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18952         * Makefile.in (all, install): Declare with .PHONY.
18953         Reported by Michael Hope <michael.hope@linaro.org>.
18955 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18957         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18958         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18959         system header.
18960         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18961         Likewise.
18962         (sydep_routines): Add the new and the internal functions.
18963         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18964         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18966         (GLIBC_2.17): Add the new function.
18967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18968         (GLIBC_2.17): Likewise.
18969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18970         (GLIBC_2.17): Likewise.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18972         (GLIBC_2.17): Likewise.
18973         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18975 2012-09-25  Alan Modra  <amodra@gmail.com>
18977         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18978         Add release barrier before setting once_control to say
18979         initialisation is done.  Add hints on lwarx.  Use macro in
18980         place of isync.
18981         (clear_once_control): Add release barrier.
18983 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18985         [BZ #13629]
18986         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18987         specially.
18988         * math/s_clog10.c (__clog10): Likewise.
18989         * math/s_clog10f.c (__clog10f): Likewise.
18990         * math/s_clog10l.c (__clog10l): Likewise.
18991         * math/s_clogf.c (__clogf): Likewise.
18992         * math/s_clogl.c (__clogl): Likewise.
18993         * math/Makefile (libm-calls): Add x2y2m1.
18994         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18995         (__x2y2m1): Likewise.
18996         (__x2y2m1l): Likewise.
18997         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18998         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18999         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19001         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19002         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19003         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19004         * sysdeps/i386/fpu/libm-test-ulps: Update.
19005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19007         [BZ #14621]
19008         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19009         int as type of variable DEPTH.
19010         (glob): Use size_t instead of int as type of variables NEWCOUNT
19011         and OLD_PATHC.
19013 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19015         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19016         Add s_sincosf-sse2.
19017         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19018         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19019         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19020         macros for using routine as __sincosf_ia32.
19021         Use macro for function declaration and weak_alias.
19022         * sysdeps/i386/fpu/libm-test-ulps: Update.
19024         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19027         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19028         subnormal argument.
19029         * math/s_cexpf.c (__cexpf): Likewise.
19030         * math/s_csinf.c (__csinf): Likewise.
19031         * math/s_csinhf.c (__csinhf): Likewise.
19032         * math/s_ctanf.c (__ctanf): Likewise.
19033         * math/s_ctanhf.c (__ctanhf): Likewise.
19034         * math/s_ccosh.c (__ccoshf): Likewise.
19035         * math/s_cexp.c (__cexpl): Likewise.
19036         * math/s_csin.c (__csin): Likewise.
19037         * math/s_csinh.c (__csinh): Likewise.
19038         * math/s_ctan.c (__ctan): Likewise.
19039         * math/s_ctanh.c (ctanh): Likewise.
19040         * math/s_ccoshl.c (__ccoshl): Likewise.
19041         * math/s_cexpl.c (__cexpl): Likewise.
19042         * math/s_csinl.c (__csinl): Likewise.
19043         * math/s_csinhl.c (__csinhl): Likewise.
19044         * math/s_ctanl.c (__ctanl): Likewise.
19045         * math/s_ctanhl.c (__ctanhl): Likewise.
19047 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19049         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19050         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19051         (_IO_off_t): Define to __off_t, not _G_off_t.
19052         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19053         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19054         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19055         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19056         type of __dummy and __dummy2 fields.
19057         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19058         (_G_ssize_t): Likewise.
19059         (_G_off_t): Likewise.
19060         (_G_pid_t): Likewise.
19061         (_G_uid_t): Likewise.
19062         (_G_wchar_t): Likewise.
19063         (_G_wint_t): Likewise.
19064         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19065         (_G_ssize_t): Likewise.
19066         (_G_off_t): Likewise.
19067         (_G_pid_t): Likewise.
19068         (_G_uid_t): Likewise.
19069         (_G_wchar_t): Likewise.
19070         (_G_wint_t): Likewise.
19071         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19072         (_G_ssize_t): Likewise.
19073         (_G_off_t): Likewise.
19074         (_G_pid_t): Likewise.
19075         (_G_uid_t): Likewise.
19076         (_G_wchar_t): Likewise.
19077         (_G_wint_t): Likewise.
19079 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081         * malloc/arena.c: Include malloc-sysdep.h.
19082         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19083         is sufficient to shrink the heap or an unmap is needed.
19084         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19085         new function check_may_shrink_heap.
19086         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19087         new function check_may_shrink_heap.
19089 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19091         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19092         comments.
19094 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19096         * catgets/test-gencat.sh: Add "set -e".
19097         * elf/tst-pathopt.sh: Likewise.
19098         * grp/tst_fgetgrent.sh: Likewise.
19099         * iconvdata/run-iconv-test.sh: Likewise.
19100         * intl/tst-gettext.sh: Likewise.
19101         * intl/tst-gettext2.sh: Likewise.
19102         * intl/tst-gettext4.sh: Likewise.
19103         * intl/tst-gettext6.sh: Likewise.
19104         * intl/tst-translit.sh: Likewise.
19105         * io/ftwtest-sh: Likewise.
19106         * libio/test-freopen.sh: Likewise.
19107         * malloc/tst-mtrace.sh: Likewise.
19108         * posix/globtest.sh: Likewise.
19109         * posix/tst-getconf.sh: Likewise.
19110         * posix/wordexp-tst.sh: Likewise.
19111         * stdio-common/tst-printf.sh: Likewise.
19112         * stdio-common/tst-unbputc.sh: Likewise.
19113         * stdlib/tst-fmtmsg.sh: Likewise.
19114         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19115         * catgets/Makefile: Do not specify -e option when running
19116         testsuite shell scripts.
19117         * elf/Makefile: Likewise.
19118         * grp/Makefile: Likewise.
19119         * iconvdata/Makefile: Likewise.
19120         * intl/Makefile: Likewise.
19121         * io/Makefile: Likewise.
19122         * libio/Makefile: Likewise.
19123         * malloc/Makefile: Likewise.
19124         * posix/Makefile: Likewise.
19125         * stdio-common/Makefile: Likewise.
19126         * stdlib/Makefile: Likewise.
19127         * sysdeps/x86_64/Makefile: Likewise.
19129         * io/ftwtest-sh: Add copyright header.
19130         * posix/globtest.sh: Likewise.
19131         * posix/tst-getconf.sh: Likewise.
19132         * posix/wordexp-tst.sh: Likewise.
19133         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19135 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19137         [BZ #13679]
19138         * Makeconfig (+link): Defined as $(+link-static) if
19139         $(build-shared) isn't yes.
19140         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19141         isn't yes.
19142         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19144         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19146         [BZ #14562]
19147         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19148         new chunk size with MALLOC_ALIGN_MASK.
19150 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19152         [BZ #5044]
19153         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19154         <rounding-mode.h>.
19155         (__printf_fphex): Determine rounding using get_rounding_mode and
19156         round_away.
19157         * stdio-common/tst-printf-round.c (struct hex_test): New
19158         structure.
19159         (hex_tests): New variable.
19160         (test_hex_in_one_mode): New function.
19161         (do_test): Also run tests for hex float output.
19163 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19165         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19166         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19167         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19168         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19169         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19170         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19171         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19172         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19174 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19176         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19177         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19178         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19179         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19181 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19183         [BZ #14579]
19184         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19185         mode only.
19186         * elf/tst-rtld-load-self.sh: New test.
19187         * elf/Makefile: Run it.
19189 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19191         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19192         (tst-writev-ENV): Remove.
19193         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19195 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19197         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19199 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19201         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19202         unconditional.
19203         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19204         Likewise.
19205         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19206         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19207         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19208         Likewise.
19210 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19212         [BZ #14587]
19213         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19214         * config.make.in (have-cpp-asm-debuginfo): Removed.
19215         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19216         * configure: Regenerated.
19218 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19220         [BZ #5044]
19221         * stdio-common/printf_fp.c: Include <stdbool.h> and
19222         <rounding-mode.h>.
19223         (___printf_fp): Determine rounding using get_rounding_mode and
19224         round_away.
19225         * stdio-common/tst-printf-round.c: New file.
19226         * stdio-common/Makefile (tests): Add tst-printf-round.
19227         (link-libm): New variable.
19228         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19230 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19232         [BZ #14576]
19233         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19234         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19235         Likewise.
19236         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19237         Likewise.
19239 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19241         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19242         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19243         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19244         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19246 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19248         [BZ #14518]
19249         * include/rounding-mode.h: New file.
19250         * sysdeps/generic/get-rounding-mode.h: Likewise.
19251         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19252         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19253         (MAX_VALUE): New macro.
19254         (MIN_VALUE): Likewise.
19255         (overflow_value): New function.
19256         (underflow_value): Likewise.
19257         (round_and_return): Use overflow_value and underflow_value to
19258         determine return values in overflow and underflow cases.  Use
19259         round_away to determine rounding depending on rounding mode.
19260         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19261         determine return values in overflow and underflow cases.
19262         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19263         (struct test_results): New structure.
19264         (struct test): Use struct test_results to store expected results
19265         for all rounding modes.
19266         (TEST): Include expected results for all rounding modes.
19267         (test_in_one_mode): New function.
19268         (do_test): Use test_in_one_mode to compute and check results.
19269         Check results for all rounding modes.
19270         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19271         $(link-libm).
19273 2012-12-09  Allan McRae  <allan@archlinux.org>
19275         * sysdeps/i386/fpu/libm-test-ulps: Update
19277 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19279         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19280         (_G_int32_t): Likewise.
19281         (_G_uint16_t): Likewise.
19282         (_G_uint32_t): Likewise.
19283         (_G_HAVE_BOOL): Likewise.
19284         (_G_HAVE_ATEXIT): Likewise.
19285         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19286         (_G_HAVE_IO_FILE_OPEN): Likewise.
19287         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19288         (_G_int32_t): Likewise.
19289         (_G_uint16_t): Likewise.
19290         (_G_uint32_t): Likewise.
19291         (_G_HAVE_BOOL): Likewise.
19292         (_G_HAVE_ATEXIT): Likewise.
19293         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19294         (_G_HAVE_IO_FILE_OPEN): Likewise.
19295         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19296         (_G_int32_t): Likewise.
19297         (_G_uint16_t): Likewise.
19298         (_G_uint32_t): Likewise.
19299         (_G_HAVE_BOOL): Likewise.
19300         (_G_HAVE_ATEXIT): Likewise.
19301         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19302         (_G_HAVE_IO_FILE_OPEN): Likewise.
19304 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19306         * csu/libc-tls.c: Update copyright years.
19308 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19310         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19311         [!_G_USING_THUNKS]: Remove conditional code.
19312         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19313         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19315         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19316         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19317         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19318         (_G_VTABLE_LABEL_PREFIX): Likewise.
19319         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19320         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19321         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19322         (_G_VTABLE_LABEL_PREFIX): Likewise.
19323         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19324         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19325         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19326         (_G_VTABLE_LABEL_PREFIX): Likewise.
19327         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19329 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19331         * libio/Makefile: Include ../Makeconfig before tests.
19332         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19333         only if $(build-shared) is yes.
19335         * iconv/gconv_db.c: Update copyright years.
19337 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19339         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19340         unwind info if defined PIC. Fix special cases description.
19341         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19343         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19344         DP_HI_MASK entry.
19345         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19347 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19349         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19351         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19352         is NULL.
19354         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19355         (LDLIBS-tst-chk4): This.
19356         (LDFLAGS-tst-chk5): Renamed to ...
19357         (LDLIBS-tst-chk5): This.
19358         (LDFLAGS-tst-chk6): Renamed to ...
19359         (LDLIBS-tst-chk6): This.
19360         (LDFLAGS-tst-lfschk4): Renamed to ...
19361         (LDLIBS-tst-lfschk4): This.
19362         (LDFLAGS-tst-lfschk5): Renamed to ...
19363         (LDLIBS-tst-lfschk5): This.
19364         (LDFLAGS-tst-lfschk6): Renamed to ...
19365         (LDLIBS-tst-lfschk6): This.
19367         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19368         on $(common-objpfx)soversions.mk.
19370 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19372         [BZ #10014]
19373         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19374         example host name.
19376 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19378         * malloc/arena.c (arena_get_retry): New function that gets
19379         another arena for the caller to try its request on.
19380         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19381         current arena cannot fulfill the request.
19382         (__libc_memalign): Likewise.
19383         (__libc_memalign): Likewise.
19384         (__libc_pvalloc): Likewise.
19385         (__libc_calloc): Likewise.
19387 2012-09-05  John Tobey  <john.tobey@gmail.com>
19389         [BZ #13542]
19390         * manual/arith.texi (Operations on Complex): Fix description
19391         of carg branch cut.
19393 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19395         [BZ #10014]
19396         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19397         host name.
19399         [BZ #10038]
19400         * manual/memory.texi (Memory): Make order of menu items match
19401         order of sections.
19403 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19405         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19406         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19407         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19409 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19411         * csu/libc-tls.c (static_dtv): Renamed to ...
19412         (_dl_static_dtv): This.  Make it global.
19413         (_dl_initial_dtv): Removed.
19414         (__libc_setup_tls): Updated.
19415         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19416         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19417         DL_INITIAL_DTV.
19419 2012-09-06  Petr Machata  <pmachata@redhat.com>
19421         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19422         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19423         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19424         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19426 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19428         [BZ #14545]
19429         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19430         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19431         freeing dtv[-1].
19433 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19435         [BZ #14544]
19436         * Makeconfig (link-static-before-libc): Replace $(+prector)
19437         with $(+prectorT).
19438         (link-static-after-libc): Replace $(+postctor) with
19439         $(+postctorT).
19440         (link-bounded): Replace $(+prector)/$(+postctor) with
19441         $(+prectorT)/$(+postctorT).
19442         (+prectorT): New macro.
19443         (+postctorT): Likewise.
19445 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19447         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19448         (round_str): Handle values above the maximum for IBM long double
19449         as inexact.
19450         * stdlib/tst-strtod-round.c (tests): Regenerated.
19452 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19454         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19455         assembler flag.
19456         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19457         zarch_nohighgprs around the zarch optimized routines.
19458         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19459         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19460         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19461         for zarch.
19463 2012-09-05  David S. Miller  <davem@davemloft.net>
19465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19467         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19468         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19469         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19470         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19471         entries.
19473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19475         * malloc/arena.c: Fold copyright years.
19476         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19480         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19484         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19486 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19488         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19489         change internal state upon failure.
19491 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19493         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19494         * malloc/memusage.c (mmap): Likewise.
19495         (mmap64, mremap): Likewise.  Adjust name in comment.
19497 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19499         * libio/fileops.c: Fix typos in comments.
19500         * libio/oldfileops.c: Likewise.
19501         * libio/wfileops.c: Likewise.
19503 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19505         [BZ #1349]
19506         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19507         (tst-malloc-usable-ENV): Set environment for test case.
19508         * malloc/hooks.c (malloc_check_get_size): New function to get
19509         requested size.
19510         * malloc/malloc.c (musable): Use malloc_check_get_size.
19511         * malloc/tst-malloc-usable.c: New test case.
19513 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19515         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19517 2012-09-05  Allan McRae  <allan@archlinux.org>
19519         [BZ #13966]
19520         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19521         determine header location.
19522         * configure: Regenerated.
19524 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19526         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19527         float format.
19528         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19529         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19530         format.
19531         (test): Regenerate.
19533 2012-09-04  David S. Miller  <davem@davemloft.net>
19535         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19536         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19537         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19539 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19541         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19542         failures.
19544         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19546 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19548         [BZ #9914]
19549         * libio/iogetdelim.c: Include <limits.h>.
19550         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19551         + len + 1 would overflow.
19553 2012-09-03  Andreas Jaeger  <aj@suse.de>
19555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19556         * sysdeps/i386/fpu/libm-test-ulps: Update.
19558 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19560         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19561         Add s_sinf-sse2, s_conf-sse2.
19563         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19564         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19565         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19566         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19568         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19569         for using routine as __sinf_ia32.
19570         Use macro for function declaration and weak_alias.
19571         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19572         for using routine as __cosf_ia32.
19573         Use macro for function declaration and weak_alias.
19575         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19576         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19578         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19579         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19582         * math/libm-test.inc (cos_test): Add more test cases.
19583         (sin_test): Likewise.
19584         (sincos_test): Likewise.
19586 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19589         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19590         hidden.
19591         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19593 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19595         [BZ #14538]
19596         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19597         first element of the GOT.
19598         (elf_machine_load_address): Return the difference between
19599         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19601 2012-09-01  Allan McRae  <allan@archlinux.org>
19603         [BZ #13412]
19604         * configure.in (AWK): Require gawk version 3.0 or later.
19605         * configure: Regenerated.
19607 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19609         * sysdeps/unix/sysv/linux/kernel-features.h
19610         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19611         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19612         [__NR_clock_getres]: Make code unconditional.
19613         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19614         (clock_getcpuclockid): Remove code left unreachable by removal of
19615         conditionals.
19616         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19617         code unconditional.
19618         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19620         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19621         Make code unconditional.
19622         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19623         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19624         * sysdeps/unix/sysv/linux/clock_settime.c
19625         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19626         conditional code.
19627         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19628         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19630 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19632         [BZ #14476]
19633         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19634         scripts/test-installation.pl.
19636         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19637         and $ld_so_version if it is set.
19639 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19641         [BZ #14516]
19642         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19643         failure if reading from procfs failed.
19644         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19646 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19648         * sysdeps/unix/sysv/linux/kernel-features.h
19649         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19650         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19651         Remove conditional code.
19652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19653         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19654         Remove conditional code.
19655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19656         * sysdeps/unix/sysv/linux/i386/fxstat.c
19657         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19659         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19660         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19662         * sysdeps/unix/sysv/linux/i386/lxstat.c
19663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19665         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19666         Remove conditional code.
19667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19668         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19669         Remove conditional code.
19670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19671         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19672         <kernel-features.h>.
19673         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19674         Remove.
19675         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19676         Remove conditional code.
19677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19678         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19679         Remove conditional.
19681 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19683         [BZ #5400]
19684         * NEWS: Add fixed bug number.
19686 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19688         [BZ #14519]
19689         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19690         underflowing exponent in case of negative sign.
19691         * stdlib/tst-strtod-round-data: Add more tests.
19692         * stdlib/tst-strtod-round.c (tests): Regenerated.
19694         [BZ #3479]
19695         * stdlib/strtod_l.c (NDIG): Remove.
19696         (HEXNDIG): Likewise.
19697         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19698         smallest representable value.
19699         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19700         lie within an exact representation of 1/2 ulp of the result.
19701         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19702         unconditionally.
19703         (TENS_P9_IDX): Define unconditionally.
19704         (TENS_P9_SIZE): Likewise.
19705         (TENS_P10_IDX): Likewise.
19706         (TENS_P10_SIZE): Likewise.
19707         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19708         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19709         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19710         entries for 10^2^13 and 10^2^14.
19711         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19712         (TENS_P13_IDX): Define.
19713         (TENS_P13_SIZE): Likewise.
19714         (TENS_P14_IDX): Likewise.
19715         (TENS_P14_SIZE): Likewise.
19716         (_fpioconst_pow10): Change array size to
19717         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19718         unconditional.
19719         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19720         1024]: Add entries for 10^2^13 and 10^2^14.
19721         [LAST_POW10 > _LAST_POW10]: Remove #error.
19722         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19723         (_fpioconst_pow10): Change array size to
19724         FPIOCONST_POW10_ARRAY_SIZE.
19725         * stdlib/gen-fpioconst.c: New file.
19726         * stdlib/gen-tst-strtod-round.c: Likewise.
19727         * stdlib/tst-strtod-round-data: Likewise.
19728         * stdlib/tst-strtod-round.c: Likewise.
19729         * stdlib/Makefile (tests): Add tst-strtod-round.
19731         [BZ #14459]
19732         * stdlib/strtod_l.c: Include <stdint.h>.
19733         (NDEBUG): Do not define.
19734         (round_and_return): Change EXPONENT parameter to type intmax_t.
19735         Rearrange calculations to avoid internal overflow possibilities.
19736         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19737         Rearrange calculations to avoid internal overflow possibilities.
19738         Assert that number fits inside MPNSIZE limbs.
19739         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19740         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19741         calculations and add assertions to avoid internal overflow
19742         possibilities.  Add casts to avoid signed/unsigned operations.
19743         * stdlib/tst-strtod-overflow.c: New file.
19744         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19746 2012-08-25  Marek Polacek  <polacek@redhat.com>
19748         * time/time.h: Fix some typos in comments.
19750 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19752         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19753         * posix/tst-rfc3484-2.c: Likewise.
19754         * posix/tst-rfc3484-3.c: Likewise.
19756 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19758         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19759         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19761 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19763         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19764         #include of fxstatat64.c.
19766 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19768         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19769         * shadow/getspent_r.c: Likewise.
19770         * shadow/getspnam.c: Likewise.
19771         * shadow/getspnam_r.c: Likewise.
19772         * gshadow/getsgent.c: Likewise.
19773         * gshadow/getsgent_r.c: Likewise.
19774         * gshadow/getsgnam.c: Likewise.
19775         * gshadow/getsgnam_r.c: Likewise.
19776         * inet/getnetbyad.c: Likewise.
19777         * inet/getnetbyad_r.c: Likewise.
19778         * inet/getnetbynm.c: Likewise.
19779         * inet/getnetbynm_r.c: Likewise.
19780         * inet/getnetent.c: Likewise.
19781         * inet/getnetent_r.c: Likewise.
19782         * inet/getproto.c: Likewise.
19783         * inet/getproto_r.c: Likewise.
19784         * inet/getprtent.c: Likewise.
19785         * inet/getprtent_r.c: Likewise.
19786         * inet/getprtname.c: Likewise.
19787         * inet/getprtname_r.c: Likewise.
19788         * inet/getrpcbyname.c: Likewise.
19789         * inet/getrpcbyname_r.c: Likewise.
19790         * inet/getrpcbynumber.c: Likewise.
19791         * inet/getrpcbynumber_r.c: Likewise.
19792         * inet/getrpcent.c: Likewise.
19793         * inet/getrpcent_r.c: Likewise.
19794         * inet/getaliasent.c: Likewise.
19795         * inet/getaliasent_r.c: Likewise.
19796         * inet/getaliasname.c: Likewise.
19797         * inet/getaliasname_r.c: Likewise.
19798         * nscd/getgrgid_r.c: Likewise.
19799         * nscd/getgrnam_r.c: Likewise.
19800         * nscd/gethstbyad_r.c: Likewise.
19801         * nscd/gethstbynm3_r.c: Likewise.
19802         * nscd/getpwnam_r.c: Likewise.
19803         * nscd/getpwuid_r.c: Likewise.
19804         * nscd/getsrvbynm_r.c: Likewise.
19805         * nscd/getsrvbypt_r.c: Likewise.
19806         * nscd/gai.c: Likewise.
19808         * configure.in (build_nscd): New substituted variable, set
19809         by --disable-build-nscd and defaults to $use_nscd.
19810         * configure: Regenerated.
19811         * config.make.in (build-nscd): New substituted variable.
19812         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19813         Change conditional to require [$(build-nscd) = yes] as well.
19814         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19816         [BZ# 13696]
19817         * configure.in (use_nscd): New substituted variable, set by
19818         --disable-nscd.  If enabled, define USE_NSCD.
19819         * configure: Regenerated.
19820         * config.h.in: Add USE_NSCD.
19821         * config.make.in (use-nscd): New substituted variable.
19822         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19823         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19824         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19825         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19826         (CFLAGS-getgrnam_r.c): Likewise.
19827         (CFLAGS-initgroups.c): Likewise.
19828         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19829         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19830         Variables removed.
19831         * inet/getnetgrent_r.c
19832         (nscd_setnetgrent): New function, broken out of ...
19833         (setnetgrent): ... here.  Call it.
19834         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19835         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19836         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19837         * nscd/Makefile (routines, aux): Move definitions after include of
19838         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19839         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19840         Conditionalize on [USE_NSCD].
19841         (is_nscd, nscd_init_cb): Likewise.
19842         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19843         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19844         * nss/nss_db/db-init.c: Likewise.
19845         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19846         [USE_NSCD].
19847         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19848         (make_request): Use it.
19849         (cache_valid_p): New function.
19850         (__check_pf): Use it.
19851         * NEWS: Add item for --disable-nscd.
19853 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19855         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19856         to support sed >= 4.2.1-20-ga9bf076.
19857         * configure: Regenerated.
19859 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19861         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19862         Conditionalize whole body on [IREL].
19864 2012-08-22  Jeff Law <law@redhat.com>
19866         [BZ #14505]
19867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19868         if the family is PF_UNSPEC.
19870 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19872         * Makerules (lib-version): Rename from V.
19873         (install-lib-nosubdir): Change V to lib-version.
19875 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19877         [BZ #14252]
19878         * powerpc32/power6/wcschr.c: New file.
19879         * powerpc32/power6/wcscpy.c: New file.
19880         * powerpc32/power6/wcsrchr.c: New file.
19881         * powerpc64/power6/wcschr.c: New file.
19882         * powerpc64/power6/wcscpy.c: New file.
19883         * powerpc64/power6/wcsrchr.c: New file.
19885 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19887         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19888         (two_way_short_needle): Use it.
19889         * string/strstr.c (AVAILABLE1_USES_J): Define.
19890         * string/strcasestr.c: Likewise.
19892         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19893         array references.
19894         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19896         [BZ #11607]
19897         * NEWS: Add an entry.
19898         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19899         define their defaults.
19900         (two_way_short_needle): Detect end-of-string on-the-fly.
19901         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19902         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19903         * string/bug-strcasestr1.c: New test.
19904         * string/Makefile: Run it.
19906 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19908         [BZ #11607]
19909         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19910         the first character.
19912 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19914         * csu/elf-init.c (__libc_csu_irel): Function removed.
19915         * csu/libc-start.c (apply_irel): New function.
19916         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19918 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19920         * sysdeps/unix/sysv/linux/kernel-features.h
19921         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19922         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19923         <kernel-features.h>.
19924         [__NR_fadvise64_64]: Make code unconditional.
19925         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19926         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19927         !__NR_fadvise64_64)]: Likewise.
19928         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19929         !__NR_fadvise64_64))]: Likewise.
19930         [__NR_fadvise64]: Make code unconditional.
19931         [!__NR_fadvise64]: Remove conditional code.
19932         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19933         <kernel-features.h>.
19934         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19935         unconditional.
19936         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19937         conditional code.
19938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19939         not include <kernel-features.h>.
19940         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19941         unconditional.
19942         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19943         conditional code.
19944         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19945         include <kernel-features.h>.
19946         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19947         unconditional.
19948         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19949         conditional code.
19951 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19954         slight instruction rearrangements per scrollpipe analysis.
19955         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19957 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19959         * manual/syslog.texi (syslog; vsyslog, closelog):
19960         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19961         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19963         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19964         DSOCAPS to match condition on defining it.
19966 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19968         * sysdeps/unix/sysv/linux/kernel-features.h
19969         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19971         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19972         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19974         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19975         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19980         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19981         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19983         * sysdeps/unix/sysv/linux/kernel-features.h
19984         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19985         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19986         unconditional.
19987         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19988         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19989         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19990         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19991         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19992         Make code unconditional.
19993         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19994         (__mmap64) [!__NR_mmap2]: Likewise.
19995         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19996         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19997         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19999         [__NR_mmap2]: Make code unconditional.
20000         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20001         (__mmap64) [!__NR_mmap2]: Likewise.
20003 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20005         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20007 2012-08-18  Andreas Jaeger  <aj@suse.de>
20009         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20011 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20013         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20014         * include/unistd.h (__have_sock_cloexec): Likewise.
20015         (__have_pipe2): Likewise.
20016         (__have_dup3): Likewise.
20018 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20020         [BZ #9685]
20021         * include/unistd.h (__have_pipe2): Change define into an extern int.
20022         (__have_dup3): Likewise.
20023         * socket/have_sock_cloexec.c: Include fcntl.h.
20024         (__have_pipe2): New variable.
20025         (__have_dup3): Likewise.
20027 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20029         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20031 2012-08-17  Marek Polacek  <polacek@redhat.com>
20033         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20034         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20036 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20038         * configure.in: Add AC_SUBST for sysheaders.
20039         * configure: Regenerated.
20040         * config.make.in (sysheaders): New substituted variable.
20042         * sysdeps/unix/mkfifo.c: Moved ...
20043         * sysdeps/posix/mkfifo.c: ... here.
20044         * sysdeps/unix/mkfifoat.c: Moved ...
20045         * sysdeps/posix/mkfifoat.c: ... here.
20047         * sysdeps/unix/utime.c: Moved ...
20048         * sysdeps/posix/utime.c: ... here.
20050         * sysdeps/unix/time.c: Moved ...
20051         * sysdeps/posix/time.c: ... here.
20052         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20053         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20055         * sysdeps/unix/nice.c: Moved ...
20056         * sysdeps/posix/nice.c: ... here.
20058         * sysdeps/unix/alarm.c: Moved ...
20059         * sysdeps/posix/alarm.c: ... here.
20061         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20063 2012-08-17  Jeff Law <law@redhat.com>
20065         * intl/Makefile (codeset_mo): New variable.
20066         ($(codeset_mo)): New target.
20067         (tst-codeset.out): Depend on that.  Remove explicit rule.
20068         (tst-gettext3.out, tst-gettext5.out): Likewise.
20069         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20070         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20071         * intl/tst-codeset.sh: Remove.
20072         * intl/tst-gettext3.sh: Likewise.
20073         * intl/tst-gettext5.sh: Likewise.
20075 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20077         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20078         * sysdeps/unix/syscalls.list: ... here.
20080         * sysdeps/posix/getaddrinfo.c
20081         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20082         (gaiconf_init, gaiconf_reload): Use them.
20083         [!_STATBUF_ST_NSEC]
20084         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20085         Define using time_t rather than struct timespec.
20087         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20088         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20089         Macros removed.
20090         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20091         [!NO_THREADS].
20092         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20093         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20094         Likewise.
20096         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20097         __libc_cleanup_push argument.
20099         * bits/param.h: New file.
20100         * misc/sys/param.h: New file.
20101         * include/sys/param.h: New file.
20102         * misc/Makefile (headers): Add bits/param.h.
20103         * sysdeps/generic/sys/param.h: File removed.
20104         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20105         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20106         * sysdeps/mach/hurd/bits/param.h: New file.
20107         * sysdeps/mach/hurd/sys/param.h: File removed.
20109         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20110         last change.
20112         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20113         [_IO_MTSAFE_IO].
20114         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20115         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20116         New macros.
20118         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20119         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20120         rather than -D_IO_MTSAFE_IO conditionally.
20121         * stdio-common/Makefile (CPPFLAGS): Likewise.
20122         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20123         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20124         Use $(libio-mtsafe).
20125         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20126         of -D_IO_MTSAFE_IO.
20127         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20128         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20129         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20130         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20131         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20132         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20133         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20134         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20135         (CFLAGS-fread_u_chk.c): Likewise.
20136         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20137         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20138         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20139         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20140         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20141         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20142         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20143         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20144         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20146         * libio/Makefile: Test [$(libc-reentrant) = yes]
20147         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20149         * Makeconfig
20150         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20151         * sysdeps/pthread/configure: File removed.
20152         * sysdeps/pthread/Makeconfig: New file.
20153         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20154         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20156 2012-08-16  Gary Benson  <gbenson@redhat.com>
20158         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20159         unmapping the first object in a namespace.
20161 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20163         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20164         (__internal_setnetgrent): ... this.  Add internal_function to
20165         definition.  Add libc_hidden_def.
20166         (setnetgrent): Update caller.
20167         (internal_endnetgrent): Renamed to ...
20168         (__internal_endnetgrent): ... this.  Add internal_function to
20169         definition.  Add libc_hidden_def.
20170         (endnetgrent): Update caller.
20171         (internal_getnetgrent_r): Renamed to ...
20172         (__internal_getnetgrent_r): ... this.  Add internal_function to
20173         definition.  Add libc_hidden_def.
20174         (__getnetgrent_r): Update caller.
20175         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20177 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20179         * stdlib/longlong.h: Update from GCC.
20181 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20183         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20184         on _QL, which is set by umul_ppmm but never used.
20185         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20186         variables, which are set by GMP macros but never used.
20187         * stdio-common/_itowa.c (_itowa): Likewise.
20188         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20189         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20191 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20193         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20194         struct La_sh_regs is not constant.
20195         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20196         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20197         and struct La_sparc64_regs are not constant.
20199 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20201         * sysdeps/unix/sysv/linux/kernel-features.h
20202         (__ASSUME_POSIX_TIMERS): Remove.
20203         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20204         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20205         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20206         Make code unconditional.
20207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20208         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20209         Make code unconditional.
20210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20211         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20212         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20214         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20215         Make code unconditional.
20216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20217         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20218         (__libc_missing_posix_timers): Remove.
20220 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20222         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20223         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20225         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20227         * elf/dl-sym.c: Include <stdlib.h>.
20229         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20230         constants, which avoids warnings in 32-bit builds.
20232         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20233         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20235         * misc/lseek.c: File moved to ...
20236         * io/lseek.c: ... here.
20238         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20240         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20241         shifting LEN more than 31 bits at once.
20243 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20245         [BZ #14195]
20246         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20247         segmentation fault for a case of two empty input strings.
20248         * string/test-strncasecmp.c (check1): Renamed to...
20249         (bz12205): ...this.
20250         (bz14195): Add new testcase for two empty input strings and N > 0.
20251         (test_main): Call new testcase, adapt for renamed function.
20253 2012-08-15  Andreas Jaeger  <aj@suse.de>
20255         [BZ #14090]
20256         * crypt/md5test2.c: New test, based on test supplied by Serge
20257         Belyshev <belyshev@depni.sinp.msu.ru>.
20258         * crypt/Makefile (xtests): Add md5test-giant..
20259         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20261 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20263         [BZ #14090]
20264         * crypt/md5.c (md5_process_block): Don't assume the buffer
20265         length is less than 2**32.
20266         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20267         length is less than 2**64.
20269 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20271         * string/str-two-way.h: Include <sys/param.h>.
20272         (MAX): Macro removed.
20274         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20275         Move #define and #undef of memmove to just before and after
20276         including <string.h>.
20278         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20279         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20280         and after including <string.h>.  Move declarations of
20281         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20282         to before #include "string/memmove.c".
20284         * include/dirent.h: Declare __getdirentries.
20286         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20287         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20289 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20291         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20292         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20293         * sysdeps/i386/configure: Regenerated.
20294         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20295         STABS_CURRENT_FILE, and STABS_FUN.
20296         (END): Remove call to STABS_FUN_END.
20297         (STABS_CURRENT_FILE1): Delete.
20298         (STABS_CURRENT_FILE): Likewise.
20299         (STABS_FUN): Likewise.
20300         (STABS_FUN_END): Likewise.
20301         (STABS_FUN2): Likewise.
20302         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20303         * sysdeps/x86_64/configure: Regenerated.
20305 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20307         * elf/dl-open.c: Include <atomic.h>.
20308         * elf/dl-lookup.c: Likewise.
20310 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20312         * sysdeps/unix/sysv/linux/kernel-features.h
20313         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20314         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20315         unconditionally.
20316         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20317         unconditionally.
20318         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20319         condition on __ASSUME_CLONE_THREAD_FLAGS.
20321 2012-08-14  Andreas Jaeger  <aj@suse.de>
20323         * sysdeps/i386/fpu/libm-test-ulps: Update.
20325 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20327         * include/atomic.h (atomic_exchange_and_add): Split into ...
20328         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20329         New atomic macros.
20331 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20335 2012-08-13  Jeff Law <law@redhat.com>
20337         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20338         null byte in the output string.
20340 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20342         * sysdeps/unix/sysv/linux/kernel-features.h
20343         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20344         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20345         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20346         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20347         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20348         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20349         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20351 2012-08-09  Jeff Law <law@redhat.com>
20353         [BZ #13939]
20354         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20355         When avoid_arena is set, don't retry in the that arena.  Pick the
20356         next one, whatever it might be.
20357         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20358         (arena_lock): Pass in new parameter to arena_get2.
20359         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20360         arena_get2.
20361         (__libc_malloc): Unify retrying after main arena failure with
20362         __libc_memalign version.
20363         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20365 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20367         [BZ #14166]
20368         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20369         to __redirect_strstr.
20370         (__strstr_sse42): Use typeof __redirect_strstr.
20371         (__strstr_ia32): Likewise.
20372         (__libc_strstr): New prototype.
20373         (strstr): Renamed to ...
20374         (__libc_strstr): This.
20375         (strstr): New strong alias of __libc_strstr.
20376         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20377         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20378         __redirect_time.
20379         Include <time.h>.
20380         (__libc_time): New prototype.
20381         (time_ifunc): Replace time with __libc_time.
20382         (time): New strong alias and hidden definition of __libc_time.
20383         (__GI_time): Remove strong alias.
20384         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20385         Include <stddef.h>.
20386         (memmove): Redefined to __redirect_memmove.
20387         (__memmove_sse2): Use typeof __redirect_memmove.
20388         (__memmove_ssse3): Likewise.
20389         (__memmove_ssse3_back): Likewise.
20390         (__libc_memmove): New prototype.
20391         (memmove): Renamed to ...
20392         (__libc_memmove): This.
20393         (memmove): New strong alias of __libc_memmove.
20395 2012-08-08  Mark Salter  <msalter@redhat.com>
20397         * elf/elf.h
20398         (R_MN10300_TLS_GD): Define.
20399         (R_MN10300_TLS_LD): Likewise.
20400         (R_MN10300_TLS_LDO): Likewise.
20401         (R_MN10300_TLS_GOTIE): Likewise.
20402         (R_MN10300_TLS_IE): Likewise.
20403         (R_MN10300_TLS_LE): Likewise.
20404         (R_MN10300_TLS_DTPMOD): Likewise.
20405         (R_MN10300_TLS_DTPOFF): Likewise.
20406         (R_MN10300_TLS_TPOFF): Likewise.
20407         (R_MN10300_SYM_DIFF): Likewise.
20408         (R_MN10300_ALIGN): Likewise.
20409         (R_MN10300_NUM): Update.
20411 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20414         Remove.
20416 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20418         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20420         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20421         sysdeps/unix -> sysdeps/posix move.
20422         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20424 2012-08-07      Allan McRae     <allan@archlinux.org>
20426         [BZ #14303]
20427         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20428         (SUNOS_CPP): Likewise.
20429         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20430         not found.
20431         (open_input): Call CPP using execvp.
20433 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20435         * sysdeps/unix/sysv/linux/kernel-features.h
20436         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20437         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20438         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20439         (__ASSUME_WAITID_SYSCALL): Likewise.
20440         * sysdeps/unix/sysv/linux/dl-execstack.c
20441         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20442         code unconditional.
20443         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20444         conditional code.
20445         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20446         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20447         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20448         code.
20449         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20450         unconditional.
20451         [__ASSUME_WAITID_SYSCALL]: Likewise.
20452         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20454 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20456         * sysdeps/unix/closedir.c: Renamed to ...
20457         * sysdeps/posix/closedir.c: ... here.
20458         * sysdeps/unix/dirfd.c: Renamed to ...
20459         * sysdeps/posix/dirfd.c: ... here.
20460         * sysdeps/unix/dirstream.h: Renamed to ...
20461         * sysdeps/posix/dirstream.h: ... here.
20462         * sysdeps/unix/fdopendir.c: Renamed to ...
20463         * sysdeps/posix/fdopendir.c: ... here.
20464         * sysdeps/unix/opendir.c: Renamed to ...
20465         * sysdeps/posix/opendir.c: ... here.
20466         * sysdeps/unix/readdir.c: Renamed to ...
20467         * sysdeps/posix/readdir.c: ... here.
20468         * sysdeps/unix/readdir_r.c: Renamed to ...
20469         * sysdeps/posix/readdir_r.c: ... here.
20470         * sysdeps/unix/rewinddir.c: Renamed to ...
20471         * sysdeps/posix/rewinddir.c: ... here.
20472         * sysdeps/unix/seekdir.c: Renamed to ...
20473         * sysdeps/posix/seekdir.c: ... here.
20474         * sysdeps/unix/telldir.c: Renamed to ...
20475         * sysdeps/posix/telldir.c: ... here.
20476         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20477         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20478         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20479         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20481         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20482         * bits/fcntl.h: ... here.
20484         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20485         not 0.
20486         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20487         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20488         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20489         (struct flock): Move l_start, l_len to the beginning.
20490         Use __pid_t for l_pid.
20491         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20492         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20493         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20494         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20495         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20496         [__USE_LARGEFILE64] (struct flock64): New type.
20497         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20499         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20500         * bits/dirent.h: ... here.
20502         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20503         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20505 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20508         Change from 2.6.0 to 2.6.16.
20509         * sysdeps/unix/sysv/linux/configure: Regenerated.
20510         * sysdeps/unix/sysv/linux/kernel-features.h
20511         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20512         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20513         version.
20514         (__ASSUME_UTIMES): Likewise.
20515         (__ASSUME_CLONE_STOPPED): Remove.
20516         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20517         architectures, not kernel version.
20518         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20519         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20520         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20521         (__ASSUME_WAITID_SYSCALL): Likewise.
20522         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20523         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20524         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20525         refer to older versions.
20527 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20529         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20530         Define alphasort64 as an alias.
20531         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20532         Define versionsort64 as an alias.
20533         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20534         Define scandir64 as an alias.
20535         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20536         Define scandirat64 as an alias.
20537         * dirent/alphasort64.c (alphasort64):
20538         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20539         * dirent/versionsort64.c: Likewise.
20540         * dirent/scandir64.c: Likewise.
20541         * dirent/scandirat64.c: Likewise.
20542         * sysdeps/wordsize-64/alphasort.c: File removed.
20543         * sysdeps/wordsize-64/alphasort64.c: File removed.
20544         * sysdeps/wordsize-64/scandir.c: File removed.
20545         * sysdeps/wordsize-64/scandir64.c: File removed.
20546         * sysdeps/wordsize-64/scandirat.c: File removed.
20547         * sysdeps/wordsize-64/scandirat64.c: File removed.
20548         * sysdeps/wordsize-64/versionsort.c: File removed.
20549         * sysdeps/wordsize-64/versionsort64.c: File removed.
20550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20552         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20553         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20554         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20555         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20556         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20557         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20559         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20561         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20563         [defined __arch64__ || defined __sparcv9]
20564         (__INO_T_MATCHES_INO64_T): New macro.
20565         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20566         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20567         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20568         * sysdeps/unix/sysv/linux/bits/dirent.h
20569         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20570         (_DIRENT_MATCHES_DIRENT64): New macro.
20572         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20573         Define lockf64 as an alias.
20574         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20575         Define fseeko64 as an alias.
20576         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20577         Define ftello64 as an alias.
20578         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20579         Define _IO_fgetpos64 and fgetpos64 as aliases.
20580         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20581         Define _IO_fsetpos64 and fsetpos64 as aliases.
20582         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20583         Conditionalize body on this.
20584         * libio/fseeko64.c: Likewise.
20585         * libio/ftello64.c: Likewise.
20586         * libio/iofgetpos64.c: Likewise.
20587         * libio/iofsetpos64.c: Likewise.
20588         * sysdeps/wordsize-64/lockf.c: File removed.
20589         * sysdeps/wordsize-64/lockf64.c: File removed.
20590         * sysdeps/wordsize-64/fseeko.c: File removed.
20591         * sysdeps/wordsize-64/fseeko64.c: File removed.
20592         * sysdeps/wordsize-64/ftello.c: File removed.
20593         * sysdeps/wordsize-64/ftello64.c: File removed.
20594         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20595         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20596         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20597         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20598         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20599         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20600         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20601         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20602         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20603         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20604         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20605         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20606         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20607         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20609         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20611         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20613         [defined __arch64__ || defined __sparcv9]
20614         (__OFF_T_MATCHES_OFF64_T): New macro.
20615         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20616         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20617         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20618         (__OFF_T_MATCHES_OFF64_T): New macro.
20620 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20622         * stdlib/secure-getenv.c (__secure_getenv): Replace
20623         GLIBC_2_16 with GLIBC_2_17.
20625 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20627         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20628         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20630 2012-08-03  David S. Miller  <davem@davemloft.net>
20632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20634 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20637         Remove.
20638         (__ASSUME_CORRECT_SI_PID): Likewise.
20639         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20640         (__ASSUME_TMPFS_NAME): Likewise.
20641         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20642         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20643         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20644         (HAVE_AUX_SECURE): Make definition unconditional.
20645         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20646         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20648 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20650         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20651         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20652         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20653         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20654         __eloop_threshold instead of SYMLOOP_MAX.
20656         * sysdeps/generic/eloop-threshold.h: New file.
20657         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20658         of MAXSYMLINKS.
20659         * elf/chroot_canon.c (chroot_canon): Likewise.
20661 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20663         [BZ #13717]
20664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20665         Change to 2.6.0 everywhere.
20666         * sysdeps/unix/sysv/linux/configure: Regenerated.
20667         * sysdeps/unix/sysv/linux/kernel-features.h
20668         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20669         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20670         kernel versions.
20671         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20672         (__ASSUME_FUTEX_REQUEUE): Remove.
20673         (__ASSUME_STATFS64): Define unconditionally.
20674         (__ASSUME_AT_SECURE): Likewise.
20675         (__ASSUME_CORRECT_SI_PID): Likewise.
20676         (__ASSUME_TGKILL): Define without depending on kernel version for
20677         i386.
20678         (__ASSUME_UTIMES): Likewise.
20679         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20680         kernel version.
20681         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20682         (__ASSUME_TMPFS_NAME): Likewise.
20683         * README: Update reference to Linux kernel versions.
20685 2012-08-02  Marek Polacek  <polacek@redhat.com>
20687         [BZ# 14150]
20688         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20689         libc_cv_asm_type_prefix with %.
20690         * configure: Regenerated.
20691         * include/libc-symbols.h: Remove comment about
20692         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20693         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20694         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20695         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20696         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20697         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20698         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20699         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20700         * elf/tst-unique2mod1.c: Likewise.
20701         * elf/tst-unique1mod2.c: Likewise.
20702         * elf/tst-unique1mod1.c: Likewise.
20703         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20704         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20705         Replace ASM_TYPE_DIRECTIVE with .type.
20706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20707         * sysdeps/i386/sysdep.h: Likewise.
20708         * sysdeps/x86_64/sysdep.h: Likewise.
20709         * sysdeps/sh/sysdep.h: Likewise.
20710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20711         Do not define ASM_TYPE_DIRECTIVE.
20712         * sysdeps/powerpc/sysdep.h: Likewise.
20713         * sysdeps/powerpc/powerpc32/sysdep.h:
20714         Replace ASM_TYPE_DIRECTIVE with .type.
20715         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20716         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20717         * sysdeps/i386/fpu/e_powf.S: Likewise.
20718         * sysdeps/i386/fpu/e_expl.S: Likewise.
20719         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20720         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20721         * sysdeps/i386/fpu/e_pow.S: Likewise.
20722         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20723         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20724         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20725         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20726         * sysdeps/i386/fpu/e_log2.S: Likewise.
20727         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20728         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20729         * sysdeps/i386/fpu/e_powl.S: Likewise.
20730         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20731         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20732         * sysdeps/i386/fpu/e_logl.S: Likewise.
20733         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20734         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20735         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20736         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20737         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20738         * sysdeps/i386/fpu/e_log.S: Likewise.
20739         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20740         * sysdeps/i386/fpu/e_logf.S: Likewise.
20741         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20742         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20743         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20744         * sysdeps/i386/fpu/e_log10.S: Likewise.
20745         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20746         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20747         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20748         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20749         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20750         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20751         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20752         * sysdeps/i386/i686/strtok.S: Likewise.
20753         * sysdeps/i386/i386-mcount.S: Likewise.
20754         * sysdeps/i386/strtok.S: Likewise.
20755         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20756         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20757         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20758         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20759         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20761         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20762         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20763         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20764         * sysdeps/x86_64/_mcount.S: Likewise.
20765         * sysdeps/x86_64/strtok.S: Likewise.
20766         * sysdeps/sh/_mcount.S: Likewise.
20768 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20770         * libio/iofopen.c: Include <fcntl.h>.
20771         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20772         (_IO_fopen64, fopen64): Define as aliases.
20773         * libio/iofopen64.c: Include <fcntl.h>.
20774         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20775         Conditionalize body on this.
20776         * sysdeps/wordsize-64/iofopen.c: File removed.
20777         * sysdeps/wordsize-64/iofopen64.c: File removed.
20779 2012-08-01  Marek Polacek  <polacek@redhat.com>
20781         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20782         Use dlfcn directly instead of a variable.
20783         (binfmt-subdir): Do not define.
20784         (dlfcn): Likewise.
20786 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20789         Remove all definitions.
20790         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20791         <kernel-features.h>.
20792         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20793         (miss_F_GETOWN_EX): Remove all definitions.
20794         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20795         macro definition.
20796         [!__ASSUME_FCNTL64]: Remove conditional code.
20797         [__ASSUME_FCNTL64]: Make code unconditional.
20798         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20799         <kernel-features.h>.
20800         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20801         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20802         (lockf64) [__NR_fcntl64]: Make code unconditional.
20803         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20805         * sysdeps/unix/sysv/linux/kernel-features.h
20806         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20807         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20808         Make code unconditional.
20809         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20810         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20812         [__NR_vfork]: Make code unconditional.
20813         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20814         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20816         [__NR_vfork]: Make code unconditional.
20817         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20818         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20820 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20822         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20823         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20825         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20826         Define mkstemp64 as an alias.
20827         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20828         Define mkstemps64 as an alias.
20829         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20830         Define mkostemp64 as an alias.
20831         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20832         Define mkostemps64 as an alias.
20833         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20834         Conditionalize body on this.
20835         * misc/mkostemp64.c: Likewise.
20836         * misc/mkostemps64.c: Likewise.
20837         * misc/mkstemps64.c: Likewise.
20838         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20839         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20840         * sysdeps/wordsize-64/mkostemp.c: File removed.
20841         * sysdeps/wordsize-64/mkstemp.c: File removed.
20842         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20843         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20844         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20845         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20847         [BZ #14138]
20848         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20849         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20850         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20851         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20853         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20854         compat_symbol macros from <shlib-compat.h> rather than the underlying
20855         default_symbol_version and symbol_version macros, so that DEFAULT
20856         lines in shlib-versions are respected.
20857         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20859 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20861         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20862         Declare with warn_unused_result.
20863         (setgid, setregid, setegid, setresgid): Likewise.
20864         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20865         Likewise.
20866         * WUR-REPORT: Remove set*id functions.
20868 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20870         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20872 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20874         [BZ #10191]
20875         * include/sys/socket.h (__libc_accept, __libc_accept4):
20876         Add attribute_hidden.
20877         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20879         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20880         use of PTR_MANGLE.
20881         * inet/getnetgrent_r.c (setup): Likewise.
20883         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20885 2012-07-31  David S. Miller  <davem@davemloft.net>
20887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20889 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20891         [BZ #13629]
20892         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20893         value between 1.0 and 2.0 and smaller part has absolute value less
20894         than 1.0.
20895         * math/s_clog10.c (__clog10): Likewise.
20896         * math/s_clog10f.c (__clog10f): Likewise.
20897         * math/s_clog10l.c (__clog10l): Likewise.
20898         * math/s_clogf.c (__clogf): Likewise.
20899         * math/s_clogl.c (__clogl): Likewise.
20900         * math/libm-test.inc (clog_test): Add more tests.
20901         (clog10_test): Likewise.
20902         * sysdeps/i386/fpu/libm-test-ulps: Update.
20903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20905 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20907         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20908         Exit with zero in case no suitable GID is found, and write a
20909         message to standard error.
20911 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20913         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20914         rather than to 1.
20915         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20916         (MAXPATHLEN): Removed.
20917         (NOGROUP, NODEV): New macros.
20918         (setbit, clrbit, isset, isclr): New macros.
20919         (howmany, roundup, powerof2): New macros.
20920         (DEV_BSIZE): New macro.
20922         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20923         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20925         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20926         definition on [!__NO_LONG_DOUBLE_MATH].
20928         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20929         PTR_MANGLE and PTR_DEMANGLE.
20931         * socket/accept4.c (accept4): Rename to __libc_accept4.
20932         Define accept4 as a weak alias.
20934         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20935         on [_DIRENT_HAVE_D_TYPE].
20936         * io/ftw.c (ftw_dir): Likewise.
20938         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20940         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20942         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20943         Use the BSD numbers rather than the arbitrary ones we had.
20944         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20945         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20946         (SIGXCPU, SIGXFSZ): New macros.
20947         (_NSIG): Now 32.
20949         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20950         initializer on [_LIBC_REENTRANT].
20952         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20953         definitions inside [_POSIX_MAPPED_FILES].
20955         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20957         * dirent/opendir.c: Include <fcntl.h>.
20959         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20960         (__libc_getspecific): Likewise.
20961         (__libc_key_create): Likewise.
20963         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20964         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20965         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20966         (tmpfile64): Define as alias.
20967         * sysdeps/wordsize-64/tmpfile.c: File removed.
20968         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20969         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20972         * stdio-common/vfscanf.c: Include <stdbool.h>.
20973         * nss/makedb.c: Likewise.
20974         * stdio-common/_i18n_number.h: Likewise.
20975         * argp/argp-help.c: Likewise.
20976         * posix/wordexp.c: Likewise.
20977         * sysdeps/posix/spawni.c: Likewise.
20978         * nss/nss_files/files-initgroups.c: Likewise.
20979         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20980         * nss/nss_files/files-initgroups.c: Likewise.
20981         * nss/nss_db/db-netgrp.c: Likewise.
20982         * nss/nss_db/db-initgroups.c: Likewise.
20983         * io/fchmodat.c: Include <sys/stat.h>.
20985         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20986         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20988         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20989         [HAVE_MMAP].
20991         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20992         Add multiple inclusion protection.
20994 2012-07-27  David S. Miller  <davem@davemloft.net>
20996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20998 2012-07-27  Gary Benson  <gbenson@redhat.com>
21000         [BZ #14298]
21001         * elf/rtld.c: Include <stap-probe.h>.
21002         (dl_main): Added static probes "init_start" and "init_complete".
21003         * elf/dl-load.c: Include <stap-probe.h>.
21004         (lose): Take new parameter "nsid".
21005         Added static probe "map_failed".
21006         (_dl_map_object_from_fd): Pass namespace id to lose.
21007         Added static probe "map_start".
21008         (open_verify): Pass namespace id to lose.
21009         * elf/dl-open.c: Include <stap-probe.h>.
21010         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21011         and "reloc_complete".
21012         * elf/dl-close.c: Include <stap-probe.h>.
21013         (_dl_close_worker): Added static probes "unmap_start" and
21014         "unmap_complete".
21015         * elf/rtld-debugger-interface.txt: New file documenting the above.
21017 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21019         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21020         rather than a string variable.
21021         * sunrpc/rpc_main.c (h_output): Likewise.
21022         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21024 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21026         * inet/check_native.c: New file.
21028 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21030         [BZ #13629]
21031         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21032         if larger part has absolute value 1.0.
21033         * math/s_clog10.c (__clog10): Likewise.
21034         * math/s_clog10f.c (__clog10f): Likewise.
21035         * math/s_clog10l.c (__clog10l): Likewise.
21036         * math/s_clogf.c (__clogf): Likewise.
21037         * math/s_clogl.c (__clogl): Likewise.
21038         * math/libm-test.inc (clog_test): Add more tests.
21039         (clog10_test): Likewise.
21040         * sysdeps/i386/fpu/libm-test-ulps: Update.
21041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21043         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21044         (pltexit): Likewise.
21045         (La_regs): Likewise.
21046         (La_retval): Likewise.
21047         (int_retval): Likewise.
21048         Update #error for removed macros to refer only to definitions in
21049         tst-audit.h.
21050         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21051         macro.
21052         (pltexit): Likewise.
21053         (La_regs): Likewise.
21054         (La_retval): Likewise.
21055         (int_retval): Likewise.
21056         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21057         macro.
21058         (pltexit): Likewise.
21059         (La_regs): Likewise.
21060         (La_retval): Likewise.
21061         (int_retval): Likewise.
21062         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21063         macro.
21064         (pltexit): Likewise.
21065         (La_regs): Likewise.
21066         (La_retval): Likewise.
21067         (int_retval): Likewise.
21068         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21069         macro.
21070         (pltexit): Likewise.
21071         (La_regs): Likewise.
21072         (La_retval): Likewise.
21073         (int_retval): Likewise.
21074         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21075         macro.
21076         (pltexit): Likewise.
21077         (La_regs): Likewise.
21078         (La_retval): Likewise.
21079         (int_retval): Likewise.
21080         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21081         macro.
21082         (pltexit): Likewise.
21083         (La_regs): Likewise.
21084         (La_retval): Likewise.
21085         (int_retval): Likewise.
21086         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21087         macro definitions in tst-audit.h.
21088         * sysdeps/i386/tst-audit.h: New file.
21089         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21090         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21091         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21092         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21093         * sysdeps/sh/tst-audit.h: Likewise.
21094         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21095         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21096         * sysdeps/x86_64/tst-audit.h: Likewise.
21098 2012-07-26  Andreas Jaeger  <aj@suse.de>
21100         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21101         ptrace.
21103         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21104         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21105         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21106         PTRACE_O_MASK.
21107         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21108         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21109         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21111         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21112         value.
21114         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21115         _sigsys.
21116         (si_call_addr, si_syscall, si_arch): Define new macro.
21117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21118         _sigsys.
21119         (si_call_addr, si_syscall, si_arch): Define new marcro.
21120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21121         _sigsys.
21122         (si_call_addr, si_syscall, si_arch): Define new macro.
21123         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21124         _sigsys.
21125         (si_call_addr, si_syscall, si_arch): Define new macro.
21127 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21129         [BZ #13717]
21130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21131         Change to 2.4.21 where previously 2.4.1.
21132         * sysdeps/unix/sysv/linux/configure: Regenerated.
21133         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21134         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21135         Linux kernel version.
21136         (__ASSUME_STD_AUXV): Remove.
21137         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21138         kernel version.
21139         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21140         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21141         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21142         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21143         (__ASSUME_NETLINK_SUPPORT): Likewise.
21144         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21145         (__no_netlink_support): Remove conditional definition.
21146         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21147         Remove.
21148         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21149         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21150         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21151         (if_nameindex_ioctl): Remove.
21152         (if_nameindex_netlink): Do not handle __no_netlink_support.
21153         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21154         code.
21155         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21156         Remove conditional code.
21157         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21158         code.
21159         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21160         unconditional.
21161         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21162         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21163         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21164         Remove.
21165         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21166         [!__ASSUME_STD_AUXV]: Remove conditional code.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21168         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21169         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21171         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21172         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21173         code.
21174         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21176         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21177         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21178         conditional code.
21179         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21181         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21182         code.
21183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21184         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21185         conditional code.
21186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21187         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21188         code unconditional.
21189         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21190         conditional code.
21191         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21192         unconditional.
21193         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21194         conditional code.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21196         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21197         unconditional.
21198         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21199         conditional code.
21200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21201         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21202         code unconditional.
21203         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21204         conditional code.
21205         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21206         unconditional.
21207         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21208         conditional code.
21209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21210         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21211         code unconditional.
21212         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21213         conditional code.
21214         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21215         unconditional.
21216         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21217         conditional code.
21219 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21221         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21223         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21224         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21225         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21226         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21227         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21228         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21229         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21230         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21231         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21232         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21233         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21234         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21235         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21236         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21237         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21238         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21239         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21241         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21242         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21243         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21245 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21247         * Versions.def: Add GLIBC_2.17.
21248         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21249         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21250         Introduce __libc_secure_getenv.
21251         * stdlib/Versions (2.17): Add secure_getenv
21252         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21253         * stdlib/secure-getenv.c: Rename __secure_getenv to
21254         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21255         symbol __secure_getenv for GLIBC_2.0.
21256         * stdlib/tst-secure-getenv.c: New.
21257         * stdlib/Makefile (tests): Add testcase.
21258         * manual/startup.texi (Environment Access): Document
21259         secure_getenv.
21260         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21261         __libc_secure_getenv.
21262         * inet/ruserpass.c (ruserpass): Likewise.
21263         * malloc/mtrace.c (mtrace): Likewise.
21264         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21265         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21266         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21267         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21268         HAVE_SECURE_GETENV.
21269         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21270         __secure_getenv to __libc_secure_getenv.
21271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21273         Likewise.
21274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21275         Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21284 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21286         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21287         (struct La_i86_retval): Likewise.
21288         (struct La_x86_64_regs): Likewise.
21289         (struct La_x86_64_retval): Likewise.
21290         (struct La_x32_regs): Likewise.
21291         (struct La_x32_retval): Likewise.
21292         (struct La_ppc32_regs): Likewise.
21293         (struct La_ppc32_retval): Likewise.
21294         (struct La_ppc64_regs): Likewise.
21295         (struct La_ppc64_retval): Likewise.
21296         (struct La_sh_regs): Likewise.
21297         (struct La_sh_retval): Likewise.
21298         (struct La_s390_32_regs): Likewise.
21299         (struct La_s390_32_retval): Likewise.
21300         (struct La_s390_64_regs): Likewise.
21301         (struct La_s390_64_retval): Likewise.
21302         (struct La_sparc32_regs): Likewise.
21303         (struct La_sparc32_retval): Likewise.
21304         (struct La_sparc64_regs): Likewise.
21305         (struct La_sparc64_retval): Likewise.
21306         (struct audit_ifaces): Remove architecture-specific pltenter and
21307         pltexit members.
21308         * sysdeps/i386/ldsodefs.h: New file.
21309         * sysdeps/powerpc/ldsodefs.h: Likewise.
21310         * sysdeps/s390/ldsodefs.h: Likewise.
21311         * sysdeps/sh/ldsodefs.h: Likewise.
21312         * sysdeps/sparc/ldsodefs.h: Likewise.
21313         * sysdeps/x86_64/ldsodefs.h: Likewise.
21315 2012-07-25  Marek Polacek  <polacek@redhat.com>
21317         [BZ #6808]
21318         * math/libm-test.inc (yn_test): Add another test.
21319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21320         to ERANGE when the result is +-Inf.
21321         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21322         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21323         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21324         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21326 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21328         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21329         equal to 0.
21330         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21331         clock_t.
21332         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21334 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21336         * configure.in <sysdeps resolving>: Correct printing
21337         Implies_before.
21338         * configure: Regenerate.
21340 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21342         * math/w_ilogb.c: Include <limits.h>.
21343         * math/w_ilogbl.c: Likewise.
21345 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21347         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21348         va_copy.  Document allowing for unavailable va_copy only as
21349         pre-C99 compatibility.
21350         * manual/string.texi (Copying and Concatenation): Use va_copy
21351         instead of __va_copy in concat example.
21353 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21355         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21356         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21357         it if not null.
21359         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21360         with O_NOLINK passed to __file_name_lookup.
21362         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21363         with O_NOLINK passed to __file_name_lookup.
21365         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21366         negative N or less than NGIDS.
21368         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21369         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21370         enough.  Use memcpy instead of strncpy.
21372 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21374         * elf/Makefile (check-data): Remove.
21375         (localplt.data): New vpath directive.
21376         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21377         instead of $(check-data).
21378         * scripts/data/localplt-generic.data: Move to ...
21379         * sysdeps/generic/localplt.data: ... here.
21380         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21381         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21382         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21384         ... here.
21385         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21387         ... here.
21388         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21390         ... here.
21391         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21393         ... here.
21394         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21396         ... here.
21397         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21399         ... here.
21401 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21403         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21404         PPC32 and PPC64 files.
21405         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21406         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21408 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21410         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21411         __makecontext_ret to ...
21412         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21413         ... here and call exit if uc_link is NULL.  New file.
21414         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21415         __makecontext_ret.S.
21416         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21417         __makecontext_ret to ...
21418         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21419         ... here and call exit if uc_link is NULL.  New file.
21420         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21421         __makecontext_ret.S.
21423 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21425         * elf/elf.h (R_390_IRELATIVE): New definition.
21426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21427         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21428         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21429         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21430         (elf_machine_lazy_rel): Likewise.
21431         * sysdeps/s390/dl-irel.h: New file.
21432         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21433         * sysdeps/s390/s390-64/memset.S: New asm code.
21434         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21435         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21436         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21437         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21438         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21439         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21440         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21441         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21442         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21443         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21444         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21445         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21446         * sysdeps/s390/s390-32/memset.S: New asm code.
21447         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21449 2012-07-17  Marek Polacek  <polacek@redhat.com>
21451         [BZ #14349]
21452         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21453         * sysdeps/s390/s390-64/configure.in: Likewise.
21454         * sysdeps/sparc/configure.in: Likewise.
21455         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21456         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21457         * sysdeps/i386/configure.in: Likewise.
21458         * sysdeps/x86_64/configure.in: Likewise.
21459         * sysdeps/sh/configure.in: Likewise.
21460         * sysdeps/s390/s390-32/configure: Regenerated.
21461         * sysdeps/s390/s390-64/configure: Likewise.
21462         * sysdeps/x86_64/configure: Likewise.
21463         * sysdeps/sh/configure: Likewise.
21464         * sysdeps/powerpc/powerpc64/configure: Likewise.
21465         * sysdeps/powerpc/powerpc32/configure: Likewise.
21466         * sysdeps/sparc/configure: Likwise.
21467         * sysdeps/i386/configure: Likewise.
21469         * elf/dl-open.c: Comment fixes.
21471 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21473         * Makefile [CXX] (check-data): Remove.
21474         [CXX] (c++-types.data): New vpath directive.
21475         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21476         vpath.  Do not allow for C++ type data being missing.
21477         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21478         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21479         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21480         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21481         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21482         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21483         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21485         ... here.
21486         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21488         ... here.
21489         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21491         ... here.
21492         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21494         ... here.
21495         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21497         ... here.
21498         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21500         ... here.
21501         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21503         ... here.
21504         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21507         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21508         definitions to architecture-specific files.
21509         (TLS_IE): Likewise.
21510         (TLS_LD): Likewise.
21511         (TLS_GD): Likewise.
21512         * sysdeps/i386/tls-macros.h: New file.
21513         * sysdeps/powerpc/tls-macros.h: Likewise.
21514         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21515         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21516         * sysdeps/sh/tls-macros.h: Likewise.
21517         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21518         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21519         * sysdeps/x86_64/tls-macros.h: Likewise.
21521 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21523         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21524         zero value for regular exit case.
21526         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21527         (__start_context): Preserve zero value for regular exit case.
21529 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21530             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21532         * manual/setjmp.texi (setcontext): Clarify normal process
21533         termination when uc_link is the null pointer.
21534         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21535         exit call.
21537 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21539         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21540         preprocessor.  Test for each exception mask separately.
21542 2012-07-16  Andreas Jaeger  <aj@suse.de>
21544         * po/ru.po: Update from translation team.
21546 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21548         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21549         equal to 0.
21550         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21551         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21552         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21553         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21556 2012-07-13  Andreas Jaeger  <aj@suse.de>
21558         * po/fr.po: Update from translation team.
21560 2012-07-12  Marek Polacek  <polacek@redhat.com>
21562         [BZ #14173]
21563         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21565         loop condition.
21567 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21569         [BZ #13717]
21570         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21571         Change to 2.4.1 where previously 2.4.0.
21572         * sysdeps/unix/sysv/linux/configure: Regenerated.
21573         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21574         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21575         version.
21576         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21577         (__ASSUME_AT_CLKTCK): Remove.
21578         (__ASSUME_AT_PAGESIZE): Likewise.
21579         (__ASSUME_AT_XID): Likewise.
21580         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21581         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21582         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21583         unconditionally.
21584         (HAVE_AUX_PAGESIZE): Likewise.
21585         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21586         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21587         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21589 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21591         [BZ #14307]
21592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21593         the temporary buffer used to invoke __gethostbyname2_r,
21594         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21595         host_data / struct gaih_addrtuple.
21596         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21597         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21598         header file nss/nsswitch.h.
21599         * nss/nsswitch.h (global scope): Add definition of implementation
21600         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21601         resolv/nss_dns/dns-host.c).
21603 2012-07-11  Andreas Jaeger  <aj@suse.de>
21605         * po/fr.po: Update from translation team.
21607         * po/sv.po: Update from translation team
21608         * po/fr.po: Another update from translation team.
21610 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21612         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21613         for subnormals or multiply small sinh result by itself.
21614         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21617 2012-07-11  David S. Miller  <davem@davemloft.net>
21619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21621 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21623         [BZ #14347]
21624         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21625         (INTERNAL_MARK): Shift it here.
21627 2012-07-10  Marek Polacek  <polacek@redhat.com>
21629         [BZ #14151]
21630         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21631         libc_cv_asm_global_directive with .globl.
21632         * configure: Regenerated.
21633         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21634         with .globl.
21635         * sysdeps/i386/configure: Regenerated.
21636         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21637         with .globl.
21638         * sysdeps/x86_64/configure: Regenerated.
21639         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21640         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21641         * elf/tst-unique2mod2.c: Likewise.
21642         * elf/tst-unique2mod1.c: Likewise.
21643         * elf/tst-unique1mod2.c: Likewise.
21644         * elf/tst-unique1mod1.c: Likewise.
21645         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21646         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21648         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21649         * sysdeps/mach/sysdep.h: Likewise.
21650         * sysdeps/i386/sysdep.h: Likewise.
21651         * sysdeps/i386/i386-mcount.S: Likewise.
21652         * sysdeps/x86_64/_mcount.S: Likewise.
21653         * sysdeps/x86_64/sysdep.h: Likewise.
21654         * sysdeps/sh/_mcount.S: Likewise.
21655         * sysdeps/sh/sysdep.h: Likewise.
21656         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21657         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21658         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21659         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21660         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21661         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21662         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21663         * locale/localeinfo.h: Likewise.
21664         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21665         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21667 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21669         [BZ #14336]
21670         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21671         system".
21672         * manual/message.texi (The Uniforum approach): Likewise.
21673         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21674         (glibc iconv Implementation): Likewise.
21676 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21678         [BZ #14337]
21679         * math/s_clog.c (__clog): Avoid scaling a value down where that
21680         could result in underflow.
21681         * math/s_clog10.c (__clog10): Likewise.
21682         * math/s_clog10f.c (__clog10f): Likewise.
21683         * math/s_clog10l.c (__clog10l): Likewise.
21684         * math/s_clogf.c (__clogf): Likewise.
21685         * math/s_clogl.c (__clogl): Likewise.
21686         * math/libm-test.inc (clog_test): Add more tests.
21687         (clog10_test): Likewise.
21688         * sysdeps/i386/fpu/libm-test-ulps: Update.
21689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21693         [BZ #14283]
21694         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21695         by 7 not 8 to examine high bit of fractional part.
21697         [BZ #14042]
21698         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21699         for call to __mcount_internal.
21700         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21701         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21702         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21704 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21706         [BZ #14154]
21707         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21708         approximation for values within 0x1p-13f of an odd multiple of
21709         pi/4.
21710         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21711         exception.  Add more tests.
21712         * sysdeps/i386/fpu/libm-test-ulps: Update.
21714         [BZ #6778]
21715         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21716         inputs and return -1 for them.  Do not check for +Inf in case not
21717         reachable for +Inf.
21718         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21719         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21720         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21721         and return -1 for them.  Do not check for +Inf in case not
21722         reachable for +Inf.
21723         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21724         define.
21725         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21726         and return -1 for them.  Do not check for +Inf in case not
21727         reachable for +Inf.
21728         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21729         spurious underflow.
21730         * sysdeps/i386/fpu/libm-test-ulps: Update.
21731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21733 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21735         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21737 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21739         [BZ #14157]
21740         [BZ #14331]
21741         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21742         could result in spurious underflow.  Scale down values above
21743         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21744         * math/s_csqrtf.c (__csqrtf): Likewise.
21745         * math/s_csqrtl.c (__csqrtl): Likewise.
21746         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21747         spurious underflow.
21748         * sysdeps/i386/fpu/libm-test-ulps: Update.
21749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21751 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21753         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21754         xopen-msg.sed.
21755         * catgets/xopen-msg.awk: New file.
21756         * catgets/xopen-msg.sed: Removed.
21758         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21759         po2text.sed.
21760         * intl/po2test.awk: New file.
21761         * intl/po2test.sed: Removed.
21763 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21765         [BZ #14328]
21766         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21767         or multiply small sinh result by itself.
21768         * math/s_ctanf.c (__ctanf): Likewise.
21769         * math/s_ctanh.c (__ctanh): Likewise.
21770         * math/s_ctanhf.c (__ctanhf): Likewise.
21771         * math/s_ctanhl.c (__ctanhl): Likewise.
21772         * math/s_ctanl.c (__ctanl): Likewise.
21773         * math/libm-test.inc (ctan_test_tonearest): New function.
21774         (ctan_test_towardzero): Likewise.
21775         (ctan_test_downward): Likewise.
21776         (ctan_test_upward): Likewise.
21777         (ctanh_test_tonearest): Likewise.
21778         (ctanh_test_towardzero): Likewise.
21779         (ctanh_test_downward): Likewise.
21780         (ctanh_test_upward): Likewise.
21781         (main): Call these new functions.
21782         * sysdeps/i386/fpu/libm-test-ulps: Update.
21783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21785 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21787         * .gitignore: Delete /ports entry.
21789 2012-07-03  Andreas Jaeger  <aj@suse.de>
21791         * po/bg.po: Update from translation team.
21792         * po/cs.po: Likewise.
21793         * po/de.po: Likewise.
21794         * po/hr.po: Likewise.
21795         * po/nl.pl: Likewise.
21796         * po/pl.po: Likewise.
21797         * po/vi.po: Likewise.
21799 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21801         * Makeconfig [!+link] (+link-before-libc): New variable.
21802         [!+link] (+link-after-libc): Likewise.
21803         [!+link] (+link-tests): Likewise.
21804         [!+link] (+link): Define in terms of $(+link-before-libc) and
21805         $(+link-after-libc).
21806         [!+link-static] (+link-static-before-libc): New variable.
21807         [!+link-static] (+link-static-after-libc): Likewise.
21808         [!+link-static] (+link-static-tests): Likewise.
21809         [!+link-static] (+link-static): Define in terms of
21810         $(+link-static-before-libc) and $(+link-static-after-libc).
21811         [build-shared] (link-libc-before-gnulib): New variable.
21812         [build-shared] (link-libc-tests): Likewise.
21813         [build-shared] (link-libc): Define in terms of
21814         $(link-libc-before-gnulib).
21815         [!build-shared] (link-libc-tests): New variable.
21816         (link-libc-static-tests): New variable.
21817         [!gnulib] (gnulib-arch): New variable.
21818         [!gnulib] (gnulib-tests): Likewise.
21819         [!gnulib] (static-gnulib-arch): Likewise.
21820         [!gnulib] (static-gnulib-tests): Likewise.
21821         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21822         Define with "=" instead of ":=".
21823         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21824         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21825         * Rules (binaries-all-notests): New variable.
21826         (binaries-all-tests): Likewise.
21827         (binaries-static-notests): Likewise.
21828         (binaries-static-tests): Likewise.
21829         (binaries-all): Define using $(binaries-all-notests) and
21830         $(binaries-all-tests).
21831         (binaries-static): Define using $(binaries-static-notests) and
21832         $(binaries-static-tests).
21833         (binaries-shared-tests): New variable.
21834         (binaries-shared-notests): Likewise.
21835         (binaries-shared): Remove variable.
21836         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21837         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21838         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21839         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21840         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21841         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21842         * elf/Makefile (sln-modules): New variable.
21843         (extra-objs): Add $(sln-modules:=.o).
21844         (ldconfig-modules): Add static-stubs.
21845         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21846         * elf/static-stubs.c: New file.
21848         [BZ #14283]
21849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21850         by 7 not 8 to examine high bit of fractional part.  Use volatile
21851         variables when splitting into final array of floats if
21852         __FLT_EVAL_METHOD__ != 0.
21853         * math/libm-test.inc (cos_test): Add another test.
21854         (sin_test): Likewise.
21855         * sysdeps/i386/fpu/libm-test-ulps: Update.
21857         [BZ #14273]
21858         * math/libm-test.inc (cosh_test): Add more tests.
21860         * version.h (RELEASE): Set to "development".
21861         (VERSION): Set to "2.16.90".
21863 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21865         * NEWS: Update copyright. Remove last-updated date.
21866         Mention math library bug fixes and timezone data changes.
21867         * README: Mention GNU/Hurd, x32, and HPPA support status.
21869 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21871         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21873 2012-06-27  Andreas Jaeger  <aj@suse.de>
21875         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21877 2012-06-25  Andreas Jaeger  <aj@suse.de>
21879         * sysdeps/s390/fpu/libm-test-ulps: Update.
21881 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21882             Thomas Schwinge  <thomas@codesourcery.com>
21884         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21885         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21886         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21887         fanotify_mark.
21889 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21891         * sysdeps/mach/start.c: Remove file.
21892         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21893         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21894         * sysdeps/sh/init-first.c: Likewise.
21896         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21897         registers for frame unwinding purposes, add CFI directives.
21898         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21899         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21900         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21901         Likewise.
21903         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21904         __fortify_fail returning.
21905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21907         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21908         sysdeps/sh/____longjmp_chk.S.
21909         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21910         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21911         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21912         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21914         * sysdeps/sh/abort-instr.h: New file.
21915         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21916         process in case exit returns.
21918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21919         initialize the GOT register before use.
21921         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21922         calculation of ARGC > 4.
21924         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21925         meaningful names to some local labels.
21927 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21928             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21930         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21931         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21932         (__arch_compare_and_exchange_val_16_acq): Likewise.
21933         (__arch_compare_and_exchange_val_32_acq): Likewise.
21934         (atomic_exchange_and_add): Fix gUSA sequence.
21935         (atomic_add): Likewise.
21936         (atomic_add_negative): Likewise.
21937         (atomic_add_zero): Likewise.
21938         (atomic_bit_test_set): Likewise.
21940 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21942         [BZ #13579]
21943         * include/link.h (struct link_map): Add l_free_initfini.
21944         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21945         l_initfini.
21946         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21947         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21948         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21949         set.
21951 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21953         * configure.in: Use AC_LANG_SOURCE.
21954         * configure: Regenerate.
21956 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21958         * configure.in (libc_cv_localstatedir): New substituted variable.
21959         * configure: Regenerated.
21960         * config.make.in (localstatedir): New variable, substituted from
21961         libc_cv_localstatedir.
21962         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21963         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21964         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21965         * sysdeps/gnu/configure: Regenerated.
21967 2012-06-21  Jeff Law  <law@redhat.com>
21969         [BZ #14277]
21970         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21971         free.  Simplify list management for _LIBC case.
21973 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21975         [BZ #14273]
21976         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21977         Clear sign bit of 64-bit integer value before comparing against
21978         overflow value.
21980         * sysdeps/mach/configure: Regenerated.
21982 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21984         [BZ #14278]
21985         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21987 2012-06-21  Jeff Law  <law@redhat.com>
21989         [BZ #13882]
21990         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21991         uint16_t for elements in the "seen" array to avoid char overflows.
21992         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21993         * elf/dl-open.c (dl_open_worker): Likewise.
21995 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21997         * scripts/list-sources.sh: Scan PORTS for translations.
21998         * po/libc.pot: Regenerated.
22000 2012-06-21  Andreas Jaeger  <aj@suse.de>
22002         [BZ #12194]
22003         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22004         warning.
22005         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22006         * bits/byteswap-16.h (__bswap_16): Likewise.
22007         * bits/byteswap.h (__bswap_constant_16): Likewise.
22009 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22011         [BZ #14117]
22012         * sysdeps/i386/fpu_control.h: Removed.
22013         * sysdeps/x86_64/fpu_control.h: Moved to ...
22014         * sysdeps/x86/fpu_control.h: Here.
22016         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22017         (_FPU_SETCW): Likewise.
22019 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22021         [BZ #14117]
22022         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22023         * sysdeps/x86/fpu/bits/mathinline.h: This.
22024         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22026         [BZ #14050]
22027         [BZ #14117]
22028         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22029         functions if __x86_64__ is defined.
22031 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22033         * string/endian.h: Add !__ASSEMBLER__ condition for including
22034         conversion interfaces.
22036 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22038         [BZ #14241]
22039         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22040         of ABS(x) in calculating zero to negative powers other than odd
22041         integers.
22042         * math/libm-test.inc (pow_test): Add more tests.
22044 2012-06-15  Andreas Jaeger  <aj@suse.de>
22046         * manual/contrib.texi (Contributors): Update entry of Liubov
22047         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22048         Machado Filho.
22050 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22052         * string/string.h: Add __wur to GNU version of strerror_r.
22054 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22056         [BZ #14229]
22057         * string/Makefile (tests): Add tst-strtok_r.
22058         * string/tst-strtok_r.c: New file.
22059         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22060         RAX_LP/RDX_LP on SAVE_PTR.
22062 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22064         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22066 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22068         * libm_test.inc (csqrt_test): Allow more spurious underflow
22069         exceptions.
22070         (j0_test): Likewise.
22071         (j1_test): Likewise.
22072         (y0_test): Likewise.
22073         (y1_test): Likewise.
22075 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22077         * po/Makefile (libc.pot): Use UTF-8 charset.
22079 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22081         [BZ #14210]
22082         Suppress sign-conversion warning from FD_SET.
22083         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22084         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22085         not unsigned long int.
22086         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22088 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22090         [BZ #14050]
22091         [BZ #14117]
22092         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22093         __extern_always_inline instead of __extern_inline.
22094         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22095         (__signbit): Likewise.
22096         (__signbitl): Support C++ namespace.
22097         (lrintf): New inline function.
22098         (lrint): Likewise.
22099         (llrintf): Likewise.
22100         (llrint): Likewise.
22101         (fmaxf): Likewise.
22102         (fmax): Likewise.
22103         (fminf): Likewise.
22104         (fmin): Likewise.
22105         (rint): Likewise.
22106         (rintf): Likewise.
22107         (ceil): Likewise.
22108         (ceilf): Likewise.
22109         (floor): Likewise.
22110         (floorf): Likewise.
22111         (nearbyint): Likewise.
22112         (nearbyintf): Likewise.
22114 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22116         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22117         non-default versions.
22119 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22121         [BZ #14218]
22122         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22124 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22126         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22127         (FE_UPWARD, FE_DOWNWARD): Don't define.
22128         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22129         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22132         reading it.
22133         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22134         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22136 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22138         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22139         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22140         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22141         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22143 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22145         [BZ #14117]
22146         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22147         * sysdeps/i386/fpu/Implies: New file.
22148         * sysdeps/x86_64/fpu/Implies: Likewise.
22149         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22150         * sysdeps/x86/fpu/bits/fenv.h: This.
22152         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22153         __SSE_MATH__.
22155 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22157         [BZ #14134]
22158         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22159         character 0xffff that matches the last element of the
22160         conversion table.
22162 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22165         fmodl commit.
22167 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22170         values higher than 25.6283.
22172 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22174         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22175         subnormal exponent extraction and add some __builtin_expect.
22176         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22177         Fix for subnormal mantissa calculation.
22179 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22181         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22182         cpu2 is -1 and errno is not ENOSYS.
22184 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22186         [BZ #14117]
22187         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22188         * sysdeps/x86/bits/string.h: This.
22189         * sysdeps/x86_64/bits/string.h: Removed.
22191         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22192         if not compiling for x86-64, but compiling for >= i486.
22194         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22195         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22197         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22198         New macro from Linux kernel 3.4.0.
22199         (FP_XSTATE_MAGIC2): Likewise.
22200         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22201         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22202         (struct _fpx_sw_bytes): New struct.
22203         (struct _xsave_hdr): Likewise.
22204         (struct _ymmh_state): Likewise.
22205         (struct _xstate): Likewise.
22207         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22208         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22209         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22210         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22211         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22212         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22214         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22215         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22216         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22217         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22218         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22219         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22221 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22223         [BZ #13743]
22224         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22225         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22226         (sysdep_headers): Include sys/platform/ppc.h.
22227         * sysdeps/powerpc/test-gettimebase.c: Test for
22228         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22229         * manual/Makefile (appendices): Include platform.texi.
22230         * manual/contrib.texi (Contributors): Update @node pointers.
22231         * manual/maint.texi (Maintenance): Likewise.
22232         (Platform): New node.
22233         * manual/platform.texi: New file.  Document the new features.
22235 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22236             Jakub Jelinek  <jakub@redhat.com>
22238         [BZ #14188]
22239         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22240         where __builtin_expect is unavailable.
22242 2012-06-03  David S. Miller  <davem@davemloft.net>
22244         * stdlib/longlong.h: Updated from GCC.
22246 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22248         [BZ #14042]
22249         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22250         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22251         __mcount_internal.
22252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22253         (GLIBC_2.16): Likewise.
22255 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22257         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22259 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22262         (default-abi): New variable.
22263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22264         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22265         variable.
22266         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22267         Likewise.
22268         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22269         Likewise.
22270         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22271         Likewise.
22273         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22274         definition.  Document in comment.
22276 2012-06-01  David S. Miller  <davem@davemloft.net>
22278         * stdlib/longlong.h: Updated from GCC.
22280 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22282         [BZ #14117]
22283         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22284         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22285         sys/debugreg.h sys/io.h here.
22286         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22287         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22288         sys/io.h.
22289         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22290         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22291         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22292         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22293         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22294         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22296         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22297         Define only if __x86_64__ is defined.
22299 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22301         [BZ #14048]
22302         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22303         Use int64_t for variable i.
22304         * math/libm-test.inc (fmod_test): Add more tests.
22306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22307         z computation is not scheduled after fetestexcept.
22308         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22309         Use math_force_eval instead of asm to ensure calculation scheduled
22310         before exception test.
22311         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22312         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22314 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22317         computation is not scheduled after fetestexcept.
22319 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22321         [BZ #14117]
22322         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22323         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22325 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22327         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22328         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22330 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22332         [BZ #14117]
22333         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22334         <bits/wordsize.h>.
22335         (__WCHAR_MIN): Support __WORDSIZE == 64.
22336         (__WCHAR_MAX): Likewise.
22338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22339         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22341         [BZ #14183]
22342         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22343         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22345         [BZ #14117]
22346         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22349         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22350         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22352         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22353         Defined to 1 if __x86_64__ isn't defined.
22354         (_STAT_VER_LINUX_OLD): New.
22355         (st_atime): Remove duplicate.
22356         (st_mtime): Likewise.
22357         (st_ctime): Likewise.
22359 2012-05-31  David S. Miller  <davem@davemloft.net>
22361         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22362         entries.
22364 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22366         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22367         gen-libm-test.pl.
22369         [BZ #14132]
22370         * elf/dl-reloc.c: Include <_itoa.h>.
22371         (_dl_reloc_bad_type): Remove use of INTUSE.
22372         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22373         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22374         * stdio-common/psiginfo.c (psiginfo): Likewise.
22375         * stdio-common/psignal.c (psignal): Likewise.
22376         * string/strsignal.c (strsignal): Likewise.
22377         * include/signal.h (_sys_siglist): Declare hidden proto.
22378         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22379         INTVARDEF with libc_hidden_data_def.
22380         * stdio-common/itoa-udigits.c: Likewise.
22381         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22382         (_itoa_lower_digits_internal): Remove declaration.
22383         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22384         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22385         (_sys_sigabbrev_internal): Remove aliases.
22386         (_sys_siglist): Define hidden alias.
22388 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22391         bits/sysctl.h.
22393 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22395         [BZ #14117]
22396         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22397         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22399         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22400         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22401         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22402         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22404         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22406         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22407         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22408         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22410         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22411         with __addr.
22412         (insw): Likewise.
22413         (insl): Likewise.
22414         (outsb): Likewise.
22415         (outsw): Likewise.
22416         (outsl): Likewise.
22418         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22419         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22420         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22422         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22423         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22425         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22426         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22427         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22429         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22430         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22432         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22433         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22435         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22439         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22440         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22441         to ...
22442         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22444         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22445         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22446         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22448         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22449         for x86-64.
22450         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22452 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22454         * math/math.h (M_El): Use two more decimal places.
22455         (M_LOG2El): Likewise.
22456         (M_LOG10El): Likewise.
22457         (M_LN2l): Likewise.
22458         (M_LN10l): Likewise.
22459         (M_PIl): Likewise.
22460         (M_PI_2l): Likewise.
22461         (M_PI_4l): Likewise.
22462         (M_1_PIl): Likewise.
22463         (M_2_PIl): Likewise.
22464         (M_2_SQRTPIl): Likewise.
22465         (M_SQRT2l): Likewise.
22466         (M_SQRT1_2l): Likewise.
22468 2012-05-31  David S. Miller  <davem@davemloft.net>
22470         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22471         values between float registers.
22472         * sysdeps/sparc/sparc64/memset.S: Likewise.
22473         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22475 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22477         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22478         -D_FORTIFY_SOURCE=1.
22479         (CPPFLAGS-tst-longjmp_chk.c): Define.
22480         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22481         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22482         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22483         CFLAGS-tst-wchar-h.c.
22485 2012-05-31  Marek Polacek  <polacek@redhat.com>
22487         [BZ #14132]
22488         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22489         __endmntent_internal): Remove declaration.
22490         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22491         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22492         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22494 2012-05-30  David S. Miller  <davem@davemloft.net>
22496         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22497         (___Q_simulate_exceptions): Use real FP ops rather than writing
22498         into the %fsr.
22499         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22500         Likewise.
22502 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22504         [BZ #14117]
22505         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22506         * sysdeps/x86/bits/xtitypes.h: This.
22508         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22509         * sysdeps/x86/bits/wordsize.h: This.
22511         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22512         * sysdeps/x86/bits/huge_vall.h: This.
22514         * sysdeps/i386/bits/select.h: Removed.
22515         * sysdeps/x86_64/bits/select.h: Renamed to ...
22516         * sysdeps/x86/bits/select.h: This.
22518         * sysdeps/i386/bits/setjmp.h: Removed.
22519         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22520         * sysdeps/x86/bits/setjmp.h: This.
22522         * sysdeps/i386/bits/mathdef.h: Removed.
22523         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22524         * sysdeps/x86/bits/mathdef.h: This.
22526 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22528         [BZ #14132]
22529         * include/sys/socket.h (__connect_internal)
22530         (__libc_sa_len_internal): Remove declaration.
22531         (__connect, __libc_sa_len): Declare hidden_proto.
22532         (SA_LEN): Remove use of INTUSE.
22533         * socket/connect.c: Add libc_hidden_def.
22534         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22535         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22536         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22537         alias.
22538         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22539         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22540         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22541         of adding _internal alias.
22543 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22545         [BZ #14117]
22546         * sysdeps/i386/bits/link.h: Removed.
22547         * sysdeps/i386/bits/linkmap.h: Likewise.
22548         * sysdeps/x86_64/bits/link.h: Renamed to ...
22549         * sysdeps/x86/bits/link.h: This.
22550         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22551         * sysdeps/x86/bits/linkmap.h: This.
22553         * sysdeps/i386/bits/endian.h: Removed.
22554         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22555         * sysdeps/x86/bits/endian.h: This.
22557         * sysdeps/i386/bits/byteswap.h: Removed.
22558         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22559         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22560         * sysdeps/x86/bits/byteswap.h: This.
22561         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22562         * sysdeps/x86/bits/byteswap-16.h: This.
22563         * sysdeps/i386/Implies: Add x86.
22564         * sysdeps/x86_64/Implies: Likewise.
22566 2012-05-30  David S. Miller  <davem@davemloft.net>
22568         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22569         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22570         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22571         (FP_TRAPPING_EXCEPTIONS): Define.
22572         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22573         (FP_TRAPPING_EXCEPTIONS): Define.
22574         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22575         subnormals only when inexact has been signalled or underflow
22576         exceptions are enabled.
22577         (_FP_PACK_CANONICAL): Likewise.
22579 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22581         [BZ #14183]
22582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22583         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22585 2012-05-30  Richard Henderson  <rth@twiddle.net>
22587         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22588         with #ifndef NOT_IN_libc.
22590         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22591         marked to avoid plt entry.
22593 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22595         [BZ #14112]
22596         * Makeconfig (default-abi): New macro.
22597         (abi-includes): Likewise.
22598         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22599         $(abi-$(default-abi)-lib-soname) for soname if defined.
22600         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22601         abi-variants.
22602         * Makefile (installed-stubs): Likewise.
22603         * include/stubs-biarch.h: Removed.
22604         * scripts/lib-names.awk: Only handle one library at a time.
22605         * scripts/soversions.awk: Remove WORDSIZE support.
22606         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22607         entries.
22608         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22609         Removed.
22610         (syscall-list-default-condition): Likewise.
22611         (syscall-list-default-condition): Likewise.
22612         (syscall-list-includes): Likewise.
22613         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22614         syscall-list-* with abi-*.  Handle undefined abi-variants.
22615         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22616         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22617         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22618         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22619         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22620         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22621         Removed.
22622         (syscall-list-32-options): Likewise.
22623         (syscall-list-32-condition): Likewise.
22624         (syscall-list-64-options): Likewise.
22625         (syscall-list-64-condition): Likewise.
22626         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22627         macro.
22628         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22629         Renamed to ...
22630         (abi-*): This.
22631         (abi-64-ld-soname): New macro.
22632         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22633         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22634         Renamed to ...
22635         (abi-*): This.
22636         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22637         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22639 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22641         * sysdeps/unix/sysv/linux/kernel-features.h
22642         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22643         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22644         include <kernel-features.h>.
22645         [!__NR_ftruncate64]: Remove conditional code.
22646         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22647         [__NR_ftruncate64]: Make code unconditional.
22648         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22649         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22650         include <kernel-features.h>.
22651         [!__NR_ftruncate64]: Remove conditional code.
22652         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22653         [__NR_ftruncate64]: Make code unconditional.
22654         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22656         include <kernel-features.h>.
22657         [!__NR_ftruncate64]: Remove conditional code.
22658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22659         [__NR_ftruncate64]: Make code unconditional.
22660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22662         include <kernel-features.h>.
22663         [!__NR_ftruncate64]: Remove conditional code.
22664         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22665         [__NR_ftruncate64]: Make code unconditional.
22666         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22668         * configure.in (libc_cv_fpie): Weaken to a compile test using
22669         LIBC_TRY_CC_OPTION.
22670         * configure: Regenerated.
22672 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22678         Refreshed.
22679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22685         Refreshed.
22687 2012-05-27  David S. Miller  <davem@davemloft.net>
22689         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22690         (___Q_zero): New.
22691         (__Q_simulate_exceptions): Return void.  Change to simulate
22692         exceptions by writing into the %fsr.
22693         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22694         (__Qp_handle_exceptions): Likewise.
22695         (numbers): Delete.
22696         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22697         __Qp_handle_exceptions.
22698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22699         __Qp_handle_exceptions.
22700         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22701         as unused and give dummy FP_RND_NEAREST initializer.
22702         (FP_INHIBIT_RESULTS): Define.
22703         (___Q_simulate_exceptions): Update declaration.
22704         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22705         formatting.
22706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22707         as unused and give dummy FP_RND_NEAREST initializer.
22708         (__Qp_handle_exceptions): Update declaration.
22709         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22710         formatting.
22712 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22714         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22715         the temporary FPU control word.
22716         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22717         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22718         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22719         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22720         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22722         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22723         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22724         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22725         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22726         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22728 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22730         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22731         fields.
22733 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22735         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22736         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22737         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22738         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22739         Likewise.
22740         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22741         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22742         Likewise.
22744 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22746         * po/h.po: Update from translation team.
22748 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22750         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22752         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22753         handling of denormals.
22754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22755         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22756         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22757         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22761         Likewise.
22763 2012-05-26  Marek Polacek  <polacek@redhat.com>
22765         [BZ #14152]
22766         * math/libm-test.inc (fma_test): Don't always expect underflow
22767         exception.
22769 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22771         [BZ #12416]
22772         * elf/tst-execstack.c: Include stackinfo.h.
22773         (do_test): Adjust test case to ensure that pthread_getattr_np
22774         behaviour remains the same after marking stack executable.
22776 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22778         * sysdeps/unix/sysv/linux/kernel-features.h
22779         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22780         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22781         kernel-features.h.
22782         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22783         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22784         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22785         kernel-features.h.
22786         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22787         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22789 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22791         * configure.in: Define the default includes to being none.
22792         * configure: Regenerated.
22794 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22796         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22797         * sysdeps/x86_64/setjmp.S: Likewise.
22798         * sysdeps/i386/bsd-setjmp.S: Likewise.
22799         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22800         * sysdeps/i386/setjmp.S: Likewise.
22801         * sysdeps/i386/__longjmp.S: Likewise.
22802         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22803         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22805         * include/stap-probe.h: New file.
22806         * configure.in: Handle --enable-systemtap.
22807         * configure: Regenerated.
22808         * config.h.in (USE_STAP_PROBE): New #undef.
22809         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22810         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22811         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22813 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22815         [BZ #13717]
22816         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22817         to 2.4.0 where earlier.
22818         * sysdeps/unix/sysv/linux/configure: Regenerated.
22819         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22820         <kernel-features.h>.
22821         [__ASSUME_32BITUIDS]: Make code unconditional.
22822         [!__ASSUME_32BITUIDS]: Remove conditional code.
22823         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22824         <kernel-features.h>.
22825         [__ASSUME_32BITUIDS]: Make code unconditional.
22826         [!__ASSUME_32BITUIDS]: Remove conditional code.
22827         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22828         [__ASSUME_32BITUIDS]: Make code unconditional.
22829         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22830         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22831         <kernel-features.h>.
22832         [__ASSUME_32BITUIDS]: Make code unconditional.
22833         [!__ASSUME_32BITUIDS]: Remove conditional code.
22834         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22835         <kernel-features.h>.
22836         [__ASSUME_32BITUIDS]: Make code unconditional.
22837         [!__ASSUME_32BITUIDS]: Remove conditional code.
22838         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22839         <kernel-features.h>.
22840         [__ASSUME_32BITUIDS]: Make code unconditional.
22841         [!__ASSUME_32BITUIDS]: Remove conditional code.
22842         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22843         <kernel-features.h>.
22844         [__ASSUME_32BITUIDS]: Make code unconditional.
22845         [!__ASSUME_32BITUIDS]: Remove conditional code.
22846         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22847         <kernel-features.h>.
22848         [__ASSUME_32BITUIDS]: Make code unconditional.
22849         [!__ASSUME_32BITUIDS]: Remove conditional code.
22850         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22851         <kernel-features.h>.
22852         [__ASSUME_32BITUIDS]: Make code unconditional.
22853         [!__ASSUME_32BITUIDS]: Remove conditional code.
22854         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22855         <kernel-features.h>.
22856         [__ASSUME_32BITUIDS]: Make code unconditional.
22857         [!__ASSUME_32BITUIDS]: Remove conditional code.
22858         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22859         <kernel-features.h>.
22860         [__ASSUME_32BITUIDS]: Make code unconditional.
22861         [!__ASSUME_32BITUIDS]: Remove conditional code.
22862         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22863         <kernel-features.h>.
22864         [__ASSUME_32BITUIDS]: Make code unconditional.
22865         [!__ASSUME_32BITUIDS]: Remove conditional code.
22866         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22867         <kernel-features.h>.
22868         [__ASSUME_32BITUIDS]: Make code unconditional.
22869         [!__ASSUME_32BITUIDS]: Remove conditional code.
22870         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22871         <kernel-features.h>.
22872         [__NR_setresgid] (__setresgid): Do not declare.
22873         [__ASSUME_32BITUIDS]: Make code unconditional.
22874         [!__ASSUME_32BITUIDS]: Remove conditional code.
22875         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22876         <kernel-features.h>.
22877         [__NR_setresuid] (__setresuid): Do not declare.
22878         [__ASSUME_32BITUIDS]: Make code unconditional.
22879         [!__ASSUME_32BITUIDS]: Remove conditional code.
22880         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22881         <kernel-features.h>.
22882         [__ASSUME_32BITUIDS]: Make code unconditional.
22883         [!__ASSUME_32BITUIDS]: Remove conditional code.
22884         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22885         <kernel-features.h>.
22886         [__ASSUME_32BITUIDS]: Make code unconditional.
22887         [!__ASSUME_32BITUIDS]: Remove conditional code.
22888         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22889         <kernel-features.h>.
22890         [__ASSUME_32BITUIDS]: Make code unconditional.
22891         [!__ASSUME_32BITUIDS]: Remove conditional code.
22892         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22893         <kernel-features.h>.
22894         [__ASSUME_32BITUIDS]: Make code unconditional.
22895         [!__ASSUME_32BITUIDS]: Remove conditional code.
22896         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22897         <kernel-features.h>.
22898         [__ASSUME_32BITUIDS]: Make code unconditional.
22899         [!__ASSUME_32BITUIDS]: Remove conditional code.
22900         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22901         <kernel-features.h>.
22902         [__ASSUME_32BITUIDS]: Make code unconditional.
22903         [!__ASSUME_32BITUIDS]: Remove conditional code.
22904         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22905         <kernel-features.h>.
22906         [__ASSUME_32BITUIDS]: Make code unconditional.
22907         [!__ASSUME_32BITUIDS]: Remove conditional code.
22908         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22909         <kernel-features.h>.
22910         [__ASSUME_32BITUIDS]: Make code unconditional.
22911         [!__ASSUME_32BITUIDS]: Remove conditional code.
22912         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22913         <kernel-features.h>.
22914         [__ASSUME_32BITUIDS]: Make code unconditional.
22915         [!__ASSUME_32BITUIDS]: Remove conditional code.
22916         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22917         <kernel-features.h>.
22918         [__ASSUME_32BITUIDS]: Make code unconditional.
22919         [!__ASSUME_32BITUIDS]: Remove conditional code.
22920         * sysdeps/unix/sysv/linux/kernel-features.h
22921         (__ASSUME_SETRESUID_SYSCALL): Remove.
22922         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22923         (__ASSUME_32BITUIDS): Likewise.
22924         (__ASSUME_LDT_WORKS): Likewise.
22925         (__ASSUME_O_DIRECTORY): Likewise.
22926         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22927         architecture but not kernel version.
22928         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22929         (__ASSUME_MMAP2_SYSCALL): Likewise.
22930         (__ASSUME_STAT64_SYSCALL): Likewise.
22931         (__ASSUME_IPC64): Likewise.
22932         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22933         <kernel-features.h>.
22934         [__ASSUME_32BITUIDS]: Make code unconditional.
22935         [!__ASSUME_32BITUIDS]: Remove conditional code.
22936         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22937         <kernel-features.h>.
22938         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22939         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22940         132096]: Remove conditional code.
22941         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22943         <kernel-features.h>.
22944         [__ASSUME_32BITUIDS]: Make code unconditional.
22945         [!__ASSUME_32BITUIDS]: Remove conditional code.
22946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22947         <kernel-features.h>.
22948         [__ASSUME_32BITUIDS]: Make code unconditional.
22949         [!__ASSUME_32BITUIDS]: Remove conditional code.
22950         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22951         <kernel-features.h>.
22952         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22953         unconditional.
22954         (__setresgid): Do not declare.
22955         [__ASSUME_32BITUIDS]: Make code unconditional.
22956         [!__ASSUME_32BITUIDS]: Remove conditional code.
22957         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22958         <kernel-features.h>.
22959         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22960         unconditional.
22961         (__setresuid): Do not declare.
22962         [__ASSUME_32BITUIDS]: Make code unconditional.
22963         [!__ASSUME_32BITUIDS]: Remove conditional code.
22964         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22965         <kernel-features.h>.
22966         [__ASSUME_32BITUIDS]: Make code unconditional.
22967         [!__ASSUME_32BITUIDS]: Remove conditional code.
22968         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22969         <kernel-features.h>.
22970         [__ASSUME_32BITUIDS]: Make code unconditional.
22971         [!__ASSUME_32BITUIDS]: Remove conditional code.
22973 2012-05-25  Richard Henderson  <rth@twiddle.net>
22975         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22976         dl_hwcap to ifunc resolver.
22977         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22978         elf_ifunc_invoke.
22979         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22980         dl_hwcap to ifunc resolver.
22981         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22983 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22985         [BZ #14153]
22986         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22987         for |x| <= 2**-26, not 2**-57.
22988         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22989         exception.
22991 2012-05-24  Jeff Law  <law@redhat.com>
22993         * stdio-common/Makefile (tests): Add bug25.
22994         * stdio-common/bug25.c: New test.
22996 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22998         [BZ #13576]
22999         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23000         multiple of MALLOC_ALIGNMENT in size.
23001         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23003 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23005         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23006         Require >= 256.
23007         (FILENAME_MAX): Use macro-int-constant.
23008         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23009         (_IOFBF): Use macro-int-constant.
23010         (_IOLBF): Likewise.
23011         (_IONBF): Likewise.
23012         (SEEK_CUR): Likewise.
23013         (SEEK_END): Likewise.
23014         (SEEK_SET): Likewise.
23015         (TMP_MAX): Likewise.
23016         (EOF): Use macro-int-constant.  Require < 0.
23017         (NULL): Use macro-constant.  Require == 0.
23018         (stdin): Require type to be FILE *.
23019         (stdout): Likewise.
23020         (stderr): Likewise.
23021         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23022         macro-int-constant.
23023         (EXIT_SUCCESS): Likewise.
23024         (NULL): Use macro-constant.  Require == 0.
23025         (RAND_MAX): Use macro-int-constant.
23026         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23027         [C99-based standards] (strtof): Require function.
23028         [C99-based standards] (strtold): Likewise.
23029         [C99-based standards] (strtoll): Likewise.
23030         [C99-based standards] (strtoull): Likewise.
23031         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23032         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23033         [ISO || ISO99 || ISO11] (math.h): Likewise.
23034         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23035         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23038 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23040         [BZ #14132]
23041         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23042         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23043         * intl/dgettext.c (DCGETTEXT): Likewise.
23044         * intl/gettext.c (DCGETTEXT): Likewise.
23045         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23046         * posix/regex_internal.h (gettext): Likewise.
23047         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23048         Remove declaration.
23049         * include/argz.h (__argz_count_internal)
23050         (__argz_stringify_internal): Remove declaration.
23051         (__argz_count, __argz_stringify): Declare hidden proto.
23052         * intl/dcgettext.c: Remove use of INTDEF.
23053         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23054         * string/argz-stringify.c: Likewise.
23055         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23056         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23057         Declare hidden proto.
23058         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23059         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23060         Declare hidden proto.
23061         * include/stdio.h (__asprintf_internal): Don't declare.
23062         (__asprintf): Don't define as macro.  Declare hidden proto.
23063         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23064         (__fsetlocking): Declare hidden proto.
23065         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23066         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23067         hidden proto.
23068         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23069         (_IO_setlinebuf): Remove use of INTUSE.
23070         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23071         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23072         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23073         Remove declaration.
23074         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23075         (_IO_do_flush): Remove use of INTUSE.
23076         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23077         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23078         (_IO_adjust_column, _IO_least_wmarker)
23079         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23080         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23081         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23082         (_IO_default_doallocate, _IO_wdefault_doallocate)
23083         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23084         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23085         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23086         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23087         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23088         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23089         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23090         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23091         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23092         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23093         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23094         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23095         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23096         proto.
23097         (_IO_flush_all_internal, _IO_adjust_column_internal)
23098         (_IO_default_uflow_internal, _IO_default_finish_internal)
23099         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23100         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23101         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23102         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23103         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23104         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23105         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23106         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23107         (_IO_file_close_internal, _IO_file_close_it_internal)
23108         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23109         (_IO_file_init_internal, _IO_file_attach_internal)
23110         (_IO_file_fopen_internal, _IO_file_read_internal)
23111         (_IO_file_sync_internal, _IO_file_seek_internal)
23112         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23113         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23114         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23115         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23116         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23117         (_IO_list_all_internal, _IO_link_in_internal)
23118         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23119         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23120         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23121         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23122         (_IO_do_write_internal, _IO_padn_internal)
23123         (_IO_getline_info_internal, _IO_getline_internal)
23124         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23125         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23126         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23127         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23128         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23129         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23130         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23131         with libc_hidden_ver, remove use of INTUSE.
23132         * libio/genops.c: Likewise.
23133         * libio/freopen.c: Likewise.
23134         * libio/freopen64.c: Likewise.
23135         * libio/iofclose.c: Likewise.
23136         * libio/iofdopen.c: Likewise.
23137         * libio/iofflush.c: Likewise.
23138         * libio/iofflush_u.c: Likewise.
23139         * libio/iofgets.c: Likewise.
23140         * libio/iofgets_u.c: Likewise.
23141         * libio/iofopen.c: Likewise.
23142         * libio/iofopncook.c: Likewise.
23143         * libio/iofread.c: Likewise.
23144         * libio/iofread_u.c: Likewise.
23145         * libio/ioftell.c: Likewise.
23146         * libio/iofwrite.c: Likewise.
23147         * libio/iogetline.c: Likewise.
23148         * libio/iogets.c: Likewise.
23149         * libio/iogetwline.c: Likewise.
23150         * libio/iopadn.c: Likewise.
23151         * libio/iopopen.c: Likewise.
23152         * libio/ioseekoff.c: Likewise.
23153         * libio/ioseekpos.c: Likewise.
23154         * libio/iosetbuffer.c: Likewise.
23155         * libio/iosetvbuf.c: Likewise.
23156         * libio/ioungetc.c: Likewise.
23157         * libio/ioungetwc.c: Likewise.
23158         * libio/iovdprintf.c: Likewise.
23159         * libio/iovsprintf.c: Likewise.
23160         * libio/iovsscanf.c: Likewise.
23161         * libio/memstream.c: Likewise.
23162         * libio/obprintf.c: Likewise.
23163         * libio/oldfileops.c: Likewise.
23164         * libio/oldiofclose.c: Likewise.
23165         * libio/oldiofdopen.c: Likewise.
23166         * libio/oldiofopen.c: Likewise.
23167         * libio/oldiopopen.c: Likewise.
23168         * libio/oldstdfiles.c: Likewise.
23169         * libio/putc.c: Likewise.
23170         * libio/setbuf.c: Likewise.
23171         * libio/setlinebuf.c: Likewise.
23172         * libio/stdfiles.c: Likewise.
23173         * libio/strops.c: Likewise.
23174         * libio/vasprintf.c: Likewise.
23175         * libio/vscanf.c: Likewise.
23176         * libio/vsnprintf.c: Likewise.
23177         * libio/vswprintf.c: Likewise.
23178         * libio/wfiledoalloc.c: Likewise.
23179         * libio/wfileops.c: Likewise.
23180         * libio/wgenops.c: Likewise.
23181         * libio/wmemstream.c: Likewise.
23182         * libio/wstrops.c: Likewise.
23183         * libio/__fpurge.c: Likewise.
23184         * libio/__fsetlocking.c: Likewise.
23185         * assert/assert.c: Likewise.
23186         * debug/fgets_chk.c: Likewise.
23187         * debug/fgets_u_chk.c: Likewise.
23188         * debug/fread_chk.c: Likewise.
23189         * debug/fread_u_chk.c: Likewise.
23190         * debug/gets_chk.c: Likewise.
23191         * debug/obprintf_chk.c: Likewise.
23192         * debug/vasprintf_chk.c: Likewise.
23193         * debug/vdprintf_chk.c: Likewise.
23194         * debug/vsnprintf_chk.c: Likewise.
23195         * debug/vsprintf_chk.c: Likewise.
23196         * malloc/mtrace.c: Likewise.
23197         * misc/error.c: Likewise.
23198         * misc/syslog.c: Likewise.
23199         * stdio-common/asprintf.c: Likewise.
23200         * stdio-common/fxprintf.c: Likewise.
23201         * stdio-common/getw.c: Likewise.
23202         * stdio-common/isoc99_fscanf.c: Likewise.
23203         * stdio-common/isoc99_scanf.c: Likewise.
23204         * stdio-common/isoc99_vfscanf.c: Likewise.
23205         * stdio-common/isoc99_vscanf.c: Likewise.
23206         * stdio-common/isoc99_vsscanf.c: Likewise.
23207         * stdio-common/printf-prs.c: Likewise.
23208         * stdio-common/printf_fp.c: Likewise.
23209         * stdio-common/printf_fphex.c: Likewise.
23210         * stdio-common/printf_size.c: Likewise.
23211         * stdio-common/putw.c: Likewise.
23212         * stdio-common/scanf.c: Likewise.
23213         * stdio-common/sprintf.c: Likewise.
23214         * stdio-common/tmpfile.c: Likewise.
23215         * stdio-common/vfprintf.c: Likewise.
23216         * stdio-common/vfscanf.c: Likewise.
23217         * stdlib/strfmon_l.c: Likewise.
23218         * sunrpc/openchild.c: Likewise.
23219         * sunrpc/xdr_stdio.c: Likewise.
23220         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23221         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23223 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23225         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23227         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23228         in the third column, to generate for the shared library an IFUNC
23229         that uses _dl_vdso_vsym.
23230         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23231         * Makeconfig (object-suffixes-noshared): New variable.
23233         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23234         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23235         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23236         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23238         [BZ #14132]
23239         * include/sys/time.h (__gettimeofday): Remove macro.
23240         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23241         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23242         Remove INTDEF.
23243         (__gettimeofday): Add libc_hidden_def.
23244         (gettimeofday): Add libc_hidden_weak.
23245         * sysdeps/mach/gettimeofday.c: Likewise.
23246         * sysdeps/posix/gettimeofday.c: Likewise.
23247         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23248         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23250         (__gettimeofday_internal): Remove strong_alias.
23251         (__gettimeofday): Add libc_hidden_def.
23252         (gettimeofday): Add libc_hidden_weak.
23253         * sysdeps/unix/syscalls.list (gettimeofday):
23254         Remove __gettimeofday_internal alias.
23256 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23257             H.J. Lu  <hongjiu.lu@intel.com>
23259         [BZ #12495]
23260         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23261         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23262         (largebin_index_32_big): New.
23263         (largebin_index): Use it for 16-byte alignment.
23264         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23265         correction with front_misalign.
23267 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23273         Likewise.
23274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23275         Likewise.
23276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23277         Likewise.
23278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23279         Likewise.
23280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23281         Likewise.
23282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23283         Likewise.
23284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23285         Likewise.
23286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23287         Likewise.
23288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23289         Likewise.
23290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23291         Likewise.
23292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23293         Likewise.
23295         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23296         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23298 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23300         [BZ #10846]
23301         [BZ #14036]
23302         * math/libm-test.inc (exp_test): Add test from bug 14036.
23303         (pow_test): Add test from bug 10846.
23305         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23306         and other flags.
23307         (special_function): Do not include flags in test name.
23308         (parse_args): Likewise.
23309         * sysdeps/i386/fpu/libm-test-ulps: Update.
23310         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23311         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23312         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23315         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23316         exceptions.
23317         * math/libm-test.inc ("Philosophy"): Update comment about
23318         exception testing.
23319         (UNDERFLOW_EXCEPTION): New macro.
23320         (UNDERFLOW_EXCEPTION_OK): Likewise.
23321         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23322         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23323         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23324         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23325         (INVALID_EXCEPTION_OK): Update value.
23326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23327         (OVERFLOW_EXCEPTION_OK): Likewise.
23328         (IGNORE_ZERO_INF_SIGN): Likewise.
23329         (test_exceptions): Handle underflow exceptions.
23330         (acos_test): Update for underflow exception expectations.
23331         (cexp_test): Likewise.
23332         (clog_test): Likewise.
23333         (clog10_test): Likewise.
23334         (csqrt_test): Likewise.
23335         (ctan_test): Likewise.
23336         (ctanh_test): Likewise.
23337         (exp_test): Likewise.
23338         (exp10_test): Likewise.
23339         (exp2_test): Likewise.
23340         (expm1_test): Likewise.
23341         (fma_test): Likewise.
23342         (j0_test): Likewise.
23343         (jn_test): Likewise.
23344         (nexttoward_test): Likewise.
23345         (pow_test): Likewise.
23346         (scalbn_test): Likewise.
23347         (scalbln_test): Likewise.
23348         (tan_test): Likewise.
23349         (y1_test): Likewise.
23350         * sysdeps/i386/fpu/libm-test-ulps: Update.
23351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23353 2012-05-23  David S. Miller  <davem@davemloft.net>
23355         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23356         (__libc_sigaction): Remove unused local variables.
23358 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23360         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23362 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23364         mktime: avoid signed integer overflow
23365         * time/mktime.c (__mktime_internal): Do not mishandle the case
23366         where diff == INT_MIN.
23368         mktime: simplify computation of average
23369         * time/mktime.c (ranged_convert): Use new time_t_avg function
23370         instead of rolling our own (probably-slower) code.
23372         mktime: do not assume signed right shift propagates sign bit
23373         * time/mktime.c (isdst_differ): New static function.
23374         (__mktime_internal): No need to normalize tm_isdst now.
23375         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23376         tm_isdst values.
23378         mktime: merge another wrapv change from gnulib
23379         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23380         from some compilers.
23382         mktime: remove incorrect attempt at unusual arithmetics
23383         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23384         The code didn't really work on such machines anyway.
23385         (TYPE_MINIMUM): Assume two's complement.
23386         (twos_complement_arithmetic): Verify that long_int and time_t
23387         are two's complement (or unsigned, in the latter case).
23389         mktime: check signed shifts on long_int and time_t, too
23390         * time/mktime.c (SHR): Check that shifts work as desired
23391         on the types long_int and time_t too, as SHR is used on
23392         such types.
23394         mktime: do not assume 'long' is wide enough
23395         * time/mktime.c (verify): Move decl up.
23396         (long_int): New type.
23397         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23398         to remove assumption in the code that 'long' is wide enough to
23399         store year values.  This assumption is not true on x32 and on
23400         some non-glibc platforms.
23402         mktime: merge wrapv change from gnulib
23403         * time/mktime.c (WRAPV): New macro.
23404         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23405         (guess_time_tm, __mktime_internal): Do not assume that signed
23406         integer overflow wraps around; modern compilers generate code
23407         where this assumption is no longer valid.
23409 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23411         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23412         Replace "jmp L(pseudo_end)" with "ret".
23413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23414         Likewise.
23416 2012-05-23  Andreas Jaeger  <aj@suse.de>
23418         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23419         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23421 2012-05-23  Andreas Jaeger  <aj@suse.de>
23422             Maximilian Attems  <max@stro.at>
23424         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23425         New macros.
23427 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23430         code so that pseudo_end is just ret and the stack pointer is
23431         correct also for static library in error case.
23433 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23435         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23436         move to syscalls.list.
23437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23442         * manual/install.texi (Running make install): Do not mention Linux
23443         kernel version for which pt_chown is not needed.
23444         (Linux): Do not mention problems with nscd with 2.0 kernels.
23445         * INSTALL: Regenerated.
23447 2012-05-23  Andreas Jaeger  <aj@suse.de>
23449         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23450         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23451         macro.
23452         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23454         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23456         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23458         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23460         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23461         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23462         * sysdeps/unix/sysv/linux/bits/in.h
23463         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23465 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23467         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23468         (PREPARE_VERSION): Just use assert instead, it will be elided
23469         under [NDEBUG] anyway.
23471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23473         * sysdeps/unix/sysv/linux/Makefile: Include
23474         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23475         (sysdep_routines): Remove sysctl.
23476         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23477         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23478         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23479         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23480         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23482 2012-05-22  Andreas Jaeger  <aj@suse.de>
23484         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23485         that pseudo_end is just ret and the stack pointer is correct also
23486         for static library in error case.
23488 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23490         [BZ #14122]
23491         * nss/nsswitch.c (defconfig_entries): New variable.
23492         (__nss_database_lookup): Don't leak defconfig entries.
23493         (nss_parse_service_list): Don't leak on error paths.
23494         (free_database_entries): New function.
23495         (free_defconfig): New function.
23496         (free_mem): Move common code to free_database_entries.
23498 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23500         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23501         Add arch_prctl.
23502         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23504         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23505         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23506         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23507         New macro.
23508         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23509         (INTERNAL_SYSCALL_TYPES): Likewise.
23510         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23511         (LOAD_REGS_TYPES_[1-6]): Likewise.
23512         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23513         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23515 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23517         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23518         copysignl for GLIBC_2_0.
23519         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23520         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23522         logbl for GLIBC_2_0.
23523         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23524         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23526 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23528         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23529         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23531         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23532         Use "neg %eax".
23534         * time/mktime.c: Update copyright years.
23536 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23538         mktime: merge comment-quoting-style change from gnulib
23539         * time/mktime.c: Quote 'like this' in comments.
23540         The GNU coding standards suggest that we no longer quote `like this',
23541         as "`" and "'" are typically rendered asymmetrically nowadays.
23542         The typical gnulib style is to quote 'like this' when quoting
23543         code, and "like this" when quoting English.
23545         * time/mktime.c (compile-command): Add "-I.".
23547         mktime: merge mktime-internal.h change from gnulib
23548         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23550         mktime: merge time_r change from gnulib
23551         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23553         mktime: merge DEBUG change from gnulib
23554         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23555         case system <time.h> has a #define.
23557         mktime: merge <sys/types.h> change from gnulib
23558         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23559         since <time.t> is now guaranteed to define time_t.
23561         mktime: merge HAVE_CONFIG_H change from gnulib
23562         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23564 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23567         Use "neg %eax".
23569         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23570         __rlim_t cast.
23571         (struct rusage): Use anonymous union to pad each field to
23572         __syscall_slong_t.
23574 2012-05-21  David S. Miller  <davem@davemloft.net>
23576         * Makefules (o-iterator): Remove .s cases.
23577         (compile-command.s): Delete.
23578         (COMPILE.s): Delete.
23579         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23581 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23583         * configure.in (libc_cv_predef_stack_protector): Only consider
23584         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23585         * configure: Regenerated.
23587 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23590         New macro.  Use R*LP on int and pointer.
23591         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23592         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23593         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23594         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23596         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23597         [__WORDSIZE_TIME64_COMPAT32] instead of
23598         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23599         (struct utmp): Likewise.
23600         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23601         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23602         Renamed to ...
23603         (__WORDSIZE_TIME64_COMPAT32): This.
23604         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23605         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23606         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23607         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23608         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23609         (__WORDSIZE_TIME64_COMPAT32): New macro.
23611 2012-05-21  Andreas Jaeger  <aj@suse.de>
23613         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23614         only if [SHARED]. Add prototype for __wcschr_ia32.
23616 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23618         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23619         of %rbp unmolested in the jmp_buf while mangling the low bits.
23620         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23621         unmolested high bits of %rbp while demangling the low bits.
23622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23624 2012-05-21  Andreas Jaeger  <aj@suse.de>
23626         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23627         * sunrpc/svc_simple.c: Use it for registerrpc.
23628         * sunrpc/xcrypt.c: Use it for passwd2des.
23630         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23632 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23634         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23635         Don't define if [__SYSCALL_WORDSIZE != 32].
23636         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23637         New macro.
23639 2012-05-21  Bruno Haible  <bruno@clisp.org>
23640             Andreas Jaeger  <aj@suse.de>
23642         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23643         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23644         inptr and inend for must_buffer_ch.
23645         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23646         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23647         * stdio-common/Makefile (tests): Remove bug15.
23648         (bug15-ENV): Remove macro.
23649         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23650         anymore.
23652 2012-05-19  Andreas Jaeger  <aj@suse.de>
23653             Roland McGrath  <roland@hack.frob.com>
23655         * manual/contrib.texi: Completely rewritten. It contains now an
23656         alphabetical list of contributors and their contributions.
23658 2012-05-21  Richard Henderson  <rth@twiddle.net>
23660         * misc/getauxval.c (__getauxval): Use unsigned long int.
23661         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23662         (getauxval): Use unsigned long int.
23664 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23666         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23668 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23670         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23671         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23672         __alignof__ (long double).
23674 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23678 2012-05-20  Richard Henderson  <rth@twiddle.net>
23680         * misc/getauxval.c: New file.
23681         * misc/sys/auxv.h: New file.
23682         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23683         (routines): Add getauxval.
23684         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23685         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23686         * elf/dl-sysdep.c (_dl_auxv): Remove.
23687         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23688         * elf/dl-support.c (_dl_auxv): New variable.
23689         (_dl_aux_init): Initialize it.
23690         * manual/startup.texi (Auxiliary Vector): New node.
23691         * sysdeps/generic/bits/hwcap.h: New file.
23692         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23693         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23694         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23695         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23696         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23697         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23699         Update.
23700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23709 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23713 2012-05-19  David S. Miller  <davem@davemloft.net>
23715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23717 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #14123]
23720         * math/s_ccosh.c: Include <float.h>
23721         (__ccosh): Avoid internal overflow calculating sinh and cosh
23722         values before multiplying by sin and cos values.
23723         * math/s_ccoshf.c: Likewise.
23724         * math/s_ccoshl.c: Likewise.
23725         * math/s_csin.c: Likewise.
23726         * math/s_csinf.c: Likewise.
23727         * math/s_csinl.c: Likewise.
23728         * math/s_csinh.c: Likewise.
23729         * math/s_csinhf.c: Likewise.
23730         * math/s_csinhl.c: Likewise.
23731         * math/libm-test.inc (ccos_test): Add more tests.
23732         (ccosh_test): Likewise.
23733         (csin_test): Likewise.
23734         (csinh_test): Likewise.
23735         * sysdeps/i386/fpu/libm-test-ulps: Update.
23736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23738 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23740         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23741         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23743         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23745 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23747         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23748         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23749         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23750         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23751         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23752         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23753         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23754         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23755         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23756         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23757         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23758         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23759         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23760         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23761         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23762         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23763         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23764         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23765         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23766         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23767         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23768         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23769         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23770         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23771         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23772         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23773         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23774         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23775         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23776         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23777         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23779 2012-05-18  Andreas Jaeger  <aj@suse.de>
23781         * csu/.gitignore: Delete.
23783 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23785         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23786         (timex): Use __syscall_slong_t.
23788 2012-05-18  Andreas Jaeger  <aj@suse.de>
23789             Carlos O'Donell  <carlos_odonell@mentor.com>
23791         * manual/install.texi (Configuring and compiling): Update
23792         description about files modified in the source directory.
23793         * INSTALL: Regenerated.
23795 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23797         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23798         value.  Use "or" to set return value to -1.
23799         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23800         negate return value.
23802 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23804         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23805         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23806         failure if the compiler has Graphite support disabled.
23807         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23808         Likewise.
23809         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23810         CFLAGS-memmove.c): Likewise.
23811         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23812         Likewise.
23814 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23816         * sysdeps/x86_64/x32/_itoa.h: New file.
23818         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23819         getdents system call only if kernel and user dirents have the
23820         same d_ino and d_off.
23822         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23823         LLONG_MAX != LONG_MAX.
23824         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23825         (_fitoa_word): Likewise.
23827         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23828         years.
23829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23830         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23831         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23833         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23834         include <bits/wordsize.h>.  Check __x86_64__ instead of
23835         __WORDSIZE.
23836         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23837         if __x86_64__ is defined.  Use anonymous union on fpstate.
23839         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23840         anonymous union.
23842 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23844         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23845         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23846         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23847         Refer to _rtld_local_ro instead of _rtld_global_ro.
23848         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23849         Likewise.
23850         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23851         Likewise.
23852         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23853         Likewise.
23854         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23855         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23856         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23858         * sysdeps/powerpc/powerpc32/dl-machine.c
23859         (__elf_machine_runtime_setup) [PROF]: Don't reference
23860         _dl_prof_resolve.
23862 2012-05-18  Andreas Jaeger  <aj@suse.de>
23864         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23865         function only available for GCCs before 3.4 since GCC 3.4
23866         introduced a builtin.
23867         (lrint): Likewise.
23868         (llrintf): Likewise.
23869         (llrint): Likewise.
23870         (fmaxf): Likewise.
23871         (fmax): Likewise.
23872         (fminf): Likewise.
23873         (fmin): Likewise.
23874         (rint): Likewise.
23875         (rintf): Likewise.
23876         (nearbyint): Likewise.
23877         (nearbyintf): Likewise.
23878         (ceil): Likewise.
23879         (ceilf): Likewise.
23880         (floor): Likewise.
23881         (floorf): Likewise.
23883 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23885         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23886         on both fields and cast pointer to __syscall_ulong_t.
23888         * bits/types.h (__fsword_t): New type.
23889         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23890         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23892         (__FSWORD_T_TYPE): Likewise.
23893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23894         (__FSWORD_T_TYPE): Likewise.
23895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23896         (__FSWORD_T_TYPE): Likewise.
23897         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23898         (__FSWORD_T_TYPE): Likewise.
23899         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23900         __SWORD_TYPE with __fsword_t.
23901         (statfs64): Likewise.
23903 2012-05-17  David S. Miller  <davem@davemloft.net>
23905         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23907 2012-05-17  Andreas Jaeger  <aj@suse.de>
23909         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23910         warning.
23912 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23914         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23916 2012-05-17  Andreas Jaeger  <aj@suse.de>
23918         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23919         when it is used.
23921 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23923         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23925 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23927         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23928         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23930 2012-05-17  Andreas Jaeger  <aj@suse.de>
23931             Carlos O'Donell  <carlos_odonell@mentor.com>
23933         [BZ #14059]
23934         * sysdeps/x86_64/multiarch/init-arch.h
23935         (bit_YMM_Usable): Rename to...
23936         (bit_AVX_Usable): ... this.
23937         (bit_FMA4_Usable): New macro.
23938         (bit_XMM_state): New macro.
23939         (bit_YMM_state): New macro.
23940         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23941         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23942         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23943         (CPUID_OSXSAVE): New macro.
23944         (CPUID_AVX): New macro.
23945         (CPUID_FMA4): New macro.
23946         (index_YMM_Usable): Rename to...
23947         (index_AVX_Usable): ... this.
23948         (HAS_AVX): Use HAS_ARCH_FEATURE.
23949         (HAS_FMA4): Likewise.
23950         (HAS_YMM_USABLE): Remove.
23951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23952         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23953         are present.
23954         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23955         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23956         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23957         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23958         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23960 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23962         * math/libm-test.c: Support platforms without multiple rounding modes.
23963         * math/bug-nextafter.c: Support platforms without FP exceptions.
23964         * math/bug-nexttoward.c: Likewise.
23965         * math/test-fenv.c: Likewise.
23966         * math/test-misc.c: Likewise.
23967         * stdlib/bug-getcontext.c: Likewise.
23969 2012-05-17  Andreas Jaeger  <aj@suse.de>
23971         * manual/examples/search.c (critter_cmp): Change signature to
23972         avoid warnings.
23973         * manual/string.texi (Collation Functions): Likewise.
23975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23977         * bits/types.h: Fold copyright years.
23978         * bits/typesizes.h: Likewise.
23979         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23981         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23982         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23983         * time/time.h: Likewise.
23985 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23987         [BZ #208]
23988         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23989         in instead of returning them.  Return void.
23990         (__libc_mallinfo): Accumulate over all arenas.
23991         (__malloc_stats): Adjust for change in int_mallinfo interface.
23993 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23995         [BZ #10375]
23996         * configure.in (NM): Add AC_CHECK_TOOL for it.
23997         (libc_extra_cflags): New substituted variable.
23998         Check for -fstack-protector being used implicitly.
23999         * configure: Regenerated.
24000         * config.make.in (config-extra-cflags): New variable,
24001         gets @libc_extra_cflags@.
24002         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24004         [BZ #10375]
24005         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24006         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24007         * configure: Regenerated.
24008         * config.make.in (CPPUNDEFS): New substituted variable.
24009         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24010         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24011         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24013 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24015         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24016         (mq_attr): Use __syscall_slong_t.
24018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24021         Check __x86_64__ instead of __WORDSIZE.
24022         (_STAT_VER_LINUX): Likewise.
24023         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24024         __syscall_ulong_t and __syscall_slong_t.
24025         (stat64): Likewise.
24027 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24033         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24038         __syscall_ulong_t.
24040         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24041         include <bits/wordsize.h>.  Check __x86_64__ instead of
24042         __WORDSIZE.
24043         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24044         defined.
24045         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24047         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24048         include <bits/wordsize.h>.  Check __x86_64__ instead of
24049         __WORDSIZE.
24050         (user_regs_struct): Use "__extension__ unsigned long long"
24051         instead of "unsigned long" if __x86_64__ is defined.
24052         (user): Likewise.  Pad after pointer field if __ILP32__ is
24053         defined.
24055 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24057         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24058         versions 5 to 9.
24059         * configure: Regenerated.
24060         * manual/install.texi (texinfo): Increase version requirement to
24061         4.5 or later.
24062         * INSTALL: Regenerated.
24064         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24066 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24068         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24070         * sysdeps/x86_64/x32/ffs.c: New file.
24072         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24073         __syscall_ulong_t.
24074         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24075         defined.  Use __syscall_ulong_t.
24076         (shminfo): Use __syscall_ulong_t.
24077         (shm_info): Likewise.
24079         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24080         __syscall_ulong_t.
24082         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24083         <bits/wordsize.h>.
24084         (msgqnum_t): Use __syscall_ulong_t.
24085         (msglen_t): Likewise.
24086         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24087         __syscall_ulong_t.
24089         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24090         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24092         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24094         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24095         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24097         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24098         __syscall_slong_t.
24100         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24101         include <bits/wordsize.h>.  Check __x86_64__ instead of
24102         __WORDSIZE.
24104         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24105         "unsigned long long int" if __x86_64__ is defined.
24106         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24108         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24109         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24110         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24112         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24113         <stdint.h>.
24114         (GET_PC): Cast to uintptr_t first.
24115         (GET_FRAME): Likewise.
24116         (GET_STACK): Likewise.
24118         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24119         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24120         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24121         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24122         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24123         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24124         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24125         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24126         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24127         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24128         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24130         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24131         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24132         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24134         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24135         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24136         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24137         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24138         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24140         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24142         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24143         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24144         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24146         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24148 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24150         * Makerules (+depfiles): Also collect depfiles from .oS in
24151         $(extra-objs).
24152         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24153         .oS, $(libnldbl-routines)).
24155         * Makerules (native-compile-mkdep-flags): Define.
24156         * sunrpc/Makefile (extra-objs): Add $(addprefix
24157         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24158         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24159         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24160         calling $(make-target-directory).
24162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24164         * bits/types.h (__snseconds_t): Removed.
24165         * time/time.h (struct timespec): Replace __snseconds_t with
24166         __syscall_slong_t.
24167         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24168         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24169         Likewise.
24170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24171         (__SNSECONDS_T_TYPE): Likewise.
24172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24173         (__SNSECONDS_T_TYPE): Likewise.
24174         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24175         (__SNSECONDS_T_TYPE): Likewise.
24177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24179         * sysdeps/mach/hurd/bits/typesizes.h
24180         (__SYSCALL_SLONG_TYPE): New macro.
24181         (__SYSCALL_ULONG_TYPE): Likewise.
24183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24185         * bits/types.h (__syscall_slong_t): New type.
24186         (__syscall_ulong_t): Likewise.
24188         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24189         (__SYSCALL_ULONG_TYPE): Likewise.
24190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24191         (__SYSCALL_SLONG_TYPE): Likewise.
24192         (__SYSCALL_ULONG_TYPE): Likewise.
24193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24194         (__SYSCALL_SLONG_TYPE): Likewise.
24195         (__SYSCALL_ULONG_TYPE): Likewise.
24196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24197         (__SYSCALL_SLONG_TYPE): Likewise.
24198         (__SYSCALL_ULONG_TYPE): Likewise.
24200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24202         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24203         Add sigaltstack-offsets.sym.
24204         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24205         <sigaltstack-offsets.h>.
24206         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24207         longjmp_msg pointer.
24208         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24209         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24210         signal stack.
24211         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24213 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24215         * elf/stackguard-macros.h: Remove file.
24216         * sysdeps/generic/stackguard-macros.h: New file.
24217         * sysdeps/i386/stackguard-macros.h: Likewise.
24218         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24219         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24220         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24221         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24222         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24223         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24224         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24225         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24226         <elf/stackguard-macros.h>.
24228         [BZ #14109]
24229         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24230         __aligned__ in attribute.
24231         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24232         (gregset_t): Likewise.
24234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24236         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24237         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24238         * sysdeps/x86_64/x32/Implies-after: New file.
24240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24242         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24243         and access return value for _dl_profile_fixup.  Use R10_LP to
24244         load frame size.
24246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24248         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24252         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24253         * sysdeps/x86_64/x32/sysdep.h: New file.
24255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24257         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24258         * sysdeps/x86_64/setjmp.S: Likewise.
24260 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24263         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24264         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24265         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24266         remove unused global constant.
24268 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24270         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24271         include of <not-cancel.h>.
24273 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24275         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24277 2012-05-15  Jeff Law  <law@redhat.com>
24278             Andreas Jaeger  <aj@suse.de>
24280         [BZ #13594]
24281         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24282         out from...
24283         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24284         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24285         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24286         code changing __hst_map_handle.map.
24288 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24290         * configure.in (sysnames): Look for Implies-before and Implies-after
24291         files.
24292         * configure: Regenerated.
24294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24297         8-byte data alignment with LP_SIZE alignment.
24299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24301         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24302         into R10_LP.
24304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24306         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24310         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24311         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24312         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24318         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24319         (stackinfo_sub_sp): Likewise.
24321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24324         RAX_LP.
24326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24329         into R*_LP.
24331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24333         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24334         sizes into R*_LP.
24336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24338         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24342         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24343         into R11_LP and load __x86_64_shared_cache_size_half into
24344         R8_LP.
24346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24348         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24349         R8_LP.
24351 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24354         logb for POWER7.
24355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24356         logbf for POWER7.
24357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24358         logbl for POWER7.
24359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24360         powerpc32/power7/fpu/s_logb.c via #include.
24361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24362         powerpc32/power7/fpu/s_logbf.c via #include.
24363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24364         powerpc32/power7/fpu/s_logbl.c via #include.
24366 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24368         * README.libm: Remove file.
24370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24372         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24373         count for x32.  Use R*_LP and omit operand-size suffix.
24375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24377         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24378         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24379         * sysdeps/x86_64/x32/shlib-versions: New file.
24381 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24383         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24384         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24385         Use _dl_fatal_printf instead.
24387 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24389         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24390         set if not set by the user.  Do not allow for being unset.
24391         * sysdeps/unix/sysv/linux/configure: Regenerated.
24393 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24395         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24396         the `q' suffix from lea and replace .quad with ASM_ADDR.
24398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24401         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24402         instead of $17.
24403         (PTR_DEMANGLE): Likewise.
24405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24407         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24408         (LP_OP): Likewise.
24409         (ASM_ADDR): Likewise.
24410         (RAX_LP): Likewise.
24411         (RBP_LP): Likewise.
24412         (RBX_LP): Likewise.
24413         (RCX_LP): Likewise.
24414         (RDI_LP): Likewise.
24415         (RSI_LP): Likewise.
24416         (RSP_LP): Likewise.
24417         (R8_LP): Likewise.
24418         (R9_LP): Likewise.
24419         (R10_LP): Likewise.
24420         (R10_LP): Likewise.
24421         (R11_LP): Likewise.
24422         (R12_LP): Likewise.
24423         (R13_LP): Likewise.
24424         (R14_LP): Likewise.
24425         (R15_LP): Likewise.
24427 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24429         * sysdeps/x86_64/x32/dl-machine.h: New file.
24431 2012-05-14  Andreas Jaeger  <aj@suse.de>
24433         * manual/Makefile (subdir): Remove export of subdir.
24434         (all): Remove target.
24435         (.PHONY): Remove all from list.
24436         (mkinstalldirs): Remove.
24437         (.PHONY): Remove installdirs from list.
24438         ($(inst_infodir)/libc.info): Use make-target-directory.
24439         (installdirs): Remove.
24440         (subdir_%): Remove.
24441         (glibc-targets): Remove.
24442         (lib): Remove.
24443         (stubs): Remove.
24444         ($(objpfx)stubs ../po/manual.pot): Remove.
24445         ($(objpfx)stamp%): Remove.
24446         (make-target-directory): Remove.
24447         (subdir_install): Remove.
24448         (routines): Remove.
24449         (aux): Remove.
24450         (sources): Remove.
24451         (objects): Remove.
24452         (headers): Remove.
24454         [BZ #13750]
24455         * manual/.gitignore: Remove, it's not needed anymore.
24456         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24457         all files in it.
24458         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24459         directory.
24460         (texis): Renamed to $(objpfx)texis.
24461         (texis-path): New, contains path to generated files.
24462         (chapters.%): Use texis-path for complete path, add extra argument
24463         libc-texinfo.sh.
24464         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24465         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24466         (summary,texi, stamp-summary): Use complete path of
24467         files. Generate files in build dir.
24468         (dir-add.texi): Build in build dir.
24469         (libm-err.texi,stamp-libm-err): Likewise.
24470         (version.texi, stamp-version): Likewise.
24471         (.%c.texi): Likewise.
24472         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24473         (mostlyclean): Remove target.
24474         (realclean): Remove target.
24475         (generated): Add new variable with contents from mostlyclean and
24476         realclean, remove entries duplicated in common-mostlyclean, add
24477         stamp-libm-err and stamp-version.
24478         (generated-dirs): Add libc directory.
24479         ($(inst_infodir)/libc.info): Install files from build dir.
24481         * manual/install.texi (Configuring and compiling): Adjust since
24482         the info files are not part of the tar ball anymore.
24484 2012-05-14  Andreas Jaeger  <aj@suse.de>
24486         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24487         variable.
24489 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24491         [BZ #13717]
24492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24493         to 2.2.0 where earlier.
24494         * sysdeps/unix/sysv/linux/configure: Regenerated.
24495         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24496         Remove conditional code.
24497         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24498         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24499         Remove conditional code.
24500         [!__NR_lchown]: Likewise.
24501         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24502         [__NR_lchown]: Likewise.
24503         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24504         comment referencing __ASSUME_LCHOWN_SYSCALL.
24505         * sysdeps/unix/sysv/linux/i386/sigaction.c
24506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24508         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24509         Remove conditional code.
24510         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24511         (__protocol_available): Remove #if 0 code.
24512         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24513         conditional code.
24514         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24515         * sysdeps/unix/sysv/linux/kernel-features.h
24516         (__ASSUME_GETCWD_SYSCALL): Don't define.
24517         (__ASSUME_REALTIME_SIGNALS): Likewise.
24518         (__ASSUME_PREAD_SYSCALL): Likewise.
24519         (__ASSUME_PWRITE_SYSCALL): Likewise.
24520         (__ASSUME_POLL_SYSCALL): Likewise.
24521         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24522         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24523         non-SPARC.
24524         (__ASSUME_SIOCGIFNAME): Don't define.
24525         (__ASSUME_MSG_NOSIGNAL): Likewise.
24526         (__ASSUME_SENDFILE): Define unconditionally.
24527         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24528         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24529         conditional code.
24530         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24531         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24532         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24533         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24534         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24535         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24536         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24541         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24547         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24550         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24553         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24559         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24561         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24562         Remove conditional code.
24563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24564         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24565         Remove conditional code.
24566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24567         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24568         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24569         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24570         Remove conditional code.
24571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24572         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24573         Remove conditional code.
24574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24575         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24576         Remove conditional code.
24577         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24578         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24579         Remove conditional code.
24580         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24581         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24582         Remove conditional code.
24583         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24584         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24585         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24586         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24587         * sysdeps/unix/sysv/linux/sigaction.c
24588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24590         * sysdeps/unix/sysv/linux/sigpending.c
24591         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24592         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24593         * sysdeps/unix/sysv/linux/sigprocmask.c
24594         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24595         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24596         * sysdeps/unix/sysv/linux/sigsuspend.c
24597         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24598         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24599         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24600         (__libc_missing_rt_sigs): Remove.
24601         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24602         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24603         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24604         Remove conditional code.
24605         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24606         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24607         return 1.
24608         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24609         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24610         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24611         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24613 2012-05-14  Andreas Jaeger  <aj@suse.de>
24615         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24616         it's not used in glibc.
24617         (__coshm1): Likewise.
24618         (__acosh1p): Likewise.
24619         (__sgn): Likewise.
24621         * manual/string.texi (Copying and Concatenation): Add missing
24622         variable in concat example.
24623         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24625 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24627         [BZ #14103]
24628         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24629         __builtin_clzl with __builtin_clzll.
24631 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24633         [BZ #14104]
24634         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24635         libc_freeres_ptr.
24637 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24639         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24640         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24641         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24642         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24644 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24646         * NEWS: Update ia64 info.
24648 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24650         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24651         used as bcopy.
24653 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24655         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24656         * sysdeps/unix/syscalls.list (dup3): Likewise.
24657         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24658         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24660 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24662         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24663         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24665 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24667         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24668         thread pointer.
24669         (TLS_IE): Use mov/add instead of movq/addq to load thread
24670         pointer.
24671         (TLS_GD_PREFIX): New.
24672         (TLS_GD): Use it.
24674 2012-05-11  David S. Miller  <davem@davemloft.net>
24676         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24677         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24678         (_FPU_SETCW): Likewise.
24680 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24682         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24683         is 32-byte aligned.
24685 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24687         [BZ #11837]
24688         * iconvdata/gb18030.c: Update tables.
24689         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24690         characters specially.
24691         (BODY for TO_LOOP): Add encoding of missing ranges.
24693 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24695         [BZ #13673]
24696         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24697         * sysdeps/mach/hurd/dup3.c: Likewise.
24698         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24699         * sysdeps/powerpc/memmove.c:: Likewise.
24701 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24703         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24704         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24708         * elf/elf.h (R_X86_64_RELATIVE64): New.
24709         (R_X86_64_NUM): Updated.
24710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24711         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24712         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24713         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24714         tst-quad1pie tst-quad2pie
24715         (modules-names): Add tst-quadmod1 tst-quadmod2.
24716         ($(objpfx)tst-quad1): New dependency.
24717         ($(objpfx)tst-quad2): Likewise.
24718         ($(objpfx)tst-quad1pie): Likewise.
24719         ($(objpfx)tst-quad2pie): Likewise.
24720         * sysdeps/x86_64/tst-quad1.c: New file.
24721         * sysdeps/x86_64/tst-quad1pie.c: New file.
24722         * sysdeps/x86_64/tst-quad2.c: Likewise.
24723         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24724         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24725         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24726         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24727         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24731         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24732         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24733         * streams/stropts.h (t_scalar_t): Define type.
24735         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24736         (_PATH_PRESERVE): Set to "/var/lib".
24737         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24739         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24740         instead of int.
24742         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24743         if __dir_mkfile succeeded.
24745         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24746         checking for _hurd_dtablesize.  Unlock it right after having
24747         finished _hurd_dtable allocation.
24749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24751         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24752         * sysdeps/mach/hurd/configure: Regenerated.
24753         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24754         special-casing to...
24755         * sysdeps/gnu/configure.in: ... this new file.
24756         * sysdeps/unix/sysv/linux/configure: Regenerated.
24757         * sysdeps/gnu/configure: New generated file.
24759         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24760         for Linux: use nsec instead of usec, as well as:
24761         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24762         members of type struct timespec.
24763         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24764         New macros.
24765         (struct stat64): Likewise.
24766         (_STATBUF_ST_NSEC): New macro.
24767         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24769         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24770         __strtoul_internal rather than strtoul.
24772 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24774         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24775         and reject them.
24777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24779         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24780         which preserves existing values.
24781         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24783 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24785         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24786         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24787         greater than FD_SETSIZE.
24789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24791         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24792         allocated, call __vm_protect to finish enabling the existing space, and
24793         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24794         allocate the remainder.
24796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24798         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24799         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24803         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24804         sysdeps/mach/hurd/readlink.c.
24806         * posix/tst-sysconf.c (posix_options): Only use
24807         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24808         _POSIX_SYNCHRONIZED_IO when they are defined
24809         * sysdeps/mach/hurd/bits/posix_opt.h:
24810         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24811         (_XOPEN_REALTIME): Undefine macro.
24812         (_XOPEN_REALTIME_THREADS): Undefine macro.
24813         (_XOPEN_SHM): Undefine macro.
24814         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24815         macro to -1.
24816         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24817         macro to -1.
24818         (_POSIX_ASYNC_IO): Undefine macro.
24819         (_POSIX_PRIORITIZED_IO): Undefine macro.
24820         (_POSIX_SPIN_LOCKS): Define macro to -1.
24822         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24823         SA_NODEFER, SA_RESETHAND.
24824         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24825         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24826         F_DUPFD_CLOEXEC.
24828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24830         * elf/Makefile (pldd-modules): Define unconditionally.
24832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24834         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24838         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24839         Return ENOENT when name is empty.
24840         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24844         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24846         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24850         Fix mlock in all cases except non-readable pages.
24851         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24852         instead of VM_PROT_ALL as parameter to __vm_wire function.
24854         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24855         (__mkdir): When path is `/', just fail with EEXIST.
24856         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24860         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24861         <sys/uio.h> (for writev).
24862         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24863         and <sys/param.h> (for MIN).
24865 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24867         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24868         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24869         if interrupted.
24871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24873         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24874         Depend on against $(link-rpcuserlibs).
24876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24878         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24879         (__libc_stack_end): Do not use attribute_relro.
24880         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24881         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24882         to libthread-provided value.
24883         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24884         attribute_relro.
24886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24888         [BZ #3748]
24889         * bits/libc-lock.h (__libc_once_get): New macro.
24890         * sysdeps/mach/bits/libc-lock.h: Likewise.
24891         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24892         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24893         instead of using implementation details.
24895         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24896         * libio/freopen.c: Likewise.
24897         * libio/freopen64.c: Likewise.
24898         * misc/syslog.c: Likewise.
24899         * nscd/connections.c: Likewise.
24900         * nscd/netgroupcache.c: Likewise.
24901         * sysdeps/posix/getcwd.c: Likewise.
24903 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24905         * math/w_ilogbf.c: Add #include <limits.h>.
24907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24909         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24910         path instead of returning without unlocking.
24912         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24913         immediate-write ioctls.
24914         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24918         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24919         __builtin_frame_address instead of making assumptions about the
24920         location of the return address relative to DATA.  Force early load of
24921         the return address.
24922         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24923         __builtin_frame_address.
24925         dup3 for GNU Hurd.
24926         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24927         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24928         implement dup3 and do some further code clean-ups.
24929         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24934         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24936         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24937         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24938         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24939         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24940         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24941         d->port.lock.
24943         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24944         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24945         when handler == SIG_ERR, not when handler != SIG_ERR.
24947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24949         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24950         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24951         definitions.
24953         accept4 for GNU Hurd.
24954         * include/sys/socket.h (__libc_accept4): New prototype.
24955         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24956         to implement __libc_accept4.
24957         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24958         __libc_accept4.
24959         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24961         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24962         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24963         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24964         signal-defines.sym.
24966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24968         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24972         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24973         assertion on O_CLOEXEC flag.
24974         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24975         * hurd/intern-fd.c: Likewise.
24976         * hurd/port2fd.c: Likewise.
24978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24980         [BZ #3906]
24981         * bits/in.h (IPV6_PKTINFO): Define new macro.
24982         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24984 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24986         [BZ #13954]
24987         [BZ #13955]
24988         [BZ #13956]
24989         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24991         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24992         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24993         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24994         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24995         * math/libm-test.inc (logb_test) : Additional logb tests.
24997 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24998             Andreas Jaeger  <aj@suse.de>
25000         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25001         * configure: Regenerated.
25002         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25003         * config.make.in (link-obsolete-rpc): New substituted variable.
25004         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25005         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25006         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25007         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25008         so that libc.a contains the symbols.
25009         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25010         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25011         * sunrpc/auth_none.c: Likewise.
25012         * sunrpc/auth_unix.c: Likewise.
25013         * sunrpc/authdes_prot.c: Likewise.
25014         * sunrpc/authuxprot.c: Likewise.
25015         * sunrpc/clnt_gen.c: Likewise.
25016         * sunrpc/clnt_perr.c: Likewise.
25017         * sunrpc/clnt_raw.c: Likewise.
25018         * sunrpc/clnt_simp.c: Likewise.
25019         * sunrpc/clnt_tcp.c: Likewise.
25020         * sunrpc/clnt_udp.c: Likewise.
25021         * sunrpc/clnt_unix.c: Likewise.
25022         * sunrpc/des_crypt.c: Likewise.
25023         * sunrpc/des_soft.c: Likewise.
25024         * sunrpc/get_myaddr.c: Likewise.
25025         * sunrpc/key_call.c: Likewise.
25026         * sunrpc/key_prot.c: Likewise.
25027         * sunrpc/netname.c: Likewise.
25028         * sunrpc/pm_getmaps.c: Likewise.
25029         * sunrpc/pm_getport.c: Likewise.
25030         * sunrpc/pmap_clnt.c: Likewise.
25031         * sunrpc/pmap_prot.c: Likewise.
25032         * sunrpc/pmap_prot2.c: Likewise.
25033         * sunrpc/pmap_rmt.c: Likewise.
25034         * sunrpc/publickey.c: Likewise.
25035         * sunrpc/rpc_cmsg.c: Likewise.
25036         * sunrpc/rpc_common.c: Likewise.
25037         * sunrpc/rpc_dtable.c: Likewise.
25038         * sunrpc/rpc_prot.c: Likewise.
25039         * sunrpc/rpc_thread.c: Likewise.
25040         * sunrpc/rtime.c: Likewise.
25041         * sunrpc/svc.c: Likewise.
25042         * sunrpc/svc_auth.c: Likewise.
25043         * sunrpc/svc_raw.c: Likewise.
25044         * sunrpc/svc_run.c: Likewise.
25045         * sunrpc/svc_tcp.c: Likewise.
25046         * sunrpc/svc_udp.c: Likewise.
25047         * sunrpc/svc_unix.c: Likewise.
25048         * sunrpc/svcauth_des.c: Likewise.
25049         * sunrpc/xcrypt.c: Likewise.
25050         * sunrpc/xdr.c: Likewise.
25051         * sunrpc/xdr_array.c: Likewise.
25052         * sunrpc/xdr_float.c: Likewise.
25053         * sunrpc/xdr_intXX_t.c: Likewise.
25054         * sunrpc/xdr_mem.c: Likewise.
25055         * sunrpc/xdr_rec.c: Likewise.
25056         * sunrpc/xdr_ref.c: Likewise.
25057         * sunrpc/xdr_sizeof.c: Likewise.
25058         * sunrpc/xdr_stdio.c: Likewise.
25060 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25063         change.  Update copyright years.
25065 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25067         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25069 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25070             Joseph Myers  <joseph@codesourcery.com>
25071             Paul Pluzhnikov  <ppluzhnikov@google.com>
25073         [BZ #14012]
25074         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25075         requiring rpcgen.
25076         [cross-compiling] (extra-libs): Likewise.
25077         [cross-compiling] (extra-libs-others): Likewise.
25078         [cross-compiling] (librpcsvc-routines): Likewise.
25079         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25080         [cross-compiling] (omit-deps): Likewise.
25081         (sunrpc-CPPFLAGS): New variable.
25082         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25083         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25084         (cross-rpcgen-objs): New variable.
25085         (extra-objs): Append $(cross-rpcgen-objs).
25086         ($(cross-rpcgen-objs)): New rule.
25087         ($(objpfx)cross-rpcgen): Likewise.
25088         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25089         comment.
25090         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25091         ($(objpfx)x%.stmp): Likewise.
25092         * sunrpc/proto.h [IS_IN_build] (_): Define.
25093         [IS_IN_build] (_libc_intl_domainname): Likewise.
25095 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25097         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25098         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25099         and R_X86_64_TPOFF64.
25101 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25103         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25104         sysdeps/unix/sysv/syscalls.list.
25105         (stime): Likewise.
25106         (utime): Likewise.
25107         * sysdeps/unix/sysv/syscalls.list: Remove file.
25109 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25111         [BZ #3440]
25112         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25113         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25114         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25115         (__LC_IDENTIFICATION): Make these macros useful in #if
25116         expressions, as required by C99.
25118 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25120         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25121         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25122         after this.
25124 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25126         * stdlib/longlong.h: Updated from GCC.
25128 2012-05-09  Andreas Jaeger  <aj@suse.de>
25130         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25131         default is first entry.
25132         (run_mode): Set type.
25133         (main): Remove informal message about syslog.
25134         (options): Fix typo.
25136         [BZ #14053]
25137         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25138         to asm.
25139         (lrint): Likewise.
25140         (llrintf): Likewise.
25141         (llrint): Likewise.
25142         (rint): Likewise.
25143         (rintf): Likewise.
25144         (nearbyint): Likewise.
25145         (nearbyintf): Likewise.
25147 2012-05-09  Andreas Jaeger  <aj@suse.de>
25148             Pedro Alves  <palves@redhat.com>
25150         * nscd/nscd.c (run_mode): Use enum.
25151         (main): Cleanup coding style issue.
25153 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25154             Andreas Jaeger  <aj@suse.de>
25156         * nscd/nscd.c (go_background): Replaced with...
25157         (run_mode): ... this.
25158         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25159         (options): Add -F --foreground.
25160         (main): Implement it.
25161         (parse_opt): Parse it.
25163 2012-05-09  Andreas Jaeger  <aj@suse.de>
25165         [BZ #14083]
25166         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25167         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25168         -Wconversion warning.
25169         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25170         Likewise.
25172 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25174         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25175         == 0.
25176         (LC_ALL): Use macro-int-constant.
25177         (LC_COLLATE): Likewise.
25178         (LC_CTYPE): Likewise.
25179         (LC_MESSAGES): Likewise.
25180         (LC_MONETARY): Likewise.
25181         (LC_NUMERIC): Likewise.
25182         (LC_TIME): Likewise.
25183         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25184         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25186         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25187         Specify type.
25188         [C99-based standards] (float_t): Expect type.
25189         [C99-based standards] (double_t): Expect type.
25190         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25191         type.
25192         [C99-based standards] (HUGE_VALL): Likewise.
25193         [C99-based standards] (INFINITY): Likewise.
25194         [C99-based standards] (NAN): Likewise.
25195         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25196         [C99-based standards] (FP_NAN): Likewise.
25197         [C99-based standards] (FP_NORMAL): Likewise.
25198         [C99-based standards] (FP_SUBNORMAL): Likewise.
25199         [C99-based standards] (FP_ZERO): Likewise.
25200         [C99-based standards] (FP_FAST_FMA): Use
25201         optional-macro-int-constant.  Specify type.  Require == 1.
25202         [C99-based standards] (FP_FAST_FMAF): Likewise.
25203         [C99-based standards] (FP_FAST_FMAL): Likewise.
25204         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25205         [C99-based standards] (FP_ILOGBNAN): Likewise.
25206         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25207         Specify type.
25208         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25209         [C99-based standards] (math_errhandling): Specify type.
25210         [ISO99 || ISO11] (signgam): Do not allow.
25211         [non-C99-based standards] (copysignf): Do not allow.
25212         [non-C99-based standards] (exp2f): Likewise.
25213         [non-C99-based standards] (log2f): Likewise.
25214         [non-C99-based standards] (modff): Allow.
25215         [non-C99-based standards] (erff): Do not allow.
25216         [non-C99-based standards] (erfcf): Likewise.
25217         [non-C99-based standards] (gammaf): Likewise.
25218         [non-C99-based standards] (hypotf): Likewise.
25219         [non-C99-based standards] (j0f): Likewise.
25220         [non-C99-based standards] (j1f): Likewise.
25221         [non-C99-based standards] (jnf): Likewise.
25222         [non-C99-based standards] (lgammaf): Likewise.
25223         [non-C99-based standards] (tgammaf): Likewise.
25224         [non-C99-based standards] (y0f): Likewise.
25225         [non-C99-based standards] (y1f): Likewise.
25226         [non-C99-based standards] (ynf): Likewise.
25227         [non-C99-based standards] (isnanf): Likewise.
25228         [non-C99-based standards] (acoshf): Likewise.
25229         [non-C99-based standards] (asinhf): Likewise.
25230         [non-C99-based standards] (atanhf): Likewise.
25231         [non-C99-based standards] (cbrtf): Likewise.
25232         [non-C99-based standards] (expm1f): Likewise.
25233         [non-C99-based standards] (ilogbf): Likewise.
25234         [non-C99-based standards] (log1pf): Likewise.
25235         [non-C99-based standards] (logbf): Likewise.
25236         [non-C99-based standards] (nextafterf): Likewise.
25237         [non-C99-based standards] (remainderf): Likewise.
25238         [non-C99-based standards] (rintf): Likewise.
25239         [non-C99-based standards] (scalbf): Likewise.
25240         [non-C99-based standards] (copysignl): Likewise.
25241         [non-C99-based standards] (exp2l): Likewise.
25242         [non-C99-based standards] (log2l): Likewise.
25243         [non-C99-based standards] (modfl): Allow.
25244         [non-C99-based standards] (erfl): Do not allow.
25245         [non-C99-based standards] (erfcl): Likewise.
25246         [non-C99-based standards] (gammal): Likewise.
25247         [non-C99-based standards] (hypotl): Likewise.
25248         [non-C99-based standards] (j0l): Likewise.
25249         [non-C99-based standards] (j1l): Likewise.
25250         [non-C99-based standards] (jnl): Likewise.
25251         [non-C99-based standards] (lgammal): Likewise.
25252         [non-C99-based standards] (tgammal): Likewise.
25253         [non-C99-based standards] (y0l): Likewise.
25254         [non-C99-based standards] (y1l): Likewise.
25255         [non-C99-based standards] (ynl): Likewise.
25256         [non-C99-based standards] (isnanl): Likewise.
25257         [non-C99-based standards] (acoshl): Likewise.
25258         [non-C99-based standards] (asinhl): Likewise.
25259         [non-C99-based standards] (atanhl): Likewise.
25260         [non-C99-based standards] (cbrtl): Likewise.
25261         [non-C99-based standards] (expm1l): Likewise.
25262         [non-C99-based standards] (ilogbl): Likewise.
25263         [non-C99-based standards] (log1pl): Likewise.
25264         [non-C99-based standards] (logbl): Likewise.
25265         [non-C99-based standards] (nextafterl): Likewise.
25266         [non-C99-based standards] (remainderl): Likewise.
25267         [non-C99-based standards] (rintl): Likewise.
25268         [non-C99-based standards] (scalbl): Likewise.
25269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25270         [non-C99-based standards] (FP_*): Do not allow.
25271         [C99-based standards] (FP_*): Change to
25272         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25273         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25274         allow.
25275         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25276         (SIG_ERR): Likewise.
25277         [X/Open-based standards] (SIG_HOLD): Likewise.
25278         (SIG_IGN): Likewise.
25279         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25280         positive value.
25281         (SIGFPE): Likewise.
25282         (SIGILL): Likewise.
25283         (SIGINT): Likewise.
25284         (SIGSEGV): Likewise.
25285         (SIGTER): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25304         [X/Open-based standards] (SIGTRAP): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25309         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25310         allow.
25312 2012-05-08  Ian Wienand  <ianw@vmware.com>
25314         [BZ #14080]
25315         * time/tzset.c (__tzset_parse_tz): Update default rules for
25316         daylight time changes in the Energy Policy Act of 2005.
25318 2012-05-09  Andreas Jaeger  <aj@suse.de>
25320         [BZ #13983]
25321         * elf/ldconfig.c (parse_conf): Change string to make clear that
25322         ldconfig only issued a warning if ld.so.conf does not exist.
25324 2012-05-08  David S. Miller  <davem@davemloft.net>
25326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25327         movxtod instead of popping the value on the stack.
25329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25331 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25333         * config.h.in: Add HAVE_ARM_PCS_VFP.
25335 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25337         [BZ #13979]
25338         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25339         checking but the checks are disabled for any reason.
25341 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25343         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25344         and ELF64_R_TYPE with ELFW(R_TYPE).
25346 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25348         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25349         (ulimit): Likewise.
25351         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25352         (settimeofday): Likewise.
25354 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25356         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25357         a struct th_u2 inside the union, and move tu_block/tu_code into
25358         a new th_u3 union of tu_block/tu_code inside of that.  Move
25359         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25360         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25361         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25362         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25363         (th_stuff): Change to th_u1.tu_stuff.
25364         (th_data): Define.
25365         (th_msg): Change to th_u1.th_u2.tu_data.
25367 2012-05-07  David S. Miller  <davem@davemloft.net>
25369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25371         [BZ #14074]
25372         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25373         (SETUP_PIC_REG): Use it.
25374         (SETUP_PIC_REG_LEAF): Use it.
25376 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25378         [BZ #13885]
25379         [BZ #13923]
25380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25381         USE_AS_EXPM1L.
25382         (EXPL_FINITE): Likewise.
25383         (FLDLOG): Likewise.
25384         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25385         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25386         e_expl.S.
25387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25388         USE_AS_EXPM1L.
25389         (EXPL_FINITE): Likewise.
25390         (FLDLOG): Likewise.
25391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25392         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25393         e_expl.S.
25394         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25395         test of -max_value argument for long double.
25396         * sysdeps/i386/fpu/libm-test-ulps: Update.
25397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25399 2012-05-06  David S. Miller  <davem@davemloft.net>
25401         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25402         quad soft-float symbols whose references which are compiler
25403         generated.
25404         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25406 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #13884]
25409         [BZ #13914]
25410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25411         USE_AS_EXP10L.
25412         (EXPL_FINITE): Likewise.
25413         (FLDLOG): Likewise.
25414         (c0): Likewise.
25415         (c1): Likewise.
25416         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25417         Adjust comments for base varying.
25418         (__expl_finite): Change alias to EXPL_FINITE.
25419         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25420         e_expl.S.
25421         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25422         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25423         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25424         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25426         USE_AS_EXP10L.
25427         (EXPL_FINITE): Likewise.
25428         (FLDLOG): Likewise.
25429         (c0): Likewise.
25430         (c1): Likewise.
25431         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25432         Adjust comments for base varying.
25433         (__expl_finite): Change alias to EXPL_FINITE.
25434         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25435         tests for bugs.
25436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25438         [BZ #14064]
25439         * math/libm-test.inc (check_float_internal): Correct ulp
25440         calculation for subnormal expected results.
25442 2012-05-06  Andreas Jaeger  <aj@suse.de>
25444         * Makeconfig (+math-flags): New, set to -frounding-math.
25445         (+cflags): Add +math-flags so that all of glibc gets compiled with
25446         it.
25448         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25450 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25452         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25453         Disable one test.
25455         [BZ #13787]
25456         [BZ #13922]
25457         [BZ #14036]
25458         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25459         (__ieee754_expl): Allow for and saturate large arguments.
25460         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25461         (u_threshold): Likewise.
25462         (__exp): Call __ieee754_exp before checking for overflow and
25463         underflow.
25464         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25465         (u_threshold): Likewise.
25466         (__expf): Call __ieee754_expf before checking for overflow and
25467         underflow.
25468         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25469         (u_threshold): Likewise.
25470         (__expl): Call __ieee754_expl before checking for overflow and
25471         underflow.
25472         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25473         (__ieee754_expl): Allow for and saturate large arguments.
25474         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25475         missing overflow exception on overflow.
25476         (expm1_test): Do not allow missing overflow exception on overflow.
25478         * sysdeps/i386/fpu/e_expl.c: Move to ...
25479         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25480         rather than using inline asm.
25481         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25482         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25483         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25485         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25486         (nice): Likewise.
25487         (poll): Likewise.
25488         (signal): Likewise.
25489         (time): Likewise.
25490         (times): Likewise.
25492 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25494         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25495         sysdeps/unix/common/syscalls.list.
25496         (fchmod): Likewise.
25497         (fchown): Likewise.
25498         (ftruncate): Likewise.
25499         (getrusage): Likewise.
25500         (gettimeofday): Likewise.
25501         (setpgid): Likewise.
25502         (setregid): Likewise.
25503         (setreuid): Likewise.
25504         (sigaction): Likewise.
25505         (truncate): Likewise.
25506         (vhangup): Likewise.
25507         * sysdeps/unix/common/syscalls.list: Remove file.
25508         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25509         * sysdeps/unix/sysv/linux/Implies: Likewise.
25511 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25513         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25515         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25516         Moved to ...
25517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25518         Here.
25519         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25520         to ...
25521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25522         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25523         to ...
25524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25525         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25526         to ...
25527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25528         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25529         to ...
25530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25531         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25532         to ...
25533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25534         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25535         to ...
25536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25537         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25538         to ...
25539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25540         Here.
25541         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25542         to ...
25543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25544         Here.
25545         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25546         to ...
25547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25548         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25549         Moved to ...
25550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25551         Here.
25552         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25553         to ...
25554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25556 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25558         * sysdeps/unix/common/bits/dirent.h: Remove file.
25559         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25561         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25562         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25563         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25564         * sysdeps/unix/bsd/isatty.c: Likewise.
25565         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25566         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25567         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25569 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25571         [BZ #13563]
25572         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25573         long double comparison inaccuracies.
25574         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25577 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25579         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25580         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25582 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25584         [BZ #14049]
25585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25586         nonzero digits before rounding a hex value.
25587         * stdlib/tst-strtod.c (tests): Add another test.
25589 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25591         * sysdeps/s390/fpu/libm-test-ulps: Update.
25593 2012-05-03  Andreas Jaeger  <aj@suse.de>
25595         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25596         does not get optimized out.
25597         (malloc_opt_barrier): New.
25599 2012-05-03  Andreas Jaeger  <aj@suse.de>
25600             Roland McGrath  <roland@hack.frob.com>
25602         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25603         intermediate file deletion.
25604         (generated): Add .symlist files.
25606 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25608         [BZ #13775]
25609         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25610         Redirect under this condition.
25611         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25612         [__USE_GNU] (__dprintf_chk): Not under this condition.
25613         [__USE_GNU] (__vdprintf_chk): Likewise.
25614         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25615         under this condition.
25616         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25617         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25618         [__USE_XOPEN2K8] (vdprintf): Likewise.
25619         [__USE_GNU] (__dprintf_chk): Not under this condition.
25620         [__USE_GNU] (__vdprintf_chk): Likewise.
25621         [__USE_GNU] (dprintf): Likewise.
25622         [__USE_GNU] (vdprintf): Likewise.
25624 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25626         * elf/Makefile (common-generated): Set this instead of generated for
25627         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25628         $(all-built-dso)-derived lists.
25630 2012-05-03  Andreas Jaeger  <aj@suse.de>
25632         * sysdeps/i386/fpu/libm-test-ulps: Update.
25634         * FAQ: Removed.
25635         * FAQ.in: Likewise.
25636         * scripts/gen-FAQ.pl: Likewise.
25637         * manual/install.texi (Installation): Point to online location of
25638         FAQ.
25639         * Makefile (files-for-dist): Remove FAQ.
25640         (FAQ): Remove.
25642 2012-05-02  Allan McRae  <allan@archlinux.org>
25644         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25645         (LDFLAGS-reldepmod5.so): Likewise.
25646         (LDFLAGS-reldep6mod1.so): Likewise.
25647         (LDFLAGS-reldep6mod4.so): Likewise.
25648         (LDFLAGS-reldep8mod3.so): Likewise.
25649         (LDFLAGS-unload4mod1.so): Likewise.
25650         (LDFLAGS-unload4mod2.so): Likewise.
25651         (LDFLAGS-tst-initorder): Likewise.
25652         (LDFLAGS-tst-initordera2.so): Likewise.
25653         (LDFLAGS-tst-initordera3.so): Likewise.
25654         (LDFLAGS-tst-initordera4.so): Likewise.
25655         (LDFLAGS-tst-initorderb2.so): Likewise.
25656         (LDFLAGS-noload): Likewise.
25657         (LDFLAGS-next): Likewise.
25658         (LDFLAGS-order2mod1.so): Likewise.
25659         (LDFLAGS-order2mod2.so): Likewise.
25660         (LDFLAGS-tst-initorder2): Likewise.
25661         (LDFLAGS-tst-initorder2a.so): Likewise.
25662         (LDFLAGS-tst-initorder2b.so): Likewise.
25663         (LDFLAGS-tst-initorder2c.so): Likewise.
25664         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25666 2012-05-02  David S. Miller  <davem@davemloft.net>
25668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25670 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25672         [BZ #14055]
25673         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25675 2012-05-02  Andreas Jaeger  <aj@suse.de>
25677         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25678         since we manipulate rounding mode.
25679         (CPPFLAGS-test-idouble.c): Likewise.
25680         (CPPFLAGS-test-ifloat.c): Likewise.
25681         (CFLAGS-test-ldouble.c): Likewise.
25682         (CFLAGS-test-double.c): Likewise.
25683         (CFLAGS-test-float.c): Likewise.
25684         (CFLAGS-test-misc.c): Likewise.
25685         (CFLAGS-test-test-fenv.c): Likewise.
25687 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25689         [BZ #2550]
25690         [BZ #2570]
25691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25692         comparisons to determine direction to adjust input.
25694 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25696         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25697         output to the target.
25699         * scripts/localplt.awk: New file.
25700         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25701         (check-localplt-CFLAGS): Variable removed.
25702         ($(all-built-dso:=.jmprel)): New static pattern rule.
25703         (generated): Add those targets.
25704         (localplt-built-dso): New variable.
25705         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25707         * elf/check-localplt.c: File removed.
25709         * scripts/check-execstack.awk: New file.
25710         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25711         (check-execstack-CFLAGS): Variable removed.
25712         ($(objpfx)check-execstack.h): Target removed.
25713         ($(objpfx)execstack-default): New target.
25714         (generated): Add that instead of check-execstack.h.
25715         ($(all-built-dso:=.phdr)): New static pattern rule.
25716         (generated): Add those targets.
25717         * elf/check-execstack.c: File removed.
25719         * scripts/check-textrel.awk: New file.
25720         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25721         (check-textrel-CFLAGS): Variable removed.
25722         (all-built-dso): Use := to define.o
25723         ($(all-built-dso:=.dyn)): New static pattern rule.
25724         (generated): Add those targets.
25725         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25726         * config.make.in (READELF): New substituted variable.
25727         * elf/check-textrel.c: File removed.
25729 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25731         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25732         allow.
25733         * conform/data/ctype.h-data [C99-based standards] (isblank):
25734         Expect function.
25735         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25736         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25738         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25739         Specify type.  Require positive value.
25740         (EILSEQ): Likewise.
25741         (ERANGE): Likewise.
25742         [ISO || POSIX] (EILSEQ): Do not expect.
25743         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25744         Specify type.  Require positive value.
25745         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25746         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25747         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25748         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25749         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25750         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25751         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25752         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25753         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25754         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25755         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25756         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25757         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25758         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25759         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25760         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25761         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25762         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25763         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25764         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25765         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25766         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25767         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25768         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25769         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25770         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25771         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25772         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25773         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25774         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25775         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25776         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25777         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25778         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25779         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25780         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25781         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25782         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25783         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25784         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25786         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25787         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25788         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25789         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25790         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25791         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25792         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25793         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25794         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25795         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25796         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25797         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25798         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25799         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25800         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25801         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25802         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25804         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25807         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25808         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25809         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25810         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25811         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25812         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25813         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25814         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25815         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25816         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25817         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25819         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25820         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25821         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25822         Require >= 2.
25823         (FLT_ROUNDS): Expect as macro, not constant.
25824         (FLT_MANT_DIG): Use macro-int-constant.
25825         (DBL_MANT_DIG): Likewise.
25826         (LDBL_MANT_DIG): Likewise.
25827         (FLT_DIG): Likewise.
25828         (DBL_DIG): Likewise.
25829         (LDBL_DIG): Likewise.
25830         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25831         (DBL_MIN_EXP): Likewise.
25832         (LDBL_MIN_EXP): Likewise.
25833         (FLT_MAX_EXP): Use macro-int-constant.
25834         (DBL_MAX_EXP): Likewise.
25835         (LDBL_MAX_EXP): Likewise.
25836         (FLT_MAX_10_EXP): Likewise.
25837         (DBL_MAX_10_EXP): Likewise.
25838         (LDBL_MAX_10_EXP): Likewise.
25839         (FLT_MAX): Use macro-constant.
25840         (DBL_MAX): Likewise.
25841         (LDBL_MAX): Likewise.
25842         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25843         (DBL_EPSILON): Likewise.
25844         (LDBL_EPSILON): Likewise.
25845         (FLT_MIN): Likewise.
25846         (DBL_MIN): Likewise.
25847         (LDBL_MIN): Likewise.
25848         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25849         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25850         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25851         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25852         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25853         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25854         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25855         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25856         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25857         [ISO11] (FLT_TRUE_MIN): Likewise.
25858         [ISO11] (LDBL_TRUE_MIN): Likewise.
25859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25860         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25861         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25862         (SCHAR_MAX): Likewise.
25863         (UCHAR_MAX): Likewise.
25864         (CHAR_MIN): Likewise.
25865         (CHAR_MAX): Likewise.
25866         (MB_LEN_MAX): Use macro-int-constant.
25867         (SHRT_MIN): Use macro-int-constant.  Specify type.
25868         (SHRT_MAX): Likewise.
25869         (USHRT_MAX): Likewise.
25870         (INT_MAX): Likewise.
25871         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25872         bound negative.
25873         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25874         bound with "U".
25875         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25876         bound with "L".
25877         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25878         bound negative.  Suffix upper bound with "L".
25879         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25880         bound with "UL".
25881         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25882         Specify type.
25883         [C99-based standards] (LLONG_MAX): Likewise.
25884         [C99-based standards] (ULLONG_MAX): Likewise.
25885         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25886         == 0.
25887         [ISO11] (max_align_t): Require type.
25888         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25890         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25891         from $CFLAGS, without defining away __attribute__ calls.
25892         (checknamespace): Use $CFLAGS_namespace.
25894         * conform/conformtest.pl (@keywords): Only include C99 keywords
25895         for standards based on C99 or C11.
25897         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25898         Disable tests.
25899         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25900         UNIX98]: Likewise.
25902         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25903         usability of symbols in #if.
25905         * conform/conformtest.pl: If macro or constant types start
25906         "promoted:", expect the symbol to be of the following type
25907         promoted by the integer promotions.
25909         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25910         in one place.  Also handle "macro-constant".
25912         * conform/conformtest.pl: Only accept expected macro values with
25913         "==".  Parse all "macro" lines in one place.
25914         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25916         * conform/conformtest.pl: Handle braced types on "constant" lines
25917         instead of handling "typed-constant".
25918         * conform/data/signal.h-data: Use "constant" instead of
25919         "typed-constant".
25921         * conform/conformtest.pl: Handle "optional-" at start of lines in
25922         one place rather than duplicating several cases.  Handle each
25923         format of "macro" line with initial "optional-".
25925         * conform/conformtest.pl: Only accept expected constant or
25926         optional-constant values with "==".  Parse all "constant" lines in
25927         one place.  Parse all "optional-constant" lines in one place.
25928         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25929         * conform/data/fmtmsg.h-data: Likewise.
25930         * conform/data/netinet/in.h-data: Likewise.
25931         * conform/data/tar.h-data: Likewise.
25932         * conform/data/limits.h-data: Use "==" form on "constant" and
25933         "optional-constant" lines.
25935         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25936         Use -std=c99 for XOPEN2K.
25937         (@knownproblems): Remove.
25938         (newtoken): Don't check %isknown.
25940         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25941         Do not expect macro.
25942         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25944         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25945         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25946         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25947         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25948         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25950         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25951         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25953         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25954         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25955         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25956         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25957         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25958         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25959         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25960         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25961         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25962         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25963         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25964         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25965         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25966         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25967         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25968         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25969         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25970         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25971         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25972         [XPG3] (acosh): Likewise.
25973         [XPG3] (asinh): Likewise.
25974         [XPG3] (atanh): Likewise.
25975         [XPG3] (cbrt): Likewise.
25976         [XPG3] (expm1): Likewise.
25977         [XPG3] (ilogb): Likewise.
25978         [XPG3] (log1p): Likewise.
25979         [XPG3] (logb): Likewise.
25980         [XPG3] (nextafter): Likewise.
25981         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25982         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25983         [XPG3] (remainder): Likewise.
25984         [XPG3] (rint): Likewise.
25985         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25986         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25987         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25988         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25989         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25990         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25991         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25992         [UNIX98 || XOPEN2K] (scalb): Expect.
25993         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25994         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25995         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25996         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25997         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25998         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25999         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26000         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26001         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26002         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26003         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26004         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26005         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26006         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26007         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26008         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26009         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26010         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26011         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26012         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26013         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26014         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26015         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26016         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26017         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26018         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26019         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26020         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26021         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26022         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26023         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26024         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26025         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26026         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26027         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26028         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26029         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26030         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26031         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26032         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26033         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26034         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26035         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26036         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26037         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26038         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26039         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26040         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26041         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26042         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26043         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26044         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26045         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26046         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26047         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26048         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26049         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26050         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26051         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26052         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26053         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26054         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26055         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26056         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26057         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26058         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26059         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26060         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26061         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26062         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26063         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26064         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26065         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26066         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26067         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26068         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26069         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26070         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26071         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26072         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26073         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26074         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26075         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26076         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26077         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26078         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26079         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26080         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26081         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26082         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26083         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26084         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26085         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26086         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26087         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26088         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26089         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26090         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26091         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26092         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26093         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26094         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26095         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26096         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26097         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26098         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26099         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26100         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26101         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26102         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26103         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26104         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26105         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26106         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26107         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26108         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26109         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26110         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26111         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26112         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26113         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26114         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26115         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26116         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26117         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26118         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26119         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26120         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26121         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26122         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26123         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26124         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26125         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26126         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26127         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26128         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26129         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26131         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26132         _XOPEN_SOURCE_EXTENDED for XPG4.
26134         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26136         * Makeconfig (localtime): Remove variable.
26137         (inst_localtime-file): Likewise.
26139 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26142         Update.
26143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26144         Update.
26145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26146         Update.
26147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26148         Update.
26149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26150         Update.
26151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26152         Update.
26153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26154         Update.
26155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26156         Update.
26157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26158         Update.
26160 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26162         [BZ #2550]
26163         [BZ #2570]
26164         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26165         comparisons to determine direction to adjust input.
26166         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26167         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26168         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26169         Likewise.
26170         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26171         Likewise.
26172         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26173         Likewise.
26174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26176         Likewise.
26177         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26178         Likewise.
26179         * math/libm-test.inc (nexttoward_test): Add more tests.
26181 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26183         [BZ #14040]
26184         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26185         in version GLIBC_2.1, not GLIBC_2.0.
26186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26187         Likewise.
26189 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26191         [BZ #13942]
26192         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26193         (1 - x) * (1 + x).
26194         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26195         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26196         * math/libm-test.inc (acos_test): Add more tests.
26197         (asin_test): Likewise.
26198         * sysdeps/i386/fpu/libm-test-ulps: Update.
26199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201         [BZ #14034]
26202         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26203         of square root.
26204         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26205         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26206         * math/libm-test.inc (acos_test_tonearest): New function.
26207         (acos_test_towardzero): Likewise.
26208         (acos_test_downward): Likewise.
26209         (acos_test_upward): Likewise.
26210         (asin_test_tonearest): Likewise.
26211         (asin_test_towardzero): Likewise.
26212         (asin_test_downward): Likewise.
26213         (asin_test_upward): Likewise.
26214         (main): Call the new functions.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26218         [BZ #13884]
26219         [BZ #13924]
26220         * math/e_exp10.c: Include <float.h>.
26221         (__ieee754_exp10): Handle underflow here rather than multiplying
26222         large negative argument by M_LN10.
26223         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26224         of __ieee754_expf.
26225         * math/e_exp10l.c: Include <float.h>.
26226         (__ieee754_exp10l): Handle underflow here rather than multiplying
26227         large negative argument by M_LN10l.
26228         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26229         spurious overflow exception on underflow.
26231 2012-04-29  Marek Polacek  <polacek@redhat.com>
26233         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26234         (__fortify_function): New macro.
26235         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26236         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26237         __extern_always_inline.
26238         * libio/bits/stdio2.h: Likewise.
26239         * libio/bits/stdio.h: Likewise.
26240         * string/string.h: Likewise.
26241         * string/bits/string3.h: Likewise.
26242         * include/stdio.h: Likewise.
26243         * stdlib/bits/stdlib.h: Likewise.
26244         * stdlib/stdlib.h: Likewise.
26245         * rt/bits/mqueue2.h: Likewise.
26246         * rt/mqueue.h: Likewise.
26247         * posix/bits/unistd.h: Likewise.
26248         * posix/unistd.h: Likewise.
26249         * io/bits/poll2.h: Likewise.
26250         * io/bits/fcntl2.h: Likewise.
26251         * io/fcntl.h: Likewise.
26252         * io/sys/poll.h: Likewise.
26253         * misc/bits/syslog.h: Likewise.
26254         * misc/bits/syslog-ldbl.h: Likewise.
26255         * misc/sys/syslog.h: Likewise.
26256         * socket/bits/socket2.h: Likewise.
26257         * socket/sys/socket.h: Likewise.
26258         * debug/tst-chk1.c: Likewise.
26259         * wcsmbs/bits/wchar2.h: Likewise.
26260         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26261         * wcsmbs/wchar.h: Likewise.
26263 2012-04-29  Andreas Jaeger  <aj@suse.de>
26265         * Makerules (tests): Remove enable-check-abi protection.
26266         (check-abi-warn): Remove.
26267         (check-abi-%): Remove check-abi-warn usage.
26269         * configure.in: Remove check-abi configure option.
26270         * configure: Regenerated.
26271         * config.make.in (enable-check-abi): Remove.
26273 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26275         [BZ #14033]
26276         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26277         double functions to double *_finite functions.
26279         [BZ #13941]
26280         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26281         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26282         LDBL_MIN_EXP.
26283         * stdio-common/Makefile (tests): Add tst-sprintf3.
26284         * stdio-common/tst-sprintf3.c: New file.
26286         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26287         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26289 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26291         * conform/conformtest.pl: Remove duplicate typed-constant
26292         handling.
26294 2012-04-28  David S. Miller  <davem@davemloft.net>
26296         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26297         (check-abi-%): Remove AWK script prerequisite and explicit
26298         abilist directory.
26299         (check-abi): Rewrite to just diff the symlist with the abilist.
26300         (config-tls, config-abi-config): Delete, no longer used.
26301         (update-abi-%): Remove AWK script and explicit abilist directory.
26302         (update-abi): Rewrite to simply compare and conditionally copy the
26303         symlist and the sysdep abilist file.  Remove update-abi-config
26304         checks.
26305         * abilist/ld.abilist: Remove.
26306         * abilist/libBrokenLocale.abilist: Remove.
26307         * abilist/libanl.abilist: Remove.
26308         * abilist/libcrypt.abilist: Remove.
26309         * abilist/libdl.abilist: Remove.
26310         * abilist/librt.abilist: Remove.
26311         * abilist/libthread_db.abilist: Remove.
26312         * abilist/libutil.abilist: Remove.
26313         * scripts/extract-abilist.awk: Remove.
26314         * scripts/merge-abilist.awk: Remove.
26315         * sysdeps/generic/libcidn.abilist: New file.
26316         * sysdeps/generic/libnss_compat.abilist: New file.
26317         * sysdeps/generic/libnss_db.abilist: New file.
26318         * sysdeps/generic/libnss_dns.abilist: New file.
26319         * sysdeps/generic/libnss_files.abilist: New file.
26320         * sysdeps/generic/libnss_hesiod.abilist: New file.
26321         * sysdeps/generic/libnss_nis.abilist: New file.
26322         * sysdeps/generic/libnss_nisplus.abilist: New file.
26323         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26324         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26325         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26326         file.
26327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26328         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26329         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26330         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26331         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26332         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26333         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26334         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26335         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26336         file.
26337         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26338         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26339         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26340         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26341         file.
26342         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26343         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26344         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26345         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26346         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26347         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26348         file.
26349         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26350         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26351         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26352         file.
26353         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26355         New file.
26356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26357         New file.
26358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26359         New file.
26360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26361         New file.
26362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26363         New file.
26364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26365         New file.
26366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26367         New file.
26368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26369         New file.
26370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26371         New file.
26372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26373         New file.
26374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26375         New file.
26376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26377         New file.
26378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26379         New file.
26380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26381         file.
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26383         New file.
26384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26385         New file.
26386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26387         file.
26388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26389         New file.
26390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26391         New file.
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26393         file.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26395         New file.
26396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26397         New file.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26399         New file.
26400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26401         New file.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26403         New file.
26404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26405         New file.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26408         file.
26409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26410         New file.
26411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26412         file.
26413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26414         file.
26415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26416         file.
26417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26418         file.
26419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26420         file.
26421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26422         New file.
26423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26424         file.
26425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26426         file.
26427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26428         New file.
26429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26430         file.
26431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26433         file.
26434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26435         New file.
26436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26437         file.
26438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26439         file.
26440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26441         file.
26442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26443         file.
26444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26445         file.
26446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26447         New file.
26448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26449         file.
26450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26451         file.
26452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26453         New file.
26454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26455         file.
26456         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26457         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26458         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26459         file.
26460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26461         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26462         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26463         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26464         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26465         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26466         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26467         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26468         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26469         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26472         file.
26473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26474         New file.
26475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26476         file.
26477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26478         file.
26479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26480         file.
26481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26482         file.
26483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26484         file.
26485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26486         New file.
26487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26488         New file.
26489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26490         file.
26491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26492         New file.
26493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26494         file.
26495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26497         file.
26498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26499         New file.
26500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26501         file.
26502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26503         file.
26504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26505         file.
26506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26507         file.
26508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26509         file.
26510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26511         New file.
26512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26513         New file.
26514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26515         file.
26516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26517         New file.
26518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26519         file.
26521 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26523         * conform/conformtest.pl: Fix typo in handling typed-constant from
26524         allow-header.
26526 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26528         * README: Cut down references to pre-2.6 Linux kernels and
26529         Linuxthreads.  Update lists of configurations in libc and ports
26530         and sort alphabetically.  Say "or newer" with Linux kernel version
26531         requirements.
26533         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26535 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26537         [BZ #887]
26538         * math/libm-test.inc (logb_test_downward): New test to expose
26539         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26540         rounding mode.
26542 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26544         [BZ #14027]
26545         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26546         to be done.
26547         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26548         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26550 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26552         * sysdeps/unix/i386/brk.S: Remove file.
26553         * sysdeps/unix/i386/dl-brk.S: Likewise.
26554         * sysdeps/unix/i386/pipe.S: Likewise.
26555         * sysdeps/unix/i386/sigreturn.S: Likewise.
26556         * sysdeps/unix/i386/syscall.S: Likewise.
26557         * sysdeps/unix/i386/vfork.S: Likewise.
26558         * sysdeps/unix/i386/wait.S: Likewise.
26560         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26561         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26563         * configure.in (arm*-none*): Do not allow without
26564         --enable-hacker-mode.
26565         (netbsd*): Remove case setting base_os.
26566         (386bsd*): Likewise.
26567         (freebsd*): Likewise.
26568         (bsdi*): Likewise.
26569         (osf*): Likewise.
26570         (sunos*): Likewise.
26571         (ultrix*): Likewise.
26572         (newsos*): Likewise.
26573         (dynix*): Likewise.
26574         (*bsd*): Likewise.
26575         (sysv*): Likewise.
26576         (isc*): Likewise.
26577         (esix*): Likewise.
26578         (sco*): Likewise.
26579         (minix*): Likewise.
26580         (irix4*): Likewise.
26581         (irix6*): Likewise.
26582         (solaris[2-9]*): Likewise.
26583         (none): Likewise.
26584         * configure: Regenerated.
26586 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26588         [BZ #11521]
26589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26590         overflow or cancellation in calculating denominator.
26591         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26593         down expression to avoid unexpected rounding in newer GCCs.
26594         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26596 2012-04-26  David S. Miller  <davem@davemloft.net>
26598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26599         long-double compat symbols.
26600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26614 2012-04-25  David S. Miller  <davem@davemloft.net>
26616         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26617         HWCAP_* values only after the memory barriers have been defined.
26618         (atomic_full_barrier): Define.
26619         (atomic_read_barrier): Define.
26620         (atomic_write_barrier): Define.
26622 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26624         * shlib-versions: Add libgcc_s version information.
26625         * sysdeps/generic/libgcc_s.h: Remove.
26626         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26627         libgcc_s.h.
26628         * sysdeps/gnu/unwind-resume.c: Likewise.
26629         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26631 2012-04-25  David S. Miller  <davem@davemloft.net>
26633         * sysdeps/unix/sparc/brk.S: Delete.
26634         * sysdeps/unix/sparc/dl-brk.S: Delete.
26635         * sysdeps/unix/sparc/pipe.S: Delete.
26636         * sysdeps/unix/sparc/sysdep.S: Delete.
26637         * sysdeps/unix/sparc/sysdep.h: Delete.
26638         * sysdeps/unix/sparc/vfork.S: Delete.
26639         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26640         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26641         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26642         ret_ERRVAL, r0, r1, MOVE): Define.
26643         (JUMPTARGET): Remove.
26644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26645         sysdeps/unix/sparc/sysdep.h
26646         (ENTRY, END): Remove.
26647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26649 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26651         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26652         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26653         -DIS_IN_build.
26655         * timezone/README: Update upstream location and email address for
26656         tzcode and tzdata.
26657         * timezone/zdump.c: Update from tzcode 2012b.
26658         * timezone/zic.c: Likewise.
26660         * configure.in (libc_cv_as_needed): Remove test.
26661         * configure: Regenerated.
26662         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26663         conditional definition.
26664         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26665         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26666         * config.make.in (have-as-needed): Remove variable.
26668 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26669             Paul Pluzhnikov  <ppluzhnikov@google.com>
26671         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26672         strings correctly.
26674 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26676         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26677         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26678         * sysdeps/sh/strlen.S: Likewise.
26680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26682         * sysdeps/unix/fork.S: Remove file.
26683         * sysdeps/unix/i386/fork.S: Likewise.
26684         * sysdeps/unix/sparc/fork.S: Likewise.
26686         * sysdeps/unix/system.c: Remove file.
26687         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26689         * sysdeps/unix/getegid.S: Remove file.
26690         * sysdeps/unix/geteuid.S: Likewise.
26692 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26694         * scripts/check-localplt.awk: New file.
26695         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26696         of diff.
26697         * scripts/data/localplt-generic.data: Add a comment.
26699         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26700         NODE when __dir_mkfile failed.
26701         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26702         Reported by Ludovic Courtès <ludo@gnu.org>.
26704 2012-04-24  Andreas Jaeger  <aj@suse.de>
26706         * Makerules (common-clean): Also remove gen-as-const-headers
26707         files.
26709 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26711         * Makerules (native-compile): Do not change working directory for
26712         build.  Use $(OUTPUT_OPTION) in command.
26713         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26715 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26717         [BZ #13886]
26718         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26719         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26720         * math/libm-test.inc (floor_test): Add more tests.
26721         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26723 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26725         * sysdeps/unix/getdents.c: Remove file.
26726         * sysdeps/unix/sysv/getdents.c: Likewise.
26727         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26729         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26730         sysdeps/unix/mman/syscalls.list.
26731         (mmap): Likewise.
26732         (mprotect): Likewise.
26733         (msync): Likewise.
26734         (munmap): Likewise.
26735         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26736         * sysdeps/unix/mman/syscalls.list: Remove.
26737         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26739         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26740         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26741         * configure: Regenerated.
26742         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26743         $(libgcc_s_suffix).
26744         * config.make.in (libgcc_s_suffix): Remove variable.
26746 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26748         * sysdeps/unix/sysv/gethostname.c: Move to ...
26749         * sysdeps/posix/gethostname.c: ... here.
26751         * sysdeps/unix/execve.S: Remove file.
26753         * sysdeps/unix/_exit.S: Remove file.
26755 2012-04-23  Andreas Jaeger  <aj@suse.de>
26757         [BZ #13739]
26758         * manual/Makefile: Remove make dist support, there's no
26759         need for a stand-alone documentation tar ball.
26760         (TEXI2DVI): Define always, it's not in Makeconfig.
26761         (dist): Removed.
26762         (tar-it): Removed.
26763         (edition): Removed.
26764         (glibc-doc-$(edition).tar): Removed
26765         (%.Z): Removed.
26766         (%.gz): Removed.
26767         (%.uu): Removed.
26768         (ETAGS): Remove, it's in Makeconfig.
26769         (move-if-change): Remove, it's in Makeconfig.
26771 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26773         [BZ #13970]
26774         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26775         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26776         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26777         (strtod_l, strtof_l, strtold_l): Remove __wur.
26778         It is not necessarily an error to ignore strtol's return value.
26779         One can reliably look at the stored endptr to decide whether
26780         the number had valid syntax.
26782 2012-04-21  Andreas Jaeger  <aj@suse.de>
26784         [BZ #13739]
26785         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26787 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26789         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26790         * sysdeps/unix/sysv/Versions: Remove file.
26792 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26794         [BZ #13927]
26795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26797 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26799         [BZ #7064]
26800         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26801         version from __vm86.
26803 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26805         * sysdeps/unix/common/lxstat.c: Remove file.
26806         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26808         * sysdeps/unix/sysv/Makefile: Remove file.
26810         * sysdeps/unix/sysv/direct.h: Remove file.
26812         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26813         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26814         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26815         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26816         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26817         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26818         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26820         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26822         * sysdeps/unix/xmknod.c: Remove file.
26823         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26825         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26827         * sysdeps/unix/sysv/i386/time.S: Remove file.
26829         * sysdeps/unix/fxstat.c: Remove file.
26830         * sysdeps/unix/xstat.c: Likewise.
26831         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26833         * sysdeps/unix/sysv/sigaction.c: Remove file.
26835         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26836         (sysdep_headers): Remove variable.
26837         [termio.h not in sysdep_headers] (generated): Likewise.
26838         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26839         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26840         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26841         * sysdeps/unix/sysv/tcflow.c: Likewise.
26842         * sysdeps/unix/sysv/tcflush.c: Likewise.
26843         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26844         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26845         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26846         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26847         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26849         * sysdeps/unix/siglist.c: Remove file.
26851         * sysdeps/unix/getppid.S: Remove file.
26853         * sysdeps/unix/mkdir.c: Remove file.
26854         * sysdeps/unix/rmdir.c: Likewise.
26856 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26858         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26859         ERR_MAX value.
26860         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26861         errlist-compat value.
26863 2012-04-18  David S. Miller  <davem@davemloft.net>
26865         * sysdeps/generic/memcopy.h (reg_char): Delete.
26866         * debug/strcat_chk.c: Use char, not reg_char.
26867         * debug/strcpy_chk.c: Likewise.
26868         * debug/strncat_chk.c: Likewise.
26869         * debug/strncpy_chk.c: Likewise.
26870         * string/memchr.c: Likewise.
26871         * string/memrchr.c: Likewise.
26872         * string/rawmemchr.c: Likewise.
26873         * string/strcat.c: Likewise.
26874         * string/strchr.c: Likewise.
26875         * string/strchrnul.c: Likewise.
26876         * string/strcmp.c: Likewise.
26877         * string/strcpy.c: Likewise.
26878         * string/strncat.c: Likewise.
26879         * string/strncmp.c: Likewise.
26880         * string/strncpy.c: Likewise.
26882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26884         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26885         __builtin_memcopy is called when src and dest ranges are known to not
26886         overlap.
26888 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26890         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26891         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26892         fwd_align_merge macro call.
26893         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26894         bwd_align_merge macro call.
26895         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26897 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26899         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26900         bwd_align_merge macros.
26901         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26902         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26903         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26905 2012-04-18  David S. Miller  <davem@davemloft.net>
26907         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26909 2012-04-18  Andreas Jaeger  <aj@suse.de>
26911         [BZ# 6794]
26912         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26913         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26914         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26916         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26917         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26920         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26921         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26922         Adjust for changed ldbl-128 files.
26924         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26925         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26926         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26928 2012-04-17  David S. Miller  <davem@davemloft.net>
26930         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26932 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26934         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26935         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26936         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26937         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26938         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26939         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26941 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26943         [BZ #6794]
26944         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26945         * math/libm-test.inc: Add ilogb errno and exception tests.
26946         * math/w_ilogb.c: New file: ilogb wrapper.
26947         * math/w_ilogbf.c: New file: ilogbf wrapper.
26948         * math/w_ilogbl.c: New file: ilogbl wrapper.
26949         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26950         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26951         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26952         exception being thrown with 0.0 as argument.
26953         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26954         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26955         exception being thrown with 0.0 as argument.
26956         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26957         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26958         exception being thrown with 0.0 as argument.
26959         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26960         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26961         exception being thrown with 0.0 as argument.
26962         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26963         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26964         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26965         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26967         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26968         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26969         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26970         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26972 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26974         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26975         with altivec.
26977 2012-04-16  Marek Polacek  <polacek@redhat.com>
26979         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26981 2012-04-16  Marek Polacek  <polacek@redhat.com>
26983         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26984         operands of fdivp instruction.
26986 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26988         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26989         * elf/tst-auditmod3b.c: Likewise.
26990         * elf/tst-auditmod4b.c: Likewise.
26991         * elf/tst-auditmod5b.c: Likewise.
26992         * elf/tst-auditmod6b.c: Likewise.
26993         * elf/tst-auditmod6c.c: Likewise.
26994         * elf/tst-auditmod7b.c: Likewise.
26995         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26996         * sysdeps/x86_64/preconfigure.in: Likewise.
26997         * sysdeps/x86_64/preconfigure: Regenerated.
26999 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27001         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27002         __ILP32__.
27004 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27006         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27007         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27009 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27011         [BZ #13973]
27012         * locale/iso-639.def: Fix gl language name. Spotted by
27013         Yaron Shahrabani.
27015 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27017         [BZ #2074]
27018         * libio/libio.h (__io_write_fn): Update comment.
27020 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27022         [BZ #2074]
27023         * stdio.texi (Hook Functions): The user provided writer function
27024         is not allowed to return -1.
27026 2012-04-11  David S. Miller  <davem@davemloft.net>
27028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27030 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27032         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27033         Add a leading slash to rtkaio.
27035 2012-04-11  Jim Meyering  <meyering@redhat.com>
27037         [BZ #11959]
27038         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27039         It is not necessarily an error to ignore fwrite's return
27040         value.  One can reliably use ferror to test for errors after
27041         the fact.
27043 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27045         * bits/types.h (__snseconds_t): New type.
27046         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27048         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27050         (__SNSECONDS_T_TYPE): Likewise.
27051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27052         (__SNSECONDS_T_TYPE): Likewise.
27053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27054         (__SNSECONDS_T_TYPE): Likewise.
27056 2012-04-10  Andreas Jaeger  <aj@suse.de>
27058         [BZ #2636]
27059         * manual/time.texi (Processor Time): Return type of times is
27060         elapsed real time since an arbitrary point in the past.
27061         (CPU Time): Move CLK_TCK from here...
27062         (Processor Time): ...to here.  Correct description.
27063         * manual/conf.texi (Constants for Sysconf): Correct description of
27064         _SC_CLK_TCK.
27066 2012-04-10  David S. Miller  <davem@davemloft.net>
27068         [BZ #13967]
27069         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27070         where the is a gap between DT_REL(A) and DT_JMPREL.
27072 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27074         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27075         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27076         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27078 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27080         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27081         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27082         (dl_main): Handle --inhibit-cache.
27083         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27084         _dl_inhibit_cache.
27085         * elf/dl-load.c (_dl_map_object): Use it.
27086         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27088 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #13872]
27091         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27092         (__ieee754_powl): Saturate large exponents rather than testing for
27093         overflow of y*log2(x).
27094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27095         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27096         exceptions.
27098         [BZ #11521]
27099         * math/s_ctan.c: Include <float.h>.
27100         (__ctan): Avoid internal overflow or cancellation in calculating
27101         denominator.
27102         * math/s_ctanf.c: Likewise.
27103         * math/s_ctanl.c: Likewise.
27104         * math/s_ctanh.c: Likewise.
27105         * math/s_ctanhf.c: Likewise.
27106         * math/s_ctanhl.c: Likewise.
27107         * math/libm-test.inc (ctan_test): Add more tests.
27108         (ctanh_test): Likewise.
27109         * sysdeps/i386/fpu/libm-test-ulps: Update.
27110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27112 2012-04-09  Andreas Jaeger  <aj@suse.de>
27114         [BZ #6894]
27115         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27116         is an optional BSD extension.
27118         [BZ #10254]
27119         * manual/stdio.texi (Opening Streams): Document additional fopen
27120         parameters.
27122 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27124         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27125         %eax without telling the compiler.
27127 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27129         [BZ # 13963]
27130         * manual/install.texi: Use sourceware.org.
27132 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27134         [BZ #13873]
27135         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27136         (__ieee754_pow): Generate overflow and underflow using huge*huge
27137         and tiny*tiny rather than just returning constant infinity or zero
27138         for large exponents.
27139         * math/libm-test.inc (pow_test): Require overflow exceptions for
27140         applicable cases of large exponents.
27142         [BZ #706]
27143         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27144         (__ieee754_pow): Use iterative multiplication algorithm only for
27145         integer exponents with absolute value below 1024.  Check for odd
27146         integer exponents when using algorithm for real exponents.
27147         * math/libm-test.inc (pow_test): Add more tests.
27148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27150 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27152         [BZ #13705]
27153         * math/libm-test.inc (exp_test): Do not allow overflow exception
27154         on underflow test.
27156 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27158         [BZ #13705]
27159         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27160         instead of __kernel_standard_f.
27162 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27164         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27165         * sysdeps/x86_64/memset_chk.S: Likewise.
27167 2012-04-08  Andreas Jaeger  <aj@suse.de>
27169         [BZ #10153]
27170         * manual/startup.texi (Environment Access): Describe return value
27171         for putenv and setenv.
27173         [BZ #6895]
27174         * manual/filesys.texi (Directory Entries): Add description for
27175         DT_LNK.
27177         [BZ #6890]
27178         * manual/filesys.texi (Directory Entries): Clarify that it's file
27179         system not operating system in the description of DT_UNKNOWN.
27181         [BZ #6578]
27182         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27184 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27186         [BZ #6649]
27187         * manual/llio.texi (Opening and Closing Files): Add cross
27188         reference to explain mode argument.
27190 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27192         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27193         * sysdeps/x86_64/memset_chk.S: Likewise.
27195 2012-04-07  David S. Miller  <davem@davemloft.net>
27197         * elf/elf.h (R_SPARC_WDISP10): Define.
27198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27199         R_SPARC_SIZE32.
27200         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27201         R_SPARC_SIZE64 and R_SPARC_H34.
27203 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27205         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27206         conditions and remove no longer applicable assertion.
27208 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27210         * bits/byteswap.h: Include <features.h>.
27211         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27212         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27214 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27216         * bits/byteswap.h (__bswap_16): Removed.
27217         Include <bits/byteswap-16.h> to get __bswap_16.
27218         * sysdeps/i386/bits/byteswap.h: Likewise.
27219         * sysdeps/s390/bits/byteswap.h: Likewise.
27220         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27221         * bits/byteswap-16.h: New file.
27222         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27223         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27224         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27225         * string/Makefile (headers): Add bits/byteswap-16.h.
27227 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27229         [BZ #13895]
27230         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27231         extra indirection.
27232         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27233         * nss/tst-nss-static.c: New.
27235 2012-04-06  Robert Millan  <rmh@gnu.org>
27237         [BZ #6486]
27238         * manual/llio.texi (File Position Primitive): lseek
27239         refers to WHENCE when it really means OFFSET.
27241 2012-04-06  Andreas Jaeger  <aj@suse.de>
27243         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27244         strncmp declarations.
27246         * abilist/libc.abilist: Add __poll and __ppoll.
27248 2012-04-05  David S. Miller  <davem@davemloft.net>
27250         * scripts/check-local-headers.sh: Accept a host triplet in the
27251         path matched by the exclude regexp.
27253         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27254         definition.
27255         * sysdeps/powerpc/powerpc32/dl-machine.h
27256         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27257         * sysdeps/s390/s390-32/dl-machine.h
27258         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27259         * sysdeps/sparc/sparc32/dl-machine.h
27260         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27261         * sysdeps/sparc/sparc64/dl-machine.h
27262         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27264         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27265         lazy binding.
27266         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27267         undefined symbol errors.
27269         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27270         DT_NEEDED entries.
27272 2012-04-05  Michael Matz  <matz@suse.de>
27274         [BZ #13592]
27275         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27277 2012-04-05  Andreas Jaeger  <aj@suse.de>
27279         [BZ #13908]
27280         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27281         comment.
27283 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27285         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27286         which ROUND is no valid rounding mode.
27288 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27291         read again.
27292         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27294 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27296         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27297         an exception using FPU order intentionally.
27299 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27301         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27302         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27303         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27304         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27306 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27308         [BZ #12340]
27309         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27310         EINVAL when BUFLEN is too smal.
27312 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27314         [BZ #13553]
27315         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27316         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27318 2012-04-03  Andreas Jaeger  <aj@suse.de>
27320         [BZ #13938]
27321         * manual/setjmp.texi (System V contexts): Fix sentence.
27323         [BZ #13926]
27324         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27325         New macro for this case.
27326         [!__GNUC__] (__bswap_64): New inline function for this case.
27327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27328         * bits/byteswap.h: Likewise.
27329         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27330         ull, guard with __GLIBC_HAVE_LONG_LONG.
27332         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27333         __GLIBC_HAVE_LONG_LONG.
27335         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27336         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27338 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27340         [BZ #13691]
27341         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27342         inptr and inend, rather than using last_ch.
27344 2012-04-02  David S. Miller  <davem@davemloft.net>
27346         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27347         * stdio-common/printf-parse.h (read_int): Change return type to
27348         'int', return -1 on INT_MAX overflow.
27349         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27350         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27351         overflows INT_MAX.  Check for overflow of in-format-string precision
27352         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27353         SIZE_MAX not INT_MAX for integer overflow test.
27354         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27355         skip the construct in the format string but do not record anything.
27356         * stdio-common/bug22.c: Adjust to test both width/prevision
27357         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27358         explicitly for proper errno values.
27360 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27362         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27363         CHAR_MAX.
27364         * string/test-strcmp.c [! WIDE]: Likewise.
27365         * time/tst-mktime2.c: Likewise for INT_MAX.
27366         * string/test-string.h: #include <sys/param.h> for MIN.
27368         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27369         * sysdeps/i386/init-first.c (init): Likewise.
27370         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27371         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27372         * sysdeps/sh/init-first.c (init): Likewise.
27374 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27376         * po/ru.po: Update from translation team.
27377         * po/vi.po: Likewise.
27379 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27381         * resolv/nss_dns/dns-host.c: Merge copyright years.
27383 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27386         Optimize memcpy with prefetch if
27387         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27388         src, dst pointers have unequal 16 byte alignments.
27390 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27392         [BZ #13928]
27393         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27394         from a CNAME entry and return the minimum ttl for the query.
27395         (gaih_getanswer_slice): Likewise.
27397 2012-03-30  Jeff Law  <law@redhat.com>
27399         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27400         due to long keys.
27401         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27402         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27404         * resolv/nss_dns/dns-host.c: Update copyright year.
27406 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27408         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27409         requests to save a system call.  Fix check that all bytes are sent.
27411         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27412         comments for sendmmsg.
27414 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27416         [BZ #13691]
27417         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27418         with only 1 character between 0x0041 and 0x01b0.
27419         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27420         * wcsmbs/tst-mbsnrtowcs.c: New file.
27422 2012-03-29  David S. Miller  <davem@davemloft.net>
27424         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27425         small copies by hand.
27427 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27429         [BZ #13761]
27430         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27431         _nss_compat_initgroups_dyn): Fall back to malloc/free
27432         for large group memberships.
27434 2012-03-28  David S. Miller  <davem@davemloft.net>
27436         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27437         that branches into memcpy.
27438         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27441         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27443         bits.
27444         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27445         implementation too.
27446         * sysdeps/sparc/mempcpy.S: New file.
27448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27449         the IFUNC routine in the libc case.
27450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27452         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27453         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27454         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27455         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27456         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27457         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27458         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27459         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27461         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27462         loop to 256 bytes instead of 64 bytes and fix test signedness.
27464         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27465         * sysdeps/sparc/sparc32/Makefile: rather than here...
27466         * sysdeps/sparc/sparc64/Makefile: and here.
27468 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27470         * malloc/mallocbug.c: Avoid warnings about unused variables.
27472 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27474         [BZ #13760]
27475         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27476         in the right place. Discard and retry query if response is
27477         larger than input buffer size.
27479 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27481         [BZ #369]
27482         [BZ #2678]
27483         [BZ #3866]
27484         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27485         x for large integer exponent.
27486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27487         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27488         sign of result as needed afterwards.
27489         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27490         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27491         result for underflowing pow the same as for overflow.
27492         (__kernel_standard_l): Handle powl overflow and underflow here
27493         rather than calling __kernel_standard.
27494         * math/libm-test.inc (pow_test): Add more tests.
27496         [BZ #3868]
27497         [BZ #13879]
27498         [BZ #13910]
27499         [BZ #13911]
27500         [BZ #13912]
27501         [BZ #13913]
27502         [BZ #13915]
27503         [BZ #13916]
27504         [BZ #13917]
27505         [BZ #13918]
27506         [BZ #13919]
27507         [BZ #13920]
27508         [BZ #13921]
27509         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27510         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27511         (__kernel_standard_l): New function.
27512         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27513         __kernel_standard.
27514         * math/w_acosl.c (__acosl): Likewise.
27515         * math/w_asinl.c (__asinl): Likewise.
27516         * math/w_atan2l.c (__atan2l): Likewise.
27517         * math/w_atanhl.c (__atanhl): Likewise.
27518         * math/w_coshl.c (__coshl): Likewise.
27519         * math/w_exp10l.c (__exp10l): Likewise.
27520         * math/w_exp2l.c (__exp2l): Likewise.
27521         * math/w_fmodl.c (__fmodl): Likewise.
27522         * math/w_hypotl.c (__hypotl): Likewise.
27523         * math/w_j0l.c (__j0l, __y0l): Likewise.
27524         * math/w_j1l.c (__j1l, __y1l): Likewise.
27525         * math/w_jnl.c (__jnl, __ynl): Likewise.
27526         * math/w_lgammal.c (__lgammal): Likewise.
27527         * math/w_log10l.c (__log10l): Likewise.
27528         * math/w_log2l.c (__log2l): Likewise.
27529         * math/w_logl.c (__logl): Likewise.
27530         * math/w_powl.c (__powl): Likewise.
27531         * math/w_remainderl.c (__remainderl): Likewise.
27532         * math/w_scalbl.c (sysv_scalbl): Likewise.
27533         * math/w_sinhl.c (__sinhl): Likewise.
27534         * math/w_sqrtl.c (__sqrtl): Likewise.
27535         * math/w_tgammal.c (__tgammal): Likewise.
27536         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27537         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27538         * math/libm-test.inc (acos_test): Add more tests.
27539         (acosh_test): Likewise.
27540         (asin_test): Likewise.
27541         (atanh_test): Likewise.
27542         (exp_test): Likewise.
27543         (exp10_test): Likewise.
27544         (exp2_test): Likewise.
27545         (expm1_test): Likewise.
27546         (lgamma_test): Likewise.
27547         (log_test): Likewise.
27548         (log10_test): Likewise.
27549         (log1p_test): Likewise.
27550         (log2_test): Likewise.
27551         (pow_test): Do not allow some spurious overflow exceptions.
27552         (sqrt_test): Add more tests.
27553         (tgamma_test): Likewise.
27554         (y0_test): Likewise.
27555         (y1_test): Likewise.
27556         (yn_test): Likewise.
27558 2012-03-27  Anton Blanchard  <anton@samba.org>
27560         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27561         MAP_HUGETLB.
27562         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27563         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27564         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27566 2012-03-27  David S. Miller  <davem@davemloft.net>
27568         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27570         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27571         have-as-vis3 check.
27573 2012-03-27  Andreas Jaeger  <aj@suse.de>
27575         * sysdeps/x86_64/elf/configure.in: Moved to ...
27576         * sysdeps/x86_64/configure.in: ... here.
27577         * sysdeps/x86_64/elf/start.S: Moved to ...
27578         * sysdeps/x86_64/start.S: ... here.
27579         * sysdeps/x86_64/elf/configure: Delete.
27581         * sysdeps/x86_64/configure.in: Merge contents from
27582         sysdeps/i386/configure.in (without i686 check).
27584         * sysdeps/i386/elf/Versions: Merge into ...
27585         * sysdeps/i386/Versions: ... this.
27586         * sysdeps/i386/elf/Versions: Delete file.
27587         * sysdeps/i386/elf/start.S: Moved to ...
27588         * sysdeps/i386/start.S: ...here.
27589         * sysdeps/i386/elf/configure.in: Merge into...
27590         * sysdeps/i386/configure.in: ...here.
27591         * sysdeps/i386/elf/configure.in: Delete file.
27592         * sysdeps/i386/elf/configure: Delete file.
27594         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27595         * debug/backtracesyms.c: ... here.
27596         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27597         * debug/backtracesymsfd.c: ... here.
27598         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27599         * sysdeps/generic/ifunc-sel.h: ... here.
27601         * sysdeps/unix/i386/start.c: Delete file.
27602         * sysdeps/unix/sparc/start.c: Delete file.
27603         * sysdeps/unix/start.c: Delete file.
27605         * sysdeps/sh/elf/configure.in: Moved to ...
27606         * sysdeps/sh/configure.in: ... here.
27607         * sysdeps/sh/elf/start.S: Moved to ...
27608         * sysdeps/sh/start.S: ... here.
27609         * sysdeps/sh/elf/configure: Delete file.
27611         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27612         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27613         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27614         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27615         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27616         * sysdeps/powerpc/powerpc64/start.S: here.
27617         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27618         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27619         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27620         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27621         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27623         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27624         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27625         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27626         * sysdeps/powerpc/powerpc32/start.S: ... here.
27627         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27628         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27629         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27631         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27632         * sysdeps/powerpc/ifunc-sel.h: ... here.
27633         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27634         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27636         * sysdeps/sparc/elf/configure.in: Moved to ...
27637         * sysdeps/sparc/configure.in: ... here.
27638         * sysdeps/sparc/elf/configure: Delete file.
27639         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27640         * sysdeps/sparc/sparc32/start.S: ... here.
27641         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27642         * sysdeps/sparc/sparc64/start.S: ... here.
27643         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27644         * sysdeps/sparc/sparc32/Makefile: ... this.
27645         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27646         * sysdeps/sparc/sparc64/Makefile: ... this.
27648         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27649         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27650         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27651         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27652         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27653         * sysdeps/s390/s390-32/setjmp.S: ... here.
27654         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27655         * sysdeps/s390/s390-32/configure.in: ... here.
27656         * sysdeps/s390/s390-32/elf/configure: Delete file.
27657         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27658         * sysdeps/s390/s390-32/start.S: ... here.
27660         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27661         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27662         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27663         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27664         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27665         * sysdeps/s390/s390-64/setjmp.S: ... here.
27666         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27667         * sysdeps/s390/s390-64/configure.in: ... here
27668         * sysdeps/s390/s390-64/elf/configure: Delete file.
27669         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27670         * sysdeps/s390/s390-64/start.S: ... here.
27671         * sysdeps/s390/s390-64/elf/configure: Delete.
27673         * configure.in: Remove support for elf directories in sysdeps.
27675         * configure: Regenerated.
27676         * sysdeps/i386/configure: Regenerated.
27677         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27678         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27679         * sysdeps/s390/s390-32/configure: Regenerated.
27680         * sysdeps/s390/s390-64/configure: Regenerated.
27681         * sysdeps/sh/configure: Regenerated.
27682         * sysdeps/sparc/configure: Regenerated.
27683         * sysdeps/x86_64/configure: Regenerated.
27685 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27690         denormal result into account.
27692 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27694         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27695         Reported by Allan McRae <allan@archlinux.org>.
27697 2012-03-23  Jeff Law  <law@redhat.com>
27699         * nss/getnssent.c (__nss_getent): Fix typo.
27701 2012-03-23  David S. Miller  <davem@davemloft.net>
27703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27705 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27707         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27708         to pad to uint64_t for each field.
27709         (dl_tls_index): Replace unsigned long with uint64_t.
27711 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27712         Paul Pluzhnikov  <ppluzhnikov@google.com>
27714         [BZ #6528]
27715         * grp/Makefile (otherlibs): Don't set it.
27716         * inet/Makefile (otherlibs): Likewise.
27717         * login/Makefile (otherlibs): Likewise.
27718         * nscd/Makefile (otherlibs): Likewise.
27719         * posix/Makefile (otherlibs): Likewise.
27720         * pwd/Makefile (otherlibs): Likewise.
27721         * rt/Makefile (otherlibs): Likewise.
27722         * sunrpc/Makefile (otherlibs): Likewise.
27723         * nss/Makefile (otherlibs): Likewise.
27724         Add libnss_files to routines and static-only-routines.
27725         ($(objpfx)getent): Remove rule.
27726         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27727         static-only-routines.
27729 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #13892]
27732         * math/s_cexp.c: Include <float.h>.
27733         (__cexp): Handle exp result overflowing not necessarily
27734         overflowing both real and imaginary parts of result.
27735         * math/s_cexpf.c: Likewise.
27736         * math/s_cexpl.c: Likewise.
27737         * math/libm-test.inc (cexp_test): Add more tests.
27738         * sysdeps/i386/fpu/libm-test-ulps: Update.
27739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27743         * include/link.h (ELFW): New macro.
27744         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27745         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27747 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27749         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27750         with uint64_t.
27752 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27754         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27755         declaration.
27756         (struct La_x32_retval): Likewise.
27758 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27760         * sysdeps/x86_64/preconfigure.in: New file.
27761         * sysdeps/x86_64/preconfigure: New generated file.
27763 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27765         [BZ #13824]
27766         * math/e_exp2l.c: Include <float.h>.
27767         (__ieee754_exp2l): Handle overflow and underflow cases
27768         separately.  Only pass fractional part of argument to
27769         __ieee754_expl.
27770         * math/libm-test.inc (exp2_test): Add more tests.
27772         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27773         negating x to take absolute value.
27774         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27775         Likewise.
27776         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27777         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27778         Likewise.
27779         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27780         computing low part if x was negated.
27781         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27783 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27785         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27786         la_x32_gnu_pltexit.
27787         (pltexit): Cast int_retval to ptrdiff_t.
27788         * elf/tst-auditmod3b.c: Likewise.
27789         * elf/tst-auditmod4b.c: Likewise.
27790         * elf/tst-auditmod5b.c: Likewise.
27791         * elf/tst-auditmod6b.c: Likewise.
27792         * elf/tst-auditmod6c.c: Likewise.
27793         * elf/tst-auditmod7b.c: Likewise.
27795         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27796         and x32_gnu_pltexit.
27798         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27799         __ELF_NATIVE_CLASS.
27800         (La_x32_regs): New macro.
27801         (La_x32_retval): Likewise.
27802         (la_x32_gnu_pltenter): New function prototype.
27803         (la_x32_gnu_pltexit): Likewise.
27805 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27807         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27808         exponent.
27810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27812         * configure.in (libc_cv_cc_nofma): Check for option to disable
27813         generation of FMA instructions.
27814         * configure: Regenerate.
27815         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27816         * sysdeps/ieee754/dbl-64/Makefile: New file.
27817         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27818         Remove brandred-fma4.
27819         (CFLAGS-brandred-fma4.c): Remove.
27820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27821         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27822         define.
27823         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27824         define.
27826 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27828         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27829         LLONG_MAX != LONG_MAX.
27830         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27831         (_fitoa_word): Likewise.
27832         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27833         LLONG_MAX != LONG_MAX.
27834         * stdio-common/_itowa.h: Include <_itoa.h>.
27835         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27836         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27837         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27838         only if not defined.
27839         (_ITOA_WORD_TYPE): Likewise.
27840         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27841         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27843 2012-03-21  David S. Miller  <davem@davemloft.net>
27845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27847 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27849         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27850         of x86_64 when setting libc_cv_slibdir, libdir and
27851         libc_cv_localedir.
27852         * sysdeps/unix/sysv/linux/configure: Regenerated.
27854 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27856         * manual/lang.texi (Old Varargs): Remove section.
27857         (How Variadic): Update menu.
27858         (va_start): Do not mention varargs.h.
27860 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27861             Joseph Myers  <joseph@codesourcery.com>
27863         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27864         link test.
27865         * configure: Regenerated.
27867 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27869         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27870         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27871         conformtest.pl
27873 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27875         * NOTES: Remove.
27876         * Makefile (files-for-dist): Remove NOTES.
27877         (NOTES): Remove rule.
27878         * README: Don't refer to NOTES.
27879         * manual/creature.texi: Don't include macros.texi.
27880         * manual/intro.texi (creature.texi): Remove comment referring to
27881         NOTES.
27883         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27884         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27885         * configure: Regenerated.
27886         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27887         LIBC_TRY_CC_OPTION.
27888         (libc_cv_as_i686): Likewise.
27889         (libc_cv_cc_avx): Likewise.
27890         (libc_cv_cc_sse2avx): Likewise.
27891         (libc_cv_cc_fma4): Likewise.
27892         (libc_cv_cc_novzeroupper): Likewise.
27893         * sysdeps/i386/configure: Regenerated.
27895         [BZ #13883]
27896         * sysdeps/i386/fpu/s_cexp.S: Remove.
27897         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27898         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27899         * math/libm-test.inc (cexp_test): Add more tests.
27900         * sysdeps/i386/fpu/libm-test-ulps: Update.
27901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27903 2012-03-21  Allan McRae  <allan@archlinux.org>
27905         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27907 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27909         [BZ #13871]
27910         * math/w_exp2.c: Do not include <float.h>.
27911         (o_threshold, u_threshold): Remove.
27912         (__exp2): Calculate result before checking finiteness and calling
27913         __kernel_standard.
27914         * math/w_exp2f.c: Likewise.
27915         * math/w_exp2l.c: Likewise.
27916         * math/libm-test.inc (exp2_test): Require overflow exception for
27917         1e6 input.
27919         [BZ #3866]
27920         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27921         range of signed 64-bit integers before using fistpll.  Remove
27922         checks for whether integers fit in mantissa bits.
27923         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27924         the range of signed 32-bit integers before using fistpl.  Remove
27925         checks for whether integers fit in mantissa bits.
27926         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27927         (__ieee754_powl): Test for y outside the range of signed 64-bit
27928         integers before using fistpll.  Reduce 64-bit values to 63-bit
27929         ones as needed.
27930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27931         divide-by-zero is raised for zero to large negative powers.
27932         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27933         (__ieee754_powl): Test for y outside the range of signed 64-bit
27934         integers before using fistpll.  Reduce 64-bit values to 63-bit
27935         ones as needed.
27936         * math/libm-test.inc (pow_test): Add more tests.
27938 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27940         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27941         <stdio-common/_itoa.h>.
27942         * debug/segfault.c: Likewise.
27943         * elf/dl-cache.c: Likewise.
27944         * elf/dl-minimal.c: Likewise.
27945         * elf/dl-misc.c: Likewise.
27946         * elf/dl-sysdep.c: Likewise.
27947         * elf/dl-version.c: Likewise.
27948         * elf/rtld.c: Likewise.
27949         * hurd/hurdsock.c: Likewise.
27950         * hurd/lookup-retry.c: Likewise.
27951         * malloc/malloc.c: Likewise.
27952         * malloc/mtrace.c: Likewise.
27953         * nscd/nscd_getgr_r.c: Likewise.
27954         * nscd/nscd_getpw_r.c: Likewise.
27955         * nscd/nscd_getserv_r.c: Likewise.
27956         * posix/getopt_init.c: Likewise.
27957         * posix/wordexp.c: Likewise.
27958         * stdio-common/_itoa.c: Likewise.
27959         * stdio-common/printf_fphex.c: Likewise.
27960         * stdio-common/vfprintf.c: Likewise.
27961         * string/_strerror.c: Likewise.
27962         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27963         * sysdeps/i386/i686/hp-timing.h: Likewise.
27964         * sysdeps/mach/_strerror.c: Likewise.
27965         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27966         * sysdeps/mach/hurd/sethostid.c: Likewise.
27967         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27968         * sysdeps/mach/xpg-strerror.c: Likewise.
27969         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27970         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27971         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27972         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27973         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27974         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27975         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27976         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27977         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27978         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27979         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27980         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27981         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27982         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27983         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27984         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27985         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27986         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27987         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27988         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27989         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27991         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27993         * stdio-common/_itoa.h: Moved to ...
27994         * sysdeps/generic/_itoa.h: Here.
27996         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27998         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27999         instead of "_itoa.h" and "_itowa.h".
28000         * stdio-common/vfprintf.: Likewise.
28002 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28004         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28005         <bits/wordsize.h>.
28006         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28007         (__signbit): Likwise.
28008         (llrintf): Likwise.
28009         (llrint): Likwise.
28011 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28013         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28014         __WORDSIZE != 64.
28016 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28018         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28019         OVERFLOW_EXCEPTION_OK.
28020         * math/libm-test.inc ("Philosophy"): Update comment about
28021         exception testing.
28022         (OVERFLOW_EXCEPTION): Define.
28023         (OVERFLOW_EXCEPTION_OK): Likewise.
28024         (INVALID_EXCEPTION_OK): Renumber.
28025         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28026         (IGNORE_ZERO_INF_SIGN): Likewise.
28027         (test_exceptions): Handle FE_OVERFLOW.
28028         (exp10_test): Expect overflow exceptions.
28029         (exp2_test): Likewise.
28030         (expm1_test): Likewise.
28031         (nextafter_test): Likewise.
28032         (pow_test): Likewise.
28033         (scalbn_test): Likewise.
28034         (scalbln_test): Likewise.
28036 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28038         * sysdeps/x86_64/bits/atomic.h
28039         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28040         64bit integer.
28041         (atomic_exchange_acq): Likewise.
28042         (__arch_exchange_and_add_body): Likewise.
28043         (__arch_add_body): Likewise.
28044         (atomic_add_negative): Likewise.
28045         (atomic_add_zero): Likewise.
28047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28049         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28050         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28052 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28054         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28055         Check __x86_64__ instead of __WORDSIZE.
28057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28059         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28061 2012-03-19  David S. Miller  <davem@davemloft.net>
28063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28065         * sysdeps/sparc/fpu/fenv_private.h: New file.
28066         * sysdeps/sparc/fpu/math_private.h: Use it.
28067         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28068         Remove.
28069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28070         (libc_feholdexcept_setroundl): Remove.
28071         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28072         Remove.
28073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28078         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28079         int64_t instead of long int.
28080         (INSERT_WORDS64): Likwise.
28082 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28084         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28085         _Unwind_GetCFA return to _Unwind_Ptr first.
28087 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28089         [BZ #13629]
28090         * math/s_clog.c: Include <float.h>.
28091         (__clog): Scale large or subnormal inputs.
28092         * math/s_clogf.c: Likewise.
28093         * math/s_clogl.c: Likewise.
28094         * math/s_clog10.c: Include <float.h>.
28095         (M_LOG10_2): Define.
28096         (__clog10): Scale large or subnormal inputs.
28097         * math/s_clog10f.c: Likewise.
28098         * math/s_clog10l.c: Likewise.
28099         * math/libm-test.inc (clog_test): Add more tests.
28100         (clog10_test): Likewise.
28101         * sysdeps/i386/fpu/libm-test-ulps: Update.
28102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28104         [BZ #11451]
28105         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28106         x and y.
28107         * math/libm-test.inc (atan2_test): Add another test.
28109         * Makerules (common-objdir-compile): Remove.
28110         * sysdeps/unix/Makefile (config-generated): Do not add
28111         $(unix-generated) to variable.
28112         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28113         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28114         Remove rule.
28115         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28116         Likewise.
28117         [generic bits/local_lim.h] (before-compile): Do not append to
28118         variable.
28119         [generic bits/local_lim.h] (common-generated): Likewise.
28120         [generic sys/param.h] (before-compile): Do not append to variable.
28121         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28122         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28123         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28124         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28125         include.
28126         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28127         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28128         [generic sys/param.h] ($(addprefix
28129         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28130         [generic sys/param.h] (common-generated): Do not append to
28131         variable.
28132         [generic sys/param.h] (sysdep_headers): Likewise.
28133         [generic bits/errno.h] (before-compile): Do not append to
28134         variable.
28135         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28136         rule.
28137         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28138         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28139         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28140         [generic bits/errno.h] (common-generated): Do not append to
28141         variable.
28142         [generic bits/ioctls.h] (before-compile): Do not append to
28143         variable.
28144         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28145         rule.
28146         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28147         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28148         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28149         rule.
28150         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28151         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28152         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28153         [generic bits/ioctls.h] (common-generated): Do not append to
28154         variable.
28155         [generic sys/syscall.h] (syscall.h): Remove variable.
28156         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28157         rule.
28158         [generic sys/syscall.h] (before-compile): Do not append to
28159         variable.
28160         [generic sys/syscall.h] (common-generated): Likewise.
28161         * sysdeps/unix/errnos-tmpl.c: Remove file.
28162         * sysdeps/unix/errnos.awk: Likewise.
28163         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28164         * sysdeps/unix/ioctls.awk: Likewise.
28165         * sysdeps/unix/mk-local_lim.c: Likewise.
28166         * sysdeps/unix/snarf-ioctls: Likewise.
28168 2012-03-19  Richard Henderson  <rth@twiddle.net>
28170         * sysdeps/i386/fpu/fenv_private.h: New file.
28171         * sysdeps/i386/fpu/math_private.h: Use it.
28172         (math_opt_barrier, math_force_eval): Remove.
28173         (libc_feholdexcept_setround_53bit): Remove.
28174         (libc_feupdateenv_53bit): Remove.
28175         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28176         (math_opt_barrier, math_force_eval): Remove.
28177         (libc_feholdexcept): Remove.
28178         (libc_feholdexcept_setround): Remove.
28179         (libc_fetestexcept, libc_fesetenv): Remove.
28180         (libc_feupdateenv_test): Remove.
28181         (libc_feupdateenv, libc_feholdsetround): Remove.
28182         (libc_feresetround): Remove.
28184         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28185         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28187         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28188         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28189         (libc_feupdateenv_testl): New.
28190         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28191         (libc_feupdateenv_testf): New.
28192         (libc_feupdateenv): Use libc_feupdateenv_test.
28193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28196         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28197         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28198         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28199         (libc_feresetround_noex): New.
28200         (libc_feresetround_noexf): New.
28201         (libc_feresetround_noexl): New.
28202         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28203         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28204         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28205         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28206         SET_RESTORE_ROUND.
28207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28209         (__cos): Likewise.
28210         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28212         SET_RESTORE_ROUND_NOEX.
28213         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28214         SET_RESTORE_ROUND_NOEXF.
28215         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28216         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28217         (libc_feholdsetroundf): New.
28218         (libc_feresetround, libc_feresetroundf): New.
28220         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28221         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28222         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28224         * sysdeps/generic/math_private.h: Include <fenv.h>.
28225         (default_libc_feholdexcept): New.
28226         (default_libc_feholdexcept_setround): New.
28227         (default_libc_fesetenv, default_libc_feupdateenv): New.
28228         (libc_feholdexcept): Only define if undefined.
28229         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28230         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28231         (libc_feholdexcept_setroundl): Likewise.
28232         (libc_feholdexcept_setround_53bit): Likewise.
28233         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28234         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28235         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28236         (libc_feupdateenv_53bit): Likewise.
28237         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28238         (libc_feholdexcept): Convert from macro to inline function.
28239         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28240         (libc_fesetenv, libc_feupdateenv): Likewise.
28242         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28243         not previously defined.
28244         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28245         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28246         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28247         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28248         * sysdeps/ieee754/flt-32/math_private.h: New file.
28249         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28250         math_private.h below SET_FLOAT_WORD.
28251         (__isnan, __isinf_ns, __finite): Remove.
28252         (__isnanf, __isinf_nsf, __finitef): Remove.
28254 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28258 2012-03-17  David S. Miller  <davem@davemloft.net>
28260         [BZ #6471]
28261         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28262         for 2.16.
28264 2012-03-16  David S. Miller  <davem@davemloft.net>
28266         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28267         warnings.
28269         [BZ #6471]
28270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28271         properly.
28272         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28273         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28274         sysdep_routines when subdir is sysvipc.
28275         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28276         __getshmlba helper.
28278         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28280 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28282         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28283         [__LP64__].
28285 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28288         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28289         (__lround): Renamed to ...
28290         (__llround): This.  Replace long int with long long int.
28291         Define lround functions as aliases of llround functions.
28292         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28294 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28296         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28297         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28298         adresses to uintptr_t.  Replace "long int" and "unsigned long
28299         int" with "greg_t" on va_arg.
28301 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28303         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28304         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28306         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28307         Move e_machine check before EI_CLASS check.  Handle x32
28308         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28309         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28310         SKIP_EM_IA_64 and include
28311         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28313         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28314         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28315         (add_system_dir): New macro.
28317         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28318         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28320 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28322         [BZ #2551]
28323         [BZ #2552]
28324         [BZ #2553]
28325         [BZ #2554]
28326         [BZ #2562]
28327         [BZ #2563]
28328         [BZ #2565]
28329         [BZ #2566]
28330         [BZ #2576]
28331         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28332         (y0): Likewise.
28333         * math/w_j0f.c (j0f): Likewise.
28334         (y0f): Likewise.
28335         * math/w_j0l.c (__j0l): Likewise.
28336         (__y0l): Likewise.
28337         * math/w_j1.c (j1): Likewise.
28338         (y1): Likewise.
28339         * math/w_j1f.c (j1f): Likewise.
28340         (y1f): Likewise.
28341         * math/w_j1l.c (__j1l): Likewise.
28342         (__y1l): Likewise.
28343         * math/w_jn.c (jn): Likewise.
28344         (yn): Likewise.
28345         * math/w_jnf.c (jnf): Likewise.
28346         (ynf): Likewise.
28347         * math/w_jnl.c (__jnl): Likewise.
28348         (__ynl): Likewise.
28349         * math/libm-test.inc (j0_test): Add more tests.
28350         (j1_test): Likewise.
28351         (jn_test): Likewise.  Add trailing semicolon to existing test.
28352         (y0_test): Likewise.
28353         (y1_test): Likewise.
28354         * sysdeps/i386/fpu/libm-test-ulps: Update.
28355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28357         [BZ #13851]
28358         [BZ #13854]
28359         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28360         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28361         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28362         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28363         (__tanl): Set errno for infinite argument.
28364         * sysdeps/i386/fpu/mptan.c: Remove.
28365         * sysdeps/i386/fpu/s_tan.S: Likewise.
28366         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28367         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28368         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28369         * math/libm-test.inc (tan_test): Add more tests and enable more
28370         tests for double and long double.
28371         * sysdeps/i386/fpu/libm-test-ulps: Update.
28372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28374 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28376         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28377         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28379 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28381         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28382         * configure.in: Use it for both main tree and add-ons.
28383         * configure: Regenerated.
28385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28387         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28389 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28391         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28392         in comment.
28394         [BZ #13851]
28395         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28396         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28397         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28398         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28399         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28400         infinite argument.
28401         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28403         != 0 for prec == 2.
28404         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28405         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28406         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28407         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28408         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28409         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28410         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28411         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28412         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28413         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28414         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28415         * math/libm-test.inc (cos_test): Add more tests and enable more
28416         tests for long double.
28417         (sin_test): Likewise.
28418         (sincos_test): Likewise.
28419         * sysdeps/i386/fpu/libm-test-ulps: Update.
28420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28422 2012-03-16  David S. Miller  <davem@davemloft.net>
28424         * sysdeps/sparc/fpu/math_private.h: New file.
28426 2012-03-15  David S. Miller  <davem@davemloft.net>
28428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28429         file.
28430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28432         file.
28433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28439         sysdep routines.
28440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28442         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28443         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28445         * sysdeps/sparc/sparc-ifunc.h: New file.
28446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28447         sparc-ifunc.h
28448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28450         Likewise.
28451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28452         Likewise.
28453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28457         Likewise.
28458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28463         Likewise.
28464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28465         Likewise.
28466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28473         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28485         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28487         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28489         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28491 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28493         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28494         scaling.
28495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28497 2012-03-15  Andreas Jaeger  <aj@suse.de>
28499         [BZ #13852]
28500         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28501         ieee754/flt-32 implementation for sin, cos and sincos.
28502         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28503         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28504         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28505         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28506         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28507         ieee754/flt-32 implementation for tan.
28509         * math/libm-test.inc (cos_test): Enable some large input tests for
28510         float as well
28511         (sin_test): Likewise.
28512         (sincos_test): Likewise.
28513         (tan_test): Add tests for large input.
28515         * sysdeps/i386/fpu/libm-test-ulps: Update.
28517 2012-03-15  Andreas Jaeger  <aj@suse.de>
28519         [BZ #13658]
28520         * math/libm-test.inc (cos_test): Add more test cases.
28521         (sin_test): Likewise.
28522         (sincos_test): Likewise.
28524 2012-03-15  Andreas Jaeger  <aj@suse.de>
28526         [BZ #13837]
28527         * math/libm-test.inc (cos_test): Add a test case for large input
28528         value.
28529         (sin_test): Likewise.
28530         (sincos_test): Likewise.
28532 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28533         Joseph Myers  <joseph@codesourcery.com>
28535         [BZ #13658]
28536         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28537         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28538         * sysdeps/i386/fpu/branred.c: Likewise.
28539         * sysdeps/i386/fpu/dosincos.c: Likewise.
28540         * sysdeps/i386/fpu/mpa.c: Likewise.
28541         * sysdeps/i386/fpu/s_cos.S: Likewise.
28542         * sysdeps/i386/fpu/s_sin.S: Likewise.
28543         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28544         * sysdeps/i386/fpu/sincos32.c: Likewise.
28546         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28547         Define.
28548         (libc_feupdateenv_53bit): Define.
28549         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28550         Define.
28551         (libc_feupdateenv_53bit): Define.
28553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28554         53 bit (without extend i386 double precision).
28556         * math/libm-test.inc (sincos_test): Add tests for large input.
28557         (sin): Likewise.
28558         (cos): Likewise.
28560         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28562 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28566 2012-03-15  David S. Miller  <davem@davemloft.net>
28568         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28569         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28570         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28571         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28584         file.
28585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28587         file.
28588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28590         file.
28591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28593         file.
28594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28596         fmin/fmax sysdep routines.
28597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28599 2012-03-14  David S. Miller  <davem@davemloft.net>
28601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28608         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28621         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28622         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28624         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28626         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28628         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28629         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28630         routines.
28631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28632         file.
28633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28635         file.
28636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28638         file.
28639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28641         file.
28642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28644         file.
28645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28647         file.
28648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28649         file.
28650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28651         file.
28652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28653         file.
28654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28655         New file.
28656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28657         file.
28658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28659         file.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28662         file.
28663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28665         file.
28666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28668         file.
28669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28671         VIS3 routines.
28673         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28674         New file.
28676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28678         * sysdeps/sparc/configure.in: New file.
28679         * sysdeps/sparc/configure: Generate.
28680         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28681         * configure: Regenerate.
28682         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28683         * config.make.in (have-as-vis3): New.
28684         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28685         available use -Av9d instead of -Av9a.
28686         * sysdeps/sparc/sparc64/Makefile: Likewise.
28687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28689         New file.
28690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28691         file.
28692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28693         New file.
28694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28695         file.
28696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28698         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28700         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28702         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28703         fzeros/fnegs to load 0x80000000 into a float register instead of
28704         using the stack.
28705         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28707 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28710         bits/syscall.h.
28711         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28712         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28713         ($(inst_includedir)/bits/syscall.h): Remove rule.
28714         ($(objpfx)bits/syscall.d): Include instead of
28715         $(objpfx)syscall-list.d.
28716         (generated): Change syscall-list.h and syscall-list.d to
28717         bits/syscall.h and bits/syscall.d.
28719 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28721         [BZ #13846]
28722         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28724 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28726         [BZ #13841]
28727         * math/s_csqrt.c: Include <float.h>.
28728         (__csqrt): Scale large or subnormal inputs.
28729         * math/s_csqrtf.c: Likewise.
28730         * math/s_csqrtl.c: Likewise.
28731         * math/libm-test.inc (csqrt_test): Add more tests.
28732         * sysdeps/i386/fpu/libm-test-ulps: Update.
28733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28735         [BZ #13840]
28736         * math/libm-test.inc (hypot_test): Add more tests.
28738 2012-03-13  David S. Miller  <davem@davemloft.net>
28740         [BZ #13840]
28741         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28742         double-precision for the calculation instead of scaling.
28744 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28746         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28747         manipulate bits before adding and subtracting TWO52[sx].
28748         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28749         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28750         Likewise.
28751         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28753 2012-03-13  David S. Miller  <davem@davemloft.net>
28755         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28756         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28758         rtld-global-offsets.h
28759         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28761         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28762         large parameters.
28764         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28766         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28767         'err' in the ifdef scope in which it is actually used.
28769         * nss/nss_db/db-init.c: Include string.h
28771 2012-03-12  David S. Miller  <davem@davemloft.net>
28773         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28774         masking out of the most significant byte of random value used.
28775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28776         Fix coding style in previous change.
28778         * sysdeps/unix/sysv/linux/kernel-features.h
28779         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28780         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28781         expression.
28782         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28783         later.
28785 2012-03-11  David S. Miller  <davem@davemloft.net>
28787         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28788         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28789         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28790         for 'resultvar' otherwise things get truncated on 64-bit.
28792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28793         Fix masking out of the most significant byte of random value used.
28795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28797 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28801 2012-03-09  David S. Miller  <davem@davemloft.net>
28803         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28804         variables with appropriate CPP guards.
28805         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28806         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28807         on resulting framesize and the management of the outregs buffer for pltexit.
28808         Preserve floating point return values across _dl_call_pltexit call.
28809         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28810         framesize and the management of the outregs buffer for pltexit.
28811         Preserve floating point return values across _dl_call_pltexit
28812         call.
28813         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28814         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28815         (print_exit): Fix format string for return register value.
28817 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28819         * sunrpc/Makefile (others): Add rpcgen.
28820         ($(objpfx)rpcgen): Remove special build rule and dependency on
28821         libc.
28822         * sunrpc/rpcgen.c: New file.
28824 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28826         [BZ #13673]
28827         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28828         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28829         * sysdeps/i386/crti.S: Likewise.
28830         * sysdeps/i386/crtn.S: Likewise.
28831         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28832         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28833         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28834         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28835         * sysdeps/sh/crti.S: Likewise.
28836         * sysdeps/sh/crtn.S: Likewise.
28837         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28839         [BZ #13673]
28840         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28841         with URL.
28842         * locale/programs/locfile-kw.gperf: Likewise.
28843         * locale/programs/charmap-kw.h: Regenerated.
28844         * locale/programs/locfile-kw.h: Likewise.
28846         [BZ #13673]
28847         * intl/plural.y: Replace FSF snail mail address with URL.
28848         * intl/plural.c: Regenerated.
28850 2012-03-09  Richard Henderson  <rth@twiddle.net>
28852         * include/math_private.h: Remove file.
28853         * math/math_private.h: Move file ...
28854         * sysdeps/generic/math_private.h: ... here.
28856         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28857         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28858         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28860         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28861         and <math_private.h>.
28862         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28863         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28864         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28865         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28866         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28867         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28868         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28869         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28870         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28871         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28873         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28874         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28876         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28877         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28878         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28879         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28880         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28881         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28883         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28884         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28885         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28886         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28887         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28888         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28889         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28892         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28893         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28894         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28895         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28896         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28897         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28898         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28899         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28900         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28901         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28902         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28903         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28904         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28905         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28906         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28907         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28908         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28909         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28910         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28911         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28912         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28913         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28914         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28915         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28916         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28917         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28919         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28920         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28921         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28922         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28923         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28924         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28925         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28926         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28927         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28928         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28929         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28930         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28931         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28932         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28933         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28934         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28936         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28941         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28942         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28943         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28944         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28945         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28946         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28949         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28950         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28951         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28952         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28953         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28954         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28955         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28956         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28957         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28958         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28959         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28960         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28962         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28963         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28964         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28965         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28966         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28967         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28968         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28969         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28970         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28972         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28973         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28974         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28975         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28976         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28977         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28978         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28979         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28980         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28981         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28982         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28983         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28984         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28985         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28986         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28987         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28988         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28989         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28990         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28991         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28992         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28993         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28994         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28995         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28996         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28997         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28998         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28999         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29000         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29001         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29002         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29003         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29004         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29005         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29006         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29007         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29008         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29009         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29010         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29011         * sysdeps/ieee754/k_standard.c: Likewise.
29012         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29013         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29015         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29016         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29018         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29019         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29020         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29021         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29023         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29024         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29025         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29026         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29027         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29028         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29035         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29036         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29037         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29039         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29040         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29042         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29043         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29044         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29045         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29046         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29047         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29048         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29049         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29050         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29051         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29052         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29053         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29054         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29056         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29057         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29058         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29059         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29061         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29062         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29063         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29064         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29065         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29068         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29069         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29070         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29071         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29072         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29073         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29074         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29076         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29078         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29082         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29084         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29086         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29087         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29088         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29089         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29090         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29091         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29092         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29093         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29094         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29098         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29099         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29100         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29101         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29102         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29103         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29104         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29105         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29107         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29108         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29109         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29110         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29111         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29112         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29113         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29114         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29115         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29116         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29117         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29118         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29119         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29121         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29122         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29123         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29124         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29125         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29126         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29127         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29128         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29129         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29130         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29131         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29132         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29133         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29134         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29135         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29137         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29139         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29140         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29141         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29145         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29146         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29147         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29148         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29149         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29150         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29151         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29152         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29153         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29154         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29155         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29156         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29157         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29158         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29161         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29162         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29163         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29164         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29166         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29167         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29168         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29169         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29170         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29171         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29172         * sysdeps/ieee754/s_lib_version.c: Likewise.
29173         * sysdeps/ieee754/s_matherr.c: Likewise.
29174         * sysdeps/ieee754/s_signgam.c: Likewise.
29175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29177         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29178         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29179         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29180         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29181         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29182         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29183         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29184         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29185         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29186         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29187         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29188         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29189         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29190         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29192         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29197 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29199         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29200         * sunrpc/rpc_main.c: Likewise.
29201         * sunrpc/rpc_svcout.c: Likewise.
29203 2012-03-09  David S. Miller  <davem@davemloft.net>
29205         * include/math_private.h: New file.
29207 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29209         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29210         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29211         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29212         from <bits/socket_type.h>.
29213         (enum __socket_type): Don't define here.
29214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29216         bits/socket_type.h.
29218         [BZ #13566]
29219         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29220         checking __USE_GNU.
29222         * Makerules ($(inst_includedir)/%.h): New rule.
29223         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29224         (install-others): Remove variable setting.
29225         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29227 2012-03-08  Richard Henderson  <rth@twiddle.net>
29229         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29230         from macro to inline function; merge with the
29231         !__LIBC_INTERNAL_MATH_INLINES version.
29232         (__ieee754_sqrtf): Likewise.
29234         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29235         to inline function.
29236         (__rintf, __floor, __floorf): Likewise.
29238         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29239         macro to inline function.
29240         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29242         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29243         not <math/math_private.h>.
29245 2012-03-08  David S. Miller  <davem@davemloft.net>
29247         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29248         copyright year.
29249         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29251 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29253         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29254         normalization.
29255         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29256         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29258 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29260         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29261         be defined individually, they must be defined as a block.  Define
29262         S for printing a string instead of hidint the different by using a
29263         macro for adding the 'l'.
29264         * stdio-common/tst-fphex-wide.c: Adjust.
29266 2012-03-07  Marek Polacek  <polacek@redhat.com>
29268         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29270 2012-03-08  Marek Polacek  <polacek@redhat.com>
29272         [BZ #13806]
29273         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29274         * stdio-common/tst-fphex.c: Define a few macros to make the
29275         test reusable.  Use them.
29276         * stdio-common/tst-fphex-wide.c: New file.
29278 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #6911]
29281         * manual/macros.texi (gnusystems): New macro.
29282         (nongnusystems): Likewise.
29283         (gnulinuxhurdsystems): Likewise.
29284         (gnuhurdsystems): Likewise..
29285         (gnulinuxsystems): Likewise.
29286         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29287         variants of the GNU system, not "GNU system".
29288         * manual/conf.texi: Likewise.
29289         * manual/errno.texi: Likewise.  Update example of errno macro
29290         expansion.
29291         * manual/filesys.texi: Likewise.
29292         (getumask): Document as specific to GNU/Hurd.
29293         * manual/install.texi: Likewise.  Reword some references to
29294         GNU/Linux.
29295         * manual/intro.texi: Likewise.
29296         * manual/io.texi: Likewise.
29297         (File Name Portability): Detail which constraints are inapplicable
29298         to all GNU systems and which are only inapplicable to GNU/Hurd.
29299         * manual/job.texi: Likewise.
29300         * manual/llio.texi: Likewise.
29301         (O_NOCTTY): Document as present on GNU/Linux.
29302         * manual/maint.texi: Likewise.
29303         * manual/memory.texi: Likewise.
29304         * manual/pattern.texi: Likewise.
29305         * manual/pipe.texi: Likewise.
29306         * manual/process.texi: Likewise.
29307         * manual/resource.texi: Likewise.
29308         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29309         child on GNU/Hurd.
29310         * manual/setjmp.texi: Likewise.
29311         * manual/signal.texi: Likewise.
29312         * manual/startup.texi: Likewise.
29313         * manual/stdio.texi: Likewise.
29314         * manual/terminal.texi: Likewise.
29315         (ONLCR): Document as POSIX.
29316         (OXTABS): Document availability on GNU/Linux as XTABS.
29317         (ONOEOT): Document availability separately from other bits.
29318         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29319         * manual/time.texi: Likewise.
29320         * manual/users.texi: Likewise.
29321         * INSTALL: Regenerated.
29322         * sysdeps/gnu/errlist.c: Regenerated.
29324         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29325         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29326         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29327         puts.
29328         * configure: Regenerated.
29330 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29332         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29333         default includes instead of AC_HEADER_CHECK.
29334         * sysdeps/i386/configure: Regenerated.
29336         [BZ #10716]
29337         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29338         * math/s_cacoshf.c (__cacoshf): Likewise.
29339         * math/s_cacoshl.c (__cacoshl): Likewise.
29340         * math/s_casinh.c (__casinh): Set signs of result from argument.
29341         * math/s_casinhf.c (__casinhf): Likewise.
29342         * math/s_casinhl.c (__casinhl): Likewise.
29343         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29344         (casinh_test): Add more tests.
29345         * sysdeps/i386/fpu/libm-test-ulps: Update.
29346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29348 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29350         * po/zh_TW.po: Update from translation team.
29352         * login/Makefile (distribute): Remove variable.
29353         * catgets/Makefile: Likewise.
29354         * mach/Makefile: Likewise.
29355         * malloc/Makefile: Likewise.
29356         * misc/Makefile: Likewise.
29357         * iconv/Makefile: Likewise.
29358         * nscd/Makefile: Likewise.
29359         * hurd/Makefile: Likewise.
29360         * manual/Makefile: Likewise.
29361         * locale/Makefile: Likewise.
29362         * intl/Makefile: Likewise.
29363         * conform/Makefile: Likewise.
29364         * nss/Makefile: Likewise.
29365         * time/Makefile: Likewise.
29366         * soft-fp/Makefile: Likewise.
29367         * dirent/Makefile: Likewise.
29368         * gmon/Makefile: Likewise.
29369         * po/Makefile: Likewise.
29370         * rt/Makefile: Likewise.
29371         * socket/Makefile: Likewise.
29372         * math/Makefile: Likewise.
29373         * signal/Makefile: Likewise.
29374         * debug/Makefile: Likewise.
29375         * elf/Makefile: Likewise.
29376         * timezone/Makefile: Likewise.
29377         * stdlib/Makefile: Likewise.
29378         * iconvdata/Makefile: Likewise.
29379         * sunrpc/Makefile: Likewise.
29380         * io/Makefile: Likewise.
29381         * argp/Makefile: Likewise.
29382         * inet/Makefile: Likewise.
29383         * hesiod/Makefile: Likewise.
29384         * grp/Makefile: Likewise.
29385         * csu/Makefile: Likewise.
29386         * wctype/Makefile: Likewise.
29387         * crypt/Makefile: Likewise.
29388         * libio/Makefile: Likewise.
29389         * string/Makefile: Likewise.
29390         * nis/Makefile: Likewise.
29391         * resolv/Makefile: Likewise.
29392         * stdio-common/Makefile: Likewise.
29393         * wcsmbs/Makefile: Likewise.
29394         * dlfcn/Makefile: Likewise.
29395         * posix/Makefile: Likewise.
29397         [BZ #6959]
29398         * timezone/Makefile: Don't install timezone files, just the programs
29399         and scripts.
29401 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29403         * nss/databases.def: Add missing gshadow entry.
29405         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29407 2012-03-06  Marek Polacek  <polacek@redhat.com>
29409         [BZ #13726]
29410         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29411         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29412         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29413         * stdio-common/tst-long-dbl-fphex.c: New file.
29415 2012-03-06  David S. Miller  <davem@davemloft.net>
29417         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29418         (set_obp_int): New function.
29419         (get_obp_int): New function.
29420         (__get_clockfreq_via_dev_openprom): Likewise.
29421         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29422         Avoid unused variable warnings on 'val' and use builtin_expect.
29423         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29424         __builtin_expect.
29425         (INLINE_CLONE_SYSCALL): Likewise.
29427 2012-03-05  David S. Miller  <davem@davemloft.net>
29429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29431 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29435         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29436         only for |x| >= 40.
29437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29439 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29442         Replace gettimeofday with __vdso_gettimeofday.
29444         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29445         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29446         __vdso_clock_gettime and __vdso_getcpu.
29448         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29449         time with __vdso_time.
29451 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29453         * manual/lang.texi (size_t): Note types to which size_t may be
29454         equivalent with the GNU C Library, but do not describe when
29455         differences between them are significant.
29457 2012-03-05  Andreas Jaeger  <aj@suse.de>
29459         * sysdeps/i386/fpu/libm-test-ulps: Update.
29461 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29463         [BZ #3976]
29464         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29465         (__ieee754_pow): Save and restore rounding mode and use
29466         round-to-nearest for main computations.
29467         * math/libm-test.inc (pow_test_tonearest): New function.
29468         (pow_test_towardzero): Likewise.
29469         (pow_test_downward): Likewise.
29470         (pow_test_upward): Likewise.
29471         (main): Call the new functions.
29472         * sysdeps/i386/fpu/libm-test-ulps: Update.
29473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29475         [BZ #3976]
29476         * math/libm-test.inc (cosh_test_tonearest): New function.
29477         (cosh_test_towardzero): Likewise.
29478         (cosh_test_downward): Likewise.
29479         (cosh_test_upward): Likewise.
29480         (sinh_test_tonearest): Likewise.
29481         (sinh_test_towardzero): Likewise.
29482         (sinh_test_downward): Likewise.
29483         (sinh_test_upward): Likewise.
29484         (main): Call the new functions.
29485         * sysdeps/i386/fpu/libm-test-ulps: Update.
29486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29488 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29490         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29491         default stack guard is set in last bytes.
29492         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29494 2012-03-05  Kees Cook  <keescook@chromium.org>
29496         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29498         [BZ #13656]
29499         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29500         possibly allocate from heap instead of stack.
29501         * stdio-common/bug-vfprintf-nargs.c: New file.
29502         * stdio-common/Makefile (tests): Add nargs overflow test.
29504 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29508 2012-03-03  Marek Polacek  <polacek@redhat.com>
29510         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29511         * math/math_private.h: Likewise.
29512         * stdlib/tst-strtod.c: Likewise.
29513         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29514         * sysdeps/x86_64/bits/atomic.h: Likewise.
29516 2012-03-02  David S. Miller  <davem@davemloft.net>
29518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29522         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29523         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29524         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29525         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29527 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29529         [BZ #13792]
29530         * manual/examples/README: New file, says the example source files
29531         can be used under GPL>=2.
29532         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29533         line containing just "*/".
29534         * manual/examples/add.c: Add copyright header (GPL>=2).
29535         * manual/examples/argp-ex1.c: Likewise.
29536         * manual/examples/argp-ex2.c: Likewise.
29537         * manual/examples/argp-ex3.c: Likewise.
29538         * manual/examples/argp-ex4.c: Likewise.
29539         * manual/examples/atexit.c: Likewise.
29540         * manual/examples/db.c: Likewise.
29541         * manual/examples/dir.c: Likewise.
29542         * manual/examples/dir2.c: Likewise.
29543         * manual/examples/execinfo.c: Likewise.
29544         * manual/examples/filecli.c: Likewise.
29545         * manual/examples/filesrv.c: Likewise.
29546         * manual/examples/fmtmsgexpl.c: Likewise.
29547         * manual/examples/genpass.c: Likewise.
29548         * manual/examples/inetcli.c: Likewise.
29549         * manual/examples/inetsrv.c: Likewise.
29550         * manual/examples/isockad.c: Likewise.
29551         * manual/examples/longopt.c: Likewise.
29552         * manual/examples/memopen.c: Likewise.
29553         * manual/examples/memstrm.c: Likewise.
29554         * manual/examples/mkfsock.c: Likewise.
29555         * manual/examples/mkisock.c: Likewise.
29556         * manual/examples/mygetpass.c: Likewise.
29557         * manual/examples/pipe.c: Likewise.
29558         * manual/examples/popen.c: Likewise.
29559         * manual/examples/rprintf.c: Likewise.
29560         * manual/examples/search.c: Likewise.
29561         * manual/examples/select.c: Likewise.
29562         * manual/examples/setjmp.c: Likewise.
29563         * manual/examples/sigh1.c: Likewise.
29564         * manual/examples/sigusr.c: Likewise.
29565         * manual/examples/stpcpy.c: Likewise.
29566         * manual/examples/strdupa.c: Likewise.
29567         * manual/examples/strftim.c: Likewise.
29568         * manual/examples/strncat.c: Likewise.
29569         * manual/examples/subopt.c: Likewise.
29570         * manual/examples/swapcontext.c: Likewise.
29571         * manual/examples/termios.c: Likewise.
29572         * manual/examples/testopt.c: Likewise.
29573         * manual/examples/testpass.c: Likewise.
29574         * manual/examples/timeval_subtract.c: Likewise.
29576         [BZ #13792]
29577         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29578         function to ...
29579         * manual/timeval_subtract.c.texi: ... here, new file.
29581 2012-03-02  David S. Miller  <davem@davemloft.net>
29583         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29585 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29587         [BZ #3976]
29588         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29589         (__sin): Save and restore rounding mode and use round-to-nearest
29590         for all computations.
29591         (__cos): Save and restore rounding mode and use round-to-nearest
29592         for all computations.
29593         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29594         <fenv.h>.
29595         (tan): Save and restore rounding mode and use round-to-nearest for
29596         all computations.
29597         * math/libm-test.inc (cos_test_tonearest): New function.
29598         (cos_test_towardzero): Likewise.
29599         (cos_test_downward): Likewise.
29600         (cos_test_upward): Likewise.
29601         (sin_test_tonearest): Likewise.
29602         (sin_test_towardzero): Likewise.
29603         (sin_test_downward): Likewise.
29604         (sin_test_upward): Likewise.
29605         (tan_test_tonearest): Likewise.
29606         (tan_test_towardzero): Likewise.
29607         (tan_test_downward): Likewise.
29608         (tan_test_upward): Likewise.
29609         (main): Call the new functions.
29610         * sysdeps/i386/fpu/libm-test-ulps: Update.
29611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29613         [BZ #10135]
29614         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29615         small n, then large n, before computing and testing k+n.
29616         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29618         Likewise.
29619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29620         Likewise.
29621         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29622         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29626         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29627         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29628         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29629         * math/libm-test.inc (scalbn_test): Add more tests.
29630         (scalbln_test): Likewise.
29632         * manual/filesys.texi (mode_t): Describe constraints on size and
29633         signedness, not exact equivalence to a particular type.
29634         (ino_t): Likewise.
29635         (ino64_t): Likewise.
29636         (dev_t): Likewise.
29637         (nlink_t): Likewise.
29638         (blkcnt_t): Likewise.
29639         (blkcnt64_t): Likewise.
29640         * manual/llio.texi (off_t): Likewise.
29642         [BZ #3976]
29643         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29644         (__ieee754_exp): Save and restore rounding mode and use
29645         round-to-nearest for all computations.
29646         * math/libm-test.inc (exp_test_tonearest): New function.
29647         (exp_test_towardzero): Likewise.
29648         (exp_test_downward): Likewise.
29649         (exp_test_upward): Likewise.
29650         (main): Call the new functions.
29651         * sysdeps/i386/fpu/libm-test-ulps: Update.
29652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29654 2012-03-01  Chris Demetriou  <cgd@google.com>
29656         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29657         have predictable order.
29659 2012-03-01  David S. Miller  <davem@davemloft.net>
29661         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29663         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29664         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29665         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29666         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29668         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29669         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29670         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29672         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29673         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29674         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29675         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29676         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29680         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29681         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29682         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29684         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29685         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29686         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29687         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29688         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29691         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29692         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29693         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29694         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29695         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29697         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29698         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29700         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29701         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29702         * sysdeps/sparc/elf/configure: Regenerated.
29704 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29706         * configure.in (AS, LD): Require binutils 2.20 or later.
29707         * configure: Regenerated.
29708         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29709         as required minimum version.
29710         * INSTALL: Regenerated.
29712         [BZ #2541]
29713         [BZ #4108]
29714         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29715         before squaring exponent.
29716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29717         bottom long double and 27 bits of top long double before squaring
29718         exponent.
29719         * math/libm-test.inc (erfc_test): Add more tests.
29720         * sysdeps/i386/fpu/libm-test-ulps: Update.
29721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29724 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29726         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29727         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29728         containing bit-fields.
29729         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29730         * soft-fp/single.h (_FP_UNION_S): Likewise.
29731         * soft-fp/double.h (_FP_UNION_D): Likewise.
29733 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29735         [BZ #13786]
29736         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29737         not include ../strcmp.S.
29738         [USE_AS_STRNCASECMP_L]: Likewise.
29739         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29740         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29741         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29742         (__strncasecmp_l_ia32): Define as alias to
29743         __strncasecmp_l_nonascii.
29745         [BZ #5794]
29746         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29747         * sysdeps/i386/fpu/libm-test-ulps: Update.
29748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29750         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29753 2012-02-29  Jeff Law  <law@redhat.com>
29755         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29756         out of bounds read.
29758 2012-02-29  Marek Polacek  <polacek@redhat.com>
29760         [BZ #13706]
29761         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29762         * elf/Makefile: Add rules to run tst-unused-dep.out.
29764 2012-02-28  David S. Miller  <davem@davemloft.net>
29766         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29767         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29768         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29770         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29771         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29773 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29775         * math/libm-test.inc (llround_test): Move one test from
29776         lround_test.  Use TEST_f_L in moved test.
29777         (lround_test): Move misplaced test to llround_test.  Add testcase
29778         from bug 2561.
29780 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29782         * sysdeps/x86_64/fpu/e_expf.S: New file.
29783         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29785 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29787         [BZ #13637]
29788         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29789         of remain_len that may cause incomplete multi-byte character and
29790         false match.
29791         * posix/bug-regex33.c: New file.
29792         * posix/Makefile (tests): Add bug-regex33.
29794 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29796         * manual/macros.texi: New file.
29797         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29798         * manual/libc.texinfo: Include macros.texi.
29799         * manual/creatute.texi: Likewise.
29800         * manual/install.texi: Likewise.
29801         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29802         @glibcadj{} in references to the GNU C Library.
29803         * manual/charset.texi: Likewise.
29804         * manual/conf.texi: Likewise.
29805         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29806         when not using those macros.
29807         * manual/creature.texi: Likewise.
29808         * manual/crypt.texi: Likewise.
29809         * manual/errno.texi: Likewise.
29810         * manual/filesys.texi: Likewise.
29811         * manual/header.texi: Likewise.
29812         * manual/install.texi: Likewise.
29813         * manual/intro.texi: Likewise.
29814         * manual/io.texi: Likewise.
29815         * manual/job.texi: Likewise.
29816         * manual/lang.texi: Likewise.
29817         * manual/libc.texiinfo: Likewise.
29818         * manual/llio.texi: Likewise.
29819         * manual/locale.texi: Likewise.
29820         * manual/maint.texi: Likewise.
29821         * manual/math.texi: Likewise.
29822         * manual/memory.texi: Likewise.
29823         * manual/message.texi: Likewise.
29824         * manual/nss.texi: Likewise.
29825         * manual/pattern.texi: Likewise.
29826         * manual/process.texi: Likewise.
29827         * manual/resource.texi: Likewise.
29828         * manual/search.texi: Likewise.
29829         * manual/setjmp.texi: Likewise.
29830         * manual/signal.texi: Likewise.
29831         * manual/socket.texi: Likewise.
29832         * manual/startup.texi: Likewise.
29833         * manual/stdio.texi: Likewise.
29834         * manual/string.texi: Likewise.
29835         * manual/sysinfo.texi: Likewise.
29836         * manual/syslog.texi: Likewise.
29837         * manual/terminal.texi: Likewise.
29838         * manual/time.texi: Likewise.
29839         * manual/users.texi: Likewise.
29840         * INSTALL: Regenerated.
29841         * NOTES: Regenerated.
29842         * sysdeps/gnu/errlist.c: Regenerated.
29844 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29846         * include/dirent.h: Include <dirstream.h> before
29847         <dirent/dirent.h>.
29849 2012-02-28  David S. Miller  <davem@davemloft.net>
29851         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29852         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29853         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29854         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29856 2012-02-27  David S. Miller  <davem@davemloft.net>
29858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29860         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29861         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29864         frame pointer instead of stack pointer relative arg slot.
29865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29866         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29867         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29869 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29871         [BZ #3992]
29872         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29874 2012-02-27  David S. Miller  <davem@davemloft.net>
29876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29880         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29881         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29882         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29883         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29885 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29887         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29888         later.  Allow versions 5-9.
29889         * configure: Regenerated.
29890         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29891         required minimum version and 4.6 as recommended version.  Do not
29892         mention bugs in GCC 2.7 and 2.8.
29893         * INSTALL: Regenerated.
29895 2012-02-27  David S. Miller  <davem@davemloft.net>
29897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29901         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29902         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29903         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29904         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29906         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29907         manipulate bits before adding and subtracting TWO112[sx].
29908         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29910 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29912         [BZ #13775]
29913         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29914         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29915         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29916         being in POSIX, because they are in 1003.1-2008.
29918         * rt/tst-aio.c: Include <fcntl.h>.
29919         * rt/tst-aio7.c: Likewise.
29920         * rt/tst-aio64.c: Likewise.
29922         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29924 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29926         * manual/install.texi (--with-headers): Describe headers as
29927         interface headers, not private headers.
29928         (Specific advice for GNU/Linux systems): Describe use of headers
29929         from "make headers_install", not private headers from older
29930         kernels.
29931         * INSTALL: Regenerated.
29932         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29933         Change to 2.6.19.
29934         * sysdeps/unix/sysv/linux/configure: Regenerated.
29936         * manual/llio.texi (fclean): Remove documentation.
29938         * manual/Makefile (libc-texi-generated): New variable.  Include
29939         version.texi.
29940         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29941         $(libc-texi-generated), not duplicated list of files.
29942         (version.texi, stamp-version): New rules.
29943         (realclean): Remove $(libc-texi-generated), not individual files
29944         from that list.  Do not remove dir-add.texinfo.
29945         * manual/libc.texinfo: Comment out uses of edition numbers and
29946         references to printed manual.  Remove last-updated dates.
29947         (EDITION): Comment out.
29948         (ISBN): Likewise.
29949         (VERSION, UPDATED): Remove.
29950         (version.texi): Include.
29952 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29954         * sysdeps/posix/spawni.c: Include <signal.h>.
29955         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29956         * sysdeps/pthread/aio_fsync.c: Likewise.
29958 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29960         * conform/Makefile (tests): Run only when not cross-compiling and
29961         when fast-check is not defined.
29963         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29964         * conform/data/limits.h-data: Fixes for POSIX2008.
29965         * conform/run-conformtest.sh: Run all tests.
29966         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29967         headers.
29968         * include/bits/dlfcn.h: Likewise.
29969         * include/langinfo.h: Likewise.
29970         * include/monetary.h: Likewise.
29971         * include/sys/poll.h: Likewise.
29973         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29974         for __USE_GNU.
29975         * posix/spawn.h: Define __need_sigset_t.
29976         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29977         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29978         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29979         to get sigevent_t only.
29980         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29981         only for __USE_GNU.
29982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29983         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29984         process_vm_writev only for __USE_GNU.
29985         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29987         * conform/Makefile: For now ignore errors from run-conformtest.
29988         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29989         POSIX to avoid namespace pollution.  Don't prepend headers.
29990         * conform/data/aio.h-data: Fixes for POSIX testing.
29991         * conform/data/fcntl.h-data: Likewise.
29992         * conform/data/glob.h-data: Likewise.
29993         * conform/data/grp.h-data: Likewise.
29994         * conform/data/pthread.h-data: Likewise.
29995         * conform/data/pwd.h-data: Likewise.
29996         * conform/data/signal.h-data: Likewise.
29997         * conform/data/spawn.h-data: Likewise.
29998         * conform/data/stdio.h-data: Likewise.
29999         * conform/data/stdlib.h-data: Likewise.
30000         * conform/data/stropts.h-data: Likewise.
30001         * conform/data/sys/mman.h-data: Likewise.
30002         * conform/data/sys/stat.h-data: Likewise.
30003         * conform/data/sys/types.h-data: Likewise.
30004         * conform/data/sys/wait.h-data: Likewise.
30005         * conform/data/time.h-data: Likewise.
30006         * conform/data/unistd.h-data: Likewise.
30007         * conform/data/utime.h-data: Likewise.
30009         * io/sys/stat.h: fchmod was always in POSIX.
30010         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30011         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30012         * rt/aio.h: Define __need_timespec before including <time.h>.
30013         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30014         struct.  Add forward declaration of pthread_attr_t and use it in
30015         sigevent.
30016         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30017         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30018         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30019         always remove CLK_TCK definition.
30021 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30023         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30025 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30027         * conform/run-conformtest.sh: New file.
30028         * conform/Makefile: Run run-conformtest for tests.
30029         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30030         support.
30032         * conform/data/uchar.h-data: New file.
30033         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30034         * conform/data/arpa/inet.h-data: Likewise.
30035         * conform/data/assert.h-data: Likewise.
30036         * conform/data/complex.h-data: Likewise.
30037         * conform/data/cpio.h-data: Likewise.
30038         * conform/data/ctype.h-data: Likewise.
30039         * conform/data/dirent.h-data: Likewise.
30040         * conform/data/dlfcn.h-data: Likewise.
30041         * conform/data/errno.h-data: Likewise.
30042         * conform/data/fcntl.h-data: Likewise.
30043         * conform/data/float.h-data: Likewise.
30044         * conform/data/fmtmsg.h-data: Likewise.
30045         * conform/data/fnmatch.h-data: Likewise.
30046         * conform/data/ftw.h-data: Likewise.
30047         * conform/data/glob.h-data: Likewise.
30048         * conform/data/grp.h-data: Likewise.
30049         * conform/data/iconv.h-data: Likewise.
30050         * conform/data/inttypes.h-data: Likewise.
30051         * conform/data/langinfo.h-data: Likewise.
30052         * conform/data/libgen.h-data: Likewise.
30053         * conform/data/limits.h-data: Likewise.
30054         * conform/data/locale.h-data: Likewise.
30055         * conform/data/math.h-data: Likewise.
30056         * conform/data/monetary.h-data: Likewise.
30057         * conform/data/mqueue.h-data: Likewise.
30058         * conform/data/ndbm.h-data: Likewise.
30059         * conform/data/net/if.h-data: Likewise.
30060         * conform/data/netdb.h-data: Likewise.
30061         * conform/data/netinet/in.h-data: Likewise.
30062         * conform/data/nl_types.h-data: Likewise.
30063         * conform/data/poll.h-data: Likewise.
30064         * conform/data/pthread.h-data: Likewise.
30065         * conform/data/pwd.h-data: Likewise.
30066         * conform/data/regex.h-data: Likewise.
30067         * conform/data/sched.h-data: Likewise.
30068         * conform/data/search.h-data: Likewise.
30069         * conform/data/semaphore.h-data: Likewise.
30070         * conform/data/setjmp.h-data: Likewise.
30071         * conform/data/signal.h-data: Likewise.
30072         * conform/data/spawn.h-data: Likewise.
30073         * conform/data/stdarg.h-data: Likewise.
30074         * conform/data/stdio.h-data: Likewise.
30075         * conform/data/stdlib.h-data: Likewise.
30076         * conform/data/string.h-data: Likewise.
30077         * conform/data/strings.h-data: Likewise.
30078         * conform/data/stropts.h-data: Likewise.
30079         * conform/data/sys/ipc.h-data: Likewise.
30080         * conform/data/sys/mman.h-data: Likewise.
30081         * conform/data/sys/msg.h-data: Likewise.
30082         * conform/data/sys/resource.h-data: Likewise.
30083         * conform/data/sys/select.h-data: Likewise.
30084         * conform/data/sys/sem.h-data: Likewise.
30085         * conform/data/sys/shm.h-data: Likewise.
30086         * conform/data/sys/socket.h-data: Likewise.
30087         * conform/data/sys/stat.h-data: Likewise.
30088         * conform/data/sys/statvfs.h-data: Likewise.
30089         * conform/data/sys/time.h-data: Likewise.
30090         * conform/data/sys/timeb.h-data: Likewise.
30091         * conform/data/sys/times.h-data: Likewise.
30092         * conform/data/sys/types.h-data: Likewise.
30093         * conform/data/sys/uio.h-data: Likewise.
30094         * conform/data/sys/un.h-data: Likewise.
30095         * conform/data/sys/utsname.h-data: Likewise.
30096         * conform/data/sys/wait.h-data: Likewise.
30097         * conform/data/syslog.h-data: Likewise.
30098         * conform/data/tar.h-data: Likewise.
30099         * conform/data/termios.h-data: Likewise.
30100         * conform/data/utime.h-data: Likewise.
30101         * conform/data/utmpx.h-data: Likewise.
30102         * conform/data/varargs.h-data: Likewise.
30103         * conform/data/wchar.h-data: Likewise.
30104         * conform/data/wctype.h-data: Likewise.
30105         * conform/data/wordexp.h-data: Likewise.
30107         * include/stropts.h: New file.
30108         * include/uchar.h: New file.
30109         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30110         * include/assert.h: Likewise.
30111         * include/ctype.h: Likewise.
30112         * include/dirent.h: Likewise.
30113         * include/dlfcn.h: Likewise.
30114         * include/fcntl.h: Likewise.
30115         * include/fnmatch.h: Likewise.
30116         * include/glob.h: Likewise.
30117         * include/grp.h: Likewise.
30118         * include/libio.h: Likewise.
30119         * include/locale.h: Likewise.
30120         * include/math.h: Likewise.
30121         * include/net/if.h: Likewise.
30122         * include/netdb.h: Likewise.
30123         * include/netinet/in.h: Likewise.
30124         * include/pthread.h: Likewise.
30125         * include/pwd.h: Likewise.
30126         * include/regex.h: Likewise.
30127         * include/sched.h: Likewise.
30128         * include/search.h: Likewise.
30129         * include/setjmp.h: Likewise.
30130         * include/signal.h: Likewise.
30131         * include/stdio.h: Likewise.
30132         * include/stdlib.h: Likewise.
30133         * include/string.h: Likewise.
30134         * include/sys/cdefs.h: Likewise.
30135         * include/sys/mman.h: Likewise.
30136         * include/sys/msg.h: Likewise.
30137         * include/sys/resource.h: Likewise.
30138         * include/sys/select.h: Likewise.
30139         * include/sys/socket.h: Likewise.
30140         * include/sys/stat.h: Likewise.
30141         * include/sys/statvfs.h: Likewise.
30142         * include/sys/time.h: Likewise.
30143         * include/sys/times.h: Likewise.
30144         * include/sys/uio.h: Likewise.
30145         * include/sys/utsname.h: Likewise.
30146         * include/sys/wait.h: Likewise.
30147         * include/termios.h: Likewise.
30148         * include/time.h: Likewise.
30149         * include/ulimit.h: Likewise.
30150         * include/unistd.h: Likewise.
30151         * include/utime.h: Likewise.
30152         * include/wchar.h: Likewise.
30153         * include/wctype.h: Likewise.
30154         * include/wordexp.h: Likewise.
30156         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30158         * time/time.h: TIME_UTC must be a macro.
30159         Make timespec_get available for ISO C11 only as well.
30161 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30163         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30164         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30166 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30168         * configure.in: Use -o not -a in test for unsupported multi-arch.
30170 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30172         * manual/texinfo.tex: Update to version 2012-01-19.16.
30174 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30176         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30178 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30180         [BZ #13738]
30181         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30182         * manual/fdl-1.3.texi: New file.
30183         * manual/fdl-1.1.texi: File removed.
30185         [BZ #13738]
30186         * manual/libc.texinfo (FDL_VERSION): New @set.
30187         Use it for mention of FDL in cover text.
30188         (Documentation License): Use it in @include file name.
30190 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30191             Roland McGrath  <roland@hack.frob.com>
30193         [BZ #5461]
30194         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30195         not LONG_LONG_MAX and LONG_LONG_MIN.
30196         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30197         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30198         name.
30199         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30203         [BZ #2547]
30204         [BZ #11365]
30205         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30206         manipulate bits before adding and subtracting TWO23[sx].
30207         * math/libm-test.inc (nearbyint_test): Add more tests.
30209 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30211         [BZ #2548]
30212         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30213         bits before adding and subtracting TWO23[sx].
30214         * math/libm-test.inc (rint_test): Add more tests.
30215         (rint_test_tonearest): Likewise.
30216         (rint_test_towardzero): Likewise.
30217         (rint_test_downward): Likewise.
30218         (rint_test_upward: Likewise.
30220 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30222         [BZ #10110]
30223         * include/stdc-predef.h: New file.  Extracted from features.h.
30224         * include/features.h: Include stdc-predef.h.
30225         * Makefile (headers): Add stdc-predef.h.
30226         * CONFORMANCE (Compiler limitations): Update.
30228 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30230         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30232 2012-02-21  David S. Miller  <davem@davemloft.net>
30234         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30235         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30237 2012-02-20  David S. Miller  <davem@davemloft.net>
30239         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30240         using a normal save/restore sequence, rather than allocating a
30241         dummy stack frame just to store a frame pointer and restore.
30242         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30244 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30246         * manual/install.texi: Fix stray word in line-wrapped comment.
30248 2012-02-20  David S. Miller  <davem@davemloft.net>
30250         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30251         both binutils and gcc support GOTDATA.
30253         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30254         "rd %pc" in the PIC register setup sequences.
30256         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30257         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30258         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30259         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30260         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30263         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30265         (SYSCALL_ERROR_HANDLER): Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30267         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30269         (SYSCALL_ERROR_HANDLER): Likewise.
30271         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30272         (HAVE_GCC_GOTDATA): New.
30273         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30274         relocation support in both binutils and gcc.
30275         * sysdeps/sparc/elf/configure: Regenerate.
30277         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30278         * sysdeps/sparc/sparc32/elf/configure: Delete.
30279         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30280         * sysdeps/sparc/sparc64/elf/configure: Delete.
30281         * sysdeps/sparc/elf/configure.in: New file.
30282         * sysdeps/sparc/elf/configure: Generate.
30284         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30285         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30286         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30287         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30288         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30290 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30292         * manual/install.texi: Do not mention specific glibc version
30293         numbers.
30294         * manual/libc.texinfo (VERSION, UPDATED): Update.
30295         (@copying): Use @copyright{} and range of years.
30297 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30299         [BZ #13695]
30300         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30301         [crti.S not in sysdirs] (generated): Do not append.
30302         [crti.S not in sysdirs] (omit-deps): Likewise.
30303         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30304         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30305         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30306         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30307         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30308         Likewise.
30309         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30310         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30311         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30312         * csu/defs.awk: Remove file.
30313         * sysdeps/generic/initfini.c: Likewise.
30314         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30315         variable.
30316         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30317         Likewise.
30319 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30321         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30322         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30323         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30324         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30325         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30326         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30327         <bits/epoll.h>.
30328         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30329         (__EPOLL_PACKED): Define to empty if not defined by
30330         <bits/epoll.h>.
30331         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30333         bits/epoll.h.
30335 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30337         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30338         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30339         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30340         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30341         <bits/timerfd.h>.
30342         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30344         bits/timerfd.h.
30346 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30348         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30349         in C locale.
30350         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30351         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30355 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30357         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30358         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30360 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30362         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30363         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30364         defined.
30365         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30366         Likewise.
30367         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30368         entry for 2.16.
30370 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30372         * math/w_acos.c: Use non-signaling floating-point comparisons.
30373         * math/w_acosf.c: Likewise.
30374         * math/w_acosh.c: Likewise.
30375         * math/w_acoshf.c: Likewise.
30376         * math/w_acoshl.c: Likewise.
30377         * math/w_acosl.c: Likewise.
30378         * math/w_asin.c: Likewise.
30379         * math/w_asinf.c: Likewise.
30380         * math/w_asinl.c: Likewise.
30381         * math/w_atanh.c: Likewise.
30382         * math/w_atanhf.c: Likewise.
30383         * math/w_atanhl.c: Likewise.
30384         * math/w_exp2.c: Likewise.
30385         * math/w_exp2f.c: Likewise.
30386         * math/w_exp2l.c: Likewise.
30387         * math/w_j0.c: Likewise.
30388         * math/w_j0f.c: Likewise.
30389         * math/w_j0l.c: Likewise.
30390         * math/w_j1.c: Likewise.
30391         * math/w_j1f.c: Likewise.
30392         * math/w_j1l.c: Likewise.
30393         * math/w_jn.c: Likewise.
30394         * math/w_jnf.c: Likewise.
30395         * math/w_log.c: Likewise.
30396         * math/w_log10.c: Likewise.
30397         * math/w_log10f.c: Likewise.
30398         * math/w_log10l.c: Likewise.
30399         * math/w_log2.c: Likewise.
30400         * math/w_log2f.c: Likewise.
30401         * math/w_log2l.c: Likewise.
30402         * math/w_logf.c: Likewise.
30403         * math/w_logl.c: Likewise.
30404         * math/w_sqrt.c: Likewise.
30405         * math/w_sqrtf.c: Likewise.
30406         * math/w_sqrtl.c: Likewise.
30407         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30408         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30409         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30410         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30411         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30413 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30415         [BZ #9739]
30416         * manual/string.texi (strnlen): Use correct parameter name in
30417         equivalent expression.
30419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30421         [BZ #11174]
30422         * manual/users.texi (seteuid): Consistently use neweuid for
30423         argument name.
30425 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #13704]
30428         * manual/nss.texi (Services in the NSS configuration): Correct
30429         list of services in example configuration file.
30431 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30433         [BZ #11322]
30434         * manual/arith.texi: Remove statements about negative zero
30435         behaving identically to zero.
30437 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30439         [BZ #5993]
30440         * manual/install.texi: Do not document upgrading from libc5.
30442 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30444         [BZ #4596]
30445         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30447 2012-02-18  David S. Miller  <davem@davemloft.net>
30449         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30450         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30451         %o7 across the call.
30452         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30453         instead.
30454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30455         SETUP_PIC_REG_LEAF.
30456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30457         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30458         * sysdeps/sparc/crtn.S: Likewise.
30460 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30462         * aout/Makefile: Remove.
30464 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30466         [BZ #13058]
30467         * manual/examples/argp-ex1.c (main): Format definition in GNU
30468         style.
30469         * manual/examples/argp-ex2.c (main): Likewise.
30470         * manual/examples/argp-ex3.c (main): Likewise.
30471         * manual/examples/argp-ex4.c (main): Likewise.
30472         * manual/examples/longopt.c (main): Use new-style prototype
30473         definition.
30474         * manual/examples/strncat.c (main): Specify return type and use
30475         (void) for arguments.
30476         * manual/examples/subopt.c (main): Use char **argv argument.
30478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30480         [BZ #5077]
30481         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30482         rounding modes.
30484 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30486         [BZ #6907]
30487         * manual/string.texi (strchr): Change when strchrnul is
30488         recommended.
30490 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30492         [BZ #174]
30493         * manual/locale.texi (setlocale): Document LOCPATH.
30495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30497         [BZ #10210]
30498         * manual/process.texi (execle): Move @dots{} before last argument.
30500 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30502         [BZ #12047]
30503         * manual/charset.texi (Generic Charset Conversion): Fix typo
30504         (LC_TYPE -> LC_CTYPE).
30506 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30508         [BZ #5805]
30509         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30510         (scalbnf): Likewise.
30511         (scalbnl): Likewise.
30512         (scalbln): Likewise.
30513         (scalblnf): Likewise.
30514         (scalblnl): Likewise.
30515         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30516         (vwarnx): Likewise.
30517         (verr): Likewise.
30518         (verrx): Likewise.
30519         * manual/filesys.texi (telldir): Use braces around return type.
30520         * manual/llio.texi (mmap): Add space after comma.
30521         (mmap64): Likewise.
30522         * manual/math.texi (jn): Use @var{} on parameter names.
30523         (jnf): Likewise.
30524         (jnl): Likewise.
30525         (yn): Likewise.
30526         (ynf): Likewise.
30527         (ynl): Likewise.
30528         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30529         line.
30530         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30531         "...".
30532         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30533         (sched_get_priority_max): Likewise.
30534         * manual/signal.texi (sigvec): Add space after comma.
30535         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30536         names.
30537         (if_indextoname): Likewise.
30538         (if_freenameindex): Likewise.
30539         (sendto): Use ',' instead of '.' in prototype.
30540         * manual/startup.texi (syscall): Use @dots{} instead of literal
30541         "...".
30542         * manual/stdio.texi (__fpending): Separate initial words of
30543         paragraph from @deftypefun line.
30544         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30545         "...".
30546         (vsyslog): Use @var{} on parameter names.
30547         * manual/terminal.texi (stty): Use @var{} on parameter names.
30548         * manual/users.texi (getutmp): Use @var{} on parameter names.
30549         (getutmpx): Likewise.
30551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30553         [BZ #6884]
30554         * manual/stdio.texi (fopen): Fix typos in description of
30555         ",ccs=STRING".
30557 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30559         [BZ #4026]
30560         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30561         get clock_id definition.
30563 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30565         [BZ #4822]
30566         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30567         (madvise): Cast every argument to void on its own.
30569 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30571         [BZ #9902]
30572         * manual/startup.texi (Exit Status): Fix typo.
30574 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30576         [BZ #10140]
30577         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30578         * manual/examples/argp-ex2.c: Likewise.
30579         * manual/examples/argp-ex3.c: Likewise.
30581 2012-02-16  Richard Henderson  <rth@redhat.com>
30583         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30584         * sysdeps/s390/s390-32/initfini.c: Remove.
30585         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30586         * sysdeps/s390/s390-64/initfini.c: Remove.
30588 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30590         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30591         compiler output for sysdeps/generic/initfini.c.
30592         * sysdeps/sh/elf/initfini.c: Remove file.
30594 2012-02-16  David S. Miller  <davem@davemloft.net>
30596         [BZ #11494]
30597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30599         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30600         * sysdeps/sparc/crti.S: New file.
30601         * sysdeps/sparc/crtn.S: New file.
30602         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30603         * sysdeps/sparc/sparc64/Makefile: Likewise.
30605 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30607         [BZ #3335]
30608         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30610 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30612         [BZ #4822]
30613         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30615         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30616         (write, read, close): Likewise.
30617         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30619 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30621         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30622         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30623         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30624         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30625         <bits/signalfd.h>.
30626         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30628         bits/signalfd.h.
30630 2012-02-14  Marek Polacek  <polacek@redhat.com>
30632         * sysdeps/x86_64/crti.S: New file.
30633         * sysdeps/x86_64/crtn.S: New file.
30634         * sysdeps/x86_64/elf/initfini.c: Remove file.
30636 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30638         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30639         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30640         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30641         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30642         <bits/inotify.h>.
30643         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30645         bits/inotify.h.
30647 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30649         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30650         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30651         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30652         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30653         <bits/eventfd.h>.
30654         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30656         bits/eventfd.h.
30658 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30660         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30661         __feraiseexcept instead of feraiseexcept.
30663         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30664         nanosleep invocations.
30665         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30666         strings, and add error checking for a nanosleep invocations.
30668 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30670         Replace FSF snail mail address with URLs, as per GNU coding standards.
30671         Most of the snail mail addresses were wrong anyway, and omitting
30672         them makes the source code easier to maintain.  Almost all of the
30673         changes are to license notices and to locale LC_IDENTIFICATION
30674         addresses, except for this one:
30675         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30676         not its snail mail address.
30678 2012-02-09  Richard Henderson  <rth@twiddle.net>
30680         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30681         of kernel-features.h.
30683         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30685 2012-02-08  Marek Polacek  <polacek@redhat.com>
30687         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30688         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30689         * sysdeps/gnu/_G_config.h: Likewise.
30690         * sysdeps/generic/_G_config.h: Likewise.
30692 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30694         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30695         tests.
30696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30698         * sysdeps/powerpc/powerpc32/crti.S: New file.
30699         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30700         * sysdeps/powerpc/powerpc64/crti.S: New file.
30701         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30703         * Makeconfig (have-initfini): Don't set.
30704         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30705         * configure.in (nopic_initfini): Don't substitute.
30706         * config.h.in (HAVE_INITFINI): Don't #undef.
30707         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30708         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30710 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30712         Support crti.S and crtn.S provided directly by architectures.
30713         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30714         [crti.S in sysdirs] (omit-deps): Likewise.
30715         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30716         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30717         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30718         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30719         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30720         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30721         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30722         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30723         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30724         compiler output for sysdeps/generic/initfini.c.
30725         * sysdeps/i386/elf/Makefile: Remove file.
30726         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30728 2012-02-07  Marek Polacek  <polacek@redhat.com>
30730         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30731         * sysdeps/gnu/_G_config.h: Likewise.
30732         * sysdeps/mach/hurd/_G_config.h: Likewise.
30734 2012-02-07  Marek Polacek  <polacek@redhat.com>
30736         * math/Makefile (tests): Add tst-CMPLX2.
30737         * math/tst-CMPLX2.c: New file.
30739 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30741         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30743         * math/libm-test.inc (jn_test): Add missing L suffix.
30745 2012-02-06  Marek Polacek  <polacek@redhat.com>
30747         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30748         * sysdeps/i386/fpu/e_powf.S: Likewise.
30749         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30750         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30751         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30752         * sysdeps/i386/fpu/e_pow.S: Likewise.
30753         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30754         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30755         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30756         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30757         * sysdeps/i386/fpu/e_log2.S: Likewise.
30758         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30759         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30760         * sysdeps/i386/fpu/e_powl.S: Likewise.
30761         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30762         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30763         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30764         * sysdeps/i386/fpu/e_logl.S: Likewise.
30765         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30766         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30767         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30768         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30769         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30770         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30771         * sysdeps/i386/fpu/e_log.S: Likewise.
30772         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30773         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30774         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30775         * sysdeps/i386/fpu/e_logf.S: Likewise.
30776         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30777         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30778         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30779         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30780         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30781         * sysdeps/i386/fpu/e_log10.S: Likewise.
30782         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30783         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30784         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30785         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30786         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30787         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30788         * sysdeps/i386/asm-syntax.h: Likewise.
30789         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30791         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30792         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30793         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30794         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30795         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30796         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30797         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30798         * sysdeps/powerpc/sysdep.h: Likewise.
30799         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30800         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30802 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30804         [BZ #411]
30805         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30807 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30809         * sysdeps/i386/sysdep.h: Include <features.h>.
30810         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30811         version.
30813 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30815         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30816         Define.
30817         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30818         LOAD_PIC_REG_STR.
30820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30822         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30823         (SETUP_PIC_REG): Use GET_PC_THUNK.
30824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30825         macro.
30827 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30829         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30830         for non-PIC compilation.
30831         (SETUP_PIC_REG): Add .p2align directive.
30832         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30833         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30834         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30835         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30836         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30837         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30838         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30839         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30840         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30841         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30842         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30843         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30844         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30845         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30846         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30847         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30848         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30849         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30850         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30851         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30852         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30854         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30855         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30858         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30859         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30860         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30861         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30862         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30863         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30864         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30865         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30866         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30867         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30868         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30869         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30870         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30871         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30872         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30874 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30876         * math/tst-CMPLX.c: Include <stdio.h>.
30878 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30880         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30881         float.
30882         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30883         * sysdeps/sparc/bits/mathdef.h: Likewise.
30885 2012-01-31  Marek Polacek  <polacek@redhat.com>
30887         * libio/libio.h: Don't define _PARAMS.
30888         * locale/programs/config.h: Don't define PARAMS.
30889         * stdlib/strtol_l.c: Likewise.
30890         (__strtol_l): Remove PARAMS from the prototype.
30892 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30894         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30895         names.  Just use the correct names.  Remove unnecessary wrapper
30896         functions.
30897         * malloc/arena.c: Likewise.
30898         * malloc/hooks.c: Likewise.
30900         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30901         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30902         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30904 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30906         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30907         into tail calls.
30908         (update_get_addr): New function.
30909         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30910         GET_ADDR_MODULE parameter.
30912 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30914         * crypt/cert.c: Remove __STDC__ conditionals.
30915         * crypt/crypt-entry.c: Likewise.
30916         * crypt/crypt_util.c: Likewise.
30917         * libio/filedoalloc.c: Likewise.
30918         * libio/fileops.c: Likewise.
30919         * libio/genops.c: Likewise.
30920         * libio/iofclose.c: Likewise.
30921         * libio/iofdopen.c: Likewise.
30922         * libio/iofopen.c: Likewise.
30923         * libio/iofopen64.c: Likewise.
30924         * libio/iogetdelim.c: Likewise.
30925         * libio/iopopen.c: Likewise.
30926         * libio/obprintf.c: Likewise.
30927         * libio/oldfileops.c: Likewise.
30928         * libio/oldiofclose.c: Likewise.
30929         * libio/oldiofdopen.c: Likewise.
30930         * libio/oldiofopen.c: Likewise.
30931         * libio/oldiopopen.c: Likewise.
30932         * libio/wfiledoalloc.c: Likewise.
30933         * libio/wgenops.c: Likewise.
30934         * locale/programs/xmalloc.c: Likewise.
30935         * misc/syslog.c: Likewise.
30936         * stdio-common/xbug.c: Likewise.
30937         * string/memchr.c: Likewise.
30938         * string/memcmp.c: Likewise.
30939         * string/memrchr.c: Likewise.
30940         * string/rawmemchr.c: Likewise.
30941         * sysdeps/posix/getcwd.c: Likewise.
30942         * time/strftime_l.c: Likewise.
30944 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30946         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30947         * config.make.in (config-cflags-sse2avx): Define.
30948         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30949         Fix typo.
30951 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30953         * scripts/config.guess: Update from upstream config git repository.
30954         * scripts/config.sub: Likewise.
30956 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30958         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30959         (EM_NUM): Update.
30960         (R_TILEPRO_*, R_TILEGX_*): New macros.
30962         * scripts/firstversions.awk: Fix bug in version range handling.
30964         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30966         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30968         * include/sys/epoll.h: New file.
30969         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30970         libc_hidden_def.
30972 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30974         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30975         Avoid unnecessary __WORDSIZE == 64 test.
30976         (fmaxf): Use VEX format if possible.
30977         (fmax): Likewise.
30978         (fminf): Likewise.
30979         (fmin): Likewise.
30981         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30982         * math/math_private.h: Remove libc_fegetround* and
30983         libc_fesetround*.
30984         * sysdeps/i386/configure.in: Check for -msse2avx.
30985         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30986         also if SSE2AVX is defined.
30987         Remove libc_fegetround* and libc_fesetround*.
30988         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30989         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30991         of HAS_YMM_USABLE.
30992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30993         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30994         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30995         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30996         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30998         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31000 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31002         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31003         size is not set.
31004         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31006 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31008         [BZ #13618]
31009         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31010         relocation.
31011         * Makeconfig (libm): Define.
31012         * elf/Makefile: Add rules to build and run tst-relsort1.
31013         * elf/tst-relsort1.c: New file.
31014         * elf/tst-relsort1mod1.c: New file.
31015         * elf/tst-relsort1mod2.c: New file.
31017 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31019         * math/s_ldexp.c: Remove __STDC__ conditionals.
31020         * math/s_ldexpf.c: Likewise.
31021         * math/s_ldexpl.c: Likewise.
31022         * math/s_nextafter.c: Likewise.
31023         * math/s_nexttowardf.c: Likewise.
31024         * math/s_significand.c: Likewise.
31025         * math/s_significandf.c: Likewise.
31026         * math/s_significandl.c: Likewise.
31027         * math/w_jnl.c: Likewise.
31028         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31029         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31030         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31031         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31032         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31033         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31034         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31035         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31036         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31037         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31038         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31039         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31040         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31041         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31042         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31043         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31044         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31045         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31046         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31047         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31048         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31049         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31050         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31052         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31053         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31054         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31055         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31056         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31057         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31058         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31059         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31060         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31062         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31063         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31064         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31065         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31066         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31067         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31068         * sysdeps/ieee754/k_standard.c: Likewise.
31069         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31070         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31071         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31072         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31073         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31074         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31075         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31076         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31077         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31078         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31079         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31081         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31082         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31083         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31085         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31086         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31088         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31089         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31090         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31091         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31092         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31093         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31094         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31096         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31098         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31100         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31101         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31102         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31104         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31108         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31109         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31111         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31112         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31113         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31119         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31120         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31121         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31122         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31126         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31127         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31128         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31129         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31130         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31131         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31132         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31133         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31134         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31135         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31136         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31137         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31138         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31139         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31140         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31141         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31142         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31143         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31145         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31146         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31147         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31148         * sysdeps/ieee754/s_matherr.c: Likewise.
31149         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31150         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31151         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31152         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31154 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31156         * crypt/md5.h: Remove __STDC__ conditionals.
31157         * libio/libioP.h: Likewise.
31158         * locale/programs/config.h: Likewise.
31159         * sysdeps/generic/sysdep.h: Likewise.
31160         * sysdeps/i386/asm-syntax.h: Likewise.
31161         * sysdeps/s390/asm-syntax.h: Likewise.
31162         * sysdeps/unix/sysdep.h: Likewise.
31163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31166 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31168         * libio/libio.h: Remove __STDC__ conditionals.
31169         * malloc/obstack.h: Likewise.
31170         * math/complex.h: Likewise.
31171         * math/math.h: Likewise.
31172         * sysdeps/generic/_G_config.h: Likewise.
31173         * sysdeps/gnu/_G_config.h: Likewise.
31174         * sysdeps/mach/hurd/_G_config.h: Likewise.
31175         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31176         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31177         * sysdeps/sparc/bits/mathdef.h: Likewise.
31179 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31181         [BZ #13583]
31182         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31183         Clean up HAS_* macros.
31184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31185         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31186         possible.
31187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31188         HAS_AVX.
31189         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31190         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31192         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31193         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31195 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31197         * elf/tst-unique3.cc (gets): Remove declaration.
31198         * elf/tst-unique3lib.cc (gets): Likewise.
31199         * elf/tst-unique3lib2.cc (gets): Likewise.
31200         * elf/tst-unique4.cc (gets): Likewise.
31202 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31204         * include/stdio.h: Add C++ protection.  Add gets declarations and
31205         definitions.
31206         * debug/tst-chk1.c: Don't declare gets here.
31207         * stdio-common/tst-gets.c: Likewise.
31209 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31211         * posix/glob: Remove directory.
31213 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31215         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31217 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31219         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31220         of the non-standard EPFNOSUPPORT.
31222 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31224         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31225         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31226         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31228 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31230         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31232 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31234         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31235         transient errors.
31236         * nscd/grpcache.c (cache_addgr): Likewise.
31237         * nscd/hstcache.c (cache_addhst): Likewise.
31238         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31239         * nscd/pwdcache.c (cache_addpw): Likewise.
31240         * nscd/servicescache.c (cache_addserv): Likewise.
31242 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31244         * malloc/malloc.c: Various cleanups.
31245         * malloc/hooks.c: Likewise.
31247         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31248         * stdlib/bug-fmtmsg1.c: New file.
31250         * stdlib/fmtmsg.c (init): Add missing unlock.
31251         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31253 2012-01-12  Marek Polacek  <polacek@redhat.com>
31255         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31256         and _GNU_SOURCE.
31258 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31260         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31261         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31262         macro to ensure uniqueness of label name.
31263         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31264         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31266 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31268         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31270         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31271         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31272         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31275 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31277         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31279         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31280         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31281         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31283         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31285         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31286         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31287         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31290         * math/bits/math-finite.h: Add ldexp support.
31292 2012-01-10  Marek Polacek  <polacek@redhat.com>
31294         * locale/programs/localedef.h (show_archive_content): Add noreturn
31295         attribute.
31297 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31299         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31301 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31303         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31305         * io/Makefile (headers): Add bits/poll2.h.
31307 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31310         typo #include statement.
31312 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31314         * include/sys/cdefs.h: Define __attribute_alloc_size.
31315         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31316         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31317         * elf/pldd.c: Likewise.
31318         * iconv/iconv_charmap.c: Likewise.
31319         * iconv/iconvconfig.c: Likewise.
31320         * iconv/strtab.c: Likewise.
31321         * locale/programs/locale.c: Likewise.
31322         * locale/programs/localedef.h: Likewise.
31323         * locale/programs/simple-hash.c: Likewise.
31324         * nscd/nscd.h: Likewise.
31325         * nss/makedb.c: Likewise.
31326         * sysdeps/generic/ldconfig.h: Likewise.
31327         * locale/programs/localedef.c: Remove xmalloc prototype.
31328         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31330 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31332         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31333         appropriate.
31335 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31337         * math/Makefile (tests): Add tst-CMPLX.
31338         * math/tst-CMPLX.c: New file.
31340         * math/complex.h (CMPLXL): Fix typo.
31342         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31343         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31344         GLIBC_2.16.
31345         * debug/tst-chk1.c: Add poll and ppoll tests.
31346         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31347         * include/sys/poll.h: Add hidden proto for ppoll.
31348         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31349         * sysdeps/mach/hurd/ppoll.c: Likewise.
31350         * io/ppoll.c: Likewise.
31351         * debug/poll_chk.c: New file.
31352         * debug/ppoll_chk.c: New file.
31353         * include/bits/poll2.h: New file.
31354         * io/bits/poll2.h: New file.
31356         [BZ #1350]
31357         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31359         * configure.in: static is always set to yes.  Remove.
31360         * config.make.in: Don't set build-static.
31361         * Makeconfig: Remove use of build-static.
31362         * dlfcn/Makefile: Likewise.
31363         * elf/Makefile: Likewise.
31364         * math/Makefile: Likewise.
31365         * misc/Makefile: Likewise.
31366         * nptl/Makefile: Likewise.
31367         * sysdeps/mach/hurd/Makefile: Likewise.
31369         * configure.in: PWD_P is not used anymore.
31370         * config.make.in: Remove PWD_P entry.
31372         * configure.in: Remove last remnants of RANLIB.
31373         No need to check for signed size_t anymore.
31374         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31375         and IA-64.
31376         Remove __builtin_expect test because we require at least gcc 3.4.
31377         * aclocal.m4: Likewise.
31379         * wcsmbs/mbrtoc16.c: Implement using towc function.
31380         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31381         * wcsmbs/wcsmbsload.c: Likewise.
31382         * iconv/gconv_simple.c: Likewise.
31383         * iconv/gconv_int.h: Likewise.
31384         * iconv/gconv_builtin.h: Likewise.
31385         * iconv/iconv_prog.c: Remove CHAR16 handling.
31387         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31389         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31391         * configure.in: Remove --with-elf and --enable-bounded options.
31392         Dont set base_machine for ia64.  More non-ELF conditions removed.
31393         Remove testing and setting of leading underscore information.
31394         * config.make.in (build-bounded): Set to no.
31395         * config.h.in: Remove NO_UNDERSCORES entry.
31396         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31397         them.
31398         * csu/start.c: Remove !NO_UNDERSCORE code.
31399         * locale/localeinfo.h: Likewise.
31400         * sysdeps/generic/machine-gmon.h: Likewise.
31401         * sysdeps/generic/sysdep.h: Likewise.
31402         * sysdeps/i386/sysdep.h: Likewise.
31403         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31404         * sysdeps/mach/sysdep.h: Likewise.
31405         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31406         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31407         * sysdeps/sh/sysdep.h: Likewise.
31408         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31409         * sysdeps/unix/i386/sysdep.S: Likewise.
31410         * sysdeps/unix/sparc/start.c: Likewise.
31411         * sysdeps/unix/sparc/sysdep.S: Likewise.
31412         * sysdeps/unix/sparc/sysdep.h: Likewise.
31413         * sysdeps/unix/start.c: Likewise.
31414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31415         * sysdeps/x86_64/sysdep.h: Likewise.
31417 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31419         [BZ #13553]
31420         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31421         for non-gcc.
31422         * argp/argp-fmtstream.h: Use const instead __const.
31423         * argp/argp.h: Likewise.
31424         * assert/assert.h: Likewise.
31425         * bits/fenv.h: Likewise.
31426         * bits/sched.h: Likewise.
31427         * bits/sigset.h: Likewise.
31428         * bits/sigthread.h: Likewise.
31429         * catgets/nl_types.h: Likewise.
31430         * conform/data/pthread.h-data: Likewise.
31431         * crypt/crypt-private.h: Likewise.
31432         * crypt/crypt.h: Likewise.
31433         * crypt/crypt_util.c: Likewise.
31434         * ctype/ctype.h: Likewise.
31435         * debug/execinfo.h: Likewise.
31436         * debug/mbsnrtowcs_chk.c: Likewise.
31437         * debug/mbsrtowcs_chk.c: Likewise.
31438         * debug/wcsnrtombs_chk.c: Likewise.
31439         * debug/wcsrtombs_chk.c: Likewise.
31440         * debug/wcstombs_chk.c: Likewise.
31441         * dirent/dirent.h: Likewise.
31442         * dlfcn/dlfcn.h: Likewise.
31443         * elf/neededtest4.c: Likewise.
31444         * grp/grp.h: Likewise.
31445         * gshadow/gshadow.h: Likewise.
31446         * iconv/gconv.h: Likewise.
31447         * iconv/gconv_int.h: Likewise.
31448         * iconv/gconv_simple.c: Likewise.
31449         * iconv/iconv.h: Likewise.
31450         * iconv/loop.c: Likewise.
31451         * iconv/skeleton.c: Likewise.
31452         * include/aio.h: Likewise.
31453         * include/aliases.h: Likewise.
31454         * include/argz.h: Likewise.
31455         * include/arpa/inet.h: Likewise.
31456         * include/assert.h: Likewise.
31457         * include/dirent.h: Likewise.
31458         * include/dlfcn.h: Likewise.
31459         * include/execinfo.h: Likewise.
31460         * include/fcntl.h: Likewise.
31461         * include/fenv.h: Likewise.
31462         * include/glob.h: Likewise.
31463         * include/grp.h: Likewise.
31464         * include/libintl.h: Likewise.
31465         * include/mntent.h: Likewise.
31466         * include/netdb.h: Likewise.
31467         * include/pwd.h: Likewise.
31468         * include/rpc/netdb.h: Likewise.
31469         * include/sched.h: Likewise.
31470         * include/search.h: Likewise.
31471         * include/shadow.h: Likewise.
31472         * include/signal.h: Likewise.
31473         * include/stdio.h: Likewise.
31474         * include/stdlib.h: Likewise.
31475         * include/string.h: Likewise.
31476         * include/sys/socket.h: Likewise.
31477         * include/sys/stat.h: Likewise.
31478         * include/sys/statfs.h: Likewise.
31479         * include/sys/statvfs.h: Likewise.
31480         * include/sys/syslog.h: Likewise.
31481         * include/sys/time.h: Likewise.
31482         * include/sys/uio.h: Likewise.
31483         * include/time.h: Likewise.
31484         * include/unistd.h: Likewise.
31485         * include/utmp.h: Likewise.
31486         * include/wchar.h: Likewise.
31487         * include/wctype.h: Likewise.
31488         * inet/aliases.h: Likewise.
31489         * inet/arpa/inet.h: Likewise.
31490         * inet/netinet/ether.h: Likewise.
31491         * inet/netinet/in.h: Likewise.
31492         * intl/libintl.h: Likewise.
31493         * io/bits/fcntl2.h: Likewise.
31494         * io/fcntl.h: Likewise.
31495         * io/ftw.h: Likewise.
31496         * io/sys/poll.h: Likewise.
31497         * io/sys/stat.h: Likewise.
31498         * io/sys/statfs.h: Likewise.
31499         * io/sys/statvfs.h: Likewise.
31500         * io/utime.h: Likewise.
31501         * libio/bits/stdio.h: Likewise.
31502         * libio/bits/stdio2.h: Likewise.
31503         * libio/libio.h: Likewise.
31504         * libio/libioP.h: Likewise.
31505         * libio/stdio.h: Likewise.
31506         * locale/lc-ctype.c: Likewise.
31507         * locale/locale.h: Likewise.
31508         * login/utmp.h: Likewise.
31509         * malloc/arena.c: Likewise.
31510         * malloc/malloc.c: Likewise.
31511         * malloc/malloc.h: Likewise.
31512         * malloc/mcheck.c: Likewise.
31513         * malloc/mtrace.c: Likewise.
31514         * math/bits/mathcalls.h: Likewise.
31515         * math/fenv.h: Likewise.
31516         * math/math_private.h: Likewise.
31517         * misc/bits/error.h: Likewise.
31518         * misc/bits/syslog.h: Likewise.
31519         * misc/err.h: Likewise.
31520         * misc/error.h: Likewise.
31521         * misc/fstab.h: Likewise.
31522         * misc/mntent.h: Likewise.
31523         * misc/regexp.h: Likewise.
31524         * misc/search.h: Likewise.
31525         * misc/sgtty.h: Likewise.
31526         * misc/sys/mman.h: Likewise.
31527         * misc/sys/syslog.h: Likewise.
31528         * misc/sys/uio.h: Likewise.
31529         * misc/sys/xattr.h: Likewise.
31530         * misc/ttyent.h: Likewise.
31531         * nis/rpcsvc/ypclnt.h: Likewise.
31532         * nss/nss.h: Likewise.
31533         * posix/bits/unistd.h: Likewise.
31534         * posix/fnmatch.h: Likewise.
31535         * posix/glob.h: Likewise.
31536         * posix/sched.h: Likewise.
31537         * posix/spawn.h: Likewise.
31538         * posix/sys/wait.h: Likewise.
31539         * posix/unistd.h: Likewise.
31540         * posix/wordexp.h: Likewise.
31541         * pwd/pwd.h: Likewise.
31542         * resolv/netdb.h: Likewise.
31543         * resource/sys/resource.h: Likewise.
31544         * rt/aio.h: Likewise.
31545         * rt/bits/mqueue2.h: Likewise.
31546         * rt/mqueue.h: Likewise.
31547         * shadow/shadow.h: Likewise.
31548         * signal/signal.h: Likewise.
31549         * socket/send.c: Likewise.
31550         * socket/sendto.c: Likewise.
31551         * socket/sys/socket.h: Likewise.
31552         * stdio-common/printf.h: Likewise.
31553         * stdlib/bits/stdlib.h: Likewise.
31554         * stdlib/fmtmsg.h: Likewise.
31555         * stdlib/monetary.h: Likewise.
31556         * stdlib/stdlib.h: Likewise.
31557         * stdlib/ucontext.h: Likewise.
31558         * streams/stropts.h: Likewise.
31559         * string/argz.h: Likewise.
31560         * string/bits/string2.h: Likewise.
31561         * string/string.h: Likewise.
31562         * string/strings.h: Likewise.
31563         * sunrpc/rpc/auth.h: Likewise.
31564         * sunrpc/rpc/auth_des.h: Likewise.
31565         * sunrpc/rpc/clnt.h: Likewise.
31566         * sunrpc/rpc/netdb.h: Likewise.
31567         * sunrpc/rpc/pmap_clnt.h: Likewise.
31568         * sunrpc/rpc/xdr.h: Likewise.
31569         * sysdeps/generic/inttypes.h: Likewise.
31570         * sysdeps/generic/net/if.h: Likewise.
31571         * sysdeps/generic/sys/swap.h: Likewise.
31572         * sysdeps/gnu/net/if.h: Likewise.
31573         * sysdeps/gnu/utmpx.h: Likewise.
31574         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31575         * sysdeps/i386/i486/bits/string.h: Likewise.
31576         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31577         * sysdeps/s390/bits/string.h: Likewise.
31578         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31579         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31580         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31581         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31582         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31583         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31584         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31585         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31586         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31587         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31588         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31589         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31590         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31591         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31592         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31593         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31594         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31596         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31599         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31600         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31601         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31602         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31603         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31604         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31605         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31606         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31607         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31608         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31609         * sysvipc/sys/ipc.h: Likewise.
31610         * sysvipc/sys/msg.h: Likewise.
31611         * sysvipc/sys/sem.h: Likewise.
31612         * sysvipc/sys/shm.h: Likewise.
31613         * termios/termios.h: Likewise.
31614         * time/sys/time.h: Likewise.
31615         * time/time.h: Likewise.
31616         * wcsmbs/bits/wchar2.h: Likewise.
31617         * wcsmbs/uchar.h: Likewise.
31618         * wcsmbs/wchar.h: Likewise.
31619         * wctype/wctype.h: Likewise.
31621         [BZ #13551]
31622         * Makeconfig: Remove all but ELF support including AIX support.
31623         * Makerules: Likewise.
31624         * config.h.in: Likewise.
31625         * config.make.in: Likewise.
31626         * configure: Likewise.
31627         * configure.in: Likewise.
31628         * csu/Makefile: Likewise.
31629         * csu/version.c: Likewise.
31630         * debug/Makefile: Likewise.
31631         * dlfcn/Makefile: Likewise.
31632         * elf/Makefile: Likewise.
31633         * extra-lib.mk: Likewise.
31634         * iconv/Makefile: Likewise.
31635         * include/libc-symbols.h: Likewise.
31636         * include/shlib-compat.h: Likewise.
31637         * resolv/Makefile: Likewise.
31638         * resolv/res_libc.c: Likewise.
31639         * rt/Makefile: Likewise.
31640         * sysdeps/i386/asm-syntax.h: Likewise.
31641         * sysdeps/i386/sysdep.h: Likewise.
31642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31643         * sysdeps/mach/sysdep.h: Likewise.
31644         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31645         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31646         * sysdeps/s390/asm-syntax.h: Likewise.
31647         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31648         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31649         * sysdeps/sh/sysdep.h: Likewise.
31650         * sysdeps/unix/sparc/sysdep.h: Likewise.
31651         * sysdeps/wordsize-32/divdi3.c: Likewise.
31652         * sysdeps/x86_64/sysdep.h: Likewise.
31654         * argp/Versions: Remove _argp_unlock_xxx.
31656         [BZ #13559]
31657         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31658         * abilist/libBrokenLocale.abilist: Likewise.
31659         * abilist/libanl.abilist: Likewise.
31660         * abilist/libc.abilist: Likewise.
31661         * abilist/libcrypt.abilist: Likewise.
31662         * abilist/libdl.abilist: Likewise.
31663         * abilist/libm.abilist: Likewise.
31664         * abilist/libnsl.abilist: Likewise.
31665         * abilist/libpthread.abilist: Likewise.
31666         * abilist/libresolv.abilist: Likewise.
31667         * abilist/librt.abilist: Likewise.
31668         * abilist/libthread_db.abilist: Likewise.
31669         * abilist/libutil.abilist: Likewise.
31670         * abilist/libnss_db.abilist: New file.
31672         * scripts/abilist.awk: Add support for indirect functions.
31674         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31676         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31678         * shlib-versions: Remove entries for ports architectures.
31680         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31681         files in ports.
31682         * elf/stackguard-macros.h: Remove support for IA-64.
31683         * elf/tst-auditmod1.c: Likewise.
31684         * sysdeps/generic/ldsodefs.h: Likewise.
31686         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31687         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31688         configure files.
31690         [BZ #13552]
31691         * configure.in: Remove --enable-omitfp support.
31692         * FAQ.in: Adjust.
31693         * config.make.in: Likewise.
31694         * Makeconfig: Likewise.
31695         * manual/install.texi: Likewise.
31697         In case anyone cares, the IA-64 architecture could move to ports.
31698         * sysdeps/ia64/*: Removed.
31699         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31700         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31702         [BZ #13555]
31703         * configure.in: Remove entries for unsupported architectures.
31705         [BZ #13533]
31706         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31707         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31708         routines.
31709         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31710         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31711         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31712         fall back to using wcrtomb.
31713         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31714         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31715         renaming.
31716         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31717         * wcsmbs/tst-c16c32-1.c: New file.
31719         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31720         local variable.
31722         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31724         * elf/tst-unique3.cc: Add explicit declaration of gets.
31725         * elf/tst-unique3lib.cc: Likewise.
31726         * elf/tst-unique3lib2.cc: Likewise.
31727         * elf/tst-unique4.cc: Likewise.
31729         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31731 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31733         [BZ #13566]
31734         * assert/assert.h (static_assert): Don't define for C++.
31735         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31736         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31738 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31740         * iconv/loop.c (single loop): Fix assertion in storing of
31741         remaining bytes.
31743         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31745 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31747         * posix/getconf.c: Update copyright year.
31748         * nss/getent.c: Likewise.
31749         * nss/makedb.c: Likewise.
31750         * iconv/iconvconfig.c: Likewise.
31751         * iconv/iconv_prog.c: Likewise.
31752         * elf/ldconfig.c: Likewise.
31753         * elf/pldd.c: Likewise.
31754         * elf/sotruss.ksh: Likewise.
31755         * catgets/gencat.c: Likewise.
31756         * csu/version.c: Likewise.
31757         * elf/ldd.bash.in: Likewise.
31758         * elf/sprof.c (print_version): Likewise.
31759         * locale/programs/locale.c: Likewise.
31760         * locale/programs/localedef.c: Likewise.
31761         * login/programs/pt_chown.c: Likewise.
31762         * nscd/nscd.c (print_version): Likewise.
31763         * debug/xtrace.sh: Likewise.
31764         * malloc/memusage.sh: Likewise.
31765         * malloc/mtrace.pl: Likewise.
31766         * debug/catchsegv.sh: Likewise.
31768 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31770         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31771         pure attribute.
31773 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31775         [BZ #13533]
31776         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31777         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31778         transformations.
31779         * iconv/gconv_int.h: Likewise.
31780         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31781         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31782         from libc for GLIBC_2.16.
31783         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31784         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31785         * wcsmbs/uchar.h: Really define mbstate_t.
31786         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31787         * wcsmbs/c16rtomb.c: New file.
31788         * wcsmbs/mbrtoc16.c: New file.
31789         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31790         for C/POSIX locale.
31791         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31792         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31794         * wcsmbs/wchar.h: Add missing __restrict.
31796 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31798         [BZ #13532]
31799         * time/Makefile (routines): Add timespec_get.
31800         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31801         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31802         timespec for ISO C11.
31803         * time/timespec_get.c: New file.
31804         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31805         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31807         [BZ #13531]
31808         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31809         * stdlib/stdlib.h: Declare aligned_alloc.
31810         * Versions.def: Add GLIBC_2.16 for libc.
31811         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31813         [BZ 13527]
31814         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31815         ISO C11.
31817         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31818         code.
31820         [BZ #13528]
31821         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31823         [BZ #13529]
31824         * assert/assert.h (static_assert): Define.
31826         * version.h: Update for 2.16 development version.
31828         [BZ #13526]
31829         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31830         _ISOC11_SOURCE.
31832         * version.h (RELEASE): Bump for 2.15 release.
31833         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31835         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31836         Patch by Marek Polacek <mpolacek@redhat.com>.
31838         * bits/byteswap.h: Protect long long constants with __extension__.
31839         * sysdeps/i386/bits/byteswap.h: Likewise.
31840         * sysdeps/ia64/bits/byteswap.h: Likewise.
31841         * sysdeps/s390/bits/byteswap.h: Likewise.
31842         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31844 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31846         [BZ #13540]
31847         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31848         destination buffer.
31849         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31851 2011-12-23  Marek Polacek  <polacek@redhat.com>
31853         * elf/dl-addr.c (determine_info): Add inline keyword.
31854         * elf/tst-auditmod4b.c (check_avx): Likewise.
31855         * elf/tst-auditmod6b.c (check_avx): Likewise.
31856         * elf/tst-auditmod6c.c (check_avx): Likewise.
31857         * elf/tst-auditmod7b.c (check_avx): Likewise.
31859 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31861         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31862         !__SSE_MATH__.
31864 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31866         [BZ #13540]
31867         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31868         processing for last bytes.
31870 2011-08-06  Bruno Haible  <bruno@clisp.org>
31872         [BZ #13061]
31873         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31874         U+0385, not to U+1FEE.
31876         [BZ #13062]
31877         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31878         entry for U+00A5 U+0301.
31880 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31882         [BZ #13166]
31883         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31884         buffer for the output is too small.
31886         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31887         optimization.
31889         [BZ #13185]
31890         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31891         SSE flags if possible.
31893 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31895         [BZ #13540]
31896         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31897         processing for last bytes.
31899 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31901         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31902         (syscall-list-default-options, syscall-list-default-condition)
31903         (syscall-list-includes): Define.
31904         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31905         list of ABIs and options and #if conditions for each ABI.  Do not
31906         handle common syscalls between ABIs specially.
31907         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31908         Remove.
31909         (syscall-list-variants, syscall-list-32bit-options)
31910         (syscall-list-32bit-condition, syscall-list-64bit-options)
31911         (syscall-list-64bit-condition): Define.
31912         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31913         (syscall-list-variants, syscall-list-32bit-options)
31914         (syscall-list-32bit-condition, syscall-list-64bit-options)
31915         (syscall-list-64bit-condition): Define.
31916         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31917         Remove.
31918         (syscall-list-variants, syscall-list-32bit-options)
31919         (syscall-list-32bit-condition, syscall-list-64bit-options)
31920         (syscall-list-64bit-condition): Define.
31921         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31922         Remove.
31923         (syscall-list-variants, syscall-list-32bit-options)
31924         (syscall-list-32bit-condition, syscall-list-64bit-options)
31925         (syscall-list-64bit-condition): Define.
31927 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31929         * locale/iso-639.def: Add brx entry.
31931         [BZ #13328]
31932         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31933         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31935         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31936         __feraiseexcept_renamed.
31938 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31940         [BZ #13538]
31941         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31942         EPOLLET with unsigned values.
31943         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31944         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31946         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31947         to large cancellation.
31948         * math/s_cacoshf.c: Likewise.
31949         * math/s_cacoshl.c: Likewise.
31951 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31953         [BZ #13305]
31954         [BZ #12786]
31955         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31956         * math/s_cacoshf.c: Likewise.
31957         * math/s_cacoshl.c: Likewise.
31959 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31961         [BZ #13439]
31962         * iconv/gconv.h: Define __GCONV_SWAP.
31963         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31964         * iconvdata/utf-16.c: Likewise.
31965         * iconvdata/utf-32.c: Likewise.
31967 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31969         [BZ #13524]
31970         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31971         numerator after shifting it by one limb.
31973 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31975         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31976         under [__USE_EXTERN_INLINES].
31978 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31980         [BZ #13446]
31981         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31983 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31985         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31986         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31987         optimized code.
31988         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31989         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31990         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31991         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31992         for strncasecmp/strncasecmp_l compilation.
31993         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31994         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31996 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31998         [BZ #13484]
31999         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32000         of __asm__.
32002 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32004         [BZ #13506]
32005         * time/tzfile.c (__tzfile_read): Check values from file header.
32007 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32009         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32010         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32011         * powerpc/powerpc32/dl-start.S: Likewise.
32012         * powerpc/powerpc32/elf/start.S: Likewise.
32013         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32014         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32015         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32016         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32017         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32018         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32019         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32020         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32021         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32022         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32023         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32024         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32025         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32026         * powerpc/powerpc32/memset.S: Likewise.
32027         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32028         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32029         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32030         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32031         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32032         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32033         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32034         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32035         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32036         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32037         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32038         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32039         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32041 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32043         * math/libm-test.inc: Added more nearbyint tests.
32044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32045         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32049 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32051         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32052         FD_CLOEXEC.
32054 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32056         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32057         Add wcscpy-ssse3 wcscpy-c.
32058         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32059         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32060         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32061         * sysdeps/x86_64/wcschr.S: New file.
32062         * sysdeps/x86_64/wcsrchr.S: New file.
32063         * string/test-strcmp.c: Remove checking of wcscmp function for
32064         wrong alignments.
32065         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32066         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32067         wcsrchr-sse2 wcsrchr-c.
32068         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32069         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32070         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32071         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32072         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32073         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32074         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32075         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32076         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32077         * wcsmbc/wcschr.c (WCSCHR): New macro.
32079 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32081         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32082         * wcsmbs/test-wcsrchr.c: New file.
32083         * string/test-strrchr.c: Add wcsrchr support.
32084         (WIDE): New macro.
32085         * wcsmbs/test-wcscpy.c: New file.
32086         * string/test-strcpy.c: Add wcscpy support.
32087         (WIDE): New macro.
32089 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32091         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32092         the inner loop.
32094 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32096         [BZ #13472]
32097         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32099 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32101         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32102         Minor optimizations.
32104         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32105         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32106         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32108 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32110         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32111         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32112         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32113         for gcc to avoid warnings.
32114         * inet/Makefile (tests): Add tst-checks.
32115         * inet/tst-checks.c: New file.
32117         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32118         warning.
32120         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32121         __wmemcmp_sse2.
32123         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32124         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32126         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32128 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32130         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32131         problem.
32133         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32135 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32137         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32138         conditional on GCC version.
32139         (__arch_compare_and_exchange_val_8_acq)
32140         (__arch_compare_and_exchange_val_16_acq)
32141         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32142         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32143         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32145 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32147         * sysdeps/sh/backtrace.c: New file.
32149 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32151         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32152         parenthesis.
32154 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32156         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32157         falling back to utime.
32159 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32161         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32162         expectations for float.
32164 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32166         * locale/weight.h (findidx): Add parameter len.
32167         * locale/weightwc.h (findidx): Likewise.
32168         * posix/fnmatch_loop.c (FCT): Adjust caller.
32169         * posix/regcomp.c (build_equiv_class): Likewise.
32170         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32171         * posix/regexec.c (check_node_accept_bytes): Likewise.
32172         * string/strcoll_l.c (STRCOLL): Likewise.
32173         * string/strxfrm_l.c (STRXFRM): Likewise.
32175 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32177         * Makefile.in: Remove CVSOPT handling.
32178         * configure.in: Remove use of AC_REVISION.
32179         * iconvdata/Makefile (distribute): No need to filter out CVS.
32180         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32181         handling.
32183 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32185         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32186         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32187         [USE_AS_STRNCASECMP_L]: Likewise.
32188         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32189         NO_TLS_DIRECT_SEG_REFS.
32190         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32191         Fix argument offsets for non-PIC.
32192         [USE_AS_STRNCASECMP_L]: Likewise.
32193         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32194         NO_TLS_DIRECT_SEG_REFS.
32196 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32198         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32199         O_CLOEXEC.
32200         * locale/loadlocale.c (_nl_load_locale): Likewise.
32202 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32204         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32205         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32206         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32207         (SYSCALL_GETTIME): Set errno on error.
32209         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32210         count references to noai6ai_cached.
32212 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32214         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32216         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32217         FD_CLOEXEC for /proc/self/maps.
32219         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32220         FD_CLOEXEC for /proc/meminfo.
32222         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32223         gai.conf.
32225         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32226         FD_CLOEXEC for given file.
32228         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32230         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32231         FD_CLOEXEC for /etc/hosts.
32232         (_gethtent): Likewise.
32234         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32236         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32237         cancellation and set FD_CLOEXEC for /etc/netgroup.
32239         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32240         reading /etc/publickey.
32242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32243         allow cancellation when reading /etc/group.
32245         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32246         cancellation.
32247         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32249         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32250         when using data file.
32252         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32254         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32255         (write_nis_obj): Use "c" and "e" in fopen.
32257         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32259         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32261         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32263         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32265         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32266         locale.alias.
32268         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32270         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32272         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32274         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32275         file parsing and set FD_CLOEXEC.
32277 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32279         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32281 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32283         * malloc/arena.c (arena_get2): Don't call reused_arena when
32284         _int_new_arena failed.
32286 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32288         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32289         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32290         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32291         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32292         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32293         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32294         to compile strcasecmp and strncasecmp.
32295         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32296         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32298         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32300 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32302         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32303         locale-defines.sym to gen-as-const-headers.
32304         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32305         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32307         to compile strcasecmp and strncasecmp.
32308         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32309         strcasecmp_l and strncasecmp_l.
32310         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32311         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32312         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32313         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32314         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32315         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32316         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32317         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32318         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32319         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32320         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32322 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32324         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32325         result of SYSDEP_GETTIME_CPU to retval.
32326         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32327         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32329         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32330         variable.
32332         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32333         mantissa words.
32334         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32336         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32337         from unused variable.
32339         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32340         DWARF definitions.
32341         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32342         for assembling.
32344         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32345         over namespaces.
32347         * sunrpc/rpc_prot.c (rejected): Fix case value.
32349         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32350         unsigned long long int to avoid warnings in shift.
32352         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32353         of use of trans.
32354         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32355         variable tmp.
32357         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32358         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32359         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32361         * nis/nis_table.c (nis_list): Use variable of correct type for
32362         result of __follow_path call.
32364 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32366         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32367         of math functions ceil, trunc, floor, round, and sqrt, when
32368         avaliable on the platform.
32369         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32370         name clash.
32371         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32372         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32373         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32375 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32377         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32378         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32380 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32382         * include/unistd.h: Fix __readlink return type.
32383         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32385 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32387         * stdlib/ucontext.h: Undo last change for makecontext.
32389 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32391         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32393         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32394         * setjmp/setjmp.h: Mark functions as non-leaf.
32395         * setjmp/bits/setjmp2.h: Likewise.
32396         * stdlib/ucontext.h: Likewise.
32398 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32400         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32401         (reused_arena): Don't check arena limit.
32402         (arena_get2): Atomically check arena limit.
32404 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32406         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32407         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32410         instructions.
32412 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32414         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32415         handler when locking.
32417         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32418         Fix size of allocated buffer.
32420 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32422         [BZ #10103]
32423         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32424         declarations for long double functions.
32425         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32427         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32429 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32431         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32432         installed.
32434         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32435         is disabled.
32437 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32439         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32441 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32443         * include/alloca.h (stackinfo_alloca_round): Define.
32444         (extend_alloca): Use it.
32445         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32446         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32447         here.
32449         * scripts/check-local-headers.sh: Ignore libaudit.h.
32451         * nscd/Makefile (extra-objs): Make recursively expanded.
32453 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32455         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32456         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32458         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32459         * posix/tst-rfc3484-2.c: Likewise.
32460         * posix/tst-rfc3484-3.c: Likewise.
32462         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32463         process_vm_writev.
32464         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32465         process_vm_writev.
32466         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32467         process_vm_writev from libc using GLIBC_2.15 version.
32469         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32471 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32473         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32474         stack usage.
32476 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32478         [BZ #13367]
32479         * nss/getent.c (initgroups_keys): Show error message in case no group
32480         names are given.
32482         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32483         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32484         __bump_nl_timestamp.
32485         * nscd/connections (nscd_init): When host database is served open
32486         netlink socket and request notification about configuration changes.
32487         (main_loop_poll): Track netlink file descriptor and bump timestamp
32488         in case data becomes available.
32489         (main_loop_epoll): Likewise.
32490         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32491         (database_pers_head): Add extra_data fileds.
32492         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32493         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32494         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32495         Adjust caller.
32496         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32497         in6ai data, call __free_in6ai.
32498         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32499         Add -DHAVE_NETLINK.
32500         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32501         interface information.  Reuse previous data if netlink timestamp
32502         is not changed.
32503         (__bump_nl_timestamp): New function.
32504         (__free_in6ai): New function.
32506 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32508         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32509         close_not_cancel_no_status here.
32510         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32512 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32514         [BZ #13276]
32515         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32516         return value.
32518         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32519         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32520         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32522 2011-07-03  Andreas Jaeger  <aj@suse.de>
32524         [BZ #10709]
32525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32526         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32527         * math/libm-test.inc (sin_test): Add test case.
32529 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32531         [BZ #13337]
32532         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32533         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32535         * elf/chroot_canon.c (chroot_canon): Cleanups.
32537         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32539         [BZ #13335]
32540         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32541         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32543         * string/test-strchr.c: Make usable for strchrnul testing.
32544         * string/test-strchrnul.c: New file.
32545         * string/Makefile (strop-tests): Add strchrnul.
32547         * po/it.po: Update from translation team.
32548         * po/es.po: Likewise.
32550 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32552         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32553         the three constants needed as parameters.  Drop the others.
32554         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32555         __m128i_strloadu_tolower.
32556         Create and initialize variable zero and use it in all the places
32557         where _mm_setzero_si128 was used.
32559         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32560         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32561         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32562         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32563         anymore.
32564         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32565         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32566         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32567         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32568         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32569         __mpranred, __mptan.
32570         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32571         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32572         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32573         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32574         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32575         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32576         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32577         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32578         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32580 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32582         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32583         redefine if SHARED.
32584         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32587         wide char related routines to wcsmbs subdir.
32589 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32591         [BZ #13344]
32592         * misc/sys/cdefs.h (__THROWNL): Define.
32593         * posix/unistd.h: Use __THREADNL instead of __THREAD
32594         for memory synchronization functions.
32596 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32598         [BZ #13349]
32599         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32600         doesn't exist.
32601         * manual/stdio.texi (Obstack Streams): Node removed.
32603 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32605         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32606         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32607         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32609         * math/math_private.h (math_force_eval): Allow non-addressable
32610         arguments.
32611         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32613 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32615         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32616         file is not needed.
32618         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32620         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32621         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32622         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32623         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32625         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32626         Add AVX variants.
32627         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32628         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32629         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32630         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32631         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32632         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32633         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32634         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32635         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32636         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32637         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32638         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32640         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32641         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32642         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32643         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32644         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32645         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32647         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32648         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32650         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32651         place.  Use VEX encoding when compiling for AVX.
32653 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32655         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32656         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32658         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32660 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32662         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32663         useless if() expression.
32664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32666         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32669         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32670         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32671         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32672         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32674         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32675         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32676         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32678         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32679         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32680         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32682         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32684         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32686 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32688         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32689         condition.
32690         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32692 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32694         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32695         .text section.  Avoid duplicate constants.
32696         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32698         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32699         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32700         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32702         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32703         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32704         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32705         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32706         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32707         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32708         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32709         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32710         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32711         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32712         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32713         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32714         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32716         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32717         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32718         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32719         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32720         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32721         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32722         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32723         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32724         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32725         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32726         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32727         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32728         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32729         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32730         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32731         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32732         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32733         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32734         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32735         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32736         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32737         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32738         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32739         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32740         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32742 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32744         * sysdeps/x86_64/dla.h: Move to ...
32745         * sysdeps/x86_64/fpu/dla.h: ...here.
32746         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32747         situations.  Use __builtin_fma only for gcc 4.6 and up.
32749         * config.make.in: Add have-mfma4 entry.
32750         * configure.in: Substitute libc_cv_cc_fma4.
32751         * math/Makefile (dbl-only-routines): Add sincostab.
32752         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32753         Use __sincostab not sincos.
32754         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32755         name is a macro.
32756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32760         using __copysign.
32761         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32762         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32763         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32764         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32765         and __inv.
32766         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32767         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32768         __copysign.
32769         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32770         define aliases when function name is a macro.
32771         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32772         sysdeps/ieee754/dbl-64/sincos.tbl.
32773         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32774         fma4-enabled routines.
32775         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32776         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32777         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32778         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32779         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32780         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32782         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32784         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32785         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32786         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32787         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32788         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32790         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32791         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32792         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32793         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32794         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32795         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32796         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32797         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32798         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32799         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32801         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32802         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32803         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32804         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32806         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32807         rename.
32808         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32810         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32817 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32819         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32821 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32823         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32825         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32826         prediction.
32827         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32829         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32830         Remove unused variable magic_bits.
32831         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32833         * string/strnlen.c: Define and use STRNLEN macro.
32834         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32835         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32837         * wcsmbs/wcslen.c: Define and use WCSLEN.
32838         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32839         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32840         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32841         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32842         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32843         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32844         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32846 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32849         strnlen-sse2-no-bsf.
32850         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32851         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32852         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32853         Add strnlen support.
32854         (USE_AS_STRNLEN): New macro.
32855         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32856         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32857         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32858         * sysdeps/x86_64/wcslen.S: New file.
32860 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32862         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32863         XMM-moves are used for copying on small sizes.
32865 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32867         * wcsmbs/Makefile (strop-tests): Add wcschr.
32868         * wcsmbs/test-wcschr.c: New file.
32869         * string/test-strchr.c: Update.
32870         Add wcschr support.
32871         (WIDE): New macro.
32873 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32875         * wcsmbs/Makefile (strop-tests): Add wcslen.
32876         * wcsmbs/test-wcslen.c: New file.
32877         * string/test-strlen.c: Update.
32878         Add wcslen support.
32879         (WIDE): New macro.
32881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32883         * po/it.po: Update from translation team.
32885 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32887         * sysdeps/x86_64/wcscmp.S: Update.
32888         Fix wrong comparison semantics.
32889         wcscmp shall use signed comparison not unsigned.
32890         Don't use substraction to avoid overflow bug.
32891         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32892         * wcsmbc/wcscmp.c: Likewise.
32893         * string/test-strcmp.c: Likewise.
32894         Add new tests to check cases with negative values.
32896 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32898         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32899         * sysdeps/x86_64/dla.h: ...here.  New file.
32900         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32903         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32904         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32905         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32907         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32910 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32913         __ynl_finite aliases.
32915 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32919         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32920         define DLA_FMA.
32921         [DLA_FMA] (EMULV): Use DLA_FMA.
32922         [DLA_FMA] (MUL12): Use EMULV.
32923         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32924         that are not needed.
32925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32929         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32930         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32931         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32933 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32935         * math/s_nan.c: Undef __nan.
32936         * math/s_nanf.c: Undef __nanf.
32937         * math/s_nanl.c: Undef __nanl.
32938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32939         "math_private.h".
32941 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32943         * math/s_catan.c: Add branch predictions.
32944         * math/s_catanf.c: Likewise.
32945         * math/s_catanh.c: Likewise.
32946         * math/s_catanhf.c: Likewise.
32947         * math/s_catanhl.c: Likewise.
32948         * math/s_catanl.c: Likewise.
32949         * math/s_cexp.c: Likewise.
32950         * math/s_cexpf.c: Likewise.
32951         * math/s_cexpl.c: Likewise.
32952         * math/s_clog.c: Likewise.
32953         * math/s_clog10.c: Likewise.
32954         * math/s_clog10f.c: Likewise.
32955         * math/s_clog10l.c: Likewise.
32956         * math/s_clogf.c: Likewise.
32957         * math/s_clogl.c: Likewise.
32958         * math/s_csqrt.c: Likewise.
32959         * math/s_csqrtf.c: Likewise.
32960         * math/s_csqrtl.c: Likewise.
32961         * math/s_ctanf.c: Likewise.
32962         * math/s_ctanh.c: Likewise.
32963         * math/s_ctanhf.c: Likewise.
32964         * math/s_ctanhl.c: Likewise.
32965         * math/s_ctanl.c: Likewise.
32967         * math/math_private.h: Define __nan, __nanf, __nanl.
32968         * math/s_cacosh.c: Include <math_private.h>.
32969         * math/s_cacoshl.c: Likewise.
32970         * math/s_casinh.c: Likewise.
32971         * math/s_casinhf.c: Likewise.
32972         * math/s_casinhl.c: Likewise.
32973         * math/s_ccos.c: Rely entire on ccosh.
32974         * math/s_ccosf.c: Rely entire on ccoshf.
32975         * math/s_ccosl.c: Rely entirely on ccoshl.
32976         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32977         Remove tests for FE_INVALID.
32978         * math/s_ccoshf.c: Likewise.
32979         * math/s_ccoshl.c: Likewise.
32980         * math/s_csin.c: Likewise.
32981         * math/s_csinf.c: Likewise.
32982         * math/s_csinh.c Likewise.
32983         * math/s_csinhf.c: Likewise.
32984         * math/s_csinhl.c: Likewise.
32985         * math/s_csinl.c: Likewise.
32986         * math/s_ctan.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32988         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32991 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32994         compilation problems.
32996         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32997         __builtin_expect.
32999 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33001         * sysdeps/i386/configure.in: Test for -mfma4 option.
33002         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33003         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33004         COMMON_CPUID_INDEX_80000001.
33005         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33006         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33007         use it if FMA3 is not supported.
33008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33010         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33011         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33013 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33015         [BZ #12892]
33016         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33017         it would create a cycle with a link time dependency.
33019 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33021         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33022         instruction.
33023         * string/Makefile (strop-tests): Add rawmemchr.
33024         * string/test-rawmemchr.c: New file.
33026         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33027         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33028         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33029         when compiling str{,n}casecmp and when AVX is available.  Hook up
33030         new optimized code in initializers.
33032 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33034         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33035         __feraiseexcept instead of feraiseexcept.
33037 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33039         * math/math_private.h: Define defaults for libc_fetestexcept and
33040         libc_feupdateenv.
33041         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33042         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33043         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33044         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33045         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33046         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33047         libc_fetestexcept and libc_feupdateenv.
33049         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33050         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33051         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33052         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33053         libc_feholdexcept_setround.
33055         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33056         Add s_nearbyint-c and s_nearbyintf-c.
33057         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33058         nearbyintf inlines.
33059         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33060         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33061         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33062         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33064         * math/math_private.h: Define defaults for libc_fegetround,
33065         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33066         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33067         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33068         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33069         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33070         standard functions.
33071         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33072         Remove comments and hacks for old compiler versions.
33073         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33074         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33075         libc_feholdexceptl.
33077 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33079         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33080         (__feraiseexcept_renamed): Add __NTH.
33081         (feraiseexcept): Add __NTH.  Rename local variables to fix
33082         namespace violations.
33084 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33088         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33090         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33091         recently added interfaces.
33092         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33094         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33095         about macro parameter expansion.
33097         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33098         __NO_MATH_INLINES is defined.  Cleanups.
33100         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33101         and __floorf is target has SSE4.1.
33102         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33103         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33104         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33105         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33107         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33108         name.
33109         (floorf): Likewise.
33111         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33113 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33115         * misc/sys/cdefs.h: Fix last change.
33117         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33118         database lookup.
33120 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33122         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33124         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33126         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33127         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33129         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33130         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33131         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33132         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33133         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33134         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33135         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33136         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33137         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33138         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33139         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33140         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33141         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33142         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33143         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33144         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33145         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33147         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33148         ceil, ceilf, floor, floorf.
33150         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33151         Perform IRELATIVE relocations last.
33153         * elf/do-rel.h: Add another parameter nrelative, replacing the
33154         local variable with the same name.  Change name of the function
33155         to end in Rel or Rela (uppercase).
33156         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33157         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33158         elf_dynamic_do_##reloc function.
33160 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33162         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33163         is sufficient, at least on modern CPUs.
33165         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33167         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33168         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33170         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33171         __expl_finite.
33172         * math/bits/math-finite.h: Add entries for exp.
33173         * math/e_expl.c: Add __*_finite alias.
33174         * sysdeps/i386/fpu/e_exp.S: Likewise.
33175         * sysdeps/i386/fpu/e_expf.S: Likewise.
33176         * sysdeps/i386/fpu/e_expl.c: Likewise.
33177         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33178         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33179         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33180         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33181         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33182         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33183         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33185         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33186         is sufficient, at least on modern CPUs.
33188         * ctype/ctype-info.c (__ctype_init): Define.
33189         * include/ctype.h (__ctype_init): Declare.
33190         (__ctype_b_loc): The variable is always initialized.
33191         (__ctype_toupper_loc): Likewise.
33192         (__ctype_tolower_loc): Likewise.
33193         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33194         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33196 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33198         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33200         * configure.in: Also look in $cxxmachine/include for C++ system
33201         headers.
33203 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33205         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33206         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33207         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33208         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33209         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33210         (USE_AS_WMEMCMP): New macro.
33211         Fixing indents.
33212         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33213         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33214         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33215         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33217         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33218         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33219         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33220         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33221         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33222         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33223         (USE_AS_WMEMCMP): New macro.
33224         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33225         * sysdeps/string/test-memcmp.c: Update.
33226         Fix simple_wmemcmp.
33227         Add new tests.
33228         * wcsmbs/wmemcmp.c: Update.
33229         (WMEMCMP): New macro.
33230         Fix overflow bug.
33232 2011-10-12  Andreas Jaeger  <aj@suse.de>
33234         [BZ #13268]
33235         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33237 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33239         * libio/iofwide.c (do_length): Avoid warning.
33241         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33243 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33245         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33247         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33248         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33249         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33250         * sysdeps/i386/i686/fpu/e_log.S: New file.
33251         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33252         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33254         * ctype/ctype.h: Add support for inlined isXXX functions when
33255         compiling C++ code.
33257 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33259         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33261         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33263 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33265         [BZ #13291]
33266         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33268 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33270         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33271         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33272         feraiseexcept.
33274         * sysdeps/x86_64/memrchr.S: Check for zero size.
33276         * string/stratcliff.c: Add memrchr tests.
33278 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33281         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33282         rawmemchr-sse2 rawmemchr-sse2-bsf.
33283         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33284         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33285         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33286         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33287         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33288         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33289         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33290         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33291         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33292         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33293         * string/memrchr.c (MEMRCHR): New macro.
33295 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33297         Add integration with gcc's -ffinite-math-only and optimize wrapper
33298         functions in libm.
33299         * Versions.def: Define GLIBC_2.15 version for libm.
33300         * math/Makefile (headers): Add bits/math-finite.h.
33301         * math/bits/math-finite.h: New file.
33302         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33303         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33304         * math/e_acoshl.c: Add __*_finite alias.
33305         * math/e_acosl.c: Likewise.
33306         * math/e_asinl.c: Likewise.
33307         * math/e_atan2l.c: Likewise.
33308         * math/e_atanhl.c: Likewise.
33309         * math/e_coshl.c: Likewise.
33310         * math/e_exp10.c: Likewise.
33311         * math/e_exp10f.c: Likewise.
33312         * math/e_exp10l.c: Likewise.
33313         * math/e_exp2l.c: Likewise.
33314         * math/e_fmodl.c: Likewise.
33315         * math/e_gammal_r.c: Likewise.
33316         * math/e_hypotl.c: Likewise.
33317         * math/e_j0l.c: Likewise.
33318         * math/e_j1l.c: Likewise.
33319         * math/e_jnl.c: Likewise.
33320         * math/e_lgammal_r.c: Likewise.
33321         * math/e_log10l.c: Likewise.
33322         * math/e_log2l.c: Likewise.
33323         * math/e_logl.c: Likewise.
33324         * math/e_powl.c: Likewise.
33325         * math/e_sinhl.c: Likewise.
33326         * math/e_sqrtl.c: Likewise.
33327         * math/e_scalb.c: Completely rewritten and optimized.
33328         * math/e_scalbf.c: Likewise.
33329         * math/e_scalbl.c: Likewise.
33330         * math/w_acos.c: Likewise.
33331         * math/w_acosf.c: Likewise.
33332         * math/w_acosl.c: Likewise.
33333         * math/w_acosh.c: Likewise.
33334         * math/w_acoshf.c: Likewise.
33335         * math/w_acoshl.c: Likewise.
33336         * math/w_asin.c: Likewise.
33337         * math/w_asinf.c: Likewise.
33338         * math/w_asinl.c: Likewise.
33339         * math/w_atan2.c: Likewise.
33340         * math/w_atan2f.c: Likewise.
33341         * math/w_atan2l.c: Likewise.
33342         * math/w_atanh.c: Likewise.
33343         * math/w_atanhf.c: Likewise.
33344         * math/w_atanhl.c: Likewise.
33345         * math/w_exp10.c: Likewise.
33346         * math/w_exp10f.c: Likewise.
33347         * math/w_exp10l.c: Likewise.
33348         * math/w_fmod.c: Likewise.
33349         * math/w_fmodf.c: Likewise.
33350         * math/w_fmodl.c: Likewise.
33351         * math/w_j0.c: Likewise.
33352         * math/w_j0f.c: Likewise.
33353         * math/w_j0l.c: Likewise.
33354         * math/w_j1.c: Likewise.
33355         * math/w_j1f.c: Likewise.
33356         * math/w_j1l.c: Likewise.
33357         * math/w_jn.c: Likewise.
33358         * math/w_jnf.c: Likewise.
33359         * math/w_log.c: Likewise.
33360         * math/w_logf.c: Likewise.
33361         * math/w_logl.c: Likewise.
33362         * math/w_log10.c: Likewise.
33363         * math/w_log10f.c: Likewise.
33364         * math/w_log10l.c: Likewise.
33365         * math/w_log2.c: Likewise.
33366         * math/w_log2f.c: Likewise.
33367         * math/w_log2l.c: Likewise.
33368         * math/w_pow.c: Likewise.
33369         * math/w_powf.c: Likewise.
33370         * math/w_powl.c: Likewise.
33371         * math/w_remainder.c: Likewise.
33372         * math/w_remainderf.c: Likewise.
33373         * math/w_remainderl.c: Likewise.
33374         * math/w_scalb.c: Likewise.
33375         * math/w_scalbf.c: Likewise.
33376         * math/w_scalbl.c: Likewise.
33377         * math/w_sqrt.c: Likewise.
33378         * math/w_sqrtf.c: Likewise.
33379         * math/w_sqrtl.c: Likewise.
33380         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33381         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33382         used.
33383         * math/math_private.h: Declare __kernel_standard_f.
33384         * math/w_cosh.c: Remove cruft and optimize a bit.
33385         * math/w_coshf.c: Likewise.
33386         * math/w_coshl.c: Likewise.
33387         * math/w_exp2.c: Likewise.
33388         * math/w_exp2f.c: Likewise.
33389         * math/w_exp2l.c: Likewise.
33390         * math/w_hypot.c: Likewise.
33391         * math/w_hypotf.c: Likewise.
33392         * math/w_hypotl.c: Likewise.
33393         * math/w_lgamma.c: Likewise.
33394         * math/w_lgamma_r.c: Likewise.
33395         * math/w_lgammaf.c: Likewise.
33396         * math/w_lgammaf_r.c: Likewise.
33397         * math/w_lgammal.c: Likewise.
33398         * math/w_lgammal_r.c: Likewise.
33399         * math/w_sinh.c: Likewise.
33400         * math/w_sinhf.c: Likewise.
33401         * math/w_sinhl.c: Likewise.
33402         * math/w_tgamma.c: Likewise.
33403         * math/w_tgammaf.c: Likewise.
33404         * math/w_tgammal.c: Likewise.
33405         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33406         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33407         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33408         Minor optimizations.  Pretty printing.  Remove cruft.
33409         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33411         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33412         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33413         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33414         * sysdeps/i386/fpu/e_asin.S: Likewise.
33415         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33416         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33417         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33418         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33420         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33421         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33422         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33423         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33424         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33425         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33426         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33427         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33428         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33429         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33430         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33431         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33432         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33433         * sysdeps/i386/fpu/e_log.S: Likewise.
33434         * sysdeps/i386/fpu/e_log10.S: Likewise.
33435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33436         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33437         * sysdeps/i386/fpu/e_log2.S: Likewise.
33438         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33439         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33440         * sysdeps/i386/fpu/e_logf.S: Likewise.
33441         * sysdeps/i386/fpu/e_logl.S: Likewise.
33442         * sysdeps/i386/fpu/e_pow.S: Likewise.
33443         * sysdeps/i386/fpu/e_powf.S: Likewise.
33444         * sysdeps/i386/fpu/e_powl.S: Likewise.
33445         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33446         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33447         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33448         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33449         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33450         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33451         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33452         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33453         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33454         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33455         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33456         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33457         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33458         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33459         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33460         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33461         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33462         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33463         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33464         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33465         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33467         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33468         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33470         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33471         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33472         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33474         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33475         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33476         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33477         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33478         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33479         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33480         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33481         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33482         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33483         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33484         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33485         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33486         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33487         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33488         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33489         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33490         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33491         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33492         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33493         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33494         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33495         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33496         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33497         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33498         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33499         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33500         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33501         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33502         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33503         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33504         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33509         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33510         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33511         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33512         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33513         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33518         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33519         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33520         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33521         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33522         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33524         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33526         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33527         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33528         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33529         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33530         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33531         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33532         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33533         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33534         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33535         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33537         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33538         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33540         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33541         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33542         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33543         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33544         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33545         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33546         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33547         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33548         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33549         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33550         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33551         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33552         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33553         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33554         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33555         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33556         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33557         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33558         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33559         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33560         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33561         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33562         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33563         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33564         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33565         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33566         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33567         (__isnanf): Likewise.
33568         (__isinf_ns): Likewise.
33569         (__isinf_nsf): Likewise.
33570         (__finite): Likewise.
33571         (__finitef): Likewise.
33572         (__ieee754_sqrt): Define as macro.
33573         (__ieee754_sqrtf): Define as macro.
33574         (__ieee754_sqrtl): Define as macro.
33575         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33576         inlined copy.
33577         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33578         __FINITE_MATH_ONLY__ consistent.
33579         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33581 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33583         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33584         of rawmemchr.
33586         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33588 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33590         * po/ja.po: Update from translation team.
33592 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33594         * locale/programs/locarchive.c (prepare_address_space): New function.
33595         (create_archive, enlarge_archive, open_archive): Use it.
33597         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33598         inside [SHARED], where it is used.
33600         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33602         * nss/getent.c (netgroup_keys): Remove unused variable.
33603         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33605 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33607         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33608         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33610         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33611         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33612         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33613         * math/Makefile (libm-calls): Add s_isinf_ns.
33614         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33615         * math/multc3.c: Likewise.
33616         * math/s_casin.c: Likewise.
33617         * math/s_casinf.c: Likewise.
33618         * math/s_casinl.c: Likewise.
33619         * math/s_ccos.c: Likewise.
33620         * math/s_ccosf.c: Likewise.
33621         * math/s_ccosl.c: Likewise.
33622         * math/s_ctan.c: Likewise.
33623         * math/s_ctanf.c: Likewise.
33624         * math/s_ctanh.c: Likewise.
33625         * math/s_ctanhf.c: Likewise.
33626         * math/s_ctanhl.c: Likewise.
33627         * math/s_ctanl.c: Likewise.
33628         * math/w_fmod.c: Likewise.
33629         * math/w_fmodf.c: Likewise.
33630         * math/w_fmodl.c: Likewise.
33631         * math/w_remainder.c: Likewise.
33632         * math/w_remainderf.c: Likewise.
33633         * math/w_remainderl.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33635         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33636         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33638         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33639         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33640         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33641         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33643         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33644         of the number.
33645         * stdio-common/printf_fphex.c: Likewise.
33646         * stdio-common/printf_size.c: Likewise.
33648         * math/e_exp10.c: Include math_private.h using <...> not "...".
33649         * math/e_exp10f.c: Likewise.
33650         * math/e_exp10l.c: Likewise.
33651         * math/e_exp2l.c: Likewise.
33652         * math/e_j0l.c: Likewise.
33653         * math/e_j1l.c: Likewise.
33654         * math/e_jnl.c: Likewise.
33655         * math/e_lgammal_r.c: Likewise.
33656         * math/e_rem_pio2l.c: Likewise.
33657         * math/e_scalb.c: Likewise.
33658         * math/e_scalbf.c: Likewise.
33659         * math/e_scalbl.c: Likewise.
33660         * math/k_cosl.c: Likewise.
33661         * math/k_sinl.c: Likewise.
33662         * math/k_tanl.c: Likewise.
33663         * math/s_cacoshf.c: Likewise.
33664         * math/s_catan.c: Likewise.
33665         * math/s_catanf.c: Likewise.
33666         * math/s_catanh.c: Likewise.
33667         * math/s_catanhf.c: Likewise.
33668         * math/s_catanhl.c: Likewise.
33669         * math/s_catanl.c: Likewise.
33670         * math/s_ccosh.c: Likewise.
33671         * math/s_ccoshf.c: Likewise.
33672         * math/s_ccoshl.c: Likewise.
33673         * math/s_cexp.c: Likewise.
33674         * math/s_cexpf.c: Likewise.
33675         * math/s_cexpl.c: Likewise.
33676         * math/s_clog.c: Likewise.
33677         * math/s_clog10.c: Likewise.
33678         * math/s_clog10f.c: Likewise.
33679         * math/s_clog10l.c: Likewise.
33680         * math/s_clogf.c: Likewise.
33681         * math/s_clogl.c: Likewise.
33682         * math/s_csin.c: Likewise.
33683         * math/s_csinf.c: Likewise.
33684         * math/s_csinh.c: Likewise.
33685         * math/s_csinhf.c: Likewise.
33686         * math/s_csinhl.c: Likewise.
33687         * math/s_csinl.c: Likewise.
33688         * math/s_csqrt.c: Likewise.
33689         * math/s_csqrtf.c: Likewise.
33690         * math/s_csqrtl.c: Likewise.
33691         * math/s_ctan.c: Likewise.
33692         * math/s_ctanf.c: Likewise.
33693         * math/s_ctanh.c: Likewise.
33694         * math/s_ctanhf.c: Likewise.
33695         * math/s_ctanhl.c: Likewise.
33696         * math/s_ctanl.c: Likewise.
33697         * math/s_ldexp.c: Likewise.
33698         * math/s_ldexpf.c: Likewise.
33699         * math/s_ldexpl.c: Likewise.
33700         * math/s_significand.c: Likewise.
33701         * math/s_significandf.c: Likewise.
33702         * math/s_significandl.c: Likewise.
33703         * math/w_acos.c: Likewise.
33704         * math/w_acosf.c: Likewise.
33705         * math/w_acosh.c: Likewise.
33706         * math/w_acoshf.c: Likewise.
33707         * math/w_acoshl.c: Likewise.
33708         * math/w_acosl.c: Likewise.
33709         * math/w_asin.c: Likewise.
33710         * math/w_asinf.c: Likewise.
33711         * math/w_asinl.c: Likewise.
33712         * math/w_atan2.c: Likewise.
33713         * math/w_atan2f.c: Likewise.
33714         * math/w_atan2l.c: Likewise.
33715         * math/w_atanh.c: Likewise.
33716         * math/w_atanhf.c: Likewise.
33717         * math/w_atanhl.c: Likewise.
33718         * math/w_cosh.c: Likewise.
33719         * math/w_coshf.c: Likewise.
33720         * math/w_coshl.c: Likewise.
33721         * math/w_dremf.c: Likewise.
33722         * math/w_exp10.c: Likewise.
33723         * math/w_exp10f.c: Likewise.
33724         * math/w_exp10l.c: Likewise.
33725         * math/w_exp2.c: Likewise.
33726         * math/w_exp2f.c: Likewise.
33727         * math/w_fmod.c: Likewise.
33728         * math/w_fmodf.c: Likewise.
33729         * math/w_fmodl.c: Likewise.
33730         * math/w_hypot.c: Likewise.
33731         * math/w_hypotf.c: Likewise.
33732         * math/w_hypotl.c: Likewise.
33733         * math/w_j0.c: Likewise.
33734         * math/w_j0f.c: Likewise.
33735         * math/w_j0l.c: Likewise.
33736         * math/w_j1.c: Likewise.
33737         * math/w_j1f.c: Likewise.
33738         * math/w_j1l.c: Likewise.
33739         * math/w_jn.c: Likewise.
33740         * math/w_jnf.c: Likewise.
33741         * math/w_jnl.c: Likewise.
33742         * math/w_lgamma.c: Likewise.
33743         * math/w_lgamma_r.c: Likewise.
33744         * math/w_lgammaf.c: Likewise.
33745         * math/w_lgammaf_r.c: Likewise.
33746         * math/w_lgammal.c: Likewise.
33747         * math/w_lgammal_r.c: Likewise.
33748         * math/w_log.c: Likewise.
33749         * math/w_log10.c: Likewise.
33750         * math/w_log10f.c: Likewise.
33751         * math/w_log10l.c: Likewise.
33752         * math/w_log2.c: Likewise.
33753         * math/w_log2f.c: Likewise.
33754         * math/w_log2l.c: Likewise.
33755         * math/w_logf.c: Likewise.
33756         * math/w_logl.c: Likewise.
33757         * math/w_pow.c: Likewise.
33758         * math/w_powf.c: Likewise.
33759         * math/w_powl.c: Likewise.
33760         * math/w_remainder.c: Likewise.
33761         * math/w_remainderf.c: Likewise.
33762         * math/w_remainderl.c: Likewise.
33763         * math/w_scalb.c: Likewise.
33764         * math/w_scalbf.c: Likewise.
33765         * math/w_scalbl.c: Likewise.
33766         * math/w_sinh.c: Likewise.
33767         * math/w_sinhf.c: Likewise.
33768         * math/w_sinhl.c: Likewise.
33769         * math/w_sqrt.c: Likewise.
33770         * math/w_sqrtf.c: Likewise.
33771         * math/w_sqrtl.c: Likewise.
33772         * math/w_tgamma.c: Likewise.
33773         * math/w_tgammaf.c: Likewise.
33774         * math/w_tgammal.c: Likewise.
33776         * po/ja.po: Update from translation team.
33778 2011-09-29  Andreas Jaeger  <aj@suse.de>
33780         [BZ #13179]
33781         * sunrpc/netname.c (netname2host): Fix logic.
33783         [BZ #6779]
33784         [BZ #6783]
33785         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33786         correctly.
33787         * math/w_remainder.c (__remainder): Likewise.
33788         * math/w_remainderf.c (__remainderf): Likewise.
33789         * math/libm-test.inc (remainder_test): Add test cases.
33791 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33793         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33794         sdiv_qrnnd.
33796 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33798         * string/test-memcmp.c: Avoid unncessary #defines.
33799         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33801 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33803         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33804         Use new sse2 version for core i3 - i7 as it's faster
33805         than sse42 version.
33806         (bit_Prefer_PMINUB_for_stringop): New.
33807         * sysdeps/x86_64/rawmemchr.S: Update.
33808         Replace with faster SSE2 version.
33809         * sysdeps/x86_64/memrchr.S: New file.
33810         * sysdeps/x86_64/memchr.S: Update.
33811         Replace with faster SSE2 version.
33813 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33815         * elf/dl-load.c (lose): Add cast to avoid warning.
33817 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33819         * po/ca.po: Update from translation team.
33821         * inet/getnetgrent_r.c: Hook up nscd.
33822         * nscd/Makefile (routines): Add nscd_netgroup.
33823         (nscd-modules): Add netgroupcache.
33824         (CFLAGS-netgroupcache.c): Define.
33825         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33826         (cache_search): Add const to second parameter.
33827         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33828         INNETGR.
33829         (dbs): Add netgrdb entry.
33830         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33831         (verify_persistent_db): Handle netgrdb.
33832         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33833         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33834         GETFDNETGR.
33835         (netgroup_response_header): Define.
33836         (innetgroup_response_header): Define.
33837         (datahead): Add netgroup_response_header and innetgroup_response_header
33838         elements.
33839         * nscd/nscd.conf: Add entries for netgroup cache.
33840         * nscd/nscd.h (dbtype): Add netgrdb.
33841         (_PATH_NSCD_NETGROUP_DB): Define.
33842         (netgroup_iov_disabled): Declare.
33843         (xmalloc, xcalloc, xrealloc): Move declarations here.
33844         (cache_search): Adjust prototype.
33845         Add netgroup-related prototypes.
33846         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33847         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33848         (__nscd_innetgr): Declare.
33849         * nscd/selinux.c (perms): Use access_vector_t as element type and
33850         add netgroup-related initializers.
33851         * nscd/netgroupcache.c: New file.
33852         * nscd/nscd_netgroup.c: New file.
33853         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33854         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33855         For four parameters use innetgr.
33856         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33857         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33858         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33859         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33861         * nscd/connections.c (register_traced_file): Don't register file
33862         for disabled databases.
33864 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33866         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33868         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33869         from tree and freeing node.
33871 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33873         * nss/nsswitch.c (__nss_database_lookup): Handle
33874         nss_parse_service_list out of memory case.
33876 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33878         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33879         out of memory case.
33881 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33883         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33884         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33885         pass it down.
33886         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33887         elf_machine_rela, elf_machine_lazy_rel.
33888         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33889         (ELF_DYNAMIC_DO_REL): Likewise.
33890         (ELF_DYNAMIC_DO_RELA): Likewise.
33891         (ELF_DYNAMIC_RELOCATE): Likewise.
33892         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33893         to ELF_DYNAMIC_DO_REL.
33894         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33895         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33896         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33897         elf_machine_rela.
33898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33899         skip_ifunc, don't call ifunc function if non-zero.
33900         (elf_machine_rela): Likewise.
33901         (elf_machine_lazy_rel): Likewise.
33902         (elf_machine_lazy_rela): Likewise.
33903         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33904         (elf_machine_lazy_rel): Likewise.
33905         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33906         Likewise.
33907         (elf_machine_lazy_rel): Likewise.
33908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33909         Likewise.
33910         (elf_machine_lazy_rel): Likewise.
33911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33912         (elf_machine_lazy_rel): Likewise.
33913         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33914         (elf_machine_lazy_rel): Likewise.
33915         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33916         (elf_machine_lazy_rel): Likewise.
33917         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33918         (elf_machine_lazy_rel): Likewise.
33919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33920         (elf_machine_lazy_rel): Likewise.
33921         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33922         (elf_machine_lazy_rel): Likewise.
33924 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33926         * nss/nss_files/files-init.c (_nss_files_init): Use static
33927         initialization for all the *_traced_file variables.
33929 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33931         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33933 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33935         [BZ #13226]
33936         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33938 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33941         Reread the line before reparsing it.
33943 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33945         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33947 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33948             Maxim Kuvyrkov  <maxim@codesourcery.com>
33949             Joseph Myers  <joseph@codesourcery.com>
33951         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33952         if needed for __stack_chk_guard.
33954 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33956         * sysdeps/posix/spawni.c (script_execute): Always define it.
33957         It will be optimized away if unused.
33958         (maybe_script_execute): New function.
33959         (__spawni): Call it.
33961         * Makerules: Don't include tls.make.
33962         (config-tls): Always set to thread.
33963         * tls.make.c: File removed.
33965 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33967         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33968         * config.make.in (CPPFLAGS-config): New substituted variable.
33970 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33972         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33974         [BZ #13192]
33975         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33976         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33978 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33980         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33981         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33983         (CALL_FAIL): Likewise.
33984         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33985         (CALL_FAIL): Macro removed.
33986         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33988 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33990         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33991         for __FINITE_MATH_ONLY__ == 1.
33993 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33995         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33996         __ieee754_sqrt instead of sqrt.
33997         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33998         __ieee754_sqrtf instead of sqrtf.
33999         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34000         __floorf instead of floorf.
34001         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34002         __floorf, __truncf instead of floorf, truncf.
34004 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34006         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34008         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34009         __extern_always_inline.
34010         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34011         32-bit.
34013 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34015         * elf/rtld.c (dl_main): Also relocate in dependency order when
34016         doing symbol dependency testing.
34018 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34021         Always define `refsym'.
34023 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34025         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34026         (__FD_ELT): Renamed from __FDELT.
34027         * misc/bits/select2.h (__FD_ELT): Likewise.
34028         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34029         __FD_MASK instead of __FDELT, __FDMASK.
34030         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34031         Likewise.
34032         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34033         Likewise.
34035         * elf/Makefile (gen-ldd): Fix pattern.
34037         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34038         (init_tls): Likewise.
34040 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34042         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34044 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34046         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34047         `struct cmsghdr *' instead of `void *'.
34048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34049         Likewise.
34051 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34053         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34054         if non-absolute.
34055         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34056         ldd_rewrite_script.
34058 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34060         * configure.in: Remove --with-tls option.
34061         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34062         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34063         out in case it is missing.
34064         * sysdeps/ia64/elf/configure.in: Likewise.
34065         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34066         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34067         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34068         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34069         * sysdeps/sh/elf/configure.in: Likewise.
34070         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34071         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34072         * sysdeps/x86_64/elf/configure.in: Likewise.
34073         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34074         * sysdeps/mach/hurd/tls.h: Likewise.
34076         [BZ #13067]
34077         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34079         [BZ #13090]
34080         * configure.in: Fix use of AC_INIT.
34082         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34084 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34086         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34087         __set_errno.
34088         * malloc/hooks.c: Likewise.
34090         [BZ #11929]
34091         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34092         variables statically.
34093         (narenas): Initialize.
34094         (list_lock): Initialize.
34095         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34096         initializtion of main_arena and list_lock.  Small cleanups.
34097         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34098         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34099         Add initializers to main_arena and mp_.
34100         (malloc_state): Remove pagesize member.  Change all users to use
34101         GLRO(dl_pagesize).
34103         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34104         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34105         is always initialized.
34107         * malloc/malloc.c: Removed unused configurations and dead code.
34108         * malloc/arena.c: Likewise.
34109         * malloc/hooks.c: Likewise.
34110         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34112         * include/tls.h: Removed.  USE___THREAD must always be defined.
34113         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34114         * elf/dl-libc.c: Likewise.
34115         * elf/dl-tsd.c: Likewise.
34116         * include/errno.h: Likewise.
34117         * include/netdb.h: Likewise.
34118         * include/resolv.h: Likewise.
34119         * inet/herrno-loc.c: Likewise.
34120         * inet/herrno.c: Likewise.
34121         * malloc/arena.c: Likewise.
34122         * malloc/hooks.c: Likewise.
34123         * malloc/malloc.c: Likewise.
34124         * resolv/res-state.c: Likewise.
34125         * resolv/res_libc.c: Likewise.
34126         * sysdeps/i386/dl-machine.h: Likewise.
34127         * sysdeps/ia64/dl-machine.h: Likewise.
34128         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34129         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34130         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34131         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34132         * sysdeps/sh/dl-machine.h: Likewise.
34133         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34134         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34135         * sysdeps/unix/i386/sysdep.S: Likewise.
34136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34137         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34142         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34146         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34147         * sysdeps/x86_64/dl-machine.h: Likewise.
34148         * tls.make.c: Likewise.
34150         * configure.in: Remove --with-__thread option.  Make tests for
34151         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34152         tls_model attribute fail if no support is available.  Remove
34153         USE_IN_LIBIO.
34154         * Makeconfig: Adjust for dropped configure option.  All features are
34155         now mandatory.
34156         * Makerules: Likewise.
34157         * Versions.def: Likewise.
34158         * argp/argp-fmtstream.c: Likewise.
34159         * argp/argp-fmtstream.h: Likewise.
34160         * argp/argp-help.c: Likewise.
34161         * assert/assert.c: Likewise.
34162         * config.h.in: Likewise.
34163         * config.make.in: Likewise.
34164         * configure: Likewise.
34165         * configure.in: Likewise.
34166         * csu/Versions: Likewise.
34167         * csu/init.c: Likewise.
34168         * elf/tst-audit2.c: Likewise.
34169         * elf/tst-tls10.c: Likewise.
34170         * elf/tst-tls10.h: Likewise.
34171         * elf/tst-tls11.c: Likewise.
34172         * elf/tst-tls12.c: Likewise.
34173         * elf/tst-tls14.c: Likewise.
34174         * elf/tst-tlsmod11.c: Likewise.
34175         * elf/tst-tlsmod12.c: Likewise.
34176         * elf/tst-tlsmod13.c: Likewise.
34177         * elf/tst-tlsmod13a.c: Likewise.
34178         * elf/tst-tlsmod14a.c: Likewise.
34179         * elf/tst-tlsmod15b.c: Likewise.
34180         * elf/tst-tlsmod16a.c: Likewise.
34181         * elf/tst-tlsmod16b.c: Likewise.
34182         * elf/tst-tlsmod7.c: Likewise.
34183         * elf/tst-tlsmod8.c: Likewise.
34184         * elf/tst-tlsmod9.c: Likewise.
34185         * gmon/gmon.c: Likewise.
34186         * grp/fgetgrent_r.c: Likewise.
34187         * grp/putgrent.c: Likewise.
34188         * hurd/fopenport.c: Likewise.
34189         * include/libc-symbols.h: Likewise.
34190         * include/tls.h: Likewise.
34191         * intl/gettextP.h: Likewise.
34192         * intl/loadinfo.h: Likewise.
34193         * locale/global-locale.c: Likewise.
34194         * locale/localeinfo.h: Likewise.
34195         * mach/devstream.c: Likewise.
34196         * malloc/arena.c: Likewise.
34197         * malloc/set-freeres.c: Likewise.
34198         * misc/err.c: Likewise.
34199         * misc/getttyent.c: Likewise.
34200         * misc/mntent_r.c: Likewise.
34201         * posix/getopt.c: Likewise.
34202         * posix/wordexp.c: Likewise.
34203         * pwd/fgetpwent_r.c: Likewise.
34204         * resolv/Versions: Likewise.
34205         * resolv/res_hconf.c: Likewise.
34206         * shadow/fgetspent_r.c: Likewise.
34207         * shadow/putspent.c: Likewise.
34208         * stdio-common/printf_fphex.c: Likewise.
34209         * stdio-common/tmpfile.c: Likewise.
34210         * stdlib/abort.c: Likewise.
34211         * stdlib/fmtmsg.c: Likewise.
34212         * sunrpc/auth_unix.c: Likewise.
34213         * sunrpc/clnt_perr.c: Likewise.
34214         * sunrpc/clnt_tcp.c: Likewise.
34215         * sunrpc/clnt_udp.c: Likewise.
34216         * sunrpc/clnt_unix.c: Likewise.
34217         * sunrpc/openchild.c: Likewise.
34218         * sunrpc/svc_simple.c: Likewise.
34219         * sunrpc/svc_tcp.c: Likewise.
34220         * sunrpc/svc_udp.c: Likewise.
34221         * sunrpc/svc_unix.c: Likewise.
34222         * sunrpc/xdr.c: Likewise.
34223         * sunrpc/xdr_array.c: Likewise.
34224         * sunrpc/xdr_rec.c: Likewise.
34225         * sunrpc/xdr_ref.c: Likewise.
34226         * sunrpc/xdr_stdio.c: Likewise.
34228 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34230         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34232 2011-07-03  Andreas Jaeger  <aj@suse.de>
34234         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34235         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34236         regenerate with gen-libm-tests.pl.
34238 2010-05-12  Petr Baudis  <pasky@suse.cz>
34240         [BZ #11589]
34241         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34242         around j0() zero points by switching to j1().
34243         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34244         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34246         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34248 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34250         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34251         instead of 0.
34252         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34253         instead of 0.
34254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34255         Patch in part by Pavel Roskin <proski@gnu.org>.
34257         [BZ #13138]
34258         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34259         realloc.
34260         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34261         Free memory block if necessary.
34263         [BZ #12847]
34264         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34265         be NULL.  Don't lock in this case.
34267 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34269         * elf/elf.h (ELFOSABI_GNU): New macro.
34270         (ELFOSABI_LINUX): Define to that.
34272 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34274         * string/strncat.c (strncat): Undef the symbol in case it has been
34275         defined in bits/string.h.
34277 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34279         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34281         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34282         link map.
34284 2011-08-17  Andreas Jaeger  <aj@suse.de>
34286         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34288 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34289             Ian Lance Taylor  <iant@google.com>
34291         * math/libm-test.inc (lround_test): New testcase.
34292         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34294 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34296         * Makefile: Remove support for automatic cvs check-ins.
34297         * Makerules: Likewise.
34298         * config.make.in: Likewise.
34299         * configure.in: Likewise.
34300         * intl/Makefile: Likewise.
34301         * locale/Makefile: Likewise.
34302         * po/Makefile: Likewise.
34303         * posix/Makefile: Likewise.
34304         * sysdeps/gnu/Makefile: Likewise.
34305         * sysdeps/mach/hurd/Makefile: Likewise.
34306         * sysdeps/sparc/sparc32/Makefile: Likewise.
34308         [BZ #13118]
34309         * posix/Makefile (bug-regex32-ENV): Define.
34310         Patch by John Stanley <jpsinthemix@verizon.net>.
34312         * misc/Makefile (headers): Add bits/select2.h.
34313         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34314         * misc/bits/select2.h: New file.
34315         * include/bits/select2.h: New file.
34316         * debug/Makefile (routines): Add fdelt_chk.
34317         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34318         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34319         FD_ISSET.
34320         * debug/fdelt_chk.c: New file.
34322         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34323         * wcsmbs/test-wmemcmp.c: Likewise.
34324         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34325         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34327 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34329         * string/Makefile (strop-tests): Add memcmp.
34330         * string/test-wmemcmp.c: New file.
34331         * string/test-memcmp.c: Add wmemcmp support.
34333 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34335         [BZ #13153]
34336         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34337         2011-07-19 change.
34339         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34340         garbage value in a __mach_port_mod_refs call in the cases of the
34341         task-self and thread-self ports.
34343 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34345         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34347 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34349         * elf/dl-load.c (lose): Check for non-null L.
34351 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34353         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34355         * elf/dl-libc.c (dlerror_run): Pass back error code from
34356         dl_catch_error.
34358         [BZ #13123]
34359         * elf/dl-load.c (lose): Free l_origin if it is valid.
34361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34362         names.
34363         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34364         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34365         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34366         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34367         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34368         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34370 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34372         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34373         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34374         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34375         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34376         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34377         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34378         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34379         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34380         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34381         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34383 2011-08-15  Alan Modra  <amodra@gmail.com>
34385         [BZ #13092]
34386         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34387         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34388         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34389         ppc_mcount to static-only-routines.
34390         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34391         __mcount_internal.
34392         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34393         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34395 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34397         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34398         for finite and infinity parameters.
34400 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34403         and add nop instructions for throughput optimization.
34404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34406 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34408         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34409         aligned copy for power7 with vector-scalar instructions.
34410         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34412 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34415         AVX check.
34417 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34419         [BZ #13144]
34420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34421         last change.
34423 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34425         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34426         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34427         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34428         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34429         clock_gettime.
34431 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34434         Forgot to demangle the pointer.
34436         * sysdeps/i386/sysdep.h: Define atom_text_section.
34437         * sysdeps/x86_64/sysdep.h: Likewise.
34438         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34439         section with atom_text_section.
34440         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34441         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34442         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34443         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34444         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34446         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34447         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34448         already be defined.  Change to take two parameters and don't assign
34449         result to variable.  Adjust all users.
34450         Define INTERNAL_GETTIME if not already defined.
34451         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34452         call.
34453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34454         HAVE_CLOCK_GETTIME_VSYSCALL.
34455         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34458         gettimeofday vsyscall, just use time.
34460 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34463         <errno.h>.
34465 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34467         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34468         syscall on x86-64.
34469         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34470         syscall.
34471         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34472         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34473         syscall if possible.
34475 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34477         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34478         e_ident.  Don't pass to find_mapsXX.
34479         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34481 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34484         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34485         * sysdeps/x86_64/multiarch/strchr.S: Update.
34486         Check bit_slow_BSF bit.
34487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34488         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34489         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34491 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34493         [BZ #13134]
34494         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34495         before glibc 2.15.
34496         (tryshell): Define.
34497         (__spawni): Change last parameter to be flag.  Test
34498         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34499         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34500         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34501         * posix/spawni.c: Likewise.
34502         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34503         * posix/spawnp.c: Likewise.  Change normal version to use
34504         SPAWN_XFLAGS_USE_PATH.
34505         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34506         SPAWN_XFLAGS_TRY_SHELL.
34508         [BZ #13150]
34509         * posix/glob.h: Remove gcc 1.x support.
34511         [BZ #13068]
34512         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34514 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34517         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34518         strrchr-sse2-bsf
34519         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34520         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34521         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34522         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34523         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34524         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34526 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34528         * sysdeps/x86_64/wcscmp.S: New file.
34530         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34531         wcscmp-c wcscmp-sse2
34532         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34533         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34534         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34535         * wcsmbs/wcscmp.c: Allow renaming.
34537 2011-09-05  David S. Miller  <davem@davemloft.net>
34539         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34540         stack slot, rather than the struct return pointer slot.
34541         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34542         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34544         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34546 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34548         * po/ja.po: Update from translation team.
34550         [BZ #13144]
34551         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34552         kernel in 64-bit binaries.
34554 2011-09-01  David S. Miller  <davem@davemloft.net>
34556         * elf/elf.h (HWCAP_SPARC_*): Move to..
34557         * sysdeps/sparc/sysdep.h: this new file and add new values.
34558         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34559         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34560         _DL_HWCAP_COUNT to 24.
34561         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34562         entries.
34563         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34564         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34565         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34567         instead of magic constants.
34568         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34570 2011-08-31  David S. Miller  <davem@davemloft.net>
34572         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34574         Reimplement to do errno handling inline.
34575         (SYSCALL_ERROR_HANDLER): New macro.
34576         (__SYSCALL_STRING): Do not do errno handling in asm.
34577         (__CLONE_SYSCALL_STRING): Delete.
34578         (__INTERNAL_SYSCALL_STRING): Delete.
34579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34580         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34581         (PSEUDO): Reimplement to do errno handling inline.
34582         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34583         (SYSCALL_ERROR_HANDLER): New macro.
34584         (__SYSCALL_STRING): Do not do errno handling in asm.
34585         (__CLONE_SYSCALL_STRING): Delete.
34586         (__INTERNAL_SYSCALL_STRING): Delete.
34587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34588         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34589         i386.
34590         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34591         (inline_syscall*): Add 'err' argument.
34592         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34593         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34594         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34595         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34597         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34598         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34600 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34602         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34604 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34606         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34607         directive.
34609 2011-08-24  David S. Miller  <davem@davemloft.net>
34611         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34613 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34615         * elf/Makefile: Add rules to build and run unload8 test.
34616         * elf/unload8.c: New file.
34617         * elf/unload8mod1.c: New file.
34618         * elf/unload8mod1x.c: New file.
34619         * elf/unload8mod2.c: New file.
34620         * elf/unload8mod3.c: New file.
34622         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34623         it wasn't used.
34625 2011-08-23  David S. Miller  <davem@davemloft.net>
34627         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34628         subtract stack bias.
34629         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34630         %sp not %fp in calculations.
34631         (_JMPBUF_UNWINDS_ADJ): Likewise.
34633         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34634         (aio_suspend): Call it to force an exception region around the
34635         AIO_MISC_WAIT() invocation.
34637 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34639         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34640         backslash.
34642 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34644         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34645         protection macro.
34646         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34647         and <dl-machine.h>.
34648         (Elf64_FuncDesc): Remove.
34650 2011-08-22  David S. Miller  <davem@davemloft.net>
34652         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34653         sigaltstack check, add missing cfi directives.
34654         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34655         missing cfi directives, and sigaltstack handling.
34657 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34659         [BZ #11724]
34660         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34661         object is seen twice.
34662         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34664         * elf/Makefile (distribute): Add tst-initorder2.c.
34665         (tests): Add tst-initorder2.
34666         (modules-names): Add tst-initorder2a tst-initorder2b
34667         tst-initorder2c tst-initorder2d.  Add rules to build them.
34668         ($(objpfx)tst-initorder2.out): New rule.
34669         * elf/tst-initorder2.c: New file.
34670         * elf/tst-initorder2.exp: New file.
34672 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34674         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34676         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34677         dependencies back to end of function.
34679         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34680         $(elfobjdir)/ld.so.
34682 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34684         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34685         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34686         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34687         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34688         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34689         of __vdso_gettimeofday.
34690         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34691         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34692         attribute_hidden.
34693         (_libc_vdso_platform_setup): Remove initialization of
34694         __vdso_gettimeofday and __vdso_time.
34696 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34698         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34699         and fgetc_unlocked.
34700         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34701         getc_unlocked.
34703         * elf/dl-open.c (add_to_global): Report additions to the global scope
34704         for LD_DEBUG=scopes.
34705         (dl_open_worker): Also print scope of newly loaded dependencies.
34706         (_dl_show_scope): Indicate if there is no scope.
34708         [BZ #13114]
34709         * stdio-common/Makefile (tests): Add bug24.
34710         * stdio-common/bug24.c: New file.
34712 2011-08-19  Andreas Jaeger  <aj@suse.de>
34714         [BZ #13114]
34715         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34716         non-existant file when using close-on-exec mode.
34718 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34720         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34721         the very first instruction.
34723         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34724         the CFI state in the end.
34725         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34726         inclusion of dl-trampoline.h.
34727         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34729 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34731         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34732         expectations for long double.
34734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34735         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34737 2011-08-14  David S. Miller  <davem@davemloft.net>
34739         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34740         artificual limit depends upon the system page size.
34742 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34744         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34745         * resolv/Makefile: Define CFLAGS-libresolv.
34747 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34749         * nss/makedb.c (compute_tables): Make variables used in nested
34750         function static.
34752 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34754         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34755         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34756         if buffer was too small.
34758         * elf/pldd.c (main): Attach to all threads in the process.
34759         Rewrite /proc handling to use *at functions.
34761 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34763         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34764         specifies first scope to show.
34765         (dl_open_worker): Update callers.  Move printing scope of new
34766         object to before the relocation.
34767         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34768         * sysdeps/generic/ldsodefs.h: Update declaration.
34770         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34771         string for the scope number.
34773 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34775         * nscd/servicescache.c (cache_addserv): Make sure written is always
34776         initialized.
34778 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34780         * sysdeps/i386/i486/bits/atomic.h
34781         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34782         statement expression, so as to suppress "set but not used" warning.
34783         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34785         * string/strncat.c (STRNCAT): Use prototype definition.
34787         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34788         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34789         -Iprograms here.
34790         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34791         (localedef-modules): Add localedef.
34792         (locale-modules): Add locale.
34794         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34795         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34796         to avoid a warning.
34798 2011-08-14  David S. Miller  <davem@davemloft.net>
34800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34801         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34803 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34805         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34806         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34807         * elf/rtld.c (dl_main): Set l_name of vDSO.
34808         Call _dl_show_scope when DL_DEBUG_SCOPES.
34809         (process_dl_debug): Recognize scopes flag and also set it for all.
34810         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34811         Declare _dl_show_scope.
34813         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34814         (do_dlopen): Pass caller_dlopen to dl_open.
34815         (__libc_dlopen_mode): Initialize caller_dlopen.
34817         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34818         of libc.  Make tolower call locale-independent.  Optimize a bit by
34819         using isdigit instead of isalnum.
34820         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34822 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34824         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34825         was a dependency or dynamically loaded.
34827 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34829         * intl/l10nflist.c: Allow architecture-specific pop function.
34830         * sysdeps/x86_64/l10nflist.c: New file.
34832         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34833         classification.
34835 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34837         * include/dirent.h: Add libc_hidden_proto for scandirat and
34838         scandirat64.  Don't declare __scandirat64.
34839         * dirent/scandirat.c: Add libc_hidden_def.
34840         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34841         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34843 2011-08-10  David S. Miller  <davem@davemloft.net>
34845         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34846         enum.
34847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34849         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34851 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34853         * Versions.def [libc]: Add GLIBC_2.15.
34854         * dirent/Makefile (routines): Add scandirat and scandirat64.
34855         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34856         GLIBC_2.15.
34857         * dirent/dirent.h: Declare scandirat and scandirat64.
34858         * dirent/scandirat.c: New file.
34859         * dirent/scandirat64.c: New file.
34860         * sysdeps/wordsize-64/scandirat.c: New file.
34861         * sysdeps/wordsize-64/scandirat64.c: New file.
34862         * dirent/opendir.c: Define opendirat.
34863         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34864         using scandirat.
34865         * dirent/scandir64.c: Adjust for scandir.c change.
34866         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34867         __scandirat64, and __scandir_cancel_handler.
34868         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34869         additional parameter and use openat instead of open (outside of ld.so).
34870         Add new __opendir as wrapper around __opendirat.
34871         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34872         here without requiring old scandirat implementation.
34874 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34876         * dirent/scandir.c (cancel_handler): Renamed to
34877         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34878         defined.  Adjust users.
34879         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34880         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34882 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34884         * string/test-string.h (IMPL): Use __STRING to expand name and then
34885         stringify it.
34887         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34888         of cleanups.
34890 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34892         * string/Makefile: Update.
34893         (strop-tests): Append strncat.
34894         * string/test-wcscmp.c: New file.
34895         New comprehensive test for wcscmp.
34896         * string/test-strcmp.c: Update.
34897         (WIDE): New define.
34899 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34901         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34902         line.
34904 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34907         encoding to ACE if AI_IDN.
34909 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34912         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34914 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34917         Fix overflow bug in strncat.
34918         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34920         * string/test-strncat.c: Update.
34921         Add new tests for checking overflow bugs.
34923 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34926         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34927         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34928         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34929         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34930         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34931         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34932         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34933         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34936         (USE_AS_STRCAT): Define.
34937         Add strcat and strncat support.
34938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34940 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34942         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34943         __n bigger than INT_MAX+1.
34944         (__strncmp_g): Likewise.
34946 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34948         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34949         * libio/stido.h: Likewise.
34951         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34952         (AF_NFC): Define.
34953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34954         (AF_NFC): Define.
34956         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34957         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34958         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34959         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34960         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34962         [BZ #13021]
34963         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34964         installed.
34966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34967         typo.
34968         (_dl_x86_64_save_sse): Likewise.
34970 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34973         OSXSAVE.
34974         (_dl_x86_64_save_sse): Likewise.
34976         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34978         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34980 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34982         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34983         change.
34984         (_dl_x86_64_save_sse): Use correct AVX check.
34986 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34988         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34989         bug in strncpy/strncat.
34990         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34992 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34994         * string/tester.c (test_strcat): Add tests for different alignments
34995         of source and destination.
34996         (test_strncat): Likewise.
34998 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35000         [BZ #12852]
35001         * posix/glob.c (glob): Check passed in values before using them in
35002         expressions to avoid some overflows.
35003         (glob_in_dir): Likewise.
35005         [BZ #13007]
35006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35007         check for AVX enablement so that we don't crash with old kernels and
35008         new hardware.
35009         * elf/tst-audit4.c: Add same checks here.
35010         * elf/tst-audit6.c: Likewise.
35012         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35014 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35016         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35018 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35020         * po/cs.po: Update from translation team.
35021         * po/bg.po: Likewise.
35023 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35025         * misc/sys/cdefs.h: Add support for const attribute.
35026         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35027         to gnu_dev_{major,minor,makedev} functions.
35029 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35031         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35033 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35035         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35036         strlen results.
35038 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35041         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35042         register in order to avoid conflicts with the soft frame pointer
35043         being held in r11 when necessary.
35044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35045         (INTERNAL_VSYSCALL_NCS): Likewise.
35047 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35049         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35050         * elf/dl-fini.c (_dl_fini): Adjust caller.
35051         * elf/dl-close.c (_dl_close_worker): Likewise.
35052         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35054 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35056         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35057         "aux_cache->nlibs < 0".
35059         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35060         in the reload-count case.
35062 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35065         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35066         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35067         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35068         * sysdeps/x86_64/multiarch/strcat.S: New file.
35069         * sysdeps/x86_64/multiarch/strncat.S: New file.
35070         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35071         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35072         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35073         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35074         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35075         (USE_AS_STRCAT): Define.
35076         Add strcat and strncat support.
35077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35078         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35079         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35080         * string/strncat.c: Update.
35081         (USE_AS_STRNCAT): Define.
35082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35083         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35084         and i7.
35085         * sysdeps/x86_64/multiarch/init-arch.h
35086         (bit_Prefer_PMINUB_for_stringop): New.
35087         (index_Prefer_PMINUB_for_stringop): Likewise.
35088         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35089         bit_Prefer_PMINUB_for_stringop.
35091 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35093         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35094         buffer64.
35095         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35096         of casting of buffer.
35097         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35098         buffer32 and buffer64.
35099         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35100         writes instead of casting of buffer.
35101         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35102         buffer32.
35103         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35104         casting of buffer.
35106 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35108         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35110 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35112         * nscd/nscd.c (termination_handler): Don't do anything for a database
35113         if it has not yet been initialized.
35115 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35117         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35119 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35121         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35123 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35125         * po/nl.po: Update from translation team.
35126         * po/sv.po: Likewise.
35128 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35130         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35131         now disallowed by GCC.
35133         * configure.in (use-default-link): Default to yes if a test -shared
35134         link meets our qualifications.
35135         * configure: Regenerated.
35137         * config.make.in (output-format): New variable.
35138         * configure.in: Check for ld --print-output-format support.
35139         * configure: Regenerated.
35140         * Makerules ($(common-objpfx)format.lds)
35141         [$(output-format) != unknown]: Just use $(output-format),
35142         instead of the linker-script munging.
35144 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35146         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35147         of $(common-objpfx)shlib.lds.
35148         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35150         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35151         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35153         * configure.in (-z relro check): Adjust test code to add a large
35154         writable data section after it.
35155         * configure: Regenerated.
35157 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35159         * configure.in (-z relro check): Fix test code to make the variable
35160         truly const.
35161         * configure: Regenerated.
35163 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35165         * nscd/nscd.h (struct traced_file): Define.
35166         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35167         elements.  Add traced_files.
35168         (inotify_fd): Declare.
35169         (register_traced_file): Declare.
35170         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35171         (inotify_fd): Export.
35172         (resolv_conf_descr): Remove.
35173         (nscd_init): Move inotify descriptor creation to main.
35174         Don't register files for notification here.
35175         (register_traced_file): New function.
35176         (invalidate_cache): Don't use reset_res to determine whether to call
35177         res_init, go through the list of registered files.
35178         (main_loop_poll): The inotify descriptors are now stored in the
35179         structures for the traced files.
35180         (main_loop_epoll): Likewise
35181         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35182         to __nss_disable_nscd.
35183         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35184         for a database anymore.  Check the records for all the registered
35185         files instead.
35186         * nss/Makefile (libnss_files-routines): Add files-init.
35187         (libnss_db-routines): Add db-init.
35188         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35189         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35190         * nss/nss_db/db-init.c: New file.
35191         * nss/nss_files/files-init.c: New file.
35192         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35193         __nss_lookup_function.
35194         (__nss_lookup_function): Call nss_load_library.
35195         (nss_load_all_libraries): New function.
35196         (__nss_disable_nscd): Take parameter with callback function for files
35197         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35198         used for the cached services.
35199         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35200         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35201         options for features to all the files in nscd.
35203         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35205 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35207         * csu/elf-init.c (__libc_csu_init): Comment typo.
35209 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35211         * po/pl.po: Update from translation team.
35212         * po/ja.po: Likewise.
35213         * po/ru.po: Likewise.
35214         * po/ko.po: Likewise.
35215         * po/fr.po: Likewise.
35217 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35219         * configure.in (.ctors/.dtors header and trailer check):
35220         Use an empirical test on a built program.
35221         * configure: Regenerated.
35223         * configure.in (-z relro check): Use an empirical test on a built DSO.
35224         Detect, but do not require, on ia64.
35225         * configure: Regenerated.
35227         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35228         Update tests that use readelf to use $READELF instead.
35229         * configure: Regenerated.
35231 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35233         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35234         if the result is not used.
35236 2011-07-05  Andreas Jaeger  <aj@suse.de>
35238         [BZ#9696]
35239         * stdlib/tst-strtod.c: Add testcase.
35241 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35243         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35244         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35245         The latter has a higher limit.  Take additional parameter to pass to
35246         the new function.
35247         (__pathconf): Pass file to __statfs_link_max.
35248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35249         __statfs_link_max.
35250         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35251         __statfs_link_max.
35253         [BZ #12868]
35254         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35255         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35256         Handle Lustre.
35257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35258         (__statfs_filesize_max): Likewise.
35259         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35261 2011-07-05  Andreas Jaeger  <aj@suse.de>
35263         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35265 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35267         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35268         `status' variable.
35269         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35270         Likewise.
35272 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35274         * Makefile (strop-tests): Add strncat.
35275         * string/test-strncat.c: New file.
35277 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35279         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35281 2011-06-21  Andreas Jaeger  <aj@suse.de>
35283         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35284         Copy rule from iconvdata/Makefile.
35286 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35288         [BZ #12922]
35289         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35290         but no long options are defined, just return 'W'.
35292 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35294         [BZ #9696]
35295         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35297 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35299         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35300         netgroups to read.
35301         (innetgr): Likewise.
35303 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35305         * config.make.in (install_root): Default to $(DESTDIR).
35307 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35309         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35311 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35313         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35315         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35316         containing directory rather than embedding absolute directory names.
35318         * scripts/check-local-headers.sh: Rewritten using awk.
35319         Match by word, not by line.  Print error messages for matches.
35320         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35322         * Makerules [shlib-lds-flags empty]:
35323         ($(common-objpfx)libc_pic.opts): New target.
35324         ($(common-objpfx)libc_pic.os.clean): New target.
35325         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35327         * config.make.in (OBJCOPY): New variable.
35328         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35329         * configure: Regenerated.
35331         * config.make.in (use-default-link): New variable.
35332         * configure.in (use_default_link): Grok --with-default-link to set it.
35333         * configure: Regenerated.
35334         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35335         (shlib-lds, shlib-lds-flags): Define to empty.
35337         * Makerules (shlib-lds): New variable.
35338         (shlib-lds-flags): New variable.
35339         (build-shlib, build-moduile, build-module-asneeded): Use it.
35340         ($(common-objpfx)libc.so): Use $(shlib-lds).
35341         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35342         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35344         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35345         DT_FLAGS/DT_FLAGS_1 with zero flags.
35347         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35348         linker script munging.
35350 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35352         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35353         as 128-bit value.
35354         * crypt/sha512.c (sha512_process_block): Perform total addition using
35355         128-bit if possible.
35356         (__sha512_finish_ctx): Likewise.
35357         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35358         as 64-bit value.
35359         * crypt/sha256.c (SWAP64): Define.
35360         (sha256_process_block): Perform total addition using 64-bit if
35361         possible.
35362         (__sha256_finish_ctx): Likewise.
35364 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35366         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35368         * nscd/hstcache.c (cache_addhst): Likewise.
35369         * nscd/grpcache.c (cache_addgr): Likewise.
35370         * nscd/aicache.c (addhstaiX): Likewise
35371         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35373 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35375         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35377         * nscd/hstcache.c (cache_addhst): Likewise.
35378         * nscd/grpcache.c (cache_addgr): Likewise.
35379         * nscd/aicache.c (addhstaiX): Likewise
35381 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35383         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35384         domain only when needed.
35386 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35389         is always restored.
35391 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35393         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35394         are re-adding the entry.
35395         * nscd/servicescache.c (cache_addserv): Likewise.
35397 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35399         * sysdeps/generic/dl-irel.h: fix protection against multiple
35400         inclusions.
35401         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35403 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35405         [BZ #12935]
35406         * malloc/memusage.sh: Fix quoting in message.
35407         * debug/xtrace.sh: Likewise.
35409         * configure.in: Remove support for --experimental-malloc option, make
35410         it the default.
35411         * config.make.in: Likewise.
35412         * malloc/Makefile: Likewise.
35414 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35416         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35417         two-byte characters.
35419 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35421         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35422         AC_CACHE_CHECK invocation.
35423         * configure: Regenerated.
35425         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35427 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35429         [BZ #12350]
35430         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35431         bit from old_res_options.
35433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35435         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35436         value type for setfct.
35438 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35441         __gettimeofday instead of gettimeofday.
35443 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35445         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35447 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35449         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35452         info.
35454 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35457         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35458         strcpy-sse2-unaligned strncpy-sse2-unaligned
35459         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35460         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35461         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35462         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35463         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35464         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35466         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35467         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35468         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35469         (STRCPY): Support SSE2 and SSSE3 versions.
35471 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35473         [BZ #12874]
35474         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35475         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35476         kernels which artificially limit size of requests.
35478 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35481         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35482         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35483         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35484         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35485         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35486         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35487         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35488         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35489         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35490         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35491         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35492         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35493         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35494         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35496         Enable unaligned load optimization for Intel Core i3, i5 and i7
35497         processors.
35498         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35499         Define.
35500         (index_Fast_Unaligned_Load): Define.
35501         (HAS_FAST_UNALIGNED_LOAD): Define.
35503 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35505         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35507 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35509         [BZ #12907]
35510         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35511         until it is clear that the information is realy needed.
35512         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35514 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35518 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35521         /sys/devices/system/cpu/online if it is usable.
35523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35524         reading the information from the /proc filesystem to once a second.
35526 2011-06-21  Andreas Jaeger  <aj@suse.de>
35528         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35529         NULL after inclusion of kernel headers.
35531 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35533         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35534         calls to internal_setent.
35536         [BZ #12885]
35537         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35538         addresses using gethostbyname4_r ignore IPv4 addresses.
35540         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35541         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35543         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35545 2011-06-20  David S. Miller  <davem@davemloft.net>
35547         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35548         inclusions.
35549         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35551         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35552         (elf_irel): Use it.
35553         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35554         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35555         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35556         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35557         * sysdeps/x86_64/dl-irel.h: Likewise.
35559         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35560         * elf/dl-sym.c: Likewise.
35562 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35564         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35565         need to dereference resplen2.
35567 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35569         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35571 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35573         * Makeconfig: Define vardbdir and inst_vardbdir.
35574         * nss/Makefile: Add rules to install db-Makefile.
35576         * nss/nss_db/db-XXX.c: Cleanup.
35578         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35579         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35580         GLIBC_PRIVATE.
35581         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35582         * nss/makedb.c: Implement -g option to specify that value strings
35583         are generated and should not be added to table iterated over for
35584         get*ent calls.
35585         * nss/nss_db/db-initgroups.c: New file.
35587         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35588         interface.
35590         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35591         (internal_getgrouplist): Adjust to name change.
35592         Update use_initgroups_entry if this is not the first call.
35593         * nss/databases.def: Add initgroups entry.
35595         * nss/makedb.c (compute_tables): Check result of multiple hash table
35596         sizes to minimize maximum chain length.
35598 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35600         * Versions.def: Add entry for libnss_db.
35601         * shlib-versions: Likewise.
35602         * nss/Makefile: Add rules to build libnss_db.
35603         * nss/Versions: Add libnss_db information.  Organize libnss_files
35604         entries better.
35605         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35606         makedb progra.  Some minor improvements to generate smaller files.
35607         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35608         here from...
35609         * nss/makedb.c: ...here.
35610         Improve database format to be smaller and require less memory at
35611         runtime.
35612         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35613         db anymore.
35614         * nss/nss_db/db-netgrp.c: Likewise.
35615         * nss/nss_db/db-open.c: Likewise.
35616         * nss/nss_files/flies-XXX.x: Adjust comments.
35617         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35618         * nss/nss_files/files-grp.c: Likewise.
35619         * nss/nss_files/files-hosts.c: Likewise.
35620         * nss/nss_files/files-network.c: Likewise.
35621         * nss/nss_files/files-proto.c: Likewise.
35622         * nss/nss_files/files-pwd.c: Likewise.
35623         * nss/nss_files/files-rpc.c: Likewise.
35624         * nss/nss_files/files-service.c: Likewise.
35625         * nss/nss_files/files-sgrp.c: Likewise.
35626         * nss/nss_files/files-spwd.c: Likewise.
35627         * nss/nss_db/db-alias.c: Removed.
35628         * nss/nss_db/dummy-db.h: Removed.
35630 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35632         * nss/makedb.c: Rewritten to not use database library.
35633         * nss/Makefile: Update to build new makedb program.
35635 2011-06-14  Andreas Jaeger  <aj@suse.de>
35637         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35638         memset declaration.
35640 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35643         tmpbuf.
35645 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35647         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35648         * elf/Makefile ($(objpfx)ld.so): Likewise.
35650         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35651         Don't list ld.so twice in dependencies.
35653         * posix/bug-regex31.c: Include <stdlib.h>.
35655         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35657         * nis/nss_compat/compat-spwd.c
35658         (getspent_next_nss_netgr): Remove unused variable.
35659         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35661         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35662         nonmembers" output to use the right array.
35664         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35666         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35668         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35669         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35670         * catgets/gencat.c (read_input_file): Likewise.
35671         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35673         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35674         variable definition inside #if's controlling its use.
35676         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35678         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35680         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35682         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35683         unreachable code.
35685         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35687         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35688         * configure: Regenerated.
35690         * Makerules: Revert last change.
35691         * elf/Makefile: Likewise.
35693 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35695         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35696         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35697         (reloc-link): Likewise.
35699 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35701         * elf/Makefile: Add rules to build pldd.
35702         * elf/pldd.c: New file.
35703         * elf/pldd-xx.c: New file.
35705 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35707         * version.h: Update for 2.15 development version.
35709 2011-06-07  David S. Miller  <davem@davemloft.net>
35711         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35712         ifuncs.
35713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35714         elf_machine_lazy_rel): Likewise.
35715         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35717         elf_machine_lazy_rel): Likewise.
35718         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35719         dl_hwcap via passed in argument.
35720         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35721         Likewise.
35723 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35725         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35727 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35729         [BZ #12849]
35730         * manual/fdl-1.1.texi: New file, verbatim from:
35731         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35732         * manual/lgpl-2.1.texi: New file, verbatim from:
35733         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35734         * manual/Makefile (licenses): New variable, list those new file names.
35735         (texis): Use it.
35736         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35738         * manual/fdl.texi: File removed.
35739         * manual/lesser.texi: File removed.
35740         * manual/libc.texinfo (Copying, Documentation License):
35741         Use new @include file names, put @appendix directive before @include.
35743 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35745         [BZ #12841]
35746         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35747         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35748         (mq_open): Add __NTH.
35750 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35753         Assume Intel Core i3/i5/i7 processor if AVX is available.
35755 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35758         typo.
35760 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35762         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35763         memory.  Use alloca_account.  Fix memory leak when retrying.
35765 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35767         * version.h (RELEASE): Bump for 2.14 release.
35768         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35770         * config.make.in (RANLIB): Remove entry.
35772 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35774         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35775         (libc.pot): Work around missing support for .ksh extension in xgettext.
35777         [BZ #12684]
35778         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35779         if both request failed.
35780         (send_dg): In case of server errors clear resplen or *resplen2.
35782         [BZ #12454]
35783         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35784         when there are multiple maps.
35785         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35786         (_dl_fini): Remove test here.
35788         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35790 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35792         [BZ #12350]
35793         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35794         bit from old_res_options.
35795         (gaih_inet): Likewise.
35797         [BZ #11099]
35798         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35799         as signed.
35801         * resolv/res_init.c (res_setoptions): Make the code more compact.
35803         [BZ #11558]
35804         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35805         set RES_USEVC.
35807         [BZ #11634]
35808         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35810         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35812         [BZ #11781]
35813         * malloc/malloc.h: Declare malloc hook variables as volatile.
35815         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35816         in last patch.
35818         [BZ #11799]
35819         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35820         raise in the comment.
35821         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35823         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35825 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35827         [BZ #12811]
35828         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35829         grow the buffers more if it already has to be sufficient.
35830         (build_wcs_upper_buffer): Likewise.
35831         * posix/regexec.c (check_matching): Likewise.
35832         (clean_state_log_if_needed): Likewise.
35833         (extend_buffers): Don't enlarge buffers beyond size of the input
35834         buffer.
35835         Patches mostly by Emil Wojak <emil@wojak.eu>.
35836         * posix/bug-regex32.c: New file.
35837         * posix/Makefile (tests): Add bug-regex32.
35839         * locale/findlocale.c (_nl_find_locale): Return right away if
35840         _nl_explode_name failed.
35841         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35843         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35845         * debug/xtrace.sh: Unify messages.
35846         * malloc/memusage.sh: Likewise.
35848         [BZ #12813]
35849         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35850         time symbol from vDSO.  Substitute with vsyscall if not available.
35851         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35852         __vdso_time.
35854         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35855         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35856         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35857         Add sendmmsg and internal_sendmmsg.
35858         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35859         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35860         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35862         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35863         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35866 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35868         [BZ #12813]
35869         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35870         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35871         available.
35872         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35873         __vdso_getcpu.
35875         [BZ #12814]
35876         * iconvdata/Makefile (tests): Add bug-iconv9.
35877         * iconvdata/bug-iconv9.c: New file.
35879 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35881         [BZ #12814]
35882         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35884 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35887         (struct user_regs_struct): Change intcs field back to cs.
35889 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35891         * po/ja.po: Update from translation team.
35893 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35895         [BZ #12795]
35896         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35899 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35901         * stdlib/longlong.h: Update from GCC.
35903 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35905         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35906         parameter name.
35907         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35908         Add parameter name.
35909         (__sysconf): Pass it down.
35911 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35913         [BZ #12671]
35914         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35915         some situations.
35916         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35917         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35918         add in in __libc_use_alloca calls.  Adjust callers.
35919         (glob): Use malloc in some situations.
35921         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35922         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35923         pltexit.
35925 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35927         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35928         and CLOCK_BOOTTIME_ALARM.
35930         [BZ #12782]
35931         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35932         is returned.
35934         * string/_strerror.c (__strerror_r): Print negative errors as signed
35935         numbers.
35937         [BZ #12777]
35938         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35939         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35940         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35942         * configure.in: Fix typo in redirection and correct removal of test
35943         files in two cases.
35945         [BZ #12788]
35946         * locale/setlocale.c (new_composite_name): Fix test to check for
35947         identical name of all categories.
35949         [BZ #12792]
35950         * libio/filedoalloc.c (local_isatty): New function.
35951         (_IO_file_doallocate): Use local_isatty.
35952         * stdio-common/perror.c (perror): In case a new stream is used
35953         forward the stream error.
35954         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35955         error flag.
35957 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35959         [BZ #11869]
35960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35961         alloca.
35962         * include/alloca.h (extend_alloca_account): Define.
35964         [BZ #11857]
35965         * posix/regex.h: Fix comments with documentation of user-accessible
35966         fields after compilation and describe correct free'ing of pattern
35967         after re_compile_pattern.
35968         Patch by Reuben Thomas <rrt@sc3d.org>.
35970 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35972         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35973         and -mno-altivec to prevent the compiler from using Altivec and/or
35974         VSX instructions when the corresponding registers are not available.
35976 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35978         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35980 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35982         * libio/freopen.c (freopen): Use __dup2, not dup2.
35983         * libio/freopen64.c (freopen64): Likewise.
35985 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35987         [BZ #12775]
35988         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35989         * math/Makefile (tests): Add test-powl.
35990         (CFLAGS-test-powl.c): Define.
35991         * math/test-powl.c: New file.
35993 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35995         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35997 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35999         [BZ #11837]
36000         * iconvdata/gb18030.c: Update to GB18020-2005.
36002 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36004         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36005         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36006         Patch by Aharon Robbins <arnold@skeeve.com>.
36008         [BZ #11892]
36009         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36010         on the stack.
36012         [BZ #11895]
36013         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36014         through underflows.
36016         [BZ #12766]
36017         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36018         point to strings before performing equality test for error_one_per_line
36019         mode.
36021         [BZ #11697]
36022         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36024         [BZ #11820]
36025         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36026         (struct user_fpregs_struct): Avoid __uint*_t types.
36028         [BZ #6420]
36029         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36030         symbol info.  Use it instead of calling _dl_addr locally.
36031         (lock_and_info): New function.
36032         (tr_freehook): Call lock_and_info and pass symbol info as additional
36033         parameter to tr_where.
36034         (tr_mallochook): Likewise.
36035         (tr_reallochook): Likewise.
36036         (tr_memalignhook): Likewise.
36038         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36039         used and couldn't be at all thread-safe.
36041 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36043         * libio/freopen.c (freopen): Don't close old file descriptor
36044         before the new one is opened.  Instead dup the new file descriptor
36045         to the old one after the new stream is created.
36046         * libio/freopen64.c (freopen64): Likewise.
36047         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36048         * libio/fileops.c (_IO_new_file_close_it): Handle new
36049         _IO_FLAGS2_NOCLOSE flag.
36050         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36051         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36052         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36053         _IO_FLAGS2_NOCLOSE flag.
36054         * include/unistd.h: Add hidden_proto for dup3.
36055         Define __have_dup3.
36056         * io/dup3.c: Define hidden symbol.
36057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36059         [BZ #7101]
36060         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36061         when an incomplete long option is used.
36062         * posix/tst-getopt_long1.c: New file.
36063         * posix/Makefile (tests): Add tst-getopt_long1.
36065         [BZ #10138]
36066         * scripts/config.guess: Update from autoconf-2.68.
36067         * scripts/config.sub: Likewise.
36069         [BZ #10157]
36070         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36071         tests into ...
36072         (has_cpuclock): ...this.  New function.
36073         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36074         macro here based on has_cpuclock code.
36076         [BZ #10149]
36077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36078         First byte (not low byte) is now always NUL.
36079         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36082         Use non-cancelable interfaces.
36084         [BZ #9809]
36085         * locale/iso-639.def: Add entry for Sorani.
36087         [BZ #11901]
36088         * include/stdlib.h: Move include protection to the right place.
36089         Define abort_msg_s.  Declare __abort_msg with it.
36090         * stdlib/abort.c (__abort_msg): Adjust type.
36091         * assert/assert.c (__assert_fail_base): New function.  Majority
36092         of code from __assert_fail.  Allocate memory for __abort_msg with
36093         mmap.
36094         (__assert_fail): Now call __assert_fail_base.
36095         * assert/assert-perr.c: Remove bulk of implementation.  Use
36096         __assert_fail_base.
36097         * include/assert.hL Declare __assert_fail_base.
36098         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36099         mmap.
36100         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36102 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36104         [BZ #11952]
36105         [BZ #12453]
36106         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36107         until all modules are registered in the DTV.
36108         * elf/Makefile: Add rules to build and run tst-tls19.
36109         * elf/tst-tls19.c: New file.
36110         * elf/tst-tls19mod1.c: New file.
36111         * elf/tst-tls19mod2.c: New file.
36112         * elf/tst-tls19mod3.c: New file.
36113         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36115         [BZ #12083]
36116         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36117         correctly.
36119         [BZ #12601]
36120         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36121         two-byte sequence errors.
36122         * iconvdata/Makefile (tests): Add bug-iconv8.
36123         * iconvdata/bug-iconv8.c: New file.
36125         [BZ #12626]
36126         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36127         buf2 definition.
36129         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36131         [BZ #12432]
36132         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36133         (dummy_getcfa): New function.
36134         (init): Get _Unwind_GetCFA address, use dummy if not found.
36135         (backtrace_helper): In recursion check, also check whether CFA changes.
36136         (__backtrace): Completely initialize arg.
36138         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36139         storing incomplete byte sequence in state object.  Avoid testing for
36140         guaranteed too small input if we know there is enough data available.
36142 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36144         * Makeconfig (+link-pie): Indent.
36145         * Rules (binaries-pie): Define if $(have-fpie) and
36146         $(build-shared).
36147         (binaries-shared): Also filter out $(binaries-pie).
36148         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36149         * nscd/Makefile (others-pie): Add nscd.
36150         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36151         ($(objpfx)nscd): Remove command override.
36152         * login/Makefile (others-pie): Add pt_chown.
36153         ($(objpfx)pt_chown): Remove command override.
36154         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36155         remove command overrides.
36157 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36159         * libio/tst_putwc.c: Fix error messages.
36161         [BZ #12724]
36162         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36163         currently writing and seek to current position when not.
36164         * libio/Makefile (tests): Add bug-fclose1.
36165         * libio/bug-fclose1.c: New file.
36167 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36169         [BZ #12511]
36170         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36171         don't set DF_1_NODELETE here.
36172         (do_lookup_x): When entering new entry test for copy relocation
36173         and if necessary set DF_1_NODELETE flag.
36174         * elf/tst-unique4.cc: New file.
36175         * elf/tst-unique4.h: New file.
36176         * elf/tst-unique4lib.cc: New file.
36177         * elf/Makefile: Add rules to build and run tst-unique4.
36178         Patch by Piotr Bury <pbury@goahead.com>.
36180 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36182         [BZ #12052]
36183         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36185         [BZ #12625]
36186         * misc/mntent_r.c (addmntent): Flush the stream after the output
36188         [BZ #12393]
36189         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36190         (is_trusted_path_normalize): Skip initial colon.  Append slash
36191         to empty buffer.  Duplicate is_trusted_path code but allow
36192         constructed patch to be prefix.
36193         (is_dst): Allow $ORIGIN followed by /.
36194         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36195         Correct testing of result of is_trusted_path_normalize
36196         (decompose_rpath): Fix warning.
36198 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36200         [BZ #11257]
36201         * grp/initgroups.c (internal_getgrouplist): When we found the service
36202         list through the initgroups entry in nsswitch.conf do not always
36203         continue on a successful lookup.  Don't always use the
36204         __nss_group_database value if it is set.
36205         * nss/nsswitch.conf (initgroups): Change action for successful db
36206         lookup to continue for compatibility.
36208 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36210         [BZ #11532]
36211         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36212         and CP774 modules.
36213         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36214         and CP774 modules.
36215         * iconvdata/tst-tables.sh: Likewise.
36216         * iconvdata/cp770.c: New file.
36217         * iconvdata/cp771.c: New file.
36218         * iconvdata/cp772.c: New file.
36219         * iconvdata/cp773.c: New file.
36220         * iconvdata/cp774.c: New file.
36221         * iconvdata/testdata/CP770: New file.
36222         * iconvdata/testdata/CP770..UTF8: New file.
36223         * iconvdata/testdata/CP771: New file.
36224         * iconvdata/testdata/CP771..UTF8: New file.
36225         * iconvdata/testdata/CP772: New file.
36226         * iconvdata/testdata/CP772..UTF8: New file.
36227         * iconvdata/testdata/CP773: New file.
36228         * iconvdata/testdata/CP773..UTF8: New file.
36229         * iconvdata/testdata/CP774: New file.
36230         * iconvdata/testdata/CP774..UTF8: New file.
36232         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36233         END CHARMAP line.
36234         * iconvdata/gen-8bit-gap.sh: Likewise.
36235         * iconvdata/gen-8bit.sh: Likewise.
36237         * locale/iso-639.def: Add ary entry.
36239         [BZ #11258]
36240         * locale/C-translit.h.in: Add U20A1 transliteration.
36242         [BZ #12178]
36243         * locale/iso-639.def: Add wae entry.
36244         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36246         [BZ #12545]
36247         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36248         for n.
36250         [BZ #12711]
36251         * locale/C-translit.h.in: Add entry for U20B9.
36252         Patch by pravin.d.s@gmail.com.
36254 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36256         [BZ #12713]
36257         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36258         ENAMETOOLONG use generic getcwd.
36259         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36260         in rtld.  Use *stat64.
36261         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36262         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36263         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36264         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36265         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36266         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36267         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36268         __fstatat64 macros.
36269         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36270         * dirent/rewinddir.c: Add libc_hidden_def.
36271         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36272         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36274         * include/dirent.h (__alloc_dir): Add flags parameter.
36275         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36276         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36277         __alloc_dir.
36278         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36279         from fdopendir if O_CLOEXEC is already set.
36281 2011-03-15  Alan Modra  <amodra@gmail.com>
36283         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36284         l_tls_firstbyte_offset non-zero.  Save padding offset in
36285         l_tls_firstbyte_offset for later use.
36286         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36287         freeing static tls block.
36289 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36291         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36292         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36293         being defined by the kernel headers.
36295 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36297         [BZ #12734]
36298         * resolv/resolv.h: Define RES_NOTLDQUERY.
36299         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36300         no-tld-query and set RES_NOTLDQUERY.
36301         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36302         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36303         modern BIND to search name as TLD unless forbidden.
36305 2011-05-07  Petr Baudis  <pasky@suse.cz>
36306             Ulrich Drepper  <drepper@gmail.com>
36308         [BZ #12393]
36309         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36310         (is_trusted_path): ...to here.
36311         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36312         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36313         using is_trusted_path_normalize() in setuid scripts.
36315 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36317         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36318         __BEGIN/__END_DECLS.
36320 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36322         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36323         NSS_STATUS_NOTFOUND if no record was found.
36325 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36327         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36328         (headers-not-in-tirpc): Remove rpc/netdb.h
36329         * resolv/netdb.h: Revert last change.
36331 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36333         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36334         circular dependency between libgcc.a and libc.a.
36336 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36338         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36339         * nis/Makefile: Don't install rpcsvc/*.
36340         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36341         instead of <rpc/types.h>.
36342         (MAXHOSTNAMELEN): Define.
36344 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36346         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36348 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36350         [BZ #12714]
36351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36352         gethostbyname4_r when IPv6 results are possible.
36354 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36356         [BZ #12723]
36357         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36358         _PC_PIPE_BUF handling.
36360 2011-04-30  Bruno Haible  <bruno@clisp.org>
36362         [BZ #12717]
36363         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36364         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36365         to 'int'.
36366         * inet/getnameinfo.c (getnameinfo): Likewise.
36368 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36370         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36371         to groups setting in database lookup.
36372         * nss/nsswitch.conf: Add initgroups entry.
36374 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36376         [BZ #12685]
36377         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36378         mode string.
36379         Patch by Eric Blake <eblake@redhat.com>.
36381 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36383         * sunrpc/Makefile (need-export-routines): Add svc_run.
36384         (routines): Remove svc_run.
36385         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36386         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36387         * sunrpc/svc_run.c (svc_run): Likewise.
36388         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36390 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36392         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36393         problem in reallocation in last patch.
36395 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36397         * sunrpc/Makefile: Move inclusion of Rules.
36399 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36401         * nss/nss_files/files-initgroups.c: New file.
36402         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36403         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36404         _nss_files_initgroups_dyn.
36406 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36408         * elf/elf.h (R_ARM_IRELATIVE): Define.
36410 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36412         * po/ru.po: Update from translation team.
36414 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36416         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36417         dependencies.
36419 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36421         [BZ #12653]
36422         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36423         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36424         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36428 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36430         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36431         differing bytes.
36432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36433         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36436 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36438         [BZ #12420]
36439         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36440         storing it.
36441         * stdlib/bug-getcontext.c: New file.
36442         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36444 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36446         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36447         instructions into .machine "z9-109".
36448         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36449         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36451 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36453         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36454         between environment variables and auxiliary vector.
36456 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36458         * Makefile: Add rules to build linkobj/libc.so.
36459         * include/libc-symbols.h: Define libc_hidden_nolink.
36460         * include/rpc/auth.h: Mark functions which are to be hidden.
36461         * include/rpc/auth_des.h: Likewise.
36462         * include/rpc/auth_unix.h: Likewise.
36463         * include/rpc/clnt.h: Likewise.
36464         * include/rpc/des_crypt.h: Likewise.
36465         * include/rpc/key_prot.h: Likewise.
36466         * include/rpc/pmap_clnt.h: Likewise.
36467         * include/rpc/pmap_prot.h: Likewise.
36468         * include/rpc/pmap_rmt.h: Likewise.
36469         * include/rpc/rpc_msg.h: Likewise.
36470         * include/rpc/svc.h: Likewise.
36471         * include/rpc/svc_auth.h: Likewise.
36472         * include/rpc/xdr.h: Likewise.
36473         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36474         * nss/Makefile: Likewise.
36475         * sunrpc/Makefile: Don't install headers.  Build library with normal
36476         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36477         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36478         for the compat linking library.  Remove use of INTDEF/INTUSE.
36479         * sunrpc/auth_none.c: Likewise.
36480         * sunrpc/auth_unix.c: Likewise.
36481         * sunrpc/authdes_prot.c: Likewise.
36482         * sunrpc/authuxprot.c: Likewise.
36483         * sunrpc/clnt_gen.c: Likewise.
36484         * sunrpc/clnt_perr.c: Likewise.
36485         * sunrpc/clnt_raw.c: Likewise.
36486         * sunrpc/clnt_simp.c: Likewise.
36487         * sunrpc/clnt_tcp.c: Likewise.
36488         * sunrpc/clnt_udp.c: Likewise.
36489         * sunrpc/clnt_unix.c: Likewise.
36490         * sunrpc/des_crypt.c: Likewise.
36491         * sunrpc/des_soft.c: Likewise.
36492         * sunrpc/get_myaddr.c: Likewise.
36493         * sunrpc/key_call.c: Likewise.
36494         * sunrpc/key_prot.c: Likewise.
36495         * sunrpc/netname.c: Likewise.
36496         * sunrpc/pm_getmaps.c: Likewise.
36497         * sunrpc/pm_getport.c: Likewise.
36498         * sunrpc/pmap_clnt.c: Likewise.
36499         * sunrpc/pmap_prot.c: Likewise.
36500         * sunrpc/pmap_prot2.c: Likewise.
36501         * sunrpc/pmap_rmt.c: Likewise.
36502         * sunrpc/publickey.c: Likewise.
36503         * sunrpc/rpc_cmsg.c: Likewise.
36504         * sunrpc/rpc_common.c: Likewise.
36505         * sunrpc/rpc_dtable.c: Likewise.
36506         * sunrpc/rpc_prot.c: Likewise.
36507         * sunrpc/rpc_thread.c: Likewise.
36508         * sunrpc/rtime.c: Likewise.
36509         * sunrpc/svc.c: Likewise.
36510         * sunrpc/svc_auth.c: Likewise.
36511         * sunrpc/svc_authux.c: Likewise.
36512         * sunrpc/svc_raw.c: Likewise.
36513         * sunrpc/svc_run.c: Likewise.
36514         * sunrpc/svc_simple.c: Likewise.
36515         * sunrpc/svc_tcp.c: Likewise.
36516         * sunrpc/svc_udp.c: Likewise.
36517         * sunrpc/svc_unix.c: Likewise.
36518         * sunrpc/svcauth_des.c: Likewise.
36519         * sunrpc/xcrypt.c: Likewise.
36520         * sunrpc/xdr.c: Likewise.
36521         * sunrpc/xdr_array.c: Likewise.
36522         * sunrpc/xdr_float.c: Likewise.
36523         * sunrpc/xdr_intXX_t.c: Likewise.
36524         * sunrpc/xdr_mem.c: Likewise.
36525         * sunrpc/xdr_rec.c: Likewise.
36526         * sunrpc/xdr_ref.c: Likewise.
36527         * sunrpc/xdr_sizeof.c: Likewise.
36528         * sunrpc/xdr_stdio.c: Likewise.
36530 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36532         [BZ #12650]
36533         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36534         * sysdeps/ia64/dl-tls.h: Likewise.
36535         * sysdeps/powerpc/dl-tls.h: Likewise.
36536         * sysdeps/s390/dl-tls.h: Likewise.
36537         * sysdeps/sh/dl-tls.h: Likewise.
36538         * sysdeps/sparc/dl-tls.h: Likewise.
36539         * sysdeps/x86_64/dl-tls.h: Likewise.
36540         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36542 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36544         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36545         rpath element also skip the following colon.
36546         (expand_dynamic_string_token): Add is_path parameter and pass
36547         down to DL_DST_REQUIRED and _dl_dst_substitute.
36548         (decompose_rpath): Call expand_dynamic_string_token with
36549         non-zero is_path.  Ignore empty rpaths.
36550         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36551         with zero is_path.
36553 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36556         Make cancelable.
36558 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36560         [BZ #12655]
36561         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36562         Patch by Filipe David Manana <fdmanana@apache.org>.
36564 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36567         Maintain aligned stack.
36568         (CHECK_RSP): Remove unused macro.
36570 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36572         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36573         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36575 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36577         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36579         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36581 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36583         [BZ #12518]
36584         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36585         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36586         * sysdeps/x86_64/memmove.c: New file.
36587         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36588         (memcpy): Renamed to ...
36589         (__new_memcpy): This.
36590         (memcpy): Provide GLIBC_2_14 memcpy.
36591         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36592         (memcpy): Provide GLIBC_2_2_5 memcpy.
36594 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36596         [BZ #12631]
36597         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36599 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36601         * misc/syncfs.c: New file.
36602         * misc/Makefile (routines): Add syncfs.
36603         * posix/unistd.h: Declare syncfs.
36604         * sysdeps/unix/syscalls.list: Add syncfs.
36606 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36608         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36609         open_by_handle_at.
36610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36611         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36613         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36615         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36616         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36618 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36620         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36621         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36622         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36624         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36626         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36628         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36629         sync_file_range.c with -fexceptions.
36630         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36631         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36632         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36633         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36634         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36635         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36637         sync_file_range as cancellation point
36638         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36639         now a wrapper around __call_sync_file_range with cancellation handling.
36640         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36641         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36642         function name to __call_sync_file_range.
36643         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36644         Add call_sync_file_range.
36646 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36649         bits/timex.h.
36651 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36653         * iconv/iconv.h: Fix typo in comment.
36654         * io/fcntl.h: Likewise.
36655         * libio/stdio.h: Likewise.
36656         * posix/spawn.h: Likewise.
36657         * posix/unistd.h: Likewise.
36658         * stdlib/stdlib.h: Likewise.
36659         * time/time.h: Likewise.
36660         * wcsmbs/wchar.h: Likewise.
36662         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36663         open_by_handle): Add.
36664         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36665         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36666         Augment a few comments.
36667         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36672         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36673         open_by_handle.
36675         * io/fcntl.h (AT_EMPTY_PATH): Define.
36677 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36679         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36680         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36681         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36682         to...
36683         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36684         * Versions.def: Add GLIBC_2.14.
36685         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36686         Export.
36688 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36691         round counter.
36692         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36694 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36696         [BZ #12597]
36697         * string/test-strncmp.c (do_page_test): New function.
36698         (check2): Likewise.
36699         (test_main): Call check2.
36700         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36702 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36704         [BZ #12587]
36705         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36706         Handle cache information in CPU leaf 4.
36707         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36709 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36711         [BZ #12583]
36712         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36713         character representation.
36714         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36716 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36718         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36719         END(__isnan) to END(__isnanf) to match function entry point/label
36720         EALIGN(__isnanf,...).
36722 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36724         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36726 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36728         [BZ #12510]
36729         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36730         copy from the symbol referenced in the relocation to initialize the
36731         used variable.
36732         Patch by Piotr Bury <pbury@goahead.com>.
36733         * elf/Makefile: Add rules to build and tst-unique3.
36734         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36735         * elf/tst-unique3.cc: New file.
36736         * elf/tst-unique3.h: New file.
36737         * elf/tst-unique3lib.cc: New file.
36738         * elf/tst-unique3lib2.cc: New file.
36740         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36742 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36744         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36745         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36746         to _start.
36748 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36750         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36751         to-be-loaded object along a path to loader is ld.so.
36753 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36754             Ulrich Drepper  <drepper@gmail.com>
36756         * sysdeps/x86_64/memset.S: After aligning destination, code
36757         branches to different locations depending on the value of
36758         misalignment, when multiarch is enabled. Fix this.
36760 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36762         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36763         Set _x86_64_preferred_memory_instruction for AMD processsors.
36764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36765         Set bit_Prefer_SSE_for_memop for AMD processors.
36767 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36769         * libio/fmemopen.c (fmemopen): Optimize a bit.
36771 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36773         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36775 2011-03-03  Roland McGrath  <roland@redhat.com>
36777         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36779 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36781         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36782         __bzero_ultra1 instead of __memset_ultra1.
36784 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36785             Ulrich Drepper  <drepper@gmail.com>
36787         [BZ #12509]
36788         * include/link.h (struct link_map): Add l_orig_initfini.
36789         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36790         returning unsuccessfully.
36791         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36792         close of a file loaded at startup, restore the original l_initfini
36793         list.
36794         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36795         list, store the pointer.
36796         * elf/Makefile ($(objpfx)noload-mem): New rule.
36797         (noload-ENV): Define.
36798         (tests): Add $(objpfx)noload-mem.
36799         * elf/noload.c: Include <memcheck.h>.
36800         (main): Call mtrace.  Close all opened handles.
36802 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36804         [BZ #12454]
36805         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36806         dependencies are missing.
36808 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36810         Fix __if_freereq crash: Unlike the generic version which uses free,
36811         Hurd needs munmap.
36812         * sysdeps/mach/hurd/ifreq.h: New file.
36814 2011-01-27  Petr Baudis  <pasky@suse.cz>
36815             Ulrich Drepper  <drepper@gmail.com>
36817         [BZ 12445]#
36818         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36819         to extend_alloca().
36820         * stdio-common/bug23.c: New file.
36821         * stdio-common/Makefile (tests): Add bug23.
36823 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36824             Ulrich Drepper  <drepper@gmail.com>
36826         [BZ #12489]
36827         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36828         before performing relro protection.  At old place add assertion
36829         to make sure nothing changed.
36831 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36832             Glauber de Oliveira Costa  <glommer@gmail.com>
36834         * elf/elf.h: Add new ARM TLS relocs.
36836 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36839         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36840         cast from r3.
36841         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36842         'tests' variable.
36843         * sysdeps/wordsize-64/tst-writev.c: New file.
36845 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36847         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36848         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36849         insns in _dl_start to prevent a TOC reference before relocs are
36850         resolved.
36852 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36854         [BZ #12469]
36855         * Makeconfig: Remove RANLIB definition.
36856         * Makerules: Don't use RANLIB.
36857         * aclocal.m4: Remove ranlib test.
36858         * configure.in: No need to check for ranlib.
36859         * elf/rtld-Rules: Don't use RANLIB.
36861 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36863         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36864         protection macro.
36865         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36866         inclusion protection macro.
36868         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36869         SIGRTMIN and SIGRTMAX and print information in that case only when
36870         SIGRTMIN is defined.
36872 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36874         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36875         arginfo fn returning -1.
36877         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36878         and thousands string is zero terminated.
36880 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36883         sysdeps/unix/sysv/linux/bits/socket.h.
36885 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36887         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36888         (__CPU_COUNT): Remove old macros.
36889         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36890         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36891         (__CPU_ALLOC, __CPU_FREE): Add macros.
36892         (__sched_cpualloc, __sched_cpufree): Add declarations.
36894 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36896         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36897         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36898         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36899         (readdhstai): Return value of addhstaiX call.
36900         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36901         (addgrbyX): Return value returned by cache_addgr.
36902         (readdgrbyname): Return value returned by addgrbyX.
36903         (readdgrbygid): Likewise.
36904         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36905         (addpwbyX): Return value returned by cache_addpw.
36906         (readdpwbyname): Return value returned by addhstbyX.
36907         (readdpwbyuid): Likewise.
36908         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36909         (addservbyX): Return value returned by cache_addserv.
36910         (readdservbyname): Return value returned by addservbyX:
36911         (readdservbyport): Likewise.
36912         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36913         (addhstbyX): Return value returned by cache_addhst.
36914         (readdhstbyname): Return value returned by addhstbyX.
36915         (readdhstbyaddr): Likewise.
36916         (readdhstbynamev6): Likewise.
36917         (readdhstbyaddrv6): Likewise.
36918         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36919         (readdinitgroups): Return value returned by addinitgroupsX.
36920         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36921         (prune_cache): Keep track of timeout value of re-added entries.
36922         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36923         * nscd/nscd.h: Adjust prototypes of readd* functions.
36925 2011-02-04  Roland McGrath  <roland@redhat.com>
36927         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36928         (nis_stats): Likewise.
36929         * nis/nis_modify.c (nis_modify): Likewise.
36930         * nis/nis_remove.c (nis_remove): Likewise.
36931         * nis/nis_add.c (nis_add): Likewise.
36933         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36935         * posix/fnmatch_loop.c: Add some consts.
36937         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36939 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36941         [BZ #12460]
36942         * config.make.in (config-cflags-novzeroupper): Define.
36943         * configure.in: Substitute libc_cv_cc_novzeroupper.
36944         * elf/Makefile (AVX-CFLAGS): Define.
36945         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36946         (CFLAGS-tst-auditmod4a.c): Likewise.
36947         (CFLAGS-tst-auditmod4b.c): Likewise.
36948         (CFLAGS-tst-auditmod6b.c): Likewise.
36949         (CFLAGS-tst-auditmod6c.c): Likewise.
36950         (CFLAGS-tst-auditmod7b.c): Likewise.
36951         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36953 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36955         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36956         function to the callback.
36957         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36959 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36961         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36962         of errno.
36964 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36966         [BZ #11724]
36967         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36968         of constructors.
36969         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36970         of destructors.
36971         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36973         [BZ #11724]
36974         * elf/Makefile: Add rules to build and run new test.
36975         * elf/tst-initorder.c: New file.
36976         * elf/tst-initorder.exp: New file.
36977         * elf/tst-initordera1.c: New file.
36978         * elf/tst-initordera2.c: New file.
36979         * elf/tst-initordera3.c: New file.
36980         * elf/tst-initordera4.c: New file.
36981         * elf/tst-initorderb1.c: New file.
36982         * elf/tst-initorderb2.c: New file.
36983         * elf/tst-order-a1.c: New file.
36984         * elf/tst-order-a2.c: New file.
36985         * elf/tst-order-a3.c: New file.
36986         * elf/tst-order-a4.c: New file.
36987         * elf/tst-order-b1.c: New file.
36988         * elf/tst-order-b2.c: New file.
36989         * elf/tst-order-main.c: New file.
36990         New test case by George Gensure <werkt0@gmail.com>.
36992 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36995         decoding ACE if AI_CANONIDN.
36997 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36999         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37001 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37003         * version.h (RELEASE): Bump for 2.13 release.
37004         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37006         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37008         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37009         MADV_NOHUGEPAGE.
37010         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37012         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37013         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37014         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37015         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37017         * posix/getconf.c: Update copyright year.
37018         * catgets/gencat.c: Likewise.
37019         * csu/version.c: Likewise.
37020         * debug/catchsegv.sh: Likewise.
37021         * debug/xtrace.sh: Likewise.
37022         * elf/ldconfig.c: Likewise.
37023         * elf/ldd.bash.in: Likewise.
37024         * elf/sprof.c (print_version): Likewise.
37025         * iconv/iconv_prog.c: Likewise.
37026         * iconv/iconvconfig.c: Likewise.
37027         * locale/programs/locale.c: Likewise.
37028         * locale/programs/localedef.c: Likewise.
37029         * malloc/memusage.sh: Likewise.
37030         * malloc/mtrace.pl: Likewise.
37031         * nscd/nscd.c (print_version): Likewise.
37032         * nss/getent.c: Likewise.
37034         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37035         PF_CAIF, and PF_ALG.
37036         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37038 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37040         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37041         (modules-names): Use them.
37042         (ifunc-test-modules, ifunc-pie-tests): Define.
37043         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37044         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37045         (test-extras): Likewise.
37046         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37047         $(compile-command.c).
37048         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37049         (all-built-dso): Define.
37050         (check-textrel.out, check-execstack.out): Depend on it.
37052         * configure.in: Don't override --enable-multi-arch.
37054 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37056         [BZ #6812]
37057         * nscd/hstcache.c (tryagain): Define.
37058         (cache_addhst): Return tryagain not notfound for temporary errors.
37059         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37060         failed.
37062 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37064         [BZ #10563]
37065         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37066         to make the syscall.
37067         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37069         [BZ #12378]
37070         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37071         and fall back to matching as normal character if the string ends before
37072         the matching ']' is found.  This is what POSIX requires.
37073         * posix/testfnm.c: Adjust test result.
37074         * posix/globtest.sh: Adjust test result.  Add new test.
37075         * posix/tst-fnmatch.input: Likewise.
37076         * posix/tst-fnmatch2.c: Add new test.
37078 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37080         * elf/Makefile (check-execstack): Revert last change.  Depend on
37081         check-execstack.h.
37082         (check-execstack.h): New target.
37083         (generated): Add check-execstack.h.
37084         * elf/check-execstack.c: Include "check-execstack.h".
37085         (main): Revert last change.
37086         (handle_file): Return zero if GNU_STACK is absent and
37087         DEFAULT_STACK_PERMS doesn't include PF_X.
37089 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37091         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37092         in child fails because the descriptor is already closed.
37093         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37094         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37095         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37097         [BZ #12397]
37098         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37099         syscall.
37101         [BZ #10484]
37102         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37103         temporary buffer used to handle multi lookups locally.
37104         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37106 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37108         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37109         loader is ld.so.
37111 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37113         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37114         alignment for SSE2.
37116 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37118         [BZ #12394]
37119         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37120         characters.  When rounding increased number of integer digits recompute
37121         number of groups.
37122         * stdio-common/tst-grouping.c: New file.
37123         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37125 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37127         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37128         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37130         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37131         void.
37132         * bits/select.h: Likewise.
37134 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37136         * po/ja.po: Update from translation team.
37138 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37140         [BZ #11155]
37141         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37142         implementation just like for lxstat, fxstatat, et al.
37144 2010-12-27  Jim Meyering  <meyering@redhat.com>
37146         [BZ #12348]
37147         * posix/regexec.c (build_trtable): Return failure indication upon
37148         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37150 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37152         [BZ #12201]
37153         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37154         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37155         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37158         [BZ #12207]
37159         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37161         [BZ #12204]
37162         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37163         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37165 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37167         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37168         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37169         script has SORT_BY_INIT_PRIORITY.
37170         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37171         NO_CTORS_DTORS_SECTIONS is defined.
37172         * elf/soinit.c: Likewise.
37173         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37174         NO_CTORS_DTORS_SECTIONS is defined.
37175         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37176         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37177         * sysdeps/sh/init-first.c: Likewise.
37178         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37180 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37182         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37183         always use the slow path.
37185 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37187         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37188         similar rule which adds the sysdep directories to the header search in
37189         order to pick up the correct platform stackinfo.h.
37190         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37191         perform test if it is, otherwise return successfully without testing.
37192         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37193         DEFAULT_STACK_PERMS define in stackinfo.h.
37194         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37195         defined in stackinfo.h.
37196         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37197         DEFAULT_STACK_PERMS defined in stackinfo.h.
37198         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37199         * sysdeps/ia64/stackinfo.h: Likewise.
37200         * sysdeps/s390/stackinfo.h: Likewise.
37201         * sysdeps/sh/stackinfo.h: Likewise.
37202         * sysdeps/sparc/stackinfo.h: Likewise.
37203         * sysdeps/x86_64/stackinfo.h: Likewise.
37204         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37205         PF_X for powerpc64.  Retain PF_X for powerpc32.
37207 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37209         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37210         accurately.
37211         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37212         GETDENTS_64BIT_ALIGNED.
37214 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37216         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37218 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37220         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37221         _GNU_SOURCE.
37223         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37224         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37225         Remove __restrict.
37226         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37227         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37229 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37231         [BZ #11655]
37232         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37233         are initialized.
37235 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37237         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37239 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37241         * po/it.po: Update from translation team.
37243 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37246         unused codes.
37248 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37250         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37252 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37254         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37255         specially.
37256         (gaih_getanswer_slice): Likewise.
37258 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37262 2010-05-31  Petr Baudis  <pasky@suse.cz>
37264         [BZ #11149]
37265         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37266         silently even in the chroot mode.
37268 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37270         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37271         last patch a bit.  Pretty printing
37273 2010-05-31  Petr Baudis <pasky@suse.cz>
37275         [BZ #10085]
37276         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37277         initialization of skip_initgroups_dyn.
37279 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37281         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37282         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37284 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37286         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37288 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37290         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37291         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37292         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37293         ($(objpfx)tst-fnmatch-mem): New rule.
37294         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37295         * posix/tst-fnmatch.c (main): Call mtrace.
37297 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37300         Support Intel processor model 6 and model 0x2c.
37302 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37304         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37305           signed comparison.
37307 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37309         [BZ #12205]
37310         * string/test-strncasecmp.c (check_result): New function.
37311         (do_one_test): Use it.
37312         (check1): New function.
37313         (test_main): Use it.
37314         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37315         Support strcasecmp and strncasecmp.
37317 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37319         [BZ #12194]
37320         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37321         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37323 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37325         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37326         IFUNC support.
37327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37328         memset-x86-64.
37329         * sysdeps/x86_64/multiarch/bzero.S: New file.
37330         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37331         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37332         * sysdeps/x86_64/multiarch/memset.S: New file.
37333         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37335         Set bit_Prefer_SSE_for_memop for Intel processors.
37336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37337         Define.
37338         (index_Prefer_SSE_for_memop): Define.
37339         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37341 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37343         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37344         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37346 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37348         [BZ #12191]
37349         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37350         (__x86_64_raw_data_cache_size_half): Likewise.
37351         (__x86_64_raw_shared_cache_size): Likewise.
37352         (__x86_64_raw_shared_cache_size_half): Likewise.
37354         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37355         (__x86_64_raw_data_cache_size_half): Likewise.
37356         (__x86_64_raw_shared_cache_size): Likewise.
37357         (__x86_64_raw_shared_cache_size_half): Likewise.
37358         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37359         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37360         and __x86_64_raw_shared_cache_size_half.  Round
37361         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37362         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37363         to multiple of 256 bytes.
37365 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37367         [BZ #12167]
37368         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37369         of inacessible symlinks.  Verify result of symlink before returning it.
37370         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37371         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37373 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37375         * math/math.h (isinf): Fix typo in comment.
37377 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37379         * po/da.po: Update from translation team.
37381 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37383         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37384         is added to the list.
37386 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37387             Ulrich Drepper  <drepper@gmail.com>
37389         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37390         the global list here.  Move code to...
37391         (_dl_add_to_namespace_list): ...here.  New function.
37392         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37393         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37394         * elf/dl-load.c (lose): Don't remove the element from the list.
37395         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37396         (_dl_map_object): Likewise.
37398 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37400         [BZ #12159]
37401         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37402         into all bytes of SSE register.
37403         Patch by Richard Li <richardpku@gmail.com>.
37405 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37407         [BZ #12140]
37408         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37409         perturbing.
37411 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37413         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37414         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37415         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37416         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37418         submachine.
37419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37421 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37423         * include/dlfcn.h (__RTLD_SECURE): Define.
37424         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37425         mode & __RTLD_SECURE instead.
37426         (open_path): Rename preloaded parameter to secure.
37427         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37428         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37429         * elf/dl-deps.c (openaux): Likewise.
37430         * elf/rtld.c (struct map_args): Remove is_preloaded.
37431         (map_doit): Don't use it.
37432         (dl_main): Likewise.
37433         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37434         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37436 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37438         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37439         (sysd-rules-targets): Remove duplicates.
37440         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37441         rtld-%.$o dependency.
37443 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37445         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37446         _dl_map_object do it.
37448 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37450         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37451         fast fma builtins, define the macros in the C99 standard.
37452         (FP_FAST_FMAF): Likewise.
37453         (FP_FAST_FMAL): Likewise.
37454         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37456         * bits/mathdef.h: Update copyright year.
37457         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37459 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37461         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37462         builtins, define the macros in the C99 standard.
37463         (FP_FAST_FMAF): Likewise.
37464         (FP_FAST_FMAL): Likewise.
37465         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37466         multiply/add.
37467         (FP_FAST_FMAF): Likewise.
37469 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37471         [BZ #3268]
37472         * math/libm-test.inc (fma_test): Some new testcases.
37473         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37475         y and infinite z.  Do multiplication by C already in long double.
37476         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37478         y and infinite z.  Do bitwise or of inexact bit into u.d.
37479         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37480         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37481         * sysdeps/i386/fpu/s_fma.S: Removed.
37482         * sysdeps/i386/fpu/s_fmal.S: Removed.
37484 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37486         [BZ #3268]
37487         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37489         computation is not scheduled after fetestexcept.  Fix value
37490         of minimum denormal long double.
37492 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37494         [BZ #3268]
37495         * math/libm-test.inc (fma_test): Add some more tests.
37496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37497         correctly.
37499 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37501         * scripts/data/localplt-s390-linux-gnu.data: New file.
37502         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37504 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37506         [BZ #3268]
37507         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37508         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37509         instead of dbl-64.
37510         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37511         inlines.
37512         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37514         if one of x and y is very large and the other is subnormal.
37515         * sysdeps/s390/fpu/s_fmaf.c: New file.
37516         * sysdeps/s390/fpu/s_fma.c: New file.
37517         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37518         * sysdeps/powerpc/fpu/s_fma.S: New file.
37519         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37520         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37521         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37523 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37525         [BZ #3268]
37526         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37527         fma tests.
37528         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37529         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37530         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37531         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37532         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37533         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37534         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37536 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37538         [BZ #12078]
37539         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37540         * posix/bug-regex31.input: Add test case.
37542 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37544         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37545         * posix/bug-regex31.input: New file.
37547         [BZ #12078]
37548         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37549         (parse_sub_exp): Fix last change, use postorder.
37551         * posix/bug-regex31.c: New file.
37552         * posix/Makefile: Add rules to build and run bug-regex31.
37554         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37556         [BZ #12078]
37557         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37559         [BZ #12108]
37560         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37561         to have entries in sys_siglist.
37563         [BZ #12093]
37564         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37565         be NULL.
37567 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37569         [BZ #3268]
37570         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37571         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37572         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37573         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37574         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37575         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37576         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37577         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37578         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37579         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37580         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37581         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37582         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37583         * math/ftestexcept.c (fetestexcept): Likewise.
37584         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37585         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37586         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37587         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37588         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37589         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37590         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37592 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37594         [BZ #12107]
37595         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37596         newline.
37598 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37600         * string/bug-strstr1.c: New file.
37601         * string/Makefile: Add rules to build and run bug-strstr1.
37603 2010-10-05  Eric Blake  <eblake@redhat.com>
37605         [BZ #12092]
37606         * string/str-two-way.h (two_way_long_needle): Always clear memory
37607         when skipping input due to the shift table.
37609 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37611         [BZ #12005]
37612         * malloc/mcheck.c: Handle large requests.
37614         [BZ #12077]
37615         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37616         for strncmp and strncasecmp.
37617         * string/stratcliff.c: Add tests for strcmp and strncmp.
37618         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37620 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37622         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37623         __set_fpscr.
37625 2010-09-30  Andreas Jaeger  <aj@suse.de>
37627         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37628         (CGROUP_SUPER_MAGIC): Define.
37629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37630         Handle btrfs and cgroup file systems.
37631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37632         Likewise.
37634 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37636         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37637         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37639 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37641         [BZ #12067]
37642         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37643         trying to locate the ELF header.
37645 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37647         [BZ #11611]
37648         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37649         Mask out sign-bit copies when constructing f_fsid.
37651 2010-09-24  Petr Baudis <pasky@suse.cz>
37653         * debug/stack_chk_fail_local.c: Add missing licence exception.
37654         * debug/warning-nop.c: Likewise.
37656 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37658         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37659         implementing getdents64 using getdents syscall, set d_type if
37660         __ASSUME_GETDENTS32_D_TYPE.
37662 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37664         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37665         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37667 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37669         [BZ #12037]
37670         * posix/unistd.h: Undo change of feature selection for ftruncate from
37671         2010-01-11.
37673 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37675         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37676         detection.
37678 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37680         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37681         fanotify_mark.
37682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37684 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37686         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37687         variables after CHECK_SP call.
37688         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37690 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37691             Ulrich Drepper  <drepper@redhat.com>
37693         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37694         re-relocationg ld.so.
37695         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37696         _dl_init_paths call.
37697         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37698         here anymore.
37700 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37702         * resolv/res_init.c (__res_vinit): Count the default server we added.
37704 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37705             Ulrich Drepper  <drepper@redhat.com>
37707         [BZ #11968]
37708         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37709         (____longjmp_chk): Use %ebx for saving value across system call.
37710         Add unwind info.
37712 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37714         * manual/Makefile: Don't mix pattern rules with normal rules.
37716 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37718         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37719         operation.
37720         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37721         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37722         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37723         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37725         Likewise.
37727 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37729         [BZ #11979]
37730         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37731         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37733 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37735         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37736         * sysdeps/x86_64/addmul_1.S: Likewise.
37737         * sysdeps/x86_64/lshift.S: Likewise.
37738         * sysdeps/x86_64/mul_1.S: Likewise.
37739         * sysdeps/x86_64/rshift.S: Likewise.
37740         * sysdeps/x86_64/sub_n.S: Likewise.
37741         * sysdeps/x86_64/submul_1.S: Likewise.
37743 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37745         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37746         Define __sched_param instead of SCHED_* and sched_param when
37747         <bits/sched.h> is included with __need_schedparam defined.
37748         * bits/sched.h [__need_schedparam]
37749         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37750         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37751         (__defined_schedparam): Define to 1.
37752         (__sched_param): New structure, identical to sched_param.
37753         (__need_schedparam): Undefine.
37755 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37757         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37758         (epoll_create1): Declare.
37760         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37762 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37764         [BZ #7066]
37765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37766         shifting retval into place.
37768 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37770         * nis/rpcsvc/nis.h: Update copyright notice.
37771         * nis/rpcsvc/nis.x: Likewise.
37772         * nis/rpcsvc/nis_callback.h: Likewise.
37773         * nis/rpcsvc/nis_callback.x: Likewise.
37774         * nis/rpcsvc/nis_object.x: Likewise.
37775         * nis/rpcsvc/nis_tags.h: Likewise.
37776         * nis/rpcsvc/yp.h: Likewise.
37777         * nis/rpcsvc/yp.x: Likewise.
37778         * nis/rpcsvc/ypupd.h: Likewise.
37779         * nis/yp_xdr.c: Likewise.
37780         * nis/ypupdate_xdr.c: Likewise.
37782         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37783         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37784         (pmap_getport): Use __libc_rpc_getport.
37785         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37786         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37787         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37789 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37792         fanotify_mark.
37794 2010-08-27  Roland McGrath  <roland@redhat.com>
37796         * sysdeps/i386/i686/multiarch/Makefile
37797         (CFLAGS-varshift.c): New variable.
37799 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37801         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37802         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37804         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37806         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37808 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37810         * sysdeps/x86_64/strlen.S: Unroll the loop.
37811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37812         strlen-sse2 strlen-sse2-bsf.
37813         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37814         __strlen_no_bsf if bit_Slow_BSF is set.
37815         (__strlen_sse42): Removed.
37816         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37817         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37819 2010-08-25  Roland McGrath  <roland@redhat.com>
37821         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37822         * sysdeps/x86_64/multiarch/varshift.c: New file.
37823         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37824         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37825         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37826         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37828 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37831         strlen-sse2 strlen-sse2-bsf.
37832         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37833         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37834         (__strlen_sse2): Removed.
37835         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37838         bit_Slow_BSF for Atom.
37839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37840         (index_Slow_BSF): Define.
37841         (HAS_SLOW_BSF): Define.
37843 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37845         [BZ #10851]
37846         * resolv/res_init.c (__res_vinit): When no server address at all
37847         is given default to loopback.
37849 2010-08-24  Roland McGrath  <roland@redhat.com>
37851         * configure.in: Remove config-name.h generation.
37852         * configure: Regenerated.
37853         * config-name.in: File removed.
37854         * scripts/config-uname.sh: New file.
37855         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37856         ($(objdir)config-name.h): New target.
37858         * sunrpc/rpc_parse.h: Avoid nested comment.
37860 2010-08-24  Richard Henderson  <rth@redhat.com>
37861             Ulrich Drepper  <drepper@redhat.com>
37862             H.J. Lu  <hongjiu.lu@intel.com>
37864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37866         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37867         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37868         _mm_alignr_epi8 with _mm_loadu_si128.
37869         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37870         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37871         (__m128i_shift_right): Removed.
37872         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37873         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37874         * sysdeps/x86_64/multiarch/varshift.h: New file.
37875         * sysdeps/x86_64/multiarch/varshift.S: New file.
37877 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37879         * configure.in: Move assembler checks to before sysdep dir checking.
37881 2010-08-20  Petr Baudis  <pasky@suse.cz>
37883         * LICENSES: Sync the sunrpc license.
37885 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37887         * sunrpc/auth_des.c: Update copyright notice once again.
37888         * sunrpc/auth_none.c: Likewise.
37889         * sunrpc/auth_unix.c: Likewise.
37890         * sunrpc/authdes_prot.c: Likewise.
37891         * sunrpc/authuxprot.c: Likewise.
37892         * sunrpc/bindrsvprt.c: Likewise.
37893         * sunrpc/clnt_gen.c: Likewise.
37894         * sunrpc/clnt_perr.c: Likewise.
37895         * sunrpc/clnt_raw.c: Likewise.
37896         * sunrpc/clnt_simp.c: Likewise.
37897         * sunrpc/clnt_tcp.c: Likewise.
37898         * sunrpc/clnt_udp.c: Likewise.
37899         * sunrpc/clnt_unix.c: Likewise.
37900         * sunrpc/des_crypt.c: Likewise.
37901         * sunrpc/des_soft.c: Likewise.
37902         * sunrpc/get_myaddr.c: Likewise.
37903         * sunrpc/getrpcport.c: Likewise.
37904         * sunrpc/key_call.c: Likewise.
37905         * sunrpc/key_prot.c: Likewise.
37906         * sunrpc/openchild.c: Likewise.
37907         * sunrpc/pm_getmaps.c: Likewise.
37908         * sunrpc/pm_getport.c: Likewise.
37909         * sunrpc/pmap_clnt.c: Likewise.
37910         * sunrpc/pmap_prot.c: Likewise.
37911         * sunrpc/pmap_prot2.c: Likewise.
37912         * sunrpc/pmap_rmt.c: Likewise.
37913         * sunrpc/rpc/auth.h: Likewise.
37914         * sunrpc/rpc/auth_unix.h: Likewise.
37915         * sunrpc/rpc/clnt.h: Likewise.
37916         * sunrpc/rpc/des_crypt.h: Likewise.
37917         * sunrpc/rpc/key_prot.h: Likewise.
37918         * sunrpc/rpc/netdb.h: Likewise.
37919         * sunrpc/rpc/pmap_clnt.h: Likewise.
37920         * sunrpc/rpc/pmap_prot.h: Likewise.
37921         * sunrpc/rpc/pmap_rmt.h: Likewise.
37922         * sunrpc/rpc/rpc.h: Likewise.
37923         * sunrpc/rpc/rpc_des.h: Likewise.
37924         * sunrpc/rpc/rpc_msg.h: Likewise.
37925         * sunrpc/rpc/svc.h: Likewise.
37926         * sunrpc/rpc/svc_auth.h: Likewise.
37927         * sunrpc/rpc/types.h: Likewise.
37928         * sunrpc/rpc/xdr.h: Likewise.
37929         * sunrpc/rpc_clntout.c: Likewise.
37930         * sunrpc/rpc_cmsg.c: Likewise.
37931         * sunrpc/rpc_common.c: Likewise.
37932         * sunrpc/rpc_cout.c: Likewise.
37933         * sunrpc/rpc_dtable.c: Likewise.
37934         * sunrpc/rpc_hout.c: Likewise.
37935         * sunrpc/rpc_main.c: Likewise.
37936         * sunrpc/rpc_parse.c: Likewise.
37937         * sunrpc/rpc_parse.h: Likewise.
37938         * sunrpc/rpc_prot.c: Likewise.
37939         * sunrpc/rpc_sample.c: Likewise.
37940         * sunrpc/rpc_scan.c: Likewise.
37941         * sunrpc/rpc_scan.h: Likewise.
37942         * sunrpc/rpc_svcout.c: Likewise.
37943         * sunrpc/rpc_tblout.c: Likewise.
37944         * sunrpc/rpc_util.c: Likewise.
37945         * sunrpc/rpc_util.h: Likewise.
37946         * sunrpc/rpcinfo.c: Likewise.
37947         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37948         * sunrpc/rpcsvc/key_prot.x: Likewise.
37949         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37950         * sunrpc/rpcsvc/mount.x: Likewise.
37951         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37952         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37953         * sunrpc/rpcsvc/rex.x: Likewise.
37954         * sunrpc/rpcsvc/rstat.x: Likewise.
37955         * sunrpc/rpcsvc/rusers.x: Likewise.
37956         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37957         * sunrpc/rpcsvc/spray.x: Likewise.
37958         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37959         * sunrpc/rtime.c: Likewise.
37960         * sunrpc/svc.c: Likewise.
37961         * sunrpc/svc_auth.c: Likewise.
37962         * sunrpc/svc_authux.c: Likewise.
37963         * sunrpc/svc_raw.c: Likewise.
37964         * sunrpc/svc_run.c: Likewise.
37965         * sunrpc/svc_simple.c: Likewise.
37966         * sunrpc/svc_tcp.c: Likewise.
37967         * sunrpc/svc_udp.c: Likewise.
37968         * sunrpc/svc_unix.c: Likewise.
37969         * sunrpc/svcauth_des.c: Likewise.
37970         * sunrpc/xcrypt.c: Likewise.
37971         * sunrpc/xdr.c: Likewise.
37972         * sunrpc/xdr_array.c: Likewise.
37973         * sunrpc/xdr_float.c: Likewise.
37974         * sunrpc/xdr_mem.c: Likewise.
37975         * sunrpc/xdr_rec.c: Likewise.
37976         * sunrpc/xdr_ref.c: Likewise.
37977         * sunrpc/xdr_sizeof.c: Likewise.
37978         * sunrpc/xdr_stdio.c: Likewise.
37980         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37981         handling.
37983 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37985         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37987 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37989         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37990         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37991         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37992         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37993         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37994         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37995         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37996         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37997         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37998         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37999         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38000         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38001         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38002         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38004 2010-07-26  Anton Blanchard  <anton@samba.org>
38006         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38007         * malloc/arena.c (heap_trim): Likewise.
38009 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38011         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38012         here.  Not...
38013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38014         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38016 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38018         * sysdeps/i386/elf/Makefile: New file.
38020 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38022         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38023         from fanotify_init.
38024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38025         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38027 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38029         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38030         of strncasecmp_l.
38031         * sysdeps/multiarch/strcmp.S: Likewise.
38033 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38035         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38036         strncase_l-nonascii.
38037         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38038         Add strncase_l-ssse3.
38039         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38040         * sysdeps/x86_64/strcmp.S: Likewise.
38041         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38042         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38043         * sysdeps/x86_64/strncase.S: New file.
38044         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38045         * sysdeps/x86_64/strncase_l.S: New file.
38046         * string/Makefile (strop-tests): Add strncasecmp.
38047         * string/test-strncasecmp.c: New file.
38049         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38050         warning.
38052         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38053         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38055 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38057         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38059 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38061         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38062         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38063         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38065 2010-05-01  Alan Modra  <amodra@gmail.com>
38067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38068         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38069         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38070         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38071         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38072         tidying.  Don't tail-call __sigjmp_save for static lib.
38073         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38074         save location.
38075         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38076         (CALL_MCOUNT): Add eh info, and nop after bl.
38077         (TAIL_CALL_SYSCALL_ERROR): New macro.
38078         (PSEUDO_RET): Use it.
38079         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38080         Correct save location of integer regs and cr.
38081         (_dl_profile_resolve): Correct cr save location.  Delete nops
38082         after bl when SHARED.  Reduce cfi size a little by better
38083         placement of cfi directives.
38084         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38085         make a stack frame.  Instead use parm save area as a temp.
38086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38087         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38089         Don't make a stack frame for parent, use parm save area.
38090         Increase child stack frame to 112 bytes.  Don't save unused reg,
38091         and adjust reg usage.  Set up cfi on error recovery and
38092         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38094         (__makecontext): Add dummy nop after jump to exit.
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38096         Use correct parm save area and cr save, reduce stack frame.
38097         Correct cfi for possible PSEUDO_RET frame setup.
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38099         Branch to local label emitted by PSEUDO_RET rather than
38100         __syscall_error.
38102 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38104         [BZ #11904]
38105         * locale/programs/locale.c (print_assignment): New function.
38106         (show_locale_vars): Use it.
38108 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38110         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38111         field.
38112         (struct statfs64): Likewise.
38113         (_STATFS_F_FLAGS): Define.
38114         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38115         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38116         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38117         (ST_VALID): Define locally.
38118         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38119         __statvfs_getflags, use the provided value.
38120         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38121         __ASSUME_STATFS_F_FLAGS.
38123         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38125         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38126         Add sys/fanotify.h.
38127         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38128         fanotify_mask for GLIBC_2.13.
38129         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38130         fanotify_init and fanotify_mark.
38131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38132         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38134         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38135         Add prlimit.
38136         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38137         prlimit64 for GLIBC_2.13.
38138         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38139         prlimit64.
38140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38141         syscall.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38143         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38144         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38145         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38147         add prlimit alias.
38148         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38150         [BZ #11903]
38151         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38152         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38154         * nss/Makefile: Add rules to build and run tst-nss-test1.
38155         * shlib-versions: Add entry for libnss_test1.
38156         * nss/nss_test1.c: New file.
38157         * nss/tst-nss-test1.c: New file.
38159         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38160         (__nss_configure_lookup): Set appropriate entry in
38161         __nss_configure_lookup to true.
38162         * nss/nsswitch.h: Define enum with indeces of databases in
38163         databases and __nss_database_custom arrays.  Declare
38164         __nss_database_custom.
38165         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38166         to avoid using nscd when custom rules are installed.
38167         * nss/getXXbyYY_r.c: Likewise.
38168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38170         * nss/nss_files/files-parse.c: Whitespace fixes.
38172 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38174         [BZ #11883]
38175         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38176         * posix/fnmatch_loop.c: Likewise.
38178 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38180         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38181         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38182         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38183         * Versions.def [GLIBC_2.13]: Add.
38185 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38187         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38188         Also fail if tpwd after pwuid call is NULL.
38190 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38192         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38193         when converting to ms.
38195 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38197         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38198         EOPNOTSUPP errors with ENOTTY.
38199         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38200         EOPNOTSUPP errors with ENOTTY.
38202 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38204         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38205         Add strcasecmp_l-ssse3.
38206         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38207         strcasecmp.
38208         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38209         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38210         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38212 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38214         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38216         * string/Makefile (strop-tests): Add strcasecmp.
38217         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38218         strcasecmp_l-nonascii.
38219         (gen-as-const-headers): Add locale-defines.sym.
38220         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38221         * sysdeps/x86_64/strcasecmp.S: New file.
38222         * sysdeps/x86_64/strcasecmp_l.S: New file.
38223         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38224         * sysdeps/x86_64/locale-defines.sym: New file.
38225         * string/test-strcasecmp.c: New file.
38227         * string/test-strcasestr.c: Test both ends of the range of characters.
38228         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38230 2010-07-29  Roland McGrath  <roland@redhat.com>
38232         [BZ #11856]
38233         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38235 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38237         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38238         for ld.so.
38240 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38242         * manual/memory.texi (Malloc Tunable Parameters): Document
38243         M_PERTURB.
38245 2010-07-26  Roland McGrath  <roland@redhat.com>
38247         [BZ #11840]
38248         * configure.in (-fgnu89-inline check): Set and substitute
38249         gnu89_inline, not libc_cv_gnu89_inline.
38250         * configure: Regenerated.
38251         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38253 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38255         * string/test-strnlen.c: New file.
38256         * string/Makefile (strop-tests): Add strnlen.
38257         * string/tester.c (test_strnlen): Add a few more test cases.
38258         * string/tst-strlen.c: Better error reporting.
38260         * sysdeps/x86_64/strnlen.S: New file.
38262 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38264         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38265         lower-latency instructions.
38267 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38269         * string/test-strcasestr.c: New file.
38270         * string/test-strstr.c: New file.
38271         * string/Makefile (strop-tests): Add strstr and strcasestr.
38272         * string/str-two-way.h: Don't undefine MAX.
38273         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38275 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38277         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38278         strcasestr-nonascii.
38279         (CFLAGS-strcasestr-nonascii.c): Define.
38280         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38281         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38282         Remove unused attribute.
38284 2010-07-20  Roland McGrath  <roland@redhat.com>
38286         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38287         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38288         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38289         like LD_HWCAP_MASK can disable hwcaps.
38291 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38293         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38295 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38297         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38298         call in strcasestr.
38299         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38300         __strcasestr_sse42_nonascii.
38301         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38302         strcasestr-nonascii.c.
38303         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38305 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38307         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38308         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38309         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38312 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38314         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38315         fcntl.
38317 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38319         [BZ #11577]
38320         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38321         dl_signal_cerror.
38323 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38325         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38326         _PC_PIPE_BUF using F_GETPIPE_SZ.
38328 2010-07-05  Roland McGrath  <roland@redhat.com>
38330         * manual/arith.texi (Rounding Functions): Fix rint description
38331         implicit in round description.
38333 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38335         * elf/Makefile: Fix linking for a few tests to make recent linker
38336         happy.
38338 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38340         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38341         $(common-objpfx)libc_nonshared.a.
38343 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38345         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38346         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38347         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38348         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38349         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38350         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38351         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38352         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38367         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38368         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38369         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38370         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38371         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38372         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38373         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38374         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38375         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38376         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38377         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38378         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38394 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38396         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38397         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38398         * string/memmove.c (memmove): Renamed to ...
38399         (MEMMOVE): ...this.  Default to memmove.
38400         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38401         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38402         (END_CHK): Define.
38403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38404         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38405         mempcpy-ssse3-back memmove-ssse3-back.
38406         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38407         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38409         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38410         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38411         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38412         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38413         * sysdeps/x86_64/multiarch/memmove.c: New file.
38414         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38415         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38416         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38417         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38420         Define.
38421         (index_Fast_Copy_Backward): Define.
38422         (HAS_ARCH_FEATURE): Define.
38423         (HAS_FAST_REP_STRING): Define.
38424         (HAS_FAST_COPY_BACKWARD): Define.
38426 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38428         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38429         Restore proper fallback handling.
38431 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38433         [BZ #11701]
38434         * posix/group_member.c (__group_member): Correct checking loop.
38436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38437         OOM in getpwuid_r correctly.  Return error number when the caller
38438         should return, otherwise -1.
38439         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38440         call returning > 0 value.
38441         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38443 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38445         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38446         libc_nonshared.a from targets in modules-names.
38448 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38450         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38451         requires it.
38453 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38455         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38456         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38460 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38462         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38464 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38466         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38467         and F_GETPIPE_SZ.
38468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38473         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38475 2010-06-14  Roland McGrath  <roland@redhat.com>
38477         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38479 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38481         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38482         __REDIRECT followed by __THROW.
38483         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38484         * posix/getopt.h (getopt): Likewise.
38486 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38488         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38489         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38490         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38491         in AT_FLAGS.
38492         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38493         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38495 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38499 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38501         [BZ #11640]
38502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38503         Properly check family and model.
38505 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38507         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38509 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38511         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38513 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38515         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38516         symbol reference.
38518 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38520         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38521         symbol reference.
38523 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38525         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38526         and internal_recvmmsg.
38527         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38528         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38529         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38530         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38532         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38533         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38534         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38536 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38538         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38540 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38542         POWER7 optimizations.
38543         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38544         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38546 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38548         * version.h: Update for 2.13 development version.
38550 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38552         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38553         exceptions.  Return 0.
38555 2010-05-07  Roland McGrath  <roland@redhat.com>
38557         * elf/ldconfig.c (main): Add a const.
38559 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38561         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38562         (args_options): Add no-idn option.
38563         (ahosts_keys_int): Add idn_flags to ai_flags.
38564         (parse_option): Handle 'i' option to clear idn_flags.
38566         * malloc/malloc.c (_int_free): Possible race in the most recently
38567         added check.  Only act on the data if no current modification
38568         happened.
38570 See ChangeLog.17 for earlier changes.