Update German translations
[glibc.git] / ChangeLog
blob4144346fb2e0cf3e4626b5df5478d34162314ff8
1 2014-01-11  Allan McRae  <allan@archlinux.org>
3         * po/de.po: Update German translation from translation project.
5 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7         * sysdeps/generic/gcc-compat.h: New file.
9 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11         * benchtests/asin-inputs: Correct slow inputs.
12         * benchtests/acos-inputs: Likewise.
14 2014-01-10  Allan McRae  <allan@archlinux.org>
16         * po:sv.po: Update Swedish translation from translation project.
18         * po/vi.po: Update Vietnamese translation from translation project.
20         * po/eo.po: Update Esperanto translation from translation project.
22         * po/cs.po: Update Czech translation from translation project.
24         * po/nl.po: Update Dutch translation from translation project.
26         * po/pl.po: Update Polish translation from translation project.
28         * po/ru.po: Update Russian translation from translation project.
30         * po/uk.po: Update Ukrainian translation from translation project.
32 2014-01-08  Brooks Moses  <bmoses@google.com>
34         * elf/dl-load.c: Fix comment typo.
36 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38         * po/header.pot: Rename to...
39         * po/pot.header: ... this.
40         * po/Makefile: Use pot.header.
42 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43             Maxim Kuvyrkov  <maxim@kugelworks.com>
45         [BZ #16394]
46         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47         SRC and DEST against LEN.
49 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51         [BZ #16414]
52         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53         implementation.
54         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #16408]
63         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
64         for large positive arguments.
66 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
68         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
70         * math/auto-libm-test-in: Mark various tests with
71         xfail-rounding:ldbl-128ibm.
72         * math/auto-libm-test-out: Regenerated.
74         [BZ #16407]
75         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
76         Increase overflow threshold.
78 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
80         [BZ #14286]
81         * stdio-common/vfprintf.c: Check for integer overflow.
83 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
86         the first argument and return value of __tls_get_addr_internal.
88 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
91         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
93 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
96         * sysdeps/s390/rtld-global-offsets.sym: New file.
97         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
98         GLIBC_2.19 symbol.
99         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
100         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
101         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
102         ... this.
103         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
104         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
105         ... this.
106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
107         Regenerate.
108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
109         Regenerate.
110         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
111         halfs of GPRs for high_gprs contexts.
112         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
113         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
114         field.
115         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
116         uc_flags field.
117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
118         64 bit versions:
119         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
120         for high GPRs (uc_high_gprs) and for future extensions
121         (__reserved).
122         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
123         for future extensions (__reserved).
124         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
125         64 bit versions:
126         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
127         SC_HIGHGPRS offset definition.
128         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
129         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
131 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
133         * Versions.def: Add GLIBC_2.19 for libpthread.
134         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
135         siglongjmp for libpthread with GLIBC_2.19 symver.
136         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
137         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
138         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
139         * sysdeps/s390/__longjmp.c: New file.
140         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
141         * sysdeps/s390/longjmp.c: New file.
142         * sysdeps/s390/setjmp.S: New file.
143         * sysdeps/s390/sigjmp.S: New file.
144         * sysdeps/s390/v1-longjmp.c: New file.
145         * sysdeps/s390/v1-setjmp.h: New file.
146         * sysdeps/s390/v1-sigjmp.c: New file.
147         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
148         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
149         GLIBC_2.19 version.
150         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
151         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
152         versioned symbols for ____longjmp_chk.
153         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
154         Likewise.
155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
156         Regenerate.
157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
158         Regenerate.
159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
160         Regenerate.
161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
162         Regenerate.
163         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
164         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
165         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
166         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
167         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
168         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
169         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
170         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
171         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
172         * sysdeps/s390/rtld-__longjmp.c: New file.
173         * sysdeps/s390/rtld-setjmp.S: New file.
175 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
177         [BZ #16400]
178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
179         Return -__logl (x) for small positive arguments without evaluating
180         a polynomial.
182 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
184         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
185         Rename to ...
186         (__ptrace_peeksiginfo_args): ... this.
187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
188         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
189         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
191 2014-01-06  Allan McRae  <allan@archlinux.org>
193         * inet/netinet/in.h: Fix typo in comment.
195 2014-01-05  Andreas Jaeger  <aj@suse.de>
197         * sysdeps/i386/fpu/libm-test-ulps: Update.
199 2014-01-05  Allan McRae  <allan@archlinux.org>
201         * po/libc.pot: Regenerated.
203         * malloc/memusagestat.c: Fix gettext call formatting.
205 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
207         * nscd/nscd.c: Improve usage() output.
209 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
211         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
212         * sysdeps/unix/sysv/linux/configure: Regenerated.
213         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
214         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
216 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
218         [BZ #16390]
219         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
220         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
222 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
224         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
225         extra tokens at end of #undef directive.
226         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
227         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
228         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
230 2014-01-03  Andrew Hunter  <ahh@google.com>
232         * elf/dl-open.c (dl_open_worker): New comment.
233         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
234         atomic_compare_and_exchange_bool_acq
235         (_dl_allocate_static_tls): Block signals.
236         * elf/dl-tls.c (allocate_and_init): Return void.
237         (_dl_update_slotinfo): Block signals, use atomic update.
239 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
241         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
243         * math/auto-libm-test-in: Mark various tests with
244         xfail-rounding:ldbl-128ibm.
245         * math/auto-libm-test-out: Regenerated.
247 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
249         [BZ #16386]
250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
251         numbers with subnormal high part when calculating exponent.
253         [BZ #16385]
254         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
255         fabs.
257         [BZ #16384]
258         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
259         M_LN2l.
260         (__ieee754_acoshl): Use __log1pl not __log1p.
262 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
264         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
265         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
266         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
267         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
268         Convert to GNU style.
269         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
270         mem2mem_check, mem2chunk_check, top_check, realloc_check,
271         memalign_check, __malloc_set_state): Likewise.
272         * malloc/mallocbug.c (main): Likewise.
273         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
274         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
275         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
276         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
277         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
278         * malloc/malloc.h: Likewise.
279         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
280         memalignhook, reallochook, mabort): Likewise.
281         * malloc/mcheck.h: Likewise.
282         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
283         mmap64, mremap, munmap, dest): Likewise.
284         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
285         * malloc/morecore.c (__default_morecore): Likewise.
286         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
287         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
288         _obstack_allocated_p, obstack_free, _obstack_memory_used,
289         print_and_abort): Likewise.
290         * malloc/obstack.h: Likewise.
291         * malloc/set-freeres.c (__libc_freeres): Likewise.
292         * malloc/tst-mallocstate.c (main): Likewise.
293         * malloc/tst-mtrace.c (main): Likewise.
294         * malloc/tst-realloc.c (do_test): Likewise.
296 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
298         [BZ #16366]
299         * nscd/netgroupcache.c (do_notfound): New function.
300         (addgetnetgrentX): Use it.
302         [BZ # 16365]
303         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
304         NSS_STATUS_NOTFOUND.
306 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311 2014-01-01  Allan McRae  <allan@archlinux.org>
313         * scripts/update-copyrights: Update configure input file suffix.
315         * NEWS: Update copyright year.
316         * catgets/gencat.c: Likewise.
317         * csu/version.c: Likewise.
318         * debug/catchsegv.sh: Likewise.
319         * debug/pcprofiledump.c: Likewise.
320         * debug/xtrace.sh: Likewise.
321         * elf/ldconfig.c: Likewise.
322         * elf/ldd.bash.in: Likewise.
323         * elf/pldd.c: Likewise.
324         * elf/sotruss.ksh: Likewise.
325         * elf/sprof.c: Likewise.
326         * iconv/iconv_prog.c: Likewise.
327         * iconv/iconvconfig.c: Likewise.
328         * locale/programs/locale.c: Likewise.
329         * locale/programs/localedef.c: Likewise.
330         * login/programs/pt_chown.c: Likewise.
331         * malloc/memusage.sh: Likewise.
332         * malloc/memusagestat.c: Likewise.
333         * malloc/mtrace.pl: Likewise.
334         * manual/libc.texinfo: Likewise.
335         * nscd/nscd.c: Likewise.
336         * nss/getent.c: Likewise.
337         * nss/makedb.c: Likewise.
338         * posix/getconf.c: Likewise.
339         * scripts/test-installation.pl: Likewise.
341         * All files with FSF copyright notices: Update copyright dates
342         using scripts/update-copyrights.
343         * intl/plural.c: Regenerated.
344         * locale/programs/charmap-kw.h: Likewise.
345         * locale/programs/locfile-kw.h: Likewise.
347 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
349         * sysdeps/unix/sysv/linux/configure: Regenerated.
350         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
351         the linux/fanotify.h header.
352         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
353         HAVE_LINUX_FANOTIFY_H is defined.
355 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
357         * benchtests/cos-inputs: New inputs.
358         * benchtests/sin-inputs: Likewise.
360         * benchtests/atan-inputs: New inputs. Fix name of multiple
361         precision fallback inputs.
363         * benchtests/atanh-inputs: New inputs.
364         * benchtests/tanh-inputs: Likewise.
366         * benchtests/acosh-inputs: New inputs.
367         * benchtests/asinh-inputs: Likewise.
369         * benchtests/cosh-inputs: New inputs.
370         * benchtests/sinh-inputs: Likewise.
372         * benchtests/acos-inputs: Add more inputs.
373         * benchtests/asin-inputs: Likewise.
375 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
377         [BZ #16375]
378         * manual/arith.texi: Fix spelling.
379         * manual/charset.texi: Likewise.
380         * manual/errno.texi: Likewise.
381         * manual/filesys.texi: Likewise.
382         * manual/lang.texi: Likewise.
383         * manual/llio.texi: Likewise.
384         * manual/locale.texi: Likewise.
385         * manual/message.texi: Likewise.
386         * manual/resource.texi: Likewise.
387         * manual/search.texi: Likewise.
388         * manual/setjmp.texi: Likewise.
389         * manual/stdio.texi: Likewise.
390         * manual/string.texi: Likewise.
391         * manual/sysinfo.texi: Likewise.
392         * manual/time.texi: Likewise.
394 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
396         * po/sl.po: New file.
398 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
400         * .gitignore: Add core/.gdbinit/.gdb_history.
402 2013-12-27  Allan McRae  <allan@archlinux.org>
404         [BZ #16369]
405         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
406         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
408 2013-12-24  Brooks Moses  <bmoses@google.com>
410         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
411         all compilers that claim C++98 compliance, not just GCC.
412         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
413         Likewise.
415 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
417         * NEWS: Restore accidentally deleted bug-fix entries.
419 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
420             Ondřej Bílka  <neleai@seznam.cz>
422         [BZ #15073]
423         * malloc/malloc.c (_int_free): Perform sanity check only if we
424         have_lock.
426 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
428         [BZ #12986]
429         * manual/stdio.texi (String Input Conversions): Clarify that character
430         classes are not supported.
432 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
436 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
438         [BZ #16337]
439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
440         Calculate results for small negative arguments directly rather
441         than using reflection formula with special underflow handling.
443         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
444         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
445         sysdeps/unix/bsd/bsd4.4/syscalls.list.
446         (fchflags): Likewise.
447         (revoke): Likewise.
448         (setlogin): Likewise.
449         (sigaltstack): Likewise.
450         (wait4): Likewise.
451         (sigblock): Remove.
452         (sigsetmask): Likewise.
453         (wait3): Likewise.
454         (waitpid): Likewise.
455         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
456         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
457         file.
458         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
459         * sysdeps/unix/bsd/Makefile: ... here.
460         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
461         * sysdeps/unix/bsd/Versions: ... here.
462         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
463         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
464         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
465         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
466         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
467         * sysdeps/unix/bsd/sigblock.c: ... here.
468         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
469         * sysdeps/unix/bsd/sigsetmask.c: ... here.
470         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
471         * sysdeps/unix/bsd/sigvec.c: ... here.
472         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
473         * sysdeps/unix/bsd/tcdrain.c: ... here.
474         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
475         * sysdeps/unix/bsd/tcgetattr.c: ... here.
476         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
477         * sysdeps/unix/bsd/tcsetattr.c: ... here.
478         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
479         * sysdeps/unix/bsd/wait.c: ... here.
480         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
481         * sysdeps/unix/bsd/wait3.c: ... here.
482         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
483         * sysdeps/unix/bsd/waitpid.c: ... here.
485 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
487         [BZ #16356]
488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
489         round-to-nearest for [!USE_AS_EXPM1L].
490         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
491         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
492         more tests of exp and exp10.  Expect some exp10 tests to miss
493         exceptions or fail in directed rounding modes.
494         * math/auto-libm-test-out: Regenerated.
495         * math/libm-test.inc (exp10_tonearest_test_data): New array.
496         (exp10_test_tonearest): New function.
497         (exp10_towardzero_test_data): New array.
498         (exp10_test_towardzero): New function.
499         (exp10_downward_test_data): New array.
500         (exp10_test_downward): New function.
501         (exp10_upward_test_data): New array.
502         (exp10_test_upward): New function.
503         (main): Call the new functions.
504         * sysdeps/i386/fpu/libm-test-ulps: Update.
505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
507 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
509         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
510         asinh, atan, atan2, atanh, cbrt, cos and cosh.
511         * math/auto-libm-test-out: Regenerated.
512         * math/libm-test.inc (acosh_test_data): Add more tests.
513         (atanh_test_data): Likewise.
514         (ceil_test_data): Likewise.
515         (copysign_test_data): Likewise.
516         * sysdeps/i386/fpu/libm-test-ulps: Update.
517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
519         * timezone/checktab.awk: Update from tzcode 2013i.
520         * timezone/private.h: Likewise.
521         * timezone/scheck.c: Likewise.
522         * timezone/tzfile.h: Likewise.
523         * timezone/tzselect.ksh: Likewise.
524         * timezone/zdump.c: Likewise.
525         * timezone/zic.c: Likewise.
527         * math/auto-libm-test-in: Add tests of cpow.
528         * math/auto-libm-test-out: Regenerated.
529         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
530         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
531         mpc_cc_c.
532         (func_calc_desc): Add mpc_cc_c union field.
533         (test_functions): Add cpow.
534         (special_fill_2pi): New function.
535         (special_real_inputs): Add 2pi.
536         (calc_generic_results): Handle mpc_cc_c.
537         * sysdeps/i386/fpu/libm-test-ulps: Update.
538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
540         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
541         csqrt, ctan and ctanh.
542         * math/auto-libm-test-out: Regenerated.
543         * math/libm-test.inc (TEST_COND_x86_64): New macro.
544         (TEST_COND_x86): Likewise.
545         (ccos_test_data): Use AUTO_TESTS_c_c.
546         (ccosh_test_data): Likewise.
547         (cexp_test_data): Likewise.
548         (clog_test_data): Likewise.
549         (csqrt_test_data): Likewise.
550         (ctan_test_data): Likewise.
551         (ctan_tonearest_test_data): Likewise.
552         (ctan_towardzero_test_data): Likewise.
553         (ctan_downward_test_data): Likewise.
554         (ctan_upward_test_data): Likewise.
555         (ctanh_test_data): Likewise.
556         (ctanh_tonearest_test_data): Likewise.
557         (ctanh_towardzero_test_data): Likewise.
558         (ctanh_downward_test_data): Likewise.
559         (ctanh_upward_test_data): Likewise.
560         * math/gen-auto-libm-tests.c (func_calc_method): Add value
561         mpc_c_c.
562         (func_calc_desc): Add mpc_c_c union field.
563         (FUNC_mpc_c_c): New macro.
564         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
565         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
566         ctanh.
567         (special_fill_min_subnorm_p120): New function.
568         (special_real_inputs): Add min_subnorm_p120.
569         (calc_generic_results): Handle mpc_c_c.
570         * sysdeps/i386/fpu/libm-test-ulps: Update.
571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
575         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
576         do_sin_slow): New functions.
577         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
578         cslow2, csloww1, csloww2): Use the new functions.
580         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
581         Use M to change sign of result instead of X.  Assume X is
582         positive.
583         (csloww1): Likewise.
584         (__sin): Adjust.
585         (__cos): Adjust.
587         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
588         arguments A and DA.
589         (__sin): Adjust.
590         (__cos): Likewise.
592         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
593         (__cos): Likewise.
594         (sloww1): Don't adjust sign of DX.
595         (csloww1): Likewise.
596         (sloww2): Use X directly and don't adjust sign of DX.
597         (csloww2): Likewise.
599 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
601         * math/auto-libm-test-in: Add tests of cabs and carg.
602         * math/auto-libm-test-out: Regenerated.
603         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
604         (carg_test_data): Likewise.
605         * math/gen-auto-libm-tests.c (func_calc_method): Add value
606         mpc_c_f.
607         (func_calc_desc): Add mpc_c_f union field.
608         (test_functions): Add cabs and carg.
609         (calc_generic_results): Handle mpc_c_f.
611         * sysdeps/powerpc/powerpc32/libgcc-compat.S
612         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
613         as a macro and a compat symbol.
614         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
615         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
616         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
617         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
618         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
619         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
620         not use .hidden.
621         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
622         Likewise.
623         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
624         Likewise.
625         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
626         Likewise.
627         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
628         Likewise.
629         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
630         Likewise.
631         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
632         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
633         from GLIBC_2.3.2.
635 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
639 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
641         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
642         (__signal_safe_memalign, __signal_safe_free): Use it.
643         (__signal_safe_realloc): Likewise.
645 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
647         * manual/texinfo.tex: Update to version 2013-11-26.10 with
648         trailing whitespace removed.
649         * scripts/config.guess: Update to version 2013-11-29.
650         * scripts/config.sub: Update to version 2013-10-01.
652         * math/auto-libm-test-in: Add tests of sincos.
653         * math/auto-libm-test-out: Regenerated.
654         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
655         * math/gen-auto-libm-tests.c (func_calc_method): Add value
656         mpfr_f_11.
657         (func_calc_desc): Add mpfr_f_11 union field.
658         (test_functions): Add sincos.
659         (calc_generic_results): Handle mpfr_f_11.
660         * sysdeps/i386/fpu/libm-test-ulps: Update.
661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663 2013-12-19  Andreas Schwab  <schwab@suse.de>
665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
666         CALL_MCOUNT.
667         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
668         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
669         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
671 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
673         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
674         * sysdeps/i386/fpu/libm-test-ulps: Update.
675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
677         [BZ #16293]
678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
679         round-to-nearest mode when using frndint.
680         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
681         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
682         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
683         Likewise.
684         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
685         sinh test to fail.
686         * math/auto-libm-test-out: Regenerated.
687         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
688         (TEST_COND_x86): Likewise.
689         (expm1_tonearest_test_data): New array.
690         (expm1_test_tonearest): New function.
691         (expm1_towardzero_test_data): New array.
692         (expm1_test_towardzero): New function.
693         (expm1_downward_test_data): New array.
694         (expm1_test_downward): New function.
695         (expm1_upward_test_data): New array.
696         (expm1_test_upward): New function.
697         (main): Run the new test functions.
698         * sysdeps/i386/fpu/libm-test-ulps: Update.
699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
701         * include/features.h: Update comment documenting feature test
702         macros.  Mention _DEFAULT_SOURCE in comment.
703         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
704         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
705         _BSD_SOURCE and _SVID_SOURCE.
706         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
707         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
708         !_SVID_SOURCE]: Likewise.
709         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
710         (__USE_POSIX_IMPLICITLY): Define.
711         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
712         (_POSIX_SOURCE): Undefine and redefine.
713         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
714         (_POSIX_C_SOURCE): Likewise.
715         * manual/creature.texi (_DEFAULT_SOURCE): Document.
716         (Feature Test Macros): Update documentation of default features.
718 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
720         * benchtests/Makefile: Add bench-strtok.
721         * benchtests/bench-strtok.c: New file: strtok benchtest.
723 2013-12-19  Allan McRae  <allan@archlinux.org>
725         * manual/install.texi: Suppress menu for plain text output.
726         * INSTALL: Regenerated.
728 2013-12-18  Andrew Hunter  <ahh@google.com>
730         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
731         (__signal_safe_malloc, __signal_safe_free): Likewise.
732         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
733         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
734         (__signal_safe_memalign, __signal_safe_malloc): New function.
735         (__signal_safe_free, __signal_safe_realloc): Likewise.
736         (__signal_safe_calloc): Likewise.
737         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
738         functions.
739         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
741 2013-12-18  Andrew Hunter  <ahh@google.com>
743         * elf/Versions (ld): Add _dl_clear_dtv.
744         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
745         * elf/dl-tls.c (_dl_clear_dtv): New function.
746         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
748 2013-12-18  Andrew Hunter  <ahh@google.com>
750         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
751         (_dl_unmask_signals): Likewise.
752         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
753         (_dl_unmask_all_signals): Likewise.
754         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
755         (_dl_unmask_all_signals): Likewise.
756         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
757         (_dl_unmask_signals): Likewise.
759 2013-12-18  Brooks Moses  <bmoses@google.com>
761         [BZ #15846]
762         * misc/getauxval.c: Include errno.h.
763         (__getauxval): Set errno to ENOENT if the requested type is not
764         found.
765         * misc/sys/auxv.h (getauxval): Document that it may set errno;
766         don't declare with __attribute_const__.
767         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
768         * manual/startup.texi: Document that getauxval sets errno.
770 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
772         * math/auto-libm-test-in: Add tests of jn and yn.
773         * math/auto-libm-test-out: Regenerated.
774         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
775         (yn_test_data): Likewise.
776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
777         mpfr_if_f.
778         (func_calc_desc): Add mpfr_if_f union field.
779         (FUNC_mpfr_if_f): New macro.
780         (test_functions): Add jn and yn.
781         (calc_generic_results): Assert type of second input for
782         mpfr_ff_f.  Handle mpfr_if_f.
783         (output_for_one_input_case): Disable all checking for arguments
784         fitting floating-point types in case of an integer argument.
785         * sysdeps/i386/fpu/libm-test-ulps: Update.
786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
789         Don't expect fegetround reference in libm.so.
791 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
793         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
794         $(config-cflags-nofma).
796 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
798         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
799         * math/auto-libm-test-out: Regenerated.
801         [BZ #16338]
802         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
803         to determine exponent and adjust argument to have exponent of -1.
804         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
805         log2.
806         * math/auto-libm-test-out: Regenerated.
807         * sysdeps/i386/fpu/libm-test-ulps: Update.
808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
812         * manual/probes.texi: Remove cases when per-thread arenas are
813         disabled.
815 2013-12-18  Andreas Schwab  <schwab@suse.de>
817         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
818         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
819         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
820         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
821         * sysdeps/i386/i686/multiarch/Makefile: Update.
822         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
826         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
827         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
829 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
831         Support TZ transition times < 00:00:00.
832         This is needed for version-3 tz-format files; it supports time
833         stamps past 2037 for America/Godthab (the only entry in the tz
834         database for which this change is relevant).
835         * manual/time.texi (TZ Variable): Document transition times
836         from -167:59:59 through -00:00:01.
837         * time/tzset.c (tz_rule): Time of day is now signed.
838         (__tzset_parse_tz): Parse negative time of day.
840         Document TZ transition times >= 25:00:00.
841         * manual/time.texi (TZ Variable): Document transition times from
842         25:00:00 through 167:59:59.  These are already supported, and this
843         support will help with version-3 tz-format files.
845         * manual/time.texi (TZ Variable): Modernize North America example
846         to reflect current (i.e., 2007-and-later) daylight saving rules.
848         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
850 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
852         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
853         * sysdeps/unix/bsd/bits/stat.h: Likewise.
854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
856         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
857         * sysdeps/unix/bsd/bsdstat.h: Likewise.
858         * sysdeps/unix/bsd/clock.c: Likewise.
859         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
860         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
861         * sysdeps/unix/bsd/init-posix.c: Likewise.
862         * sysdeps/unix/bsd/poll.c: Likewise.
863         * sysdeps/unix/bsd/ptsname.c: Likewise.
864         * sysdeps/unix/bsd/seekdir.c: Likewise.
865         * sysdeps/unix/bsd/setegid.c: Likewise.
866         * sysdeps/unix/bsd/seteuid.c: Likewise.
867         * sysdeps/unix/bsd/setgid.c: Likewise.
868         * sysdeps/unix/bsd/setrgid.c: Likewise.
869         * sysdeps/unix/bsd/setruid.c: Likewise.
870         * sysdeps/unix/bsd/setsid.c: Likewise.
871         * sysdeps/unix/bsd/setuid.c: Likewise.
872         * sysdeps/unix/bsd/sigaction.c: Likewise.
873         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
874         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
875         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
876         * sysdeps/unix/bsd/telldir.c: Likewise.
877         * sysdeps/unix/bsd/times.c: Likewise.
878         * sysdeps/unix/bsd/usleep.c: Likewise.
880         * misc/Makefile (install-lib): Remove libbsd-compat.a.
881         ($(objpfx)libbsd-compat.a): Remove rule.
883         * include/features.h (__FAVOR_BSD): Do not define.
884         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
885         features conflicting with POSIX.
886         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
887         (_BSD_SOURCE): Remove description of not being a subset of other
888         feature test macros.
889         * manual/job.texi (getpgrp): Do not document BSD version.
890         (getpgid): Do not document by reference to BSD getpgrp.
891         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
892         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
893         * signal/signal.h [__FAVOR_BSD]: Likewise.
894         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
895         instead of making contents conditional on [__FAVOR_BSD].
896         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
898 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
902 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
904         [BZ #16314]
905         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
906         values below 2**-450, not 2**-500.
907         * math/auto-libm-test-in: Don't allow spurious underflow from
908         hypot.
909         * math/auto-libm-test-out: Regenerated.
911         [BZ #16316]
912         [BZ #16330]
913         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
914         values of ha and hb and sort them after adjusting subnormal
915         arguments.
916         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
917         Likewise.
918         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
919         values of ea and eb and sort them after adjusting subnormal
920         arguments.
921         * math/auto-libm-test-in: Do not expect some hypot tests of
922         subnormals to fail.  Add more hypot tests.
923         * math/auto-libm-test-out: Regenerated.
925 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
927         [BZ #13304]
928         * sysdeps/sh/s_fma.c: New file.
929         * sysdeps/sh/s_fmaf.c: New file.
930         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
931         version.
932         * sysdeps/sh/Implies: Add sh/soft-fp.
934 2013-12-16  Roland McGrath  <roland@hack.frob.com>
936         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
937         level of indirection to members `objname', `errstring', `malloced'.
938         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
939         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
940         it as the __longjmp argument (just pass 1 instead).
941         (_dl_catch_error): Initialize C with argument pointers and address of
942         volatile local ERRCODE rather than copying values out of C at return.
944 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
946         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
947         * math/auto-libm-test-out: Regenerated.
948         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
949         (hypot_test_data): Likewise.
950         (pow_test_data): Likewise.
951         (pow_tonearest_test_data): Likewise.
952         * math/gen-auto-libm-tests.c (func_calc_method): Add value
953         mpfr_ff_f.
954         (func_calc_desc): Add mpfr_ff_f union field.
955         (FUNC_mpfr_ff_f): New macro.
956         (test_functions): Add atan2, hypot and pow.
957         (special_fill_min): New function.
958         (special_fill_minus_min): Likewise.
959         (special_fill_min_subnorm): Likewise.
960         (special_fill_minus_min_subnorm): Likewise.
961         (special_real_inputs): Add min, -min, min_subnorm and
962         -min_subnorm.
963         (calc_generic_results): Handle mpfr_ff_f.
964         * sysdeps/i386/fpu/libm-test-ulps: Update.
965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
967 2013-12-16  Will Newton  <will.newton@linaro.org>
969         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
970         (Aligned Memory Blocks): Add documentation for aligned_alloc
971         and suggest it as an alternative to posix_memalign.
972         (Hooks for Malloc): Document __memalign_hook is also called
973         for aligned_alloc.  (Summary of Malloc): Add summary for
974         aligned alloc.  Document __memalign_hook is also called
975         for aligned_alloc.
977 2013-12-16  Will Newton  <will.newton@linaro.org>
979         * manual/memory.texi (Malloc Examples): Clarify default
980         alignment documentation.  Suggest posix_memalign rather
981         than memalign or valloc.
982         (Aligned Memory Blocks): Remove suggestion to use memalign
983         or valloc.  Remove obsolete comment about BSD.
984         Document memalign errno values and mark the function obsolete.
985         Document posix_memalign returned error codes.  Mark valloc
986         as obsolete.  (Hooks for Malloc): __memalign_hook is also
987         called for posix_memalign and valloc.
988         (Summary of Malloc): Add posix_memalign to function summary.
989         __memalign_hook is also called for posix_memalign and valloc.
991 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
993         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
994         TAYLOR_SIN.
995         (__sin): Adjust.
996         (__cos): Likewise.
997         (sloww): Use mynumber union.  Expand ternary operator into
998         if-else statements.
999         (cslow): use mynumber union.
1001 2013-12-16  Allan McRae  <allan@archlinux.org>
1003         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1004         * configure: Regenerated.
1006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1008         [BZ #14120]
1009         * configure.ac: Added --enable-maintainer-mode. Check for
1010         autoconf when enabled.
1011         * configure: Regenerated.
1013         * nscd/nscd.service: New file.
1014         * nscd/nscd.tmpfiles: New file.
1016 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1018         [BZ #12100]
1019         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1020         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1021         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1022         (strstr): Add __strstr_sse2_unaligned ifunc.
1023         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1024         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1025         (strcasestr): Remove __strcasestr_sse42 ifunc.
1026         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1030 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1032         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1033         * sysdeps/sh/bits/fenv.h: ... here.
1034         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1036 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1038         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1040 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1043         hypotf multiarch implementations.
1044         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1047         multiarch hypot for PPC64.
1048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1049         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1050         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1051         multiarch hypotf for PPC64.
1053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1056         modff multiarch implementations.
1057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1060         multiarch modf for PPC64.
1061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1064         multiarch modff for PPC64.
1066 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1069         and logl multiarch implementations.
1070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1073         multiarch logb for PPC64.
1074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1077         multiarch logb for PPC64.
1078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1081         multiarch logb for PPC64.
1083 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1086         isinff multiarch implementation.
1087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1088         file.
1089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1091         multiarch isinf for PPC64.
1092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1093         file.
1094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1095         multiarch isinff for PPC64.
1097 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1100         finitef multiarch implementation.
1101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1102         file.
1103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1105         multiarch finite for PPC64.
1106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1107         file.
1108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1109         multiarch finitef for PPC64.
1111 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1114         lrint multiarch implementation.
1115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1116         file.
1117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1119         multiarch llrint for PPC64.
1120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1121         multiarch lrint for PPC64.
1123 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1126         copysignf multiarch implementation.
1127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1128         file.
1129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1130         file.
1131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1132         multiarch copysign for PPC64.
1133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1134         multiarch copysignf for PPC64.
1136 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1139         multiarch implementation.
1140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1141         file.
1142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1143         file.
1144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1145         file.
1146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1147         file.
1148         multiarch llround for PPC64.
1149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1150         multiarch trunc for PPC64.
1151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1152         multiarch truncf for PPC64.
1154 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1157         multiarch implementation.
1158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1159         file.
1160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1161         file.
1162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1163         file.
1164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1165         file.
1166         multiarch llround for PPC64.
1167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1168         multiarch round for PPC64.
1169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1170         multiarch roundf for PPC64.
1172 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1175         multiarch implementation.
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1177         file.
1178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1179         file.
1180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1181         file.
1182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1183         file.
1184         multiarch llround for PPC64.
1185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1186         multiarch floor for PPC64.
1187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1188         multiarch floorf for PPC64.
1190 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1193         multiarch implementation.
1194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1195         file.
1196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1197         file.
1198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1199         file.
1200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1201         file.
1202         multiarch llround for PPC64.
1203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1204         multiarch ceil for PPC64.
1205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1206         multiarch ceilf for PPC64.
1208 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1211         multiarch implementation.
1212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1213         file.
1214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1215         file.
1216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1217         file.
1218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1219         multiarch llround for PPC64.
1220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1221         multiarch lround for PPC64.
1223 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1226         multiarch implementation.
1227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1230         file.
1231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1234         multiarch isnan for PPC64.
1235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1236         multiarch isnanf for PPC64.
1238 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1240         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1241         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1242         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1243         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1244         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1249         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1250         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1254 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1257         multiarch implementations.
1258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1259         (__libc_ifunc_impl_list): Likewise.
1260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1263         multiarch stpcpy for PPC64.
1265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1268         multiarch implementations.
1269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1270         (__libc_ifunc_impl_list): Likewise.
1271         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1272         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1273         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1274         multiarch strcpy for PPC64.
1276 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1278         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1279         redefine function name.
1280         (_wordcopy_fwd_dest_aligned): Likewise.
1281         (_wordcopy_bwd_aligned): Likewise.
1282         (_wordcopy_bwd_dest_aligned): Likewise.
1283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1284         multiarch implementations.
1285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1286         (__libc_ifunc_impl_list): Likewise.
1287         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1289         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1290         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1291         multiarch wcscpy for PPC64.
1293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1296         multiarch implementations.
1297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1298         (__libc_ifunc_impl_list): Likewise.
1299         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1300         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1301         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1302         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1303         multiarch wcscpy for PPC64.
1305 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1308         multiarch implementations.
1309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1310         (__libc_ifunc_impl_list): Likewise.
1311         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1312         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1313         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1314         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1315         multiarch wcsrchr for PPC64.
1317 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1320         multiarch implementations.
1321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1322         (__libc_ifunc_impl_list): Likewise.
1323         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1324         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1325         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1326         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1327         multiarch wcschr for PPC64.
1329 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1332         multiarch implementations.
1333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1334         (__libc_ifunc_impl_list): Likewise.
1335         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1336         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1337         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1338         multiarch strchrnul for PPC64.
1340 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1343         implementations.
1344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1345         (__libc_ifunc_impl_list): Likewise.
1346         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1347         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1348         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1349         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1350         strchr for PPC64.
1352 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1355         implementations.
1356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1357         (__libc_ifunc_impl_list): Likewise.
1358         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1359         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1360         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1361         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1362         strncmp for PPC64.
1364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1367         multiarch implementations.
1368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1369         (__libc_ifunc_impl_list): Likewise.
1370         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1371         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1372         strncasecmp for PPC64.
1373         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1374         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1375         multiarch strncasecmp_l for PPC64.
1377 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1380         multiarch implementations.
1381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1382         (__libc_ifunc_impl_list): Likewise.
1383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1385         multiarch strcasecmp for PPC64.
1386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1387         file.
1388         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1389         multiarch strcasecmp_l for PPC64.
1391 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1394         implementations.
1395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1396         (__libc_ifunc_impl_list): Likewise.
1397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1398         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1399         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1400         strnlen for PPC64.
1402 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1405         implementations.
1406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1407         (__libc_ifunc_impl_list): Likewise.
1408         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1409         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1410         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1411         strlen for PPC64.
1413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1416         implementations.
1417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1418         (__libc_ifunc_impl_list): Likewise.
1419         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1420         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1421         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1422         rawmemrchr for PPC64.
1424 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1427         implementation.
1428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1429         (__libc_ifunc_impl_list): Likewise.
1430         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1431         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1432         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1433         memrchr for PPC64.
1435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1438         implementation.
1439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1440         (__libc_ifunc_impl_list): Likewise.
1441         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1442         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1443         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1444         memchr for PPC64.
1446 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1449         implementation.
1450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1451         (__libc_ifunc_impl_list): Likewise.
1452         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1453         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1454         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1455         mempcpy for PPC64.
1457 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1459         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1460         avoid cretion of __bzero symbol.
1461         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1462         Likewise.
1463         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1464         Likewise.
1465         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1466         Likewise.
1467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1468         multiarch implementations.
1469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1470         (__libc_ifunc_impl_list): Likewise.
1471         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1472         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1473         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1474         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1475         bzero for PPC32.
1476         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1477         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1478         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1479         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1480         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1481         memset for PPC64.
1482         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1484 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1486         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1488         implementations.
1489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1490         (__libc_ifunc_impl_list): Likewise.
1491         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1492         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1493         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1494         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1495         memcmp for PPC64.
1497 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1500         multiarch for POWER/PPC64.
1501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1502         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1505         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1506         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1508         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1509         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1510         memcpy for PPC64.
1512 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1514         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1515         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1516         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1517         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1518         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1519         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1521         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1522         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1523         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1524         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1525         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1526         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1527         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1528         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1537 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1539         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1541 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1543         * benchtests/Makefile (bench): Add exp2 and log2.
1544         (LDLIBS-bench-exp2): Add -lm.
1545         (LDLIBS-bench-log2): Likewise.
1546         * benchtests/exp2-inputs: New inputs file.
1547         * benchtests/log2-inputs: New inputs file.
1548         * benchtests/log-inputs: Add new inputs.
1549         * benchtests/tan-inputs: Likewise.
1551 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1553         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1554         definition...
1555         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1556         csloww1, csloww2): ... from here.
1558         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1559         instead of structures.
1560         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1561         (POLYNOMIAL): Likewise.
1562         (TAYLOR_SLOW): Likewise.
1563         (__sin): Likewise.
1564         (__cos): Likewise.
1565         (slow1): Likewise.
1566         (slow2): Likewise.
1567         (sloww): Likewise.
1568         (sloww1); Likewise.
1569         (sloww2): Likewise.
1570         (bsloww1): Likewise.
1571         (bsloww2): Likewise.
1572         (cslow2): Likewise.
1573         (csloww): Likewise.
1574         (csloww1): Likewise.
1575         (csloww2): Likewise.
1577 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1579         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1580         (__malloc_assert, __libc_realloc, __libc_calloc,
1581         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1582         memcpy and memset.
1583         * malloc/hooks.c (realloc_check): Likewise.
1585 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1587         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1588         * malloc/arena.c: Remove PER_THREAD conditional.
1589         [!PER_THREAD]: Remove code.
1590         (ptmalloc_unlock_all2): Likewise.
1591         (ptmalloc_init): Likewise.
1592         (_int_new_arena): Likewise.
1593         (arena_get2): Likewise.
1594         * malloc/hooks.c (__malloc_get_state): Likewise.
1595         (__malloc_set_state): Likewise.
1596         * malloc/malloc.c: Likewise.
1597         (struct malloc_state): Likewise.
1598         (struct malloc_par): Likewise.
1599         (__libc_realloc): Likewise.
1600         (__libc_mallopt): Likewise.
1602 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1604         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1606 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1608         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1609         macro to a function.  Check for zero perturb_byte.
1610         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1612 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1614         * malloc/malloc.c: (force_reg): Remove.
1615         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1616         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1617         force_reg by atomic_forced_read.
1618         * malloc/arena.c (ptmalloc_init): Likewise.
1619         * malloc/hooks.c (top_check): Likewise.
1621 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1629 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1631         * math/auto-libm-test-in: Add tests of lgamma.
1632         * math/auto-libm-test-out: Regenerated.
1633         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1634         (M_LOG_2_SQRT_PIl): Likewise.
1635         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1636         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1637         mpfr_f_f1.
1638         (func_calc_desc): Add mpfr_f_f1 union field.
1639         (ARGS1): New macro.
1640         (ARGS2): Likewise.
1641         (ARGS3): Likewise.
1642         (ARGS4): Likewise.
1643         (RET1): Likewise.
1644         (RET2): Likewise.
1645         (CALC): Likewise.
1646         (FUNC): Likewise.
1647         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1648         (test_functions): Add lgamma.
1649         (calc_generic_results): Handle mpfr_f_f1.
1650         * sysdeps/i386/fpu/libm-test-ulps: Update.
1651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1653 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1655         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1656         __mpn_add_n for PowerPC64/POWER7.
1657         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1658         __mpn_sub_n for PowerPC64/POWER7.
1660 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1662         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1663         __mpn_addmul_1 for PowerPC64.
1664         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1665         __mpn_submul_1 for PowerPC64.
1666         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1667         for PowerPC64.
1668         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1669         for PowerPC64.
1671 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1673         [BZ #15089]
1674         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1676 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1678         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1680 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1682         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1683         add multiarch folders.
1684         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1685         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1686         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1687         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1688         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1689         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1690         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1691         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1692         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1693         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1694         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1705         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1707         New file.
1708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1709         New file.
1710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1711         multiarch __ieee754_hypot for PowerPC32.
1712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1713         New file.
1714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1715         New file.
1716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1717         multiarch __ieee754_hypotf for PowerPC32.
1719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1722         long_double_symbol only if __logbl is defined.
1723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1724         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1726         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1728         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1730         path for implementation.
1731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1732         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1734         logb, and logbl multiarch implementations for PowerPC32.
1735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1736         file.
1737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1738         file.
1739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1740         multiarch logb for PowerPC32.
1741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1742         file.
1743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1744         file.
1745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1746         multiarch logbf for PowerPC32.
1747         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1749         file.
1750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1751         multiarch logbl implementation for PowerPC32.
1753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1756         and modff multiarch implementations.
1757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1758         New file.
1759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1760         New file.
1761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1762         multiarch modf for PowerPC32.
1763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1764         New file.
1765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1766         New file.
1767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1768         multiarch modff for PowerPC32.
1770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1773         and lrintf multiarch implementations.
1774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1775         New file.
1776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1777         New file.
1778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1779         multiarch lrint for PowerPC32.
1780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1781         file: multiarch lrintf for PowerPC32.
1783 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1786         and lroundf multiarch implementations.
1787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1788         New file.
1789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1790         New file.
1791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1792         New file.
1793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1794         multiarch lround for PowerPC32.
1795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1796         file: multiarch lroundf for PowerPC32.
1798 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1801         copysign and copysignf multiarch implementations.
1802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1803         New file.
1804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1805         New file.
1806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1807         file: multiarch copysign for PowerPC32.
1808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1809         file: multiarch copysignf for PowerPC32.
1811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1814         and truncf multiarch implementations.
1815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1816         New file.
1817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1818         file.
1819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1820         multiarch trunc for PowerPC32.
1821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1822         New file.
1823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1824         New file.
1825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1826         multiarch truncf for PowerPC32.
1828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1831         and roundf multiarch implementations.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1833         New file.
1834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1835         file.
1836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1837         multiarch round for PowerPC32.
1838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1839         New file.
1840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1841         New file.
1842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1843         multiarch roundf for PowerPC32.
1845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1848         and floorf multiarch implementations.
1849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1850         New file.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1852         file.
1853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1854         multiarch floor for PowerPC32.
1855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1856         New file.
1857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1858         New file.
1859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1860         multiarch floorf for PowerPC32.
1862 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1865         and ceilf multiarch implementations.
1866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1867         New file.
1868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1869         file.
1870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1871         multiarch ceil for PowerPC32.
1872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1873         New file.
1874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1875         file.
1876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1877         multiarch ceilf for PowerPC32.
1879 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1881         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1882         is defined.
1883         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1884         FINITEF is defined.
1885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1886         and finitef multiarch implementations.
1887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1888         New file.
1889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1890         file.
1891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1892         multiarch finite for PowerPC32.
1893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1894         New file.
1895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1896         file: multiarch finitef for PowerPC32.
1898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1901         and isinff multiarch implementations.
1902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1903         file.
1904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1905         file.
1906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1907         multiarch isinf for PowerPC32.
1908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1909         New file.
1910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1911         multiarch isinff for PowerPC32.
1913 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1915         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1916         alias when __isnan is defined.
1917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1918         and isnanf multiarch implementations.
1919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1920         file.
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1922         file.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1924         file.
1925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1926         file.
1927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1928         multiarch isnan for PowerPC32.
1929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1930         New file.
1931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1932         New file.
1933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1934         multiarch isnanf for PowerPC32.
1936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1939         and sqrtf multiarch implementations.
1940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1941         file.
1942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1943         file.
1944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1945         multiarch sqrt for PowerPC32.
1946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1947         file.
1948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1949         file.
1950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1951         multiarch sqrtf for PowerPC32.
1953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1956         and llroundf multiarch implementations.
1957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1958         New file.
1959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1960         New file.
1961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1962         New file.
1963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1964         file: multiarch llround for PowerPC32.
1965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1966         file: multiarch llroundf for PowerPC32.
1968 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1971         multiarch PowerPC32 fpu implementations.
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1973         New file.
1974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1975         New file.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1977         multiarch llrint for PowerPC32.
1978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1979         New file.
1980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1981         New file.
1982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1983         file.
1985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1991         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1992         file.
1993         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1994         file.
1995         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1996         file.
1997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1998         multiarch wordcopy for PPC32.
1999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2000         wordcopy objects.
2001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2002         (__libc_ifunc_impl_list): Likewise.
2003         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2004         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2005         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2006         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2008         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2012         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2014         file.
2015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2016         file.
2017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2018         file.
2019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2020         multiarch wcscpy for PPC32.
2021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2022         multiarch objects.
2023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2024         (__libc_ifunc_impl_list): Likewise.
2025         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2026         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2027         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2028         sysdeps/powerpc/power6/wcscpy.c.
2030 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2032         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2034         file.
2035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2036         file.
2037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2038         file.
2039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2040         multiarch wcsrchr for PPC32.
2041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2042         multiarch objects.
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2044         (__libc_ifunc_impl_list): Likewise.
2045         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2046         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2047         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2048         sysdeps/powerpc/power6/wcsrchr.c.
2050 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2053         file.
2054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2055         file.
2056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2058         multiarch wcschr for PPc32.
2059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2060         multiarch objects.
2061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2062         (__libc_ifunc_impl_list): Likewise.
2063         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2064         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2065         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2066         sysdeps/powerpc/power6/wcschr.c.
2068 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2071         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2072         file.
2073         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2074         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2075         file: multiarch strchr for PPC32.
2076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2077         multiarch objects.
2078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2079         (__libc_ifunc_impl_list): Likewise.
2081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2083         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2084         name.
2085         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2086         file.
2087         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2088         file.
2089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2090         multiarch strchrnul for PPC32.
2091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2092         multiarch objects.
2093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2094         (__libc_ifunc_impl_list): Likewise.
2096 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2099         file.
2100         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2101         multiarch strncasecmp for PPC32.
2102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2103         file.
2104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2105         multiarch strncasecmp_l for PPC32.
2106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2107         strncasecmp multiarch objects.
2108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2109         (__libc_ifunc_impl_list): Likewise.
2111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2113         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2114         file.
2115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2116         multiarch strncasecmp for PPC32.
2117         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2118         New file.
2119         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2120         multiarch strcasecmp_l for PPC32.
2121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2122         multiarch objects.
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2124         (__libc_ifunc_impl_list): Likewise.
2126 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2129         file.
2130         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2131         file.
2132         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2133         multiarch strncmp for PPC32.
2134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2135         multiarch objects.
2136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2137         (__libc_ifunc_impl_list): Likewise.
2139 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2141         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2142         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2143         file.
2144         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2147         multiarch objects.
2148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2149         (__libc_ifunc_impl_list): Likewise.
2151 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2153         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2154         file.
2155         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2156         file.
2157         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2159         multiarch objects.
2160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2161         (__libc_ifunc_impl_list): Likewise.
2163 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2165         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2166         file.
2167         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2168         file.
2169         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2170         multiarch rawmemchr for PPC32.
2171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2172         multiarch objects.
2173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2174         (__libc_ifunc_impl_list): Likewise.
2176 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2178         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2179         file.
2180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2181         file.
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2183         file: memrchr multiarch for PPC32.
2184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2185         multiarch objects.
2186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2187         (__libc_ifunc_impl_list): Likewise.
2189 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2191         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2193         file.
2194         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2195         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2196         multiarch memchr for PPC32.
2197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2198         multiarch objects.
2199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2200         (__libc_ifunc_impl_list): Likewise.
2202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2204         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2206         file.
2207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2208         file.
2209         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2210         file: multiarch mempcpy for PPC32.
2211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2212         multiarch objects.
2213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2214         (__libc_ifunc_impl_list): Likewise.
2216 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2218         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2222         multiarch bzero for PPC32.
2223         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2224         file.
2225         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2226         file.
2227         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2228         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2229         file: multiarch memset for PPC32.
2230         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2232         memset multiarch objects.
2233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2234         (__libc_ifunc_impl_list): Likewise.
2236 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2239         file.
2240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2242         memcmp for PPC32.
2243         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2245         multiarch objects.
2246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2247         (__libc_ifunc_impl_list): Likewise.
2249 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2254         file.
2255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2256         file.
2257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2258         file.
2259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2260         multiarch memcpy for PPC32.
2261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2262         multiarch objects.
2263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2264         (__libc_ifunc_impl_list): Likewise.
2266 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2269         support multiarch for POWER/PPC32.
2270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2271         Likewise.
2272         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2274         Implies file to make multiarch folder appers before the fpu and
2275         default folder for power4 configuration.
2277 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2279         * scripts/bench.pl: Append volatile keyword to type.
2281 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2283         * sysdeps/sh/sotruss-lib.c: New file.
2284         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2286 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2290 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #6810]
2293         * math/w_tgamma.c: Include <errno.h>.
2294         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2295         * math/w_tgammaf.c: Include <errno.h>.
2296         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2297         * math/w_tgammal.c: Include <errno.h>.
2298         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2299         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2300         underflow.  Add more tgamma tests.
2301         * math/auto-libm-test-out: Regenerated.
2302         * sysdeps/i386/fpu/libm-test-ulps: Update.
2303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2305         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2306         sin, sinh, tan, tanh, tgamma, y0 and y1.
2307         * math/auto-libm-test-out: Regenerated.
2308         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2309         (TEST_COND_x86): Likewise.
2310         (M_E2l): Remove macro.
2311         (M_E3l): Likewise.
2312         (M_2_SQRT_PIl): Likewise.
2313         (M_SQRT_PIl): Likewise.
2314         (M_1_DIV_El): Likewise.
2315         (log_test_data): Use AUTO_TESTS_f_f.
2316         (log10_test_data): Likewise.
2317         (log1p_test_data): Likewise.
2318         (log2_test_data): Likewise.
2319         (sin_test_data): Likewise.
2320         (sin_tonearest_test_data): Likewise.
2321         (sin_towardzero_test_data): Likewise.
2322         (sin_downward_test_data): Likewise.
2323         (sin_upward_test_data): Likewise.
2324         (sinh_test_data): Likewise.
2325         (sinh_tonearest_test_data): Likewise.
2326         (sinh_towardzero_test_data): Likewise.
2327         (sinh_downward_test_data): Likewise.
2328         (sinh_upward_test_data): Likewise.
2329         (tan_test_data): Likewise.
2330         (tan_tonearest_test_data): Likewise.
2331         (tan_towardzero_test_data): Likewise.
2332         (tan_downward_test_data): Likewise.
2333         (tan_upward_test_data): Likewise.
2334         (tanh_test_data): Likewise.
2335         (tgamma_test_data): Likewise.
2336         (y0_test_data): Likewise.
2337         (y1_test_data): Likewise.
2338         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2339         (special_real_inputs): Add pi/4.
2340         * sysdeps/i386/fpu/libm-test-ulps: Update.
2341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2343 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2345         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2346         "longjmp_target" static probes.
2347         (__longjmp): Rename to __longjmp_symbol.
2348         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2349         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2350         on which longjmp to generate.
2351         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2352         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2353         probe.
2354         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2355         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2356         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2357         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2358         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2359         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2361         __longjmp_symbol based on which __longjmp to generate.
2362         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2363         probe.
2364         (setjmp): Rename to setjmp_symbol.
2365         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2366         (_setjmp): Rename to _setjmp_symbol.
2367         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2368         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2369         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2370         which setjmp to generate.
2371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2372         "longjmp_target" static probes.
2374 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2376         * benchtests/README: Add note about output arguments.
2377         * benchtests/bench-sincos.c: Remove file.
2378         * benchtests/sincos-inputs: New file.
2379         * scripts/bench.pl: Identify output arguments and define
2380         static variables for them.
2382         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2384         [BZ #15941]
2385         * Makefile (INSTALL): Add install-plain.texi as the primary
2386         dependency.
2387         * manual/install-plain.texi: New file.
2388         * manual/install.texi: Include node directive only for
2389         non-plaintext output.
2391 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2393         * stdlib/longlong.h: Update from GCC.
2395         [BZ #6807]
2396         [BZ #15901]
2397         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2398         * math/w_j0f.c (y0f): Likewise.
2399         * math/w_j0l.c (__y0l): Likewise.
2400         * math/w_j1.c (y1): Likewise.
2401         * math/w_j1f.c (y1f): Likewise.
2402         * math/w_j1l.c (__y1l): Likewise
2403         * math/w_jn.c (yn): Likewise.
2404         * math/w_jnf.c (ynf): Likewise.
2405         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2406         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2407         value for Bessel function domain errors outside _SVID_ mode.
2408         Adjust sign of return value for yn (negative integer, 0).
2409         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2410         by zero in return for negative x and set sign appropriately for
2411         negative n.
2412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2414         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2415         expectations in error cases.
2416         (y1_test_data): Likewise.
2417         (yn_test_data): Likewise.
2418         * sysdeps/i386/fpu/libm-test-ulps: Update.
2419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2423         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2424         "64" to "64-v1".  Add "64-v2".
2425         (abi-64-options): Rename to ...
2426         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2427         (abi-64-condition): Rename to ...
2428         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2429         (abi-64-ld-soname): Rename to ...
2430         (abi-64-v1-ld-soname): ... this.
2431         (abi-64-v2-options): Define.
2432         (abi-64-v2-condition): Likewise.
2433         (abi-64-v2-ld-soname): Likewise.
2434         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2435         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2440 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2441             Alan Modra  <amodra@gmail.com>
2443         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2444         New versions for use with the ELFv2 ABI.
2445         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2446         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2447         declaration.
2448         (struct La_ppc64v2_retval): Likewise.
2449         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2450         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2451         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2452         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2453         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2454         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2455         Do not save or restore CR.
2456         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2457         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2458         return values for ELFv2 ABI.  Fix location of FPR return registers.
2459         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2460         updated values for _CALL_ELF == 2.
2461         (La_regs, La_retval, int_retval): Likewise.
2463 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2465         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2466         (FRAME_MIN_SIZE_PARM): Likewise.
2467         (FRAME_BACKCHAIN): Likewise.
2468         (FRAME_CR_SAVE): Likewise.
2469         (FRAME_LR_SAVE): Likewise.
2470         (FRAME_TOC_SAVE): Likewise.
2471         (FRAME_PARM_SAVE): Likewise.
2472         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2473         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2474         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2475         (call_mcount_parm_offset): New macro.
2476         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2477         (PROF): Use symbolic stack frame offsets.
2478         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2479         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2480         Redefine in terms of FRAME_MIN_SIZE.
2481         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2482         (_dl_profile_resolve): Likewise.  Update comment.
2483         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2484         symbols stack frame offsets.
2485         (__sigsetjmp): Likewise.
2486         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2487         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2488         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2489         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2492         (FRAME_BACKCHAIN): Remove.
2493         (FRAME_CR_SAVE): Likewise.
2494         (FRAME_LR_SAVE): Likewise.
2495         (FRAME_COMPILER_DW): Likewise.
2496         (FRAME_LINKER_DW): Likewise.
2497         (FRAME_TOC_SAVE): Likewise.
2498         (FRAME_PARM_SAVE): Likewise.
2499         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2500         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2501         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2503         (CHECK_SP): Use symbolic stack frame offsets.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2505         zone" instead of caller's parameter save area for temp storage.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2507         Likewise.  Also, use symbolic stack frame offsets.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2509         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2510         our own stack frame instead of the caller's.
2511         (__socket): Use symbolic stack frame offsets.
2513 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2514             Alan Modra  <amodra@gmail.com>
2516         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2517         Define.
2518         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2519         PPC64_LOCAL_ENTRY_OFFSET): Define.
2520         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2521         New function.
2522         (elf_machine_fixup_plt): Call it.
2523         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2524         reloc arguments.
2525         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2526         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2527         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2528         r2 before calling target.
2530 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2531             Alan Modra  <amodra@gmail.com>
2533         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2534         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2535         versions of macros to support ELFv2 ABI.
2536         (LOCALENTRY): New macro.
2537         (ENTRY, EALIGN): Use it.
2538         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2539         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2540         fall through into ENTRY entry point.
2541         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2542         Only define if _CALL_ELF != 2.
2544         (elf_machine_matches_host): Verify ABI version matches.
2545         (RTLD_START): Use LOCALENTRY.
2546         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2547         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2548         (PLT_ENTRY_WORDS): New macro.
2549         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2550         (elf_machine_runtime_setup): Support ELFv2 ABI.
2551         (elf_machine_fixup_plt): Likewise.
2552         (elf_machine_plt_conflict): Likewise.
2553         (resolve_ifunc): Likewise.
2554         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2558         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2560         (makecontext): Support ELFv2 ABI.
2561         * elf/elf.h (EF_PPC64_ABI): Define.
2563 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2565         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2566         New assembler macro.
2567         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2568         [ASSEMBLER] (ENTRY): ... but instead here ...
2569         [ASSEMBLER] (EALIGN): ... and here.
2570         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2571         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2572         [!ASSEMBLER] (ENTRY_2): Use it.
2573         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2574         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2575         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2576         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2577         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2579         Use PPC64_LOAD_FUNCPTR.
2581 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2583         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2585 2013-12-04  Alan Modra  <amodra@gmail.com>
2587         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2588         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2589         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2590         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2593         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2594         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2595         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2596         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2597         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2599 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2602         (__makecontext): Fix incorrect CFI when backtracing out of
2603         context created via makecontext.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2605         (__setcontext): Fix incorrect CFI during switch to new context.
2606         (__novec_setcontext): Likewise.
2608 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2610         [BZ #4772]
2611         * time/strptime_l.c (__strptime_internal): Allow modifiers
2612         in strptime.
2613         * time/tst-strptime.c (day_tests): Add testcase.
2616 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2618         * scripts/bench.pl: Skip over blank lines.
2620 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2622         [BZ #926]
2623         * manual/time.texi (Calendar Time): Clarify what timezone functions
2624         use.
2626 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2630 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2632         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2633         implementation.
2634         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2635         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2636         * debug/memset_chk.c (__memset_chk): Likewise.
2637         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2638         * debug/strncpy_chk.c: Likewise.
2640 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2642         [BZ #15268]
2643         [BZ #15425]
2644         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2645         (__ieee754_exp): For possibly underflowing results, check size of
2646         result and force underflow exception if required.
2647         * math/auto-libm-test-in: Add more tests of exp.
2648         * math/auto-libm-test-out: Regenerated.
2649         * sysdeps/i386/fpu/libm-test-ulps: Update.
2650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2652         [BZ #16283]
2653         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2654         * math/w_exp2f.c (__exp2f): Likewise.
2655         * math/w_exp2l.c (__exp2l): Likewise.
2656         * math/auto-libm-test-in: Do not allow missing errno on exp2
2657         underflow.
2658         * math/auto-libm-test-out: Regenerated.
2660 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2662         [BZ #16274]
2663         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2664         handle filename validation.
2665         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2666         (do_open): Delete.
2668 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2670         [BZ #6786]
2671         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2672         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2673         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2674         <float.h>.
2675         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2677         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2679         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2680         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2681         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2682         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2683         Add more erfc tests.
2684         * math/auto-libm-test-out: Regenerated.
2685         * sysdeps/i386/fpu/libm-test-ulps: Update.
2686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2689         exp2, expm1, j0 and j1.
2690         * math/auto-libm-test-out: Regenerated.
2691         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2692         (erfc_test_data): Likewise.
2693         (exp_test_data): Likewise.
2694         (exp_tonearest_test_data): Likewise.
2695         (exp_towardzero_test_data): Likewise.
2696         (exp_downward_test_data): Likewise.
2697         (exp_upward_test_data): Likewise.
2698         (exp10_test_data): Likewise.
2699         (exp2_test_data): Likewise.
2700         (expm1_test_data): Likewise.
2701         (j0_test_data): Likewise.
2702         (j1_test_data): Likewise.
2703         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2704         (input_flag_type): Add flag_xfail_rounding.
2705         (input_flags): Add xfail-rounding.
2706         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2707         (output_for_one_input_case): Handle flag_xfail_rounding.
2708         * sysdeps/i386/fpu/libm-test-ulps: Update.
2709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2713         [BZ #16289]
2714         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2715         division by 0.
2717 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2719         [BZ #16195]
2720         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2721         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2722         (STAP_PROBE0): New macro.
2723         (STAP_PROBE1): Likewise.
2724         (STAP_PROBE2): Likewise.
2725         (STAP_PROBE3): Likewise.
2726         (STAP_PROBE4): Likewise.
2728 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2730         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2732 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2734         * benchtests/Makefile (bench): Add sqrt.
2735         (LDLIBS-bench-sqrt): New.
2736         * benchtests/sqrt-input: New.
2738 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2740         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2741         (GAIH_EAI): Likewise.
2742         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2743         (gaih_inet): Likewise.
2744         (getaddrinfo): Don't use GAIH_EAI.
2746         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2747         (struct gaih): Remove definition.
2749 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2751         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2752         Use HERRNOP directly.
2754 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2758 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2760         * math/gen-auto-libm-tests.c (test_functions): Add more
2761         single-argument functions.
2762         (special_fill_pi_2): New function.
2763         (special_fill_minus_pi_2): Likewise.
2764         (special_fill_pi_6): Likewise.
2765         (special_fill_minus_pi_6): Likewise.
2766         (special_fill_pi_3): Likewise.
2767         (special_fill_2pi_3): Likewise.
2768         (special_fill_e): Likewise.
2769         (special_fill_1_e): Likewise.
2770         (special_fill_e_minus_1): Likewise.
2771         (special_real_inputs): Add more special inputs.
2772         (output_for_one_input_case): Do not require ERANGE on underflow to
2773         zero if round-to-nearest result does not underflow to zero, unless
2774         exact results required.
2775         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2776         atan, atanh, cbrt, cos and cosh.
2777         * math/auto-libm-test-out: Regenerated.
2778         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2779         (acos_tonearest_test_data): Likewise.
2780         (acos_towardzero_test_data): Likewise.
2781         (acos_downward_test_data): Likewise.
2782         (acos_upward_test_data): Likewise.
2783         (acosh_test_data): Likewise.
2784         (asin_test_data): Likewise.
2785         (asin_tonearest_test_data): Likewise.
2786         (asin_towardzero_test_data): Likewise.
2787         (asin_upward_test_data): Likewise.
2788         (asinh_test_data): Likewise.
2789         (atan_test_data): Likewise.
2790         (atanh_test_data): Likewise.
2791         (cbrt_test_data): Likewise.
2792         (cos_test_data): Likewise.
2793         (cos_tonearest_test_data): Likewise.
2794         (cos_towardzero_test_data): Likewise.
2795         (cos_downward_test_data): Likewise.
2796         (cos_upward_test_data): Likewise.
2797         (cosh_test_data): Likewise.
2798         (cosh_tonearest_test_data): Likewise.
2799         (cosh_towardzero_test_data): Likewise.
2800         (cosh_downward_test_data): Likewise.
2801         (cosh_upward_test_data): Likewise.
2802         * sysdeps/i386/fpu/libm-test-ulps: Update.
2803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2805 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2807         [BZ #6787]
2808         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2809         * math/w_exp10f.c (__exp10f): Likewise.
2810         * math/w_exp10l.c (__exp10l): Likewise.
2811         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2812         errno settings in existing tests.
2814         [BZ #14032]
2815         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2816         precision control set to double precision.
2817         * sysdeps/i386/fpu/w_sqrt.c: New file.
2818         * math/auto-libm-test-in: Add more tests.
2819         * math/auto-libm-test-out: Update.
2821         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2822         (sqrt_test_tonearest): New function.
2823         (sqrt_towardzero_test_data): New variable.
2824         (sqrt_test_towardzero): New function.
2825         (sqrt_downward_test_data): New variable.
2826         (sqrt_test_downward): New function.
2827         (sqrt_upward_test_data): New variable.
2828         (sqrt_test_upward): New function.
2829         (main): Call the new functions.
2831         * math/gen-auto-libm-tests.c: New file.
2832         * math/auto-libm-test-in: Likewise.
2833         * math/auto-libm-test-out: New generated file.
2834         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2835         variables.
2836         (%beautify): Add generated representations of zero.
2837         (top level): Set $auto_input and call parse_auto_input.
2838         (beautify): Remove trailing "f" from hex float constants.
2839         (parse_args): Handle XFAIL_TEST.
2840         (convert_condition): New function.
2841         (or_value): Likewise.
2842         (or_cond_value): Likewise.
2843         (generate_testfile): Handle AUTO_TESTS_* lines.
2844         (parse_auto_input): New function.
2845         * math/libm-test.inc (XFAIL_TEST): New macro.
2846         (ERRNO_UNCHANGED): Update value.
2847         (ERRNO_EDOM): Likewise.
2848         (ERRNO_ERANGE): Likewise.
2849         (IGNORE_RESULT): Likewise.
2850         (TEST_COND_flt_32): New macro.
2851         (TEST_COND_dbl_64): Likewise.
2852         (TEST_COND_ldbl_96_intel): Likewise.
2853         (TEST_COND_ldbl_96_m68k): Likewise.
2854         (TEST_COND_ldbl_128): Likewise.
2855         (TEST_COND_ldbl_128ibm): Likewise.
2856         (TEST_COND_long32): Likewise.
2857         (TEST_COND_long64): Likewise.
2858         (TEST_COND_before_rounding): Likewise.
2859         (TEST_COND_after_rounding): Likewise.
2860         (enable_test): Handle XFAIL_TEST flag.
2861         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2862         with finite results.
2863         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2864         auto-libm-test-out.
2866 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2867             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2869         [BZ #16214]
2870         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2871         __tls_get_addr_internal instead of __tls_get_offset in order to
2872         avoid GOT pointer dependency.  Make rtld export
2873         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2874         __tls_get_addr since we are a __tls_get_offset platform.
2875         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2876         GOT pointer being set up before.
2877         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2879 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2881         * manual/math.texi (Errors in Math Functions): Document accuracy
2882         goals.
2884         [BZ #15004]
2885         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2886         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2889         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2891         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2902         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2903         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2904         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2905         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2906         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2907         Likewise.
2908         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2909         Likewise.
2910         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2911         Likewise.
2912         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2913         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2914         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2915         atomic-feupdateenv and flt-rounds.
2916         * sysdeps/powerpc/nofpu/Versions (libc): Add
2917         __atomic_feholdexcept, __atomic_feclearexcept,
2918         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2919         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2920         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2921         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2922         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2923         here.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2925         Update.
2927         * manual/arith.texi (FP Exceptions): Document that exceptions may
2928         not be raised when matherr is used.
2929         (Math Error Reporting): Document overflow in directed rounding
2930         modes.  Document that errno may not be set when finite values are
2931         returned on overflow.  Document intent to set errno on underflow
2932         only for underflow to zero.
2934         [BZ #16271]
2935         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2936         round-to-nearest then adjust result for other rounding modes.
2937         * include/fenv.h (fegetround): Use libm_hidden_proto.
2938         * math/fegetround.c (fegetround): Use libm_hidden_def.
2939         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2940         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2941         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2942         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2943         Likewise.
2944         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2945         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2946         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2947         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2949 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2951         [BZ #16077]
2952         * nss/Versions (libnss_files): Add
2953         _nss_files_gethostbyname3_r.
2954         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2955         New function.
2956         (HOST_DB_LOOKUP): Remove macro.
2957         (_nss_files_gethostbyname_r): Implement function without the
2958         HOST_DB_LOOKUP macro.
2959         (_nss_files_gethostbyname2_r): Likewise.
2961 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2963         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2965 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2967         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2968         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2969         warning.
2971 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2973         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2974         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2975         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2976         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2977         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2978         __fe_nomask_env_priv and attribute_hidden.
2979         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2980         (libc_feupdateenv_test_ppc): Likewise.
2981         (libc_feresetround_ppc): Likewise.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2983         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2984         compat_symbol macro.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2986         (__fe_nomask_env): Likewise.
2987         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2989 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2991         * string/Makefile: Remove ifunc tests.
2992         * string/test-string.h: Define TEST_IFUNC.
2993         * string/test-bcopy-ifunc.c: Remove.
2994         * string/test-bzero-ifunc.c: Likewise.
2995         * string/test-memccpy-ifunc.c: Likewise.
2996         * string/test-memchr-ifunc.c: Likewise.
2997         * string/test-memcmp-ifunc.c: Likewise.
2998         * string/test-memcpy-ifunc.c: Likewise.
2999         * string/test-memmem-ifunc.c: Likewise.
3000         * string/test-memmove-ifunc.c: Likewise.
3001         * string/test-mempcpy-ifunc.c: Likewise.
3002         * string/test-memrchr-ifunc.c: Likewise.
3003         * string/test-memset-ifunc.c: Likewise.
3004         * string/test-rawmemchr-ifunc.c: Likewise.
3005         * string/test-stpcpy-ifunc.c: Likewise.
3006         * string/test-stpncpy-ifunc.c: Likewise.
3007         * string/test-strcasecmp-ifunc.c: Likewise.
3008         * string/test-strcasestr-ifunc.c: Likewise.
3009         * string/test-strcat-ifunc.c: Likewise.
3010         * string/test-strchr-ifunc.c: Likewise.
3011         * string/test-strchrnul-ifunc.c: Likewise.
3012         * string/test-strcmp-ifunc.c: Likewise.
3013         * string/test-strcpy-ifunc.c: Likewise.
3014         * string/test-strcspn-ifunc.c: Likewise.
3015         * string/test-strlen-ifunc.c: Likewise.
3016         * string/test-strncasecmp-ifunc.c: Likewise.
3017         * string/test-strncat-ifunc.c: Likewise.
3018         * string/test-strncmp-ifunc.c: Likewise.
3019         * string/test-strncpy-ifunc.c: Likewise.
3020         * string/test-strnlen-ifunc.c: Likewise.
3021         * string/test-strpbrk-ifunc.c: Likewise.
3022         * string/test-strrchr-ifunc.c: Likewise.
3023         * string/test-strspn-ifunc.c: Likewise.
3024         * string/test-strstr-ifunc.c: Likewise.
3026 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3028         * benchtests/Makefile: Remove ifunc tests.
3029         * benchtests/bench-string.h: Define TEST_IFUNC.
3030         * benchtests/bench-bcopy-ifunc.c: Remove.
3031         * benchtests/bench-bzero-ifunc.c: Likewise.
3032         * benchtests/bench-memccpy-ifunc.c: Likewise.
3033         * benchtests/bench-memchr-ifunc.c: Likewise.
3034         * benchtests/bench-memcmp-ifunc.c: Likewise.
3035         * benchtests/bench-memcpy-ifunc.c: Likewise.
3036         * benchtests/bench-memmem-ifunc.c: Likewise.
3037         * benchtests/bench-memmove-ifunc.c: Likewise.
3038         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3039         * benchtests/bench-memrchr-ifunc.c: Likewise.
3040         * benchtests/bench-memset-ifunc.c: Likewise.
3041         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3042         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3043         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3044         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3045         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3046         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3047         * benchtests/bench-strcat-ifunc.c: Likewise.
3048         * benchtests/bench-strchr-ifunc.c: Likewise.
3049         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3050         * benchtests/bench-strcmp-ifunc.c: Likewise.
3051         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3052         * benchtests/bench-strcpy-ifunc.c: Likewise.
3053         * benchtests/bench-strcspn-ifunc.c: Likewise.
3054         * benchtests/bench-strlen-ifunc.c: Likewise.
3055         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3056         * benchtests/bench-strncat-ifunc.c: Likewise.
3057         * benchtests/bench-strncmp-ifunc.c: Likewise.
3058         * benchtests/bench-strncpy-ifunc.c: Likewise.
3059         * benchtests/bench-strnlen-ifunc.c: Likewise.
3060         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3061         * benchtests/bench-strrchr-ifunc.c: Likewise.
3062         * benchtests/bench-strsep-ifunc.c: Likewise.
3063         * benchtests/bench-strspn-ifunc.c: Likewise.
3064         * benchtests/bench-strstr-ifunc.c: Likewise.
3066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3068         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3070 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3072         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3073         * rt/aio.h: Likewise.
3074         * sysdeps/gnu/bits/utmp.h: Likewise.
3075         * sysdeps/gnu/bits/utmpx.h: Likewise.
3076         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3077         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3078         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3079         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3080         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3081         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3082         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3083         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3084         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3085         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3086         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3087         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3088         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3090         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3091         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3092         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3093         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3094         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3095         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3096         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3097         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3098         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3099         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3100         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3102         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3104         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3106         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3107         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3108         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3110         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3111         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3112         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3113         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3114         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3115         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3116         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3117         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3119 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3121         [BZ #16245]
3122         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3123         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3125 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3127         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3129         Likewise.
3131 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3134         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3135         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3136         (__fesetround): Remove define.
3137         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3138         rounding and exceptions handling.
3139         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3140         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3141         (__fe_nomask_env): Likewise.
3142         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3143         __fegetround instead of fegetround.
3144         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3145         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3147 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3149         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3150         it's there.
3152         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3154 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3156         [BZ #11157]
3157         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3158         (encrypt_r): Likewise.
3159         * malloc/obstack.h (obstack_free): Likewise.
3160         * posix/unistd.h (encrypt): Likewise.
3162 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3164         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3165         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3166         DL_CALL_DT_FINI() that call the functions directly.
3167         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3168         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3169         * elf/dl-fini.c: Likewise.
3171 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3173         * malloc/hooks.c (memalign_check): Add alignment rounding.
3174         * malloc/malloc.c (_mid_memalign): New function.
3175         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3176         Implement by calling _mid_memalign.
3177         * manual/probes.texi (Memory Allocation Probes): Remove
3178         memory_valloc_retry and memory_pvalloc_retry.
3180 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3182         * locale/programs/locarchive.c (open_archive): Add const
3183         qualifier to ARCHIVEFNAME and copy default fname to
3184         DEFAULT_FNAME.
3186         [BZ #15601]
3187         * libio/tst-widetext.input: Rename Oriya to Odia.
3188         * locale/iso-639.def: Likewise.
3190         * manual/probes.texi (Mathematical Function Probes): Add
3191         documentation for sin, cos, asin and acos probes.
3192         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3193         (__sin32): Add slowasin probe.
3194         (__cos32): Add slowacos probe.
3195         (__mpsin): Add slowsin probe.
3196         (__mpcos): Add slowcos probe.
3198 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3200         [BZ #15483]
3201         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3202         thread-local __sim_exceptions_thread and global
3203         __sim_exceptions_global.
3204         (__sim_disabled_exceptions): Change to thread-local
3205         __sim_disabled_exceptions_thread and global
3206         __sim_disabled_exceptions_global.
3207         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3208         and global __sim_round_mode_global.
3209         (__simulate_exceptions): Use thread-local floating-point state and
3210         set global state from it as needed.
3211         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3212         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3213         __sim_round_mode_thread.
3214         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3215         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3216         and global __sim_exceptions_global.
3217         (__sim_disabled_exceptions): Change to thread-local
3218         __sim_disabled_exceptions_thread and global
3219         __sim_disabled_exceptions_global.
3220         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3221         and global __sim_round_mode_global.
3222         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3223         (SIM_SET_GLOBAL): Likewise.
3224         * sysdeps/powerpc/soft-fp/sfp-machine.h
3225         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3226         __sim_round_mode_thread.
3227         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3228         __sim_disabled_exceptions_thread.
3229         (__sim_exceptions): Change to __sim_exceptions_thread.
3230         (__sim_disabled_exceptions): Change to
3231         __sim_disabled_exceptions_thread.
3232         (__sim_round_mode): Change to __sim_round_mode_thread.
3233         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3234         thread-local floating-point state and set global state from it as
3235         needed.
3236         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3237         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3238         (__sim_disabled_exceptions): Remove extern declaration.
3239         (feenableexcept): Use thread-local floating-point state and set
3240         global state from it as needed.
3241         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3242         extern declaration.
3243         (__sim_disabled_exceptions): Likewise.
3244         (__sim_round_mode): Likewise.
3245         (__fegetenv): Use thread-local floating-point state.
3246         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3247         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3248         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3249         floating-point state and set global state from it as needed.
3250         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3251         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3252         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3253         Likewise.
3254         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3255         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3256         Likewise.
3257         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3258         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3259         Use __sim_round_mode_thread.
3260         * math/test-fenv-tls.c: New file.
3261         * math/Makefile (tests): Add test-fenv-tls.
3262         ($(objpfx)test-fenv-tls): Depend on
3263         $(common-objpfx)nptl/libpthread.so.
3265 2013-11-19  Andreas Schwab  <schwab@suse.de>
3267         * locale/programs/locale.c (show_info): Decode wordarray elements.
3268         * locale/categories.def (LC_MONETARY): Add element for
3269         _NL_MONETARY_CRNCYSTR.
3270         * locale/C-monetary.c (conversion_rate): New variable.
3271         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3272         element.
3274 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3276         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3277         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3279 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3281         * elf/Makefile (tst-auxv): New test.
3282         * elf/tst-auxv.c: New
3283         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3285 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3287         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3288         (hidden_proto): Caller changed.
3289         (hidden_tls_proto): New macro.
3290         (libc_hidden_tls_proto): Likewise.
3291         (rtld_hidden_tls_proto): Likewise.
3292         (libm_hidden_tls_proto): Likewise.
3293         (libresolv_hidden_tls_proto): Likewise.
3294         (librt_hidden_tls_proto): Likewise.
3295         (libdl_hidden_tls_proto): Likewise.
3296         (libnss_files_hidden_tls_proto): Likewise.
3297         (libnsl_hidden_tls_proto): Likewise.
3298         (libnss_nisplus_hidden_tls_proto): Likewise.
3299         (libutil_hidden_tls_proto): Likewise.
3301 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3303         [BZ #10253]
3304         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3305         (decompose_rpath): Defer expansion to fillin_rpath.
3306         (_dl_init_paths): Pass linkmap to fillin_rpath.
3308 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3310         * benchtests/Makefile: Add strsep.
3311         * benchtests/bench-strsep.c: New file: strsep benchtest.
3312         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3314 2013-11-18  Andreas Schwab  <schwab@suse.de>
3316         * locale/programs/locale.c (show_info) [case byte]: Check for
3317         '\377' instead of '\177'.
3318         * locale/C-monetary.c (not_available): Always use "\377".
3319         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3320         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3321         detect unavailable sign_posn locale elements.
3322         * locale/localeconv.c (__localeconv): For grouping and
3323         mon_grouping handle "\177" and "\377" like no grouping.
3324         (INT_ELEM): New macro.  Use it to set all numeric members.
3325         * locale/programs/ld-monetary.c (monetary_read)
3326         <tok_mon_grouping>: Normalize single -1 to the empty string.
3327         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3328         Likewise.
3330 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3332         [BZ #16055]
3333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3334         when we match (nil).
3335         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3337 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3339         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3340         (NO_TEST_INLINE): Update value.
3341         (ERRNO_UNCHANGED): Likewise.
3342         (ERRNO_EDOM): Likewise.
3343         (ERRNO_ERANGE): Likewise.
3344         (IGNORE_RESULT): Likewise.
3345         (check_float_internal): Check signs of NaN results if
3346         TEST_NAN_SIGN used.
3347         (check_complex): Pass TEST_NAN_SIGN flag through to second
3348         check_float_internal call.
3349         (copysign_test_data): Add tests with quiet NaNs as second
3350         argument.  Use TEST_NAN_SIGN.
3351         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3352         TEST_NAN_SIGN.
3353         (signbit_test_data): Add tests of quiet NaN argument.
3354         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3356         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3357         $ignore_result.
3358         (parse_args): Handle function results specified as IGNORE.
3359         * math/libm-test.inc (IGNORE_RESULT): New macro.
3360         (check_float_internal): Do not check numerical result if flag
3361         IGNORE_RESULT set.
3362         (check_complex): Pass through IGNORE_RESULT to second
3363         check_float_internal call.
3364         (check_int): Do not check numerical result if flag IGNORE_RESULT
3365         set.
3366         (check_long): Likewise.
3367         (check_bool): Likewise.
3368         (check_longlong): Likewise.
3369         (lrint_test_data): Add tests of infinite and NaN arguments.
3370         (lrint_tonearest_test_data): Likewise.
3371         (lrint_towardzero_test_data): Likewise.
3372         (lrint_downward_test_data): Likewise.
3373         (lrint_upward_test_data): Likewise.
3374         (llrint_test_data): Likewise.
3375         (llrint_tonearest_test_data): Likewise.
3376         (llrint_towardzero_test_data): Likewise.
3377         (llrint_downward_test_data): Likewise.
3378         (llrint_upward_test_data): Likewise.
3379         (lround_test_data): Likewise.
3380         (llround_test_data): Likewise.
3382         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3383         (ERRNO_UNCHANGED): Update value.
3384         (ERRNO_EDOM): Likewise.
3385         (ERRNO_ERANGE): Likewise.
3386         (NO_TEST_INLINE_FLOAT): New macro.
3387         (NO_TEST_INLINE_DOUBLE): Likewise.
3388         (enable_test): New function.
3389         (RUN_TEST_f_f): Check enable_test before running test.
3390         (RUN_TEST_2_f): Likewise.
3391         (RUN_TEST_fff_f): Likewise.
3392         (RUN_TEST_c_f): Likewise.
3393         (RUN_TEST_f_f1): Likewise.
3394         (RUN_TEST_fF_f1): Likewise.
3395         (RUN_TEST_fI_f1): Likewise.
3396         (RUN_TEST_ffI_f1): Likewise.
3397         (RUN_TEST_c_c): Likewise.
3398         (RUN_TEST_cc_c): Likewise.
3399         (RUN_TEST_f_i): Likewise.
3400         (RUN_TEST_f_i_tg): Likewise.
3401         (RUN_TEST_ff_i_tg): Likewise.
3402         (RUN_TEST_f_b): Likewise.
3403         (RUN_TEST_f_b_tg): Likewise.
3404         (RUN_TEST_f_l): Likewise.
3405         (RUN_TEST_f_L): Likewise.
3406         (RUN_TEST_fFF_11): Likewise.
3407         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3408         conditionals.
3409         (cosh_test_data): Likewise.
3410         (exp_test_data): Likewise.
3411         (expm1_test_data): Likewise.
3412         (hypot_test_data): Likewise.
3413         (pow_test_data): Likewise.
3414         (sinh_test_data): Likewise.
3415         (tanh_test_data): Likewise.
3416         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3417         flags argument.
3419         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3420         tests with quiet NaN input and output.
3421         (acosh_test_data): Likewise.
3422         (asin_test_data): Likewise.
3423         (asinh_test_data): Likewise.
3424         (atan_test_data): Likewise.
3425         (atanh_test_data): Likewise.
3426         (atan2_test_data): Likewise.
3427         (cbrt_test_data): Likewise.
3428         (cos_test_data): Likewise.
3429         (cosh_test_data): Likewise.
3430         (erf_test_data): Likewise.
3431         (erfc_test_data): Likewise.
3432         (exp_test_data): Likewise.
3433         (exp10_test_data): Likewise.
3434         (exp2_test_data): Likewise.
3435         (expm1_test_data): Likewise.
3436         (hypot_test_data): Likewise.
3437         (j0_test_data): Likewise.
3438         (j1_test_data): Likewise.
3439         (jn_test_data): Likewise.
3440         (lgamma_test_data): Likewise.
3441         (log_test_data): Likewise.
3442         (log10_test_data): Likewise.
3443         (log1p_test_data): Likewise.
3444         (log2_test_data): Likewise.
3445         (pow_test_data): Likewise.
3446         (scalb_test_data): Likewise.
3447         (sin_test_data): Likewise.
3448         (sincos_test_data): Likewise.
3449         (sinh_test_data): Likewise.
3450         (tan_test_data): Likewise.
3451         (tanh_test_data): Likewise.
3452         (tgamma_test_data): Likewise.
3453         (y0_test_data): Likewise.
3454         (y1_test_data): Likewise.
3455         (yn_test_data): Likewise.
3457         [BZ #16167]
3458         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3459         argument being NaN and avoid computations with second argument in
3460         that case.
3461         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3462         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3463         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3465 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3467         * locale/iso-639.def: Add Chitwani Tharu (the).
3469 2013-11-14  Andreas Schwab  <schwab@suse.de>
3471         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3472         word instead of empty string.
3474 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3477         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3479         (__fe_nomask_env): Likewise.
3481 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3483         * benchtests/bench-timing.h: Include time.h.
3485 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3487         [BZ #15997]
3488         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3489         to 3.4.0 for x32.
3490         * sysdeps/unix/sysv/linux/configure: Regenerated.
3492 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3494         [BZ #16151]
3495         * stdlib/strtod_l.c (round_and_return): Do not consider
3496         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3497         exponent one less than half the least subnormal exponent.
3498         * stdlib/test-strtod-round-data: Add more tests.
3499         * stdlib/tst-strtod-round.c (tests): Regenerated.
3501 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3503         [BZ #14143]
3504         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3505         (__fe_mask_env): Likewise.
3506         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3507         libm_hidden_proto and add function prototype.
3508         (__fe_mask_env): Add function prototype.
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3510         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3512         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3514         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3516 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3518         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3519         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3521 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3523         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3524         of htab_find_slot().
3526 2013-11-11  David S. Miller  <davem@davemloft.net>
3528         [BZ #16150]
3529         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3530         symbol in the non-vis3 case in static builds.
3531         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3532         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3533         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3534         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3536 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3538         [BZ #387]
3539         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3540         it is empty.
3542 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3544         * benchtests/Makefile: Add bench-strtod.
3545         * benchtests/bench-strtod.c: New file: strtod benchtest
3547 2013-11-11  Andreas Schwab  <schwab@suse.de>
3549         [BZ #16153]
3550         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3551         terminating NUL in key length.
3553 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3556         Add artificial ODP entry for vDSO symbol for PPC64.
3557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3558         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3560 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3562         [BZ #15374]
3563         * nss/getent.c (services_keys): Recognize services starting with digit.
3565 2013-11-06  David S. Miller  <davem@davemloft.net>
3567         [BZ #15985]
3568         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3569         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3571 2013-11-06  Will Newton  <will.newton@linaro.org>
3573         * manual/memory.texi (Malloc Examples): Remove register
3574         keyword from examples.
3576 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3578         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3580 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3582         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3583         depending on [__GCC_IEC_559 > 0].
3584         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3585         depending on [__GCC_IEC_559_COMPLEX > 0].
3587 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3589         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3590         to iso-639.def.
3592 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3594         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3596 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3598         [BZ #16112]
3599         * malloc/malloc (malloc_info): Do not handle first bin as
3600         special case.
3602 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3604         * locale/iso-639.def: Add Central Nahuatl (nhn).
3606 2013-11-01  Bruno Haible  <bruno@clisp.org>
3608         [BZ #7003]
3609         * manual/math.texi (BSD Random): Specify range upper bound as
3610         in POSIX.
3612 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3614         * locale/iso-639.def: Add Meadow Mari (mhr).
3616 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3618         [BZ #14752], [BZ #15763]
3619         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3620         Validate name.
3621         * rt/tst_shm.c: Add test for escaping directory.
3623 2013-10-31  Andreas Schwab  <schwab@suse.de>
3625         [BZ #15917]
3626         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3627         followed by 'x' as part of digit sequence.
3628         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3630 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3632         [BZ #16037]
3633         * configure.ac: allow GNU Make 4.0 and greater.
3634         * configure: Regenerated.
3636 2013-10-30  Will Newton  <will.newton@linaro.org>
3638         [BZ #16038]
3639         * malloc/hooks.c (memalign_check): Limit alignment to the
3640         maximum representable power of two.
3641         * malloc/malloc.c (__libc_memalign): Likewise.
3642         * malloc/tst-memalign.c (do_test): Add test for very
3643         large alignment values.
3644         * malloc/tst-posix_memalign.c (do_test): Likewise.
3646 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3648         [BZ #11087]
3649         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3650         (munmap_chunk): Likewise.
3651         (mremap_chunk): Likewise.
3653 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3655         [BZ #15799]
3656         * stdlib/div.c (div): Remove obsolete code.
3657         * stdlib/ldiv.c (ldiv): Likewise.
3658         * stdlib/lldiv.c (lldiv): Likewise.
3660 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3662         [BZ #16071]
3663         * nss/nss_files/files-XXX.c (get_contents_ret): New
3664         enumerator.
3665         (get_contents): New function.
3666         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3668 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3670         * configure.in: Moved to ...
3671         * configure.ac: ... here. Change reference to configure.in
3672         to configure.ac.
3673         * sysdeps/arm/preconfigure.ac: ... here.
3674         configure.in to configure.ac.
3675         * sysdeps/gnu/configure.in: Moved to ...
3676         * sysdeps/gnu/configure.ac: ... here.
3677         * sysdeps/i386/configure.in: Moved to ...
3678         * sysdeps/i386/configure.ac: ... here.
3679         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3680         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3681         * sysdeps/mach/configure.in: Moved to ...
3682         * sysdeps/mach/configure.ac: ... here.
3683         * sysdeps/mach/hurd/configure.in: Moved to ...
3684         * sysdeps/mach/hurd/configure.ac: ... here.
3685         * sysdeps/powerpc/configure.in: Moved to ...
3686         * sysdeps/powerpc/configure.ac: ... here.
3687         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3688         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3689         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3690         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3691         * sysdeps/s390/s390-32/configure.in: Moved to ...
3692         * sysdeps/s390/s390-32/configure.ac: ... here.
3693         * sysdeps/s390/s390-64/configure.in: Moved to ...
3694         * sysdeps/s390/s390-64/configure.ac: ... here.
3695         * sysdeps/sh/configure.in: Moved to ...
3696         * sysdeps/sh/configure.ac: ... here.
3697         * sysdeps/sparc/configure.in: Moved to ...
3698         * sysdeps/sparc/configure.ac: ... here.
3699         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3700         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3701         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3702         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3703         * sysdeps/x86_64/configure.in: Moved to ...
3704         * sysdeps/x86_64/configure.ac: ... here.
3705         * sysdeps/x86_64/preconfigure.in: Moved to ...
3706         * sysdeps/x86_64/preconfigure.ac: ... here.
3707         * aclocal.m4: Change reference to configure.in to configure.ac.
3708         * config.h.in: Likewise.
3709         * manual/install.texi: Likewise.
3710         * manual/maint.texi: Likewise.
3711         * Makefile: Likewise.
3712         * malloc/Makefile: Likewise.
3713         * nscd/Makefile: Likewise.
3714         * Makeconfig: Change reference to configure.in and
3715         preconfigure.in to configure.ac and preconfigure.ac
3716         respectively.
3717         * INSTALL: Regenerated.
3718         * configure: Likewise.
3719         * sysdeps/gnu/configure: Likewise.
3720         * sysdeps/i386/configure: Likewise.
3721         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3722         * sysdeps/mach/configure: Likewise.
3723         * sysdeps/mach/hurd/configure: Likewise.
3724         * sysdeps/powerpc/configure: Likewise.
3725         * sysdeps/powerpc/powerpc32/configure: Likewise.
3726         * sysdeps/powerpc/powerpc64/configure: Likewise.
3727         * sysdeps/s390/s390-32/configure: Likewise.
3728         * sysdeps/s390/s390-64/configure: Likewise.
3729         * sysdeps/sh/configure: Likewise.
3730         * sysdeps/sparc/configure: Likewise.
3731         * sysdeps/unix/sysv/linux/configure: Likewise.
3732         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3733         * sysdeps/x86_64/configure: Likewise.
3734         * sysdeps/x86_64/preconfigure: Likewise.
3736 2013-10-29  Andreas Schwab  <schwab@suse.de>
3738         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3740 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742         * benchtests/pow-inputs: Add new inputs.
3744         * benchtests/exp-inputs: Add new inputs.
3746         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3747         conditional check for return value.
3748         (__cos32): Likewise.
3750 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3752         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3753         to provide a boost for large inputs with word alignment.
3754         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3755         implementation based on optimized PPC64 strcpy.
3756         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3757         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3758         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3759         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3761 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3763         [BZ #2801]
3764         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3766 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3768         [BZ #14876]
3769         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3770         * time/tst-strptime.c (day_tests): Add testcase.
3772 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3774         [BZ #14029]
3775         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3777 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3779         [BZ #16074]
3780         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3781         MAP_FAILED on error.
3783 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3785         [BZ #16072]
3786         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3787         heap for large requests.
3789 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3791         [BZ #9954]
3792         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3793         result if the result has no associated interface.
3794         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3795         interface for all 127.X.Y.Z addresses.
3797 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3799         * locale/iso-639.def: Add Ligurian (lij)
3801 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3803         [BZ #15825]
3804         * sunrpc/rpc_main.c: Document rpcgen -5.
3806 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3808         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3810 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3812         [BZ #10278]
3813         * posix/glob.c: Match only directories when trailing slash is present.
3814         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3815         (main): Add testcase.
3817 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3819         [BZ #15670]
3820         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3822 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3824         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3825         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3826         AUTH_DES and cindex for FIPS 140-2.
3827         (DES Encryption): Add cindex FIPS 46-3.
3829         * locale/locarchive.h (struct locarhandle): Add fname.
3830         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3831         if an optional argument was specified to --list-archive,
3832         otherwise NULL.
3833         * locale/programs/locarchive.c (show_archive_content): Take new
3834         argument fname and pass it via ah.fname to open_archive.
3835         * locale/programs/localedef.h: Update decl.
3836         (open_archive): If AH->fname is non-null, open that file
3837         rather than the default file name, and don't ignore ENOENT.
3838         (create_archive): Set AH.fname to NULL.
3839         (delete_locales_from_archive): Likewise.
3840         (add_locales_to_archive): Likewise.
3841         * locale/programs/locfile.c (write_all_categories): Likewise.
3843 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3844             Aldy Hernandez  <aldyh@redhat.com>
3846         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3847         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3848         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3849         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3850         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3851         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3853         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3854         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3857         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3858         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3859         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3860         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3861         Likewise.
3862         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3863         Likewise.
3864         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3865         Likewise.
3866         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3867         Likewise.
3868         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3869         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3870         Likewise.
3871         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3872         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3873         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3874         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3875         Likewise.
3876         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3877         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3878         * sysdeps/powerpc/preconfigure: Likewise.
3879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3880         Likewise.
3881         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3882         Replace contents of file by #include of <fenv_libc.h>.
3883         * sysdeps/powerpc/soft-fp/sfp-machine.h
3884         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3885         and <sys/prctl.h>.
3886         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3896         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3899         Allow copysignl PLT reference to be missing.
3901 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3902             Joseph Myers  <joseph@codesourcery.com
3904         [BZ #15948]
3905         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3906         single character.
3907         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3909 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3911         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3912         * elf/tst-tls1.c: Likewise.
3913         * elf/tst-tls10.h: Likewise.
3914         * elf/tst-tls14.c: Likewise.
3915         * elf/tst-tls2.c: Likewise.
3916         * elf/tst-tls3.c: Likewise.
3917         * elf/tst-tls4.c: Likewise.
3918         * elf/tst-tls5.c: Likewise.
3919         * elf/tst-tls6.c: Likewise.
3920         * elf/tst-tls7.c: Likewise.
3921         * elf/tst-tls8.c: Likewise.
3922         * elf/tst-tls9.c: Likewise.
3923         * elf/tst-tlsmod1.c: Likewise.
3924         * elf/tst-tlsmod13.c: Likewise.
3925         * elf/tst-tlsmod13a.c: Likewise.
3926         * elf/tst-tlsmod14a.c: Likewise.
3927         * elf/tst-tlsmod16a.c: Likewise.
3928         * elf/tst-tlsmod16b.c: Likewise.
3929         * elf/tst-tlsmod2.c: Likewise.
3930         * elf/tst-tlsmod3.c: Likewise.
3931         * elf/tst-tlsmod4.c: Likewise.
3932         * elf/tst-tlsmod5.c: Likewise.
3933         * elf/tst-tlsmod6.c: Likewise.
3935 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3937         [BZ #12486]
3938         * malloc/malloc.c: remove checks for statistics.
3940 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3942         [BZ #15277]
3943         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3944         * inet/tst-network.c: Add testcase.
3946 2013-10-17  Andreas Schwab  <schwab@suse.de>
3948         [BZ #15218]
3949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3950         to determine canonical name.
3952 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3954         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3955         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3956         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3957         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3959         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3960         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3961         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3962         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3963         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3964         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3965         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3966         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3967         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3968         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3969         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3970         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3971         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3972         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3973         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3974         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3975         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3976         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3977         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3978         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3979         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3980         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3981         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3982         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3983         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3984         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3985         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3986         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3987         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3988         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3989         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3990         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3991         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3992         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3993         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3994         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3995         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3996         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3997         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3998         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3999         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4000         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4001         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4002         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4003         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4004         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4005         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4006         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4007         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4008         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4009         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4011         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4013 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4015         [BZ #16041]
4016         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4017         make result into a quiet NaN.
4019 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4021         * soft-fp/adddf3.c: Fix horizontal whitespace.
4022         * soft-fp/addsf3.c: Likewise.
4023         * soft-fp/addtf3.c: Likewise.
4024         * soft-fp/divdf3.c: Likewise.
4025         * soft-fp/divsf3.c: Likewise.
4026         * soft-fp/divtf3.c: Likewise.
4027         * soft-fp/double.h: Likewise.
4028         * soft-fp/eqdf2.c: Likewise.
4029         * soft-fp/eqsf2.c: Likewise.
4030         * soft-fp/eqtf2.c: Likewise.
4031         * soft-fp/extenddftf2.c: Likewise.
4032         * soft-fp/extended.h: Likewise.
4033         * soft-fp/extendsfdf2.c: Likewise.
4034         * soft-fp/extendsftf2.c: Likewise.
4035         * soft-fp/extendxftf2.c: Likewise.
4036         * soft-fp/fixdfdi.c: Likewise.
4037         * soft-fp/fixdfsi.c: Likewise.
4038         * soft-fp/fixdfti.c: Likewise.
4039         * soft-fp/fixsfdi.c: Likewise.
4040         * soft-fp/fixsfsi.c: Likewise.
4041         * soft-fp/fixsfti.c: Likewise.
4042         * soft-fp/fixtfdi.c: Likewise.
4043         * soft-fp/fixtfsi.c: Likewise.
4044         * soft-fp/fixtfti.c: Likewise.
4045         * soft-fp/fixunsdfdi.c: Likewise.
4046         * soft-fp/fixunsdfsi.c: Likewise.
4047         * soft-fp/fixunsdfti.c: Likewise.
4048         * soft-fp/fixunssfdi.c: Likewise.
4049         * soft-fp/fixunssfsi.c: Likewise.
4050         * soft-fp/fixunssfti.c: Likewise.
4051         * soft-fp/fixunstfdi.c: Likewise.
4052         * soft-fp/fixunstfsi.c: Likewise.
4053         * soft-fp/fixunstfti.c: Likewise.
4054         * soft-fp/floatdidf.c: Likewise.
4055         * soft-fp/floatdisf.c: Likewise.
4056         * soft-fp/floatditf.c: Likewise.
4057         * soft-fp/floatsidf.c: Likewise.
4058         * soft-fp/floatsisf.c: Likewise.
4059         * soft-fp/floatsitf.c: Likewise.
4060         * soft-fp/floattidf.c: Likewise.
4061         * soft-fp/floattisf.c: Likewise.
4062         * soft-fp/floattitf.c: Likewise.
4063         * soft-fp/floatundidf.c: Likewise.
4064         * soft-fp/floatundisf.c: Likewise.
4065         * soft-fp/floatunditf.c: Likewise.
4066         * soft-fp/floatunsidf.c: Likewise.
4067         * soft-fp/floatunsisf.c: Likewise.
4068         * soft-fp/floatunsitf.c: Likewise.
4069         * soft-fp/floatuntidf.c: Likewise.
4070         * soft-fp/floatuntisf.c: Likewise.
4071         * soft-fp/floatuntitf.c: Likewise.
4072         * soft-fp/fmadf4.c: Likewise.
4073         * soft-fp/fmasf4.c: Likewise.
4074         * soft-fp/fmatf4.c: Likewise.
4075         * soft-fp/gedf2.c: Likewise.
4076         * soft-fp/gesf2.c: Likewise.
4077         * soft-fp/getf2.c: Likewise.
4078         * soft-fp/ledf2.c: Likewise.
4079         * soft-fp/lesf2.c: Likewise.
4080         * soft-fp/letf2.c: Likewise.
4081         * soft-fp/muldf3.c: Likewise.
4082         * soft-fp/mulsf3.c: Likewise.
4083         * soft-fp/multf3.c: Likewise.
4084         * soft-fp/negdf2.c: Likewise.
4085         * soft-fp/negsf2.c: Likewise.
4086         * soft-fp/negtf2.c: Likewise.
4087         * soft-fp/op-1.h: Likewise.
4088         * soft-fp/op-2.h: Likewise.
4089         * soft-fp/op-4.h: Likewise.
4090         * soft-fp/op-8.h: Likewise.
4091         * soft-fp/op-common.h: Likewise.
4092         * soft-fp/quad.h: Likewise.
4093         * soft-fp/single.h: Likewise.
4094         * soft-fp/soft-fp.h: Likewise.
4095         * soft-fp/sqrtdf2.c: Likewise.
4096         * soft-fp/sqrtsf2.c: Likewise.
4097         * soft-fp/sqrttf2.c: Likewise.
4098         * soft-fp/subdf3.c: Likewise.
4099         * soft-fp/subsf3.c: Likewise.
4100         * soft-fp/subtf3.c: Likewise.
4101         * soft-fp/truncdfsf2.c: Likewise.
4102         * soft-fp/trunctfdf2.c: Likewise.
4103         * soft-fp/trunctfsf2.c: Likewise.
4104         * soft-fp/trunctfxf2.c: Likewise.
4105         * soft-fp/unorddf2.c: Likewise.
4106         * soft-fp/unordsf2.c: Likewise.
4107         * soft-fp/unordtf2.c: Likewise.
4109 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4111         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4112         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4114 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4116         * elf/dl-libc.c: Clear initfini list after freeing.
4118 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4120         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4121         * soft-fp/addsf3.c: Likewise.
4122         * soft-fp/addtf3.c: Likewise.
4123         * soft-fp/divdf3.c: Likewise.
4124         * soft-fp/divsf3.c: Likewise.
4125         * soft-fp/divtf3.c: Likewise.
4126         * soft-fp/double.h: Likewise.
4127         * soft-fp/eqdf2.c: Likewise.
4128         * soft-fp/eqsf2.c: Likewise.
4129         * soft-fp/eqtf2.c: Likewise.
4130         * soft-fp/extenddftf2.c: Likewise.
4131         * soft-fp/extended.h: Likewise.
4132         * soft-fp/extendsfdf2.c: Likewise.
4133         * soft-fp/extendsftf2.c: Likewise.
4134         * soft-fp/extendxftf2.c: Likewise.
4135         * soft-fp/fixdfdi.c: Likewise.
4136         * soft-fp/fixdfsi.c: Likewise.
4137         * soft-fp/fixdfti.c: Likewise.
4138         * soft-fp/fixsfdi.c: Likewise.
4139         * soft-fp/fixsfsi.c: Likewise.
4140         * soft-fp/fixsfti.c: Likewise.
4141         * soft-fp/fixtfdi.c: Likewise.
4142         * soft-fp/fixtfsi.c: Likewise.
4143         * soft-fp/fixtfti.c: Likewise.
4144         * soft-fp/fixunsdfdi.c: Likewise.
4145         * soft-fp/fixunsdfsi.c: Likewise.
4146         * soft-fp/fixunsdfti.c: Likewise.
4147         * soft-fp/fixunssfdi.c: Likewise.
4148         * soft-fp/fixunssfsi.c: Likewise.
4149         * soft-fp/fixunssfti.c: Likewise.
4150         * soft-fp/fixunstfdi.c: Likewise.
4151         * soft-fp/fixunstfsi.c: Likewise.
4152         * soft-fp/fixunstfti.c: Likewise.
4153         * soft-fp/floatdidf.c: Likewise.
4154         * soft-fp/floatdisf.c: Likewise.
4155         * soft-fp/floatditf.c: Likewise.
4156         * soft-fp/floatsidf.c: Likewise.
4157         * soft-fp/floatsisf.c: Likewise.
4158         * soft-fp/floatsitf.c: Likewise.
4159         * soft-fp/floattidf.c: Likewise.
4160         * soft-fp/floattisf.c: Likewise.
4161         * soft-fp/floattitf.c: Likewise.
4162         * soft-fp/floatundidf.c: Likewise.
4163         * soft-fp/floatundisf.c: Likewise.
4164         * soft-fp/floatunsidf.c: Likewise.
4165         * soft-fp/floatunsisf.c: Likewise.
4166         * soft-fp/floatuntidf.c: Likewise.
4167         * soft-fp/floatuntisf.c: Likewise.
4168         * soft-fp/floatuntitf.c: Likewise.
4169         * soft-fp/fmadf4.c: Likewise.
4170         * soft-fp/fmasf4.c: Likewise.
4171         * soft-fp/fmatf4.c: Likewise.
4172         * soft-fp/gedf2.c: Likewise.
4173         * soft-fp/gesf2.c: Likewise.
4174         * soft-fp/getf2.c: Likewise.
4175         * soft-fp/ledf2.c: Likewise.
4176         * soft-fp/lesf2.c: Likewise.
4177         * soft-fp/letf2.c: Likewise.
4178         * soft-fp/muldf3.c: Likewise.
4179         * soft-fp/mulsf3.c: Likewise.
4180         * soft-fp/multf3.c: Likewise.
4181         * soft-fp/negdf2.c: Likewise.
4182         * soft-fp/negsf2.c: Likewise.
4183         * soft-fp/negtf2.c: Likewise.
4184         * soft-fp/op-1.h: Likewise.
4185         * soft-fp/op-2.h: Likewise.
4186         * soft-fp/op-4.h: Likewise.
4187         * soft-fp/op-8.h: Likewise.
4188         * soft-fp/op-common.h: Likewise.
4189         * soft-fp/quad.h: Likewise.
4190         * soft-fp/single.h: Likewise.
4191         * soft-fp/soft-fp.h: Likewise.
4192         * soft-fp/sqrtdf2.c: Likewise.
4193         * soft-fp/sqrtsf2.c: Likewise.
4194         * soft-fp/sqrttf2.c: Likewise.
4195         * soft-fp/subdf3.c: Likewise.
4196         * soft-fp/subsf3.c: Likewise.
4197         * soft-fp/subtf3.c: Likewise.
4198         * soft-fp/truncdfsf2.c: Likewise.
4199         * soft-fp/trunctfdf2.c: Likewise.
4200         * soft-fp/trunctfsf2.c: Likewise.
4201         * soft-fp/trunctfxf2.c: Likewise.
4202         * soft-fp/unorddf2.c: Likewise.
4203         * soft-fp/unordsf2.c: Likewise.
4204         * soft-fp/unordtf2.c: Likewise.
4206 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4208         [BZ #15672]
4209         * misc/error.c (error_tail): Fix possible buffer overflow.
4211 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4213         [BZ #13028]
4214         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4215         address.
4217 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4219         [BZ #832]
4220         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4221         testing pipefail option.
4223 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4225         * soft-fp/double.h: Indent preprocessor directives inside #if.
4226         * soft-fp/extended.h: Likewise.
4227         * soft-fp/op-2.h: Likewise.
4228         * soft-fp/op-4.h: Likewise.
4229         * soft-fp/op-common.h: Likewise.
4230         * soft-fp/quad.h: Likewise.
4231         * soft-fp/single.h: Likewise.
4232         * soft-fp/soft-fp.h: Likewise.
4234 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4236         * iconv/iconv_prog.c: Fix typos.
4237         * stdio-common/psiginfo-data.h: Likewise.
4239 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4241         [BZ #15764]
4242         * locale/setlocale.c: Fix typo.
4244 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4246         [BZ #16036]
4247         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4248         signaling NaN arguments.
4249         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4250         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4252         [BZ #14910]
4253         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4254         unordered operands.
4255         * soft-fp/gesf2.c (__gesf2): Likewise.
4256         * soft-fp/getf2.c (__getf2): Likewise.
4257         * soft-fp/ledf2.c (__ledf2): Likewise.
4258         * soft-fp/lesf2.c (__lesf2): Likewise.
4259         * soft-fp/letf2.c (__letf2): Likewise.
4261         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4262         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4263         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4264         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4265         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4266         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4267         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4268         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4269         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4270         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4271         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4272         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4273         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4274         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4275         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4276         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4277         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4278         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4279         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4280         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4281         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4282         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4283         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4284         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4285         * soft-fp/floattidf.c (__floattidf): Likewise.
4286         * soft-fp/floattisf.c (__floattisf): Likewise.
4287         * soft-fp/floattitf.c (__floattitf): Likewise.
4288         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4289         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4290         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4291         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4292         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4293         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4294         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4295         * soft-fp/gesf2.c (__gesf2): Likewise.
4296         * soft-fp/getf2.c (__getf2): Likewise.
4297         * soft-fp/ledf2.c (__ledf2): Likewise.
4298         * soft-fp/lesf2.c (__lesf2): Likewise.
4299         * soft-fp/letf2.c (__letf2): Likewise.
4301         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4302         Undefine and redefine.
4303         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4304         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4305         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4306         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4307         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4308         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4309         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4310         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4311         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4312         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4313         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4314         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4315         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4316         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4317         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4319         [BZ #16032]
4320         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4321         without decrementing exponent if mantissa >= that for the
4322         denominator, not >.
4323         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4324         denominator, not >.  Decrement exponent in < case instead of
4325         incrementing in >= case.
4326         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4327         without decrementing exponent if mantissa >= that for the
4328         denominator, not >.
4330         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4331         computing saturated result for unsigned overflow.
4333 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4334             Jeff Law  <law@redhat.com>
4336         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4337         (atan2Mp): Add systemtap probe marker.
4338         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4339         (__ieee754_log): Add systemtap probe marker.
4340         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4341         (atanMp): Add systemtap probe marker.
4342         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4343         (tanMp): Add systemtap probe marker.
4344         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4345         (__slowexp): Add systemtap probe marker.
4346         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4347         (__slowpow): Add systemtap probe marker.
4348         * manual/probes.texi: Document probes.
4350 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4352         [BZ #15362]
4353         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4354         written.
4355         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4356         written.
4357         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4358         written to buffer but not flushed.
4359         * libio/iofwrite_u.c:  Likewise.
4360         * libio/iopadn.c:  Return bytes returned even if EOF was
4361         encountered.
4362         * libio/iowpadn.c:  Likewise.
4363         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4364         if _IO_padn does not write the whole buffer.
4365         [!COMPILE_WPRINTF] (PAD): Likewise.
4367 2013-10-10  David S. Miller  <davem@davemloft.net>
4369         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4370         directory block.
4372 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4374         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4375         instead of FSF address.
4376         * soft-fp/fixdfti.c: Likewise.
4377         * soft-fp/fixsfti.c: Likewise.
4378         * soft-fp/fixtfti.c: Likewise.
4379         * soft-fp/fixunsdfti.c: Likewise.
4380         * soft-fp/fixunssfti.c: Likewise.
4381         * soft-fp/fixunstfti.c: Likewise.
4382         * soft-fp/floattidf.c: Likewise.
4383         * soft-fp/floattisf.c: Likewise.
4384         * soft-fp/floattitf.c: Likewise.
4385         * soft-fp/floatuntidf.c: Likewise.
4386         * soft-fp/floatuntisf.c: Likewise.
4387         * soft-fp/floatuntitf.c: Likewise.
4388         * soft-fp/trunctfxf2.c: Likewise.
4390         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4391         * soft-fp/fixdfti.c: Likewise.
4392         * soft-fp/fixsfti.c: Likewise.
4393         * soft-fp/fixtfti.c: Likewise.
4394         * soft-fp/fixunsdfti.c: Likewise.
4395         * soft-fp/fixunssfti.c: Likewise.
4396         * soft-fp/fixunstfti.c: Likewise.
4397         * soft-fp/floattidf.c: Likewise.
4398         * soft-fp/floattisf.c: Likewise.
4399         * soft-fp/floattitf.c: Likewise.
4400         * soft-fp/floatuntidf.c: Likewise.
4401         * soft-fp/floatuntisf.c: Likewise.
4402         * soft-fp/floatuntitf.c: Likewise.
4403         * soft-fp/trunctfxf2.c: Likewise.
4405 2013-10-10  David S. Miller  <davem@davemloft.net>
4407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4409 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4411         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4412         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4413         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4414         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4415         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4416         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4417         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4420         for NaNs before doing comparisons on argument.
4421         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4422         Likewise.
4424 2013-10-10  Will Newton  <will.newton@linaro.org>
4426         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4427         passed to _int_memalign does not overflow.
4429 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4431         * scripts/bench.pl: Add include-sources directive.
4432         * benchtests/README: Update documentation.
4434 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4436         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4437         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4438         instead of FP_INIT_ROUNDMODE.
4439         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4440         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4442         [BZ #16034]
4443         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4444         copy class of input value.
4445         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4446         not handle exceptions.
4447         * soft-fp/negsf2.c (__negsf2): Likewise.
4448         * soft-fp/negtf2.c (__negtf2): Likewise.
4449         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4451 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4453         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4454         semicolon.  From Linux kernel.
4456 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4458         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4460 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4462         [BZ #156]
4463         * manual/socket.texi: Added statement about buffer
4464         for gethostbyname2_r.
4466 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4468         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4469         Use .p2align directive instead, throughout.
4470         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4471         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4472         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4473         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4474         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4475         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4476         * sysdeps/x86_64/strchr.S: Likewise.
4477         * sysdeps/x86_64/strrchr.S: Likewise.
4479 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4481         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4483         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4485         * sysdeps/generic/math_private.h (__mpsin1): Remove
4486         declaration.
4487         (__mpcos1): Likewise.
4488         (__mpsin): New argument __range_reduce.
4489         (__mpcos): Likewise.
4490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4491         (slow): Use __mpsin and __mpcos.
4492         (slow1): Likewise.
4493         (slow2): Likewise.
4494         (sloww): Likewise.
4495         (sloww1): Likewise.
4496         (sloww2): Likewise.
4497         (bsloww): Likewise.
4498         (bsloww1): Likewise.
4499         (bsloww2): Likewise.
4500         (cslow2): Likewise.
4501         (csloww): Likewise.
4502         (csloww1): Likewise.
4503         (csloww2): Likewise.
4504         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4505         range_reduce.  Merge in __mpsin1.
4506         (__mpcos): Likewise.
4507         (__mpsin1): Remove.
4508         (__mpcos1): Likewise.
4510 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4512         * locale/loadlocale.c (_nl_intern_locale_data): Use
4513         LOCFILE_ALIGNED_P.
4514         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4515         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4516         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4517         obstack data is appropriately aligned.
4518         (obstack_int32_grow_fast): Likewise.
4519         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4520         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4521         (add_locale_uint32_array): Likewise.
4523 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4525         * benchtests/Makefile: Remove ARGLIST and RET variables.
4526         ($(objpfx)bench-%.c): Pass only function name to the script.
4527         * benchtests/README: Update documentation.
4528         * benchtests/acos-inputs: Add new directives.
4529         * benchtests/acosh-inputs: Likewise.
4530         * benchtests/asin-inputs: Likewise.
4531         * benchtests/asinh-inputs: Likewise.
4532         * benchtests/atan-inputs: Likewise.
4533         * benchtests/atanh-inputs: Likewise.
4534         * benchtests/cos-inputs: Likewise.
4535         * benchtests/cosh-inputs: Likewise.
4536         * benchtests/exp-inputs: Likewise.
4537         * benchtests/log-inputs: Likewise.
4538         * benchtests/pow-inputs: Likewise.
4539         * benchtests/rint-inputs: Likewise.
4540         * benchtests/sin-inputs: Likewise.
4541         * benchtests/sinh-inputs: Likewise.
4542         * benchtests/tan-inputs: Likewise.
4543         * benchtests/tanh-inputs: Likewise.
4544         * scripts/bench.pl: Add support for new directives.
4546 2013-10-07  Alan Modra  <amodra@gmail.com>
4548         * README: Fix careless merge.
4550 2013-10-05  Alan Modra  <amodra@gmail.com>
4552         * NEWS: Mention powerpc64le support and bugs fixed.
4553         * README: Both big-endian and little-endian powerpc64 supported.
4555 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4557         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4558         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4559         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4560         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4562 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4564         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4565         match prototype.
4567 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4569         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4570         Move -mhard-float appending from
4571         ports/sysdeps/powerpc/powerpc32/Makefile.
4572         [$(with-fp) = yes] (ASFLAGS): Likewise.
4573         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4574         * sysdeps/powerpc/nofpu: Move directory from
4575         ports/sysdeps/powerpc/nofpu.
4576         * sysdeps/powerpc/soft-fp: Move directory from
4577         ports/sysdeps/powerpc/soft-fp.
4578         * sysdeps/powerpc/powerpc32/405: Move directory from
4579         ports/sysdeps/powerpc/powerpc32/405.
4580         * sysdeps/powerpc/powerpc32/440: Move directory from
4581         ports/sysdeps/powerpc/powerpc32/440.
4582         * sysdeps/powerpc/powerpc32/464: Move directory from
4583         ports/sysdeps/powerpc/powerpc32/464.
4584         * sysdeps/powerpc/powerpc32/476: Move directory from
4585         ports/sysdeps/powerpc/powerpc32/476.
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4587         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4589         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4591         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4593         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4595         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4596         * README: Update for powerpc-*-linux-gnu software floating point
4597         support in libc.
4599         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4600         case to powerpc/powerpc32*.
4601         * sysdeps/unix/sysv/linux/configure: Regenerated.
4603         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4604         (_FPU_MASK_OM): Define as 0x04.
4605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4607         0x00c10080.
4608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4609         0x0000003c.
4610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4613         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4614         getcontext_e500.
4615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4616         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4617         setcontext_e500.
4618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4619         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4620         and setcontext_e500.
4622 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4624         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4626 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4628         * manual/threads.texi (Default Thread Attributes): Fix typo.
4630 2013-10-04  Will Newton  <will.newton@linaro.org>
4632         * malloc/Makefile: Add tst-memalign.
4633         * malloc/tst-memalign.c: New file.
4635         * malloc/tst-posix_memalign.c: Add comments.
4636         (do_test): Add comments and call free on all potentially
4637         allocated pointers. Add space after cast.
4639         * malloc/tst-pvalloc.c: Add comments.
4640         (do_test): Add comments and call free on all potentially
4641         allocated pointers. Remove duplicate check for NULL pointer.
4642         Add space after cast.
4644         * malloc/tst-valloc.c: Add comments.
4645         (do_test): Add comments and call free on all potentially
4646         allocated pointers. Remove duplicate check for NULL pointer.
4647         Add space after cast.
4649 2013-10-04  Alan Modra  <amodra@gmail.com>
4651         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4652         Use stdint types in rather than __attribute__((mode())).
4653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4655 2013-10-04  Alan Modra  <amodra@gmail.com>
4657         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4658         Correct handling of unaligned relocs for little-endian.
4659         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4661 2013-10-04  Alan Modra  <amodra@gmail.com>
4663         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4664         * configure: Regenerate.
4665         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4666         * shlib-versions: Likewise.
4668 2013-10-04  Alan Modra  <amodra@gmail.com>
4670         * string/tester.c (test_memrchr): Increment reported test cycle.
4672 2013-10-04  Alan Modra  <amodra@gmail.com>
4674         * string/test-memcpy.c (do_one_test): When reporting errors, print
4675         string address and don't overrun end of string.
4677 2013-10-04  Alan Modra  <amodra@gmail.com>
4679         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4680         insrdi.  Make better use of reg selection to speed exit slightly.
4681         Schedule entry path a little better.  Remove useless "are we done"
4682         checks on entry to main loop.  Handle wrapping around zero address.
4683         Correct main loop count.  Handle single left-over word from main
4684         loop inline rather than by using loop_small.  Remove extra word
4685         case in loop_small caused by wrong loop count.  Add little-endian
4686         support.
4687         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4688         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4689         cache hint.
4690         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4691         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4692         support.  Avoid rlwimi.
4693         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4695 2013-10-04  Alan Modra  <amodra@gmail.com>
4697         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4698         insrdi.  Formatting.
4699         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4700         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4701         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4702         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4703         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4704         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4706 2013-10-04  Alan Modra  <amodra@gmail.com>
4708         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4709         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4710         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4711         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4712         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4713         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4714         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4715         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4716         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4717         use of regs.  Use power7 mtocrf.  Tidy function tails.
4719 2013-10-04  Alan Modra  <amodra@gmail.com>
4721         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4722         Formatting.  Consistently use rXXX register defines or rN defines.
4723         Use early exit labels that avoid restoring unused non-volatile regs.
4724         Make cr field use more consistent with rWORDn compares.  Rename
4725         regs used as shift registers for unaligned loop, using rN defines
4726         for short lifetime/multiple use regs.
4727         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4728         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4729         addi 1,1,64 to pop stack frame.  Simplify return value code.
4730         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4732 2013-10-04  Alan Modra  <amodra@gmail.com>
4734         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4735         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4736         rather than rlwimi.
4737         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4738         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4739         little-endian support.  Correct typos.
4740         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4741         rather than rlwimi.
4742         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4743         in loop and entry code to keep "and." results.
4744         (strchr): Add little-endian support.  Comment.  Move cntlzd
4745         earlier in tail.
4746         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4748 2013-10-04  Alan Modra  <amodra@gmail.com>
4750         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4751         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4752         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4753         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4755 2013-10-04  Alan Modra  <amodra@gmail.com>
4757         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4758         (rTMP): Define as r11.
4759         (strcmp): Add little-endian support.  Optimise tail.
4760         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4761         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4762         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4763         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4764         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4765         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4766         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4768 2013-10-04  Alan Modra  <amodra@gmail.com>
4770         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4771         little-endian support.  Remove unnecessary "are we done" tests.
4772         Handle "s" wrapping around zero and extremely large "size".
4773         Correct main loop count.  Handle single left-over word from main
4774         loop inline rather than by using small_loop.  Correct comments.
4775         Delete "zero" tail, use "end_max" instead.
4776         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4778 2013-10-04  Alan Modra  <amodra@gmail.com>
4780         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4781         support.  Don't branch over align.
4782         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4783         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4784         support.  Rearrange tmp reg use to suit.  Comment.
4785         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4787 2013-10-04  Alan Modra  <amodra@gmail.com>
4789         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4791 2013-10-04  Alan Modra  <amodra@gmail.com>
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4794         conditional form of branch and link when obtaining pc.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4797 2013-10-04  Alan Modra  <amodra@gmail.com>
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4800         HIWORD/LOWORD.
4801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4804 2013-10-04  Alan Modra  <amodra@gmail.com>
4806         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4807         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4808         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4809         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4812         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4813         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4814         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4815         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4817 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4818             Alistair Popple <alistair@ozlabs.au.ibm.com>
4819             Alan Modra <amodra@gmail.com>
4821         [BZ #15723]
4822         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4824         _dl_hwcap access for little-endian.
4825         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4826         destroy vmx regs when saving unaligned.
4827         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4828         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4829         destroy vmx regs when saving unaligned.
4831 2013-10-04  Alan Modra  <amodra@gmail.com>
4833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4834         Don't use a union to pack hi/low value.
4836 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4838         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4839         for little-endian.
4840         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4841         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4842         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4843         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4844         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4846 2013-10-04  Alan Modra  <amodra@gmail.com>
4848         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4849         constants to usual value for .cst8 section, and remove redundant
4850         high address load.
4851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4852         constant for 0x1p52.  Load little-endian words of double from
4853         correct stack offsets.
4855 2013-10-04  Alan Modra  <amodra@gmail.com>
4857         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4858         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4859         words of double from correct stack offsets.
4860         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4861         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4862         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4864         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4865         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4866         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4867         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4868         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4869         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4870         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4871         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4872         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4873         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4874         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4875         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4876         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4878 2013-10-04  Alan Modra  <amodra@gmail.com>
4880         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4881         64-bit int/double union.
4882         (_FPU_SETCW): Likewise.
4883         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4884         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4886 2013-10-04  Alan Modra  <amodra@gmail.com>
4888         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4889         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4891 2013-10-04  Alan Modra  <amodra@gmail.com>
4893         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4894         use vector int constants.
4895         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4897 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4899         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4900         array with long long.
4901         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4902         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4903         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4904         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4905         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4906         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4907         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4908         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4909         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4910         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4911         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4912         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4913         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4915 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4917         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4918         (__signbit): Likewise.  Correct for little-endian.
4919         (__signbitl): Call __signbit.
4920         (lrint): Correct for little-endian.
4921         (lrintf): Call lrint.
4923 2013-10-04  Alan Modra  <amodra@gmail.com>
4925         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4926         union 32-bit int array member with 64-bit int array.
4927         (t515, tm256): Double rather than long double.
4928         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4930 2013-10-04  Alan Modra  <amodra@gmail.com>
4932         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4933         Delete.
4934         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4936         version of math_ldbl.h.
4938 2013-10-04  Alan Modra  <amodra@gmail.com>
4940         [BZ #15734], [BZ #15735]
4941         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4942         all uses of ieee875 long double macros and unions.  Simplify test
4943         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4944         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4945         normalize after ldbl_extract_mantissa, and don't add hidden bit
4946         already handled.  Don't treat low word of ieee854 mantissa like
4947         low word of IBM long double and mask off bit when testing for
4948         zero.
4949         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4950         all uses of ieee875 long double macros and unions.  Simplify tests
4951         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4952         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4953         two1022, instead use their values.  Recognise that tests for large
4954         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4955         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4956         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4957         test for 0.0L and nan.  Correct negation.
4958         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4959         ieee875 long double macros and unions.  Correct output for large
4960         magnitude x.  Correct absolute value calculation.
4961         (__erfcl): Likewise.
4962         * math/libm-test.inc: Add tests for errors discovered in IBM long
4963         double versions of fmodl, remainderl, erfl and erfcl.
4965 2013-10-04  Alan Modra  <amodra@gmail.com>
4967         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4968         all uses of ieee854 long double macros and unions.  Simplify tests
4969         for long doubles that are fully specified by the high double.
4970         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4971         Likewise.
4972         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4973         Remove dead code too.
4974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4975         (__ieee754_ynl): Likewise.
4976         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4977         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4978         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4979         Remove dead code too.
4980         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4981         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4982         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4983         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4984         Simplify.
4985         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4986         Simplify.
4987         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4988         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4989         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4990         Comment on variable precision.
4991         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4992         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4993         Likewise.
4994         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4995         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4996         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4997         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4998         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5000 2013-10-04  Alan Modra  <amodra@gmail.com>
5002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5003         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5004         all uses of ieee854 long double macros and unions.
5005         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5007         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5008         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5009         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5010         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5011         Likewise.
5012         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5013         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5014         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5015         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5016         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5017         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5018         Simplify sign and nan test too.
5019         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5020         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5021         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5022         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5023         Likewise.
5024         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5025         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5026         Likewise.
5027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5028         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5029         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5030         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5031         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5034 2013-10-04  Alan Modra  <amodra@gmail.com>
5036         * stdio-common/printf_size.c (__printf_size): Don't use
5037         union ieee854_long_double in fpnum union.
5038         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5039         signbit macro to retrieve sign from long double.
5040         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5041         retrieve sign from long double.
5042         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5043         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5044         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5045         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5046         * math/test-misc.c (main): Don't use union ieee854_long_double.
5048 2013-10-04  Alan Modra  <amodra@gmail.com>
5050         [BZ #15680]
5051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5052         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5053         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5054         calculation.  Remove unnecessary test for denormal exponent.
5055         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5056         Correct handling of denormals.  Avoid undefined shift behaviour.
5057         Correct normalisation of low mantissa when low double is denormal.
5058         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5059         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5060         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5061         Correct normalisation of low mantissa.  Test for overflow of high
5062         mantissa and normalise.
5063         (ldbl_nearbyint): Use more readable constant for two52.
5064         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5065         (__mpn_construct_long_double): Fix test for overflow of high
5066         mantissa and correct normalisation.  Avoid undefined shift.
5068 2013-10-04  Alan Modra  <amodra@gmail.com>
5070         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5071         (union ibm_extended_long_double): Define as an array of ieee754_double.
5072         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5073         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5074         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5075         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5076         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5077         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5079         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5080         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5081         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5082         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5084 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5086         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5087         page size instead of calling getpagesize.
5089         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5090         (LOCFILE_ALIGN_MASK): Likewise.
5091         (LOCFILE_ALIGN_UP): Likewise.
5092         (LOCFILE_ALIGNED_P): Likewise.
5093         * locale/programs/ld-collate.c (collate_output): Use the new
5094         macros instead of __alignof__ (int32_t).
5095         * locale/weight.h (findidx): Likewise.
5097 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5099         [BZ #431]
5100         * manual/string.texi: Fix strncat and wcsncat.
5102 2013-10-03  Brooks Moses  <bmoses@google.com>
5104         [BZ #15915]
5105         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5106         * Makerules: ...here, and adjust associated comments.
5108 2013-10-02  Will Newton  <will.newton@linaro.org>
5110         * malloc/Makefile: Add tst-pvalloc.
5111         * malloc/tst-pvalloc.c: New file.
5113 2013-10-02  Will Newton  <will.newton@linaro.org>
5115         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5116         improve test coverage.
5118 2013-10-02  Will Newton  <will.newton@linaro.org>
5120         * malloc/Makefile: Add tst-posix_memalign.
5121         * malloc/tst-posix_memalign.c: New file.
5123 2013-10-01  Eric Blake  <eblake@redhat.com>
5125         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5126         Use __THROWNL rather than __THROW on static functions.
5128 2013-09-30  Petr Machata  <pmachata@redhat.com>
5130         * elf/elf.h (R_AARCH64_ABS16): New macro.
5131         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5132         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5133         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5134         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5135         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5136         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5137         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5138         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5139         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5140         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5141         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5142         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5143         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5144         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5145         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5146         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5147         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5148         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5149         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5150         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5151         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5152         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5153         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5154         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5155         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5156         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5157         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5158         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5159         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5160         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5161         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5162         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5163         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5164         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5165         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5166         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5167         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5168         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5169         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5170         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5171         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5172         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5173         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5174         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5175         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5176         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5177         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5178         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5179         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5180         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5181         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5182         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5183         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5184         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5185         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5186         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5187         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5188         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5189         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5190         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5191         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5192         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5193         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5194         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5195         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5196         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5197         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5198         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5199         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5200         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5201         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5202         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5203         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5204         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5205         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5206         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5207         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5208         (R_AARCH64_TLSDESC_LDR): Likewise.
5209         (R_AARCH64_TLSDESC_ADD): Likewise.
5210         (R_AARCH64_TLSDESC_CALL): Likewise.
5212 2013-09-30  Andreas Schwab  <schwab@suse.de>
5214         [BZ #15048]
5215         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5216         the nss database lookup.
5217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5220 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5222         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5224 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5226         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5227         ${Bash-specific parameter/pattern/string} parameter expansion.
5228         * sysdeps/unix/make-syscalls.sh: Likewise.
5230 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5232         * sysdeps/sh/stackguard-macros.h: New file.
5234 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5238         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5239         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5240         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5241         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5243 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5245         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5246         Fix thread ID register.
5248 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5250         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5251         [POSIX || UNIX98]: Require rather than permitting all symbols from
5252         <time.h>.
5253         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5254         element of struct sched_param.
5255         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5256         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5257         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5258         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5259         constant.
5261 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5263         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5264         argument calculation.
5266 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5268         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5269         Expect macro.
5270         [POSIX] (pthread_attr_t): Do not require type.
5271         [POSIX] (pthread_cond_t): Likewise.
5272         [POSIX] (pthread_condattr_t): Likewise.
5273         [POSIX] (pthread_key_t): Likewise.
5274         [POSIX] (pthread_mutex_t): Likewise.
5275         [POSIX] (pthread_mutexattr_t): Likewise.
5276         [POSIX] (pthread_once_t): Likewise.
5277         [POSIX] (pthread_t): Likewise.
5278         [POSIX-based standards] (pthread_atfork): Expect function.
5280 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5281             Richard Sandiford  <richard@codesourcery.com>
5283         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5284         (swap_endianness_p): New extern variable.
5285         (set_big_endian): New inline function.
5286         (maybe_swap_uint32): Likewise.
5287         (maybe_swap_uint32_array): Likewise.
5288         (maybe_swap_uint32_obstack): Likewise.
5289         * locale/programs/locfile.c: Include <stdbool.h>.
5290         (swap_endianness_p): New variable.
5291         (add_locale_uint32): Call maybe_swap_uint32.
5292         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5293         (write_locale_data): Call maybe_swap_uint32_array.
5294         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5295         maybe_swap_uint32.
5296         (obstack_int32_grow_fast): Likewise.
5297         (output_weightwc): Call maybe_swap_uint32_obstack.
5298         (collate_output): Likewise.
5299         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5300         (OPT_LITTLE_ENDIAN): Likewise.
5301         (options): Add --little-endian and --big-endian options.
5302         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5303         * locale/programs/locarchive.c: Include "locfile.h".
5304         (GET): New macro.
5305         (SET): Likewise.
5306         (INC): Likewise.
5307         (create_archive): Use the new macros to access fields of
5308         structures directly mapped from or written to locale archives.
5309         (oldlocrecentcmp): Likewise.
5310         (enlarge_archive): Likewise.
5311         (insert_name): Likewise.
5312         (add_alias): Likewise.
5313         (add_locale): Likewise.
5314         (delete_locales_from_archive): Likewise.
5315         (show_archive_content): Likewise.
5316         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5317         locale data.
5319 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5321         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5322         http://www.gnu.org/doc/freemanuals.texi.
5323         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5325 2013-09-24  Will Newton  <will.newton@linaro.org>
5327         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5328         macro.
5330 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5332         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5333         unsigned char.
5335 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5337         * manual/threads.texi (POSIX Threads): Fix a typo.
5339 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5341         [BZ #14547]
5342         * string/tst-strcoll-overflow.c: New test case.
5343         * string/Makefile (xtests): Add tst-strcoll-overflow.
5344         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5345         cache if string sizes may cause integer overflow.
5347         [BZ #14547]
5348         * string/strcoll_l.c (coll_seq): New members rule, idx,
5349         save_idx and back_us.
5350         (get_next_seq_nocache): New function.
5351         (do_compare_nocache): New function.
5352         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5353         when malloc fails.
5355 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5357         [BZ #15754]
5358         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5359         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5360         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5362         [BZ #15754]
5363         * elf/Makefile (tests): Add tst-ptrguard1.
5364         (tests-static): Add tst-ptrguard1-static.
5365         (tst-ptrguard1-ARGS): Define.
5366         (tst-ptrguard1-static-ARGS): Define.
5367         * elf/tst-ptrguard1.c: New file.
5368         * elf/tst-ptrguard1-static.c: New file.
5369         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5370         * sysdeps/i386/stackguard-macros.h: Likewise.
5371         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5372         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5373         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5374         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5375         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5376         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5378 2013-09-23  Hector Marco  <hecmargi@upv.es>
5379             Ismael Ripoll  <iripoll@disca.upv.es>
5380             Carlos O'Donell  <carlos@redhat.com>
5382         [BZ #15754]
5383         * sysdeps/generic/stackguard-macros.h: Define
5384         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5385         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5386         Define __pointer_chk_guard_local.
5387         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5388         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5390 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5392         [BZ #15859]
5393         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5395 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5397         * include/string.h (__ffs): Declare as hidden.
5398         * string/ffs.c (__ffs): Define as hidden.
5399         * sysdeps/i386/ffs.c (__ffs): Likewise.
5400         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5401         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5402         * sysdeps/s390/ffs.c (__ffs): Likewise.
5403         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5405 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5407         * NEWS: Mention malloc probes.
5409         * malloc/arena.c (new_heap): New memory_heap_new probe.
5410         (grow_heap): New memory_heap_more probe.
5411         (shrink_heap): New memory_heap_less probe.
5412         (heap_trim): New memory_heap_free probe.
5413         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5414         (systrim): New memory_sbrk_less probe.
5415         * manual/probes.texi: Document them.
5417         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5418         * manual/probes.texi: Document it.
5420         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5421         (__libc_realloc): Add memory_realloc_retry probe.
5422         (__libc_memalign): Add memory_memalign_retry probe.
5423         (__libc_valloc): Add memory_valloc_retry probe.
5424         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5425         (__libc_calloc): Add memory_calloc_retry probe.
5426         * manual/probes.texi: Document them.
5428         * malloc/arena.c (get_free_list): Add probe
5429         memory_arena_reuse_free_list.
5430         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5431         and memory_arena_reuse.
5432         (arena_get2) [!PER_THREAD]: Likewise.
5433         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5434         memory_arena_reuse_realloc.
5435         * manual/probes.texi: Document them.
5437         * malloc/malloc.c (__libc_free): Add
5438         memory_mallopt_free_dyn_thresholds probe.
5439         (__libc_mallopt): Add multiple memory_mallopt probes.
5440         * manual/probes.texi: Document them.
5442         * malloc/malloc.c: Include stap-probe.h.
5443         (__libc_mallopt): Add memory_mallopt probe.
5444         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5445         * manual/probes.texi: New.
5446         * manual/Makefile (chapters): Add probes.
5447         * manual/threads.texi: Set next node.
5449 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5451         [BZ #15963, #13985]
5452         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5453         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5454         Add `Chinese' to `nan' entry name.
5456 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5458         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5459         (POLYNOMIAL): Likewise.
5460         (TAYLOR_SINCOS): Likewise.
5461         (TAYLOR_SLOW): Likewise.
5462         (__sin): Use TAYLOR_SINCOS.
5463         (__cos): Likewise.
5464         (slow): Use TAYLOR_SLOW.
5465         (sloww): Likewise.
5466         (bsloww): Likewise.
5467         (csloww): Likewise.
5469 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5471         * stdlib/strtod_l.c: Fix buffer overrun.
5473 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5475         * benchtests/Makefile (bench): Add sincos.
5476         * benchtests/bench-sincos.c: New file.
5478         * math/libm-test.inc (cos_test_data): New test inputs.
5479         (sin_test_data): Likewise.
5481         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5482         macro.
5483         (__sin): Use it.
5484         (__cos): Likewise.
5485         (slow1): Likewise.
5486         (slow2): Likewise.
5487         (sloww1): Likewise.
5488         (sloww2): Likewise.
5489         (bsloww1): Likewise.
5490         (bsloww2): Likewise.
5491         (cslow2): Likewise.
5492         (csloww1): Likewise.
5493         (csloww2): Likewise.
5495         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5496         function.
5497         (__sin): Use it.
5498         (__cos): Likewise.
5500         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5501         gotos.
5502         (__cos): Likewise.
5504 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5506         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5507         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5508         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5509         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5510         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5511         * elf/cache.c (print_entry): Handle the new cache flags.
5513 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5514             Aldy Hernandez  <aldyh@redhat.com>
5516         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5517         Change condition to [_SOFT_FLOAT].
5518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5530         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5533         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5534         declaration.
5536 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5538         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5539         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5540         (__longjmp): Use LOAD_GP to load saved GPRs.
5541         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5542         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5543         (__sigsetjmp): Use SAVE_GP to save GPRs.
5545         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5546         Do not append -msoft-float.
5547         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5549 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5551         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5553 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5555         [BZ #15966]
5556         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5557         (_FPU_GETCW): Use initial "__" on variable and field names but not
5558         on macro parameter name.
5559         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5560         parentheses around reference to macro parameter.
5562 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5564         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5565         prototype.
5566         (ctype_startup): Use uint32_t in cast and sizeof for
5567         ctype->charnames.
5569 2013-09-11  Jia Liu  <proljc@gmail.com>
5571         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5572         __daddr_t_defined.
5573         [__FreeBSD__]: Likewise.
5575 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5578         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5579         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5580         (strchr): Remove __strchr_sse42 ifunc selection.
5581         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5582         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5584 2013-09-11  Will Newton  <will.newton@linaro.org>
5586         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5587         parameter to RES. Remove hardcoded 1000 value.
5588         * benchtests/bench-skeleton.c (main): Pass RES parameter
5589         to TIMING_INIT and multiply result by 1000.
5591 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5595 2013-09-11  Andreas Schwab  <schwab@suse.de>
5597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5598         if not defined.
5599         (O_TMPFILE) [__USE_GNU]: Define.
5600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5601         Define.
5603 2013-09-11  Will Newton  <will.newton@linaro.org>
5605         [BZ #15857]
5606         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5607         does not overflow.
5609 2013-09-11  Will Newton  <will.newton@linaro.org>
5611         [BZ #15856]
5612         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5613         does not overflow.
5615 2013-09-11  Will Newton  <will.newton@linaro.org>
5617         [BZ #15855]
5618         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5619         does not overflow.
5621 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5623         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5624         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5625         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5626         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5627         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5629 2013-09-10  Allan McRae  <allan@archlinux.org>
5631         [BZ #15748]
5632         * manual/arith.texi (Parsing of Floats): Clarify
5633         cross-reference.
5635         [BZ #15849]
5636         * manual/install.texi (Running make install): Mention
5637         --enable-pt-chown.
5638         * INSTALL: Regenerated.
5640 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5642         * csu/init-first.c (_init): Remove the !SHARED condition around
5643         FPU control word initialization.
5644         * elf/dl-support.c (_dl_fpu_control): New variable.
5645         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5646         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5647         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5648         * math/test-fpucw-static.c: New file.
5649         * math/test-fpucw-ieee.c: New file.
5650         * math/test-fpucw-ieee-static.c: New file.
5651         * math/Makefile (tests): Add `test-fpucw-ieee' and
5652         `$(tests-static)'.
5653         (tests-static): New variable.
5654         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5655         dependency to...
5656         [($(build-shared),yes)]
5657         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5658         ... this.
5659         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5660         New dependency.
5662 2013-09-09  Allan McRae  <allan@archlinux.org>
5664         [BZ #15939]
5665         * manual/string.texi (Collation Functions): Fix typo in
5666         strcoll example.
5667         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5669         [BZ #15893]
5670         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5672         [BZ #15892]
5673         * libio/memstream.c (open_memstream): Fix memory leak.
5674         * libio/wmemstream.c (open_wmemstream): Likewise.
5676         [BZ #15895]
5677         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5679 2013-09-09  Will Newton  <will.newton@linaro.org>
5681         * malloc/Makefile: Add tst-realloc to tests.
5682         * malloc/tst-realloc.c: New file.
5684 2013-09-09  Allan McRae  <allan@archlinux.org>
5686         [BZ #15844]
5687         * COPYING: Update from GNU website to fix FSF address.
5688         * COPYING.LIB: Likewise.
5690 2013-09-06  David S. Miller  <davem@davemloft.net>
5692         * po/zh_TW.po: Update Chinese (traditional) translation from
5693         translation project.
5695 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5696             Joseph Myers  <joseph@codesourcery.com>
5698         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5699         "localeinfo.h".
5700         (obstack_chunk_alloc): New macro.
5701         (obstack_chunk_free): Likewise.
5702         (record_offset): New function.
5703         (init_locale_data): Likewise.
5704         (align_locale_data): Likewise.
5705         (add_locale_empty): Likewise.
5706         (add_locale_raw_data): Likewise.
5707         (add_locale_raw_obstack): Likewise.
5708         (add_locale_string): Likewise.
5709         (add_locale_wstring): Likewise.
5710         (add_locale_uint32): Likewise.
5711         (add_locale_uint32_array): Likewise.
5712         (add_locale_char): Likewise.
5713         (start_locale_structure): Likewise.
5714         (end_locale_structure): Likewise.
5715         (start_locale_prelude): Likewise.
5716         (end_locale_prelude): Likewise.
5717         (write_locale_data): Take locale_file structure rather than an
5718         iovec.
5719         * locale/programs/locfile.h: Include "obstack.h".
5720         (struct locale_file): Change to store locale file contents instead
5721         of header.
5722         (init_locale_data): New prototype.
5723         (align_locale_data): Likewise.
5724         (add_locale_empty): Likewise.
5725         (add_locale_raw_data): Likewise.
5726         (add_locale_raw_obstack): Likewise.
5727         (add_locale_string): Likewise.
5728         (add_locale_wstring): Likewise.
5729         (add_locale_uint32): Likewise.
5730         (add_locale_uint32_array): Likewise.
5731         (add_locale_char): Likewise.
5732         (start_locale_structure): Likewise.
5733         (end_locale_structure): Likewise.
5734         (start_locale_prelude): Likewise.
5735         (end_locale_prelude): Likewise.
5736         (write_locale_data): Update prototype.
5737         * locale/programs/3level.h (struct TABLE): Remove result field.
5738         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5739         Use new locale_file interface.
5740         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5741         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5742         * locale/programs/ld-address.c (address_output): Use new
5743         locale_file interface.
5744         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5745         NO_ADD_LOCALE.
5746         (collate_finish): Don't call collseq_table_finalize.
5747         (collate_output): Use new locale_file interface.
5748         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5749         in file.
5750         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5751         (TABLE): Move defines earlier in file.
5752         (ELEMENT): Likewise.
5753         (DEFAULT): Likewise.
5754         (wctrans_table_add): Move macro and inline function earlier in
5755         file.
5756         (struct wctype_table): Move type earlier in file.
5757         (add_locale_wctype_table): New static prototype.
5758         (struct locale_ctype_t): Use logical types instead of struct iovec
5759         pointers for members.
5760         (ctype_output): Use new locale_file interface.
5761         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5762         new locale_file interface.
5763         (allocate_arrays): Update for use of new locale_file interface.
5764         * locale/programs/ld-identification.c (identification_output): Use
5765         new locale_file interface.
5766         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5767         * locale/programs/ld-messages.c (messages_output): Likewise.
5768         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5769         * locale/programs/ld-name.c (name_output): Likewise.
5770         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5771         * locale/programs/ld-paper.c (paper_output): Likewise.
5772         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5773         * locale/programs/ld-time.c (time_output): Likewise.
5775 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5777         * benchtests/Makefile: Add memrchr benchmark.
5778         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5779         benchmark as memrchr.
5780         * benchtests/bench-memrchr-ifunc.c: New file.
5781         * benchtests/bench-memrchr.c: New file.
5783 2013-09-06   Will Newton  <will.newton@linaro.org>
5785         * benchtests/Makefile (string-bench): Add memcpy.
5787 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5788             Cong Wang  <amwang@redhat.com>
5790         * sysdeps/unix/sysv/linux/bits/in.h
5791         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5792         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5793         before __USE_KERNEL_IPV6_DEFS uses.
5794         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5795         IPPROTO_BEETPH.
5796         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5797         sockaddr_in6, or ipv6_mreq.
5799 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5801         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5802         memory access for final bytes in some large inputs.
5803         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5805 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5807         * string/test-memrchr.c: New file.
5808         * string/test-memrchr-ifunc.c: New file.
5809         * string/Makefile: Add new memrchr testcase.
5811 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5813         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5814         fanotify_init returns EPERM.
5816 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5818         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5819         errors.
5820         (top level): Treat second token from macro or constant entries for
5821         allowed headers as allowed.
5822         * include/complex.h: Condition internal declarations on
5823         [!_ISOMAC].
5824         * include/fenv.h: Condition include of <stdbool.h> and internal
5825         declarations on [!_ISOMAC].
5827 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5829         [BZ #15923]
5830         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5832 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5834         * configure.in (--enable-versioning): Remove configure option.
5835         (libc_cv_asm_symver_directive): Remove configure test.
5836         (libc_cv_ld_version_script_option): Likewise.
5837         (VERSIONING): Remove variable and AC_SUBST.
5838         (DO_VERSIONING): Remove AC_DEFINE.
5839         * configure: Regenerated.
5840         * config.h.in (DO_VERSIONING): Remove macro.
5841         * Makerules [$(versioning) = yes]: Change conditionals to
5842         [$(build-shared) = yes].
5843         * config.make.in (versioning): Remove variable.
5844         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5845         [$(build-shared) = yes].
5846         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5847         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5848         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5849         [$(build-shared) = yes].
5850         * extra-lib.mk [$(versioning) = yes]: Likewise.
5851         * hurd/Makefile [$(versioning) = yes]: Likewise.
5852         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5853         [SHARED].
5854         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5855         [SHARED].
5856         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5857         [SHARED && !NO_HIDDEN].
5858         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5859         [SHARED].
5860         [SHARED && DO_VERSIONING]: Likewise..
5861         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5862         [$(build-shared) = yes].
5863         * manual/install.texi (--disable-versioning): Remove
5864         documentation.
5865         * INSTALL: Regenerated.
5866         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5867         to [SHARED].
5868         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5869         [$(build-shared) = yes].
5870         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5871         * sysdeps/i386/i686/multiarch/strstr-c.c
5872         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5873         [SHARED && !NO_HIDDEN].
5874         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5875         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5876         * sysdeps/powerpc/powerpc32/dl-machine.c
5877         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5878         * sysdeps/powerpc/powerpc32/sysdep.h
5879         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5880         to [SHARED && PIC && !NO_HIDDEN].
5881         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5882         conditional to [SHARED].
5884 2013-09-04   Will Newton  <will.newton@linaro.org>
5886         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5887         * benchtests/bench-string.h: Include bench-timing.h instead
5888         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5889         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5890         call to HP_TIMING_DIFF_INIT.
5891         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5892         instead of hp-timing.h macros.
5893         * benchtests/bench-memchr.c: Likewise.
5894         * benchtests/bench-memcmp.c: Likewise.
5895         * benchtests/bench-memcpy.c: Likewise.
5896         * benchtests/bench-memmem.c: Likewise.
5897         * benchtests/bench-memmove.c: Likewise.
5898         * benchtests/bench-memset.c: Likewise.
5899         * benchtests/bench-rawmemchr.c: Likewise.
5900         * benchtests/bench-strcasecmp.c: Likewise.
5901         * benchtests/bench-strcasestr.c: Likewise.
5902         * benchtests/bench-strcat.c: Likewise.
5903         * benchtests/bench-strchr.c: Likewise.
5904         * benchtests/bench-strcmp.c: Likewise.
5905         * benchtests/bench-strcpy.c: Likewise.
5906         * benchtests/bench-strcpy_chk.c: Likewise.
5907         * benchtests/bench-strlen.c: Likewise.
5908         * benchtests/bench-strncasecmp.c: Likewise.
5909         * benchtests/bench-strncat.c: Likewise.
5910         * benchtests/bench-strncmp.c: Likewise.
5911         * benchtests/bench-strncpy.c: Likewise.
5912         * benchtests/bench-strnlen.c: Likewise.
5913         * benchtests/bench-strpbrk.c: Likewise.
5914         * benchtests/bench-strrchr.c: Likewise.
5915         * benchtests/bench-strspn.c: Likewise.
5916         * benchtests/bench-strstr.c: Likewise.
5918 2013-09-04  Will Newton  <will.newton@linaro.org>
5920         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5922 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5924         [BZ #15427]
5925         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5926         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5927         * math/libm-test.inc (lgamma_test_data): Add more tests.
5928         * sysdeps/i386/fpu/libm-test-ulps: Update.
5929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5933         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5935         Add ifunc.
5936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5937         Add strcmp-sse2-unaligned
5938         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5940 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5942         * Versions.def (libc): Add GLIBC_2.19.
5944 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5946         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5947         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5949 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5951         [BZ #14155]
5952         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5953         intermediate calculations in recurrence.
5954         (__ieee754_ynf): Likewise.
5955         * math/libm-test.inc (jn_test_data): Do not allow spurious
5956         underflow exception.  Add more tests.
5957         (yn_test_data): Add more tests.
5958         * sysdeps/i386/fpu/libm-test-ulps: Update.
5959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5965 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5967         * csu/init-first.c: Fix then/than typos.
5968         * locale/programs/ld-collate.c: Likewise.
5969         * locale/programs/linereader.h: Likewise.
5970         * manual/charset.texi: Likewise.
5971         * manual/filesys.texi: Likewise.
5972         * manual/stdio.texi: Likewise.
5973         * manual/string.texi: Likewise.
5974         * stdlib/fmtmsg.c: Likewise.
5975         * sysdeps/i386/stpncpy.S: Likewise.
5976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5977         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5978         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5979         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5981 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5983         * elf/dl-open.c: Fix typos.
5984         * iconvdata/gbbig5.c: Likewise.
5985         * iconvdata/iso-2022-jp.c: Likewise.
5986         * iconv/gconv_int.h: Likewise.
5987         * iconv/loop.c: Likewise.
5988         * nis/rpcsvc/nis.h: Likewise.
5989         * resolv/ns_name.c: Likewise.
5990         * stdio-common/vfscanf.c: Likewise.
5991         * streams/stropts.h: Likewise.
5992         * sunrpc/rpc_thread.c: Likewise.
5993         * sysdeps/i386/strpbrk.S: Likewise.
5994         * sysdeps/ieee754/k_standard.c: Likewise.
5995         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5997         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5998         * sysdeps/mach/hurd/profil.c: Likewise.
5999         * sysdeps/s390/dl-procinfo.h: Likewise.
6000         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6001         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6002         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6003         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6004         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6006 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6008         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6011 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6013         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6014         aix specific files.
6015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6016         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6017         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6018         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6019         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6020         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6021         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6022         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6024 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6025             Roland McGrath  <roland@hack.frob.com>
6027         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6028         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6030 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6032         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6033         __executable_start symbol instead of _start.
6035 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6037         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6038         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6039         Move macros to...
6040         * sysdeps/gnu/ldsodefs.h: ... this new file.
6042         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6043         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6044         instead of ELFOSABI_LINUX.
6046         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6047         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6048         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6049         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6050         Likewise.
6051         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6052         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6053         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6054         Likewise.
6055         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6056         (ibm_extended_long_double): Add ieee_nan member.
6057         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6058         (do_test): New function.
6060         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6061         TEST_TRUNC.
6062         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6063         functions, renamed from truncdfsf_test, trunctfsf_test,
6064         trunctfdf_test.
6065         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6066         functions.
6067         (do_test): Run all these.
6069 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6071         * argp/argp-help.c: Fix typos.
6072         * argp/argp-parse.c: Likewise.
6073         * debug/backtracesyms.c: Likewise.
6074         * elf/elf.h: Likewise.
6075         * malloc/malloc.c: Likewise.
6076         * nis/nis_print.c: Likewise.
6077         * resolv/res_comp.c: Likewise.
6078         * stdlib/stdlib.h: Likewise.
6079         * sunrpc/clnt_tcp.c: Likewise.
6080         * sunrpc/clnt_udp.c: Likewise.
6081         * sunrpc/clnt_unix.c: Likewise.
6082         * sysdeps/unix/bsd/ptsname.c: Likewise.
6083         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6086         Likewise.
6087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6088         Likewise.
6089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6090         Likewise.
6091         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6093 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6095         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6098 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6100         [BZ #15897]
6101         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6102         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6103         ($(objpfx)bug-dl-leaf): New rule.
6104         ($(objpfx)bug-dl-leaf.so): Likewise.
6105         ($(objpfx)bug-dl-leaf.out): Likewise.
6106         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6107         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6108         * dlfcn/bug-dl-leaf.c: New test.
6109         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6110         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6111         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6112         (dlclose): Likewise.
6113         (dlmopen): Likewise.
6115 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6117         * include/netdb.h [!_ISOMAC]:
6118         Don't include <tls.h>.
6119         (h_errno, __libc_h_errno): Move declaration and macros out of
6120         [_LIBC_REENTRANT].
6122         * include/resolv.h [_RESOLV_H_]:
6123         Don't include <tls.h>.
6124         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6125         * resolv/res_libc.c: Don't include <tls.h>.
6126         (_res): Use __attribute__ ((nocommon)) in place of
6127         __attribute__ ((section (".bss"))).
6129         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6130         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6132         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6134         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6135         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6137         * resolv/res_mkquery.c: Include <sys/time.h>.
6139         * inet/ifreq.c: Moved to ...
6140         * sysdeps/unix/ifreq.c: ... here.
6141         * inet/ifreq.c: New file, true stub version.
6143         * socket/sa_len.c: New file.
6144         * socket/Makefile (aux): Add it.
6145         * sysdeps/unix/sysv/linux/Makefile
6146         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6147         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6148         and #include <socket/sa_len.c>.
6149         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6150         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6152         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6153         * bits/socket.h: ... here.
6155         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6156         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6157         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6159 2013-08-27  Andreas Schwab  <schwab@suse.de>
6161         [BZ #15736]
6162         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6163         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6164         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6165         * string/test-strcasecmp.c (test_main): Run tests in several
6166         locales.
6167         * string/test-strncasecmp.c (test_main): Likewise.
6169         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6170         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6171         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6173         (__strncasecmp_ssse3) [PIC]: Likewise.
6175 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6177         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6179         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6180         instead of explicitly declaring xdecrypt.
6181         * nis/nss_nis/nis-publickey.c: Likewise.
6183 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6185         [BZ #15890]
6186         * nscd/aicache.c: Include res_hconf.h.
6187         (addhstaiX): Initialize res_hconf.
6189 2013-08-26  Andreas Schwab  <schwab@suse.de>
6191         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6192         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6194 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6196         * nscd/aicache.c (addhstaiX): Fix indentation.
6198 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6200         * configure.ac: Quote $build_pt_chown test.
6201         * configure: Regenerated.
6203 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #15532]
6206         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6207         * math/s_cexpf.c (__cexpf): Likewise.
6208         * math/s_cexpl.c (__cexpl): Likewise.
6209         * math/libm-test.inc (cexp_test_data): Correct expected return
6210         value for NaN + i0.  Add another test.
6212 2013-08-22  David S. Miller  <davem@davemloft.net>
6214         * po/ca.po: Update Catalan translation from translation project.
6215         * po/uk.po: Add Ukrainian translations from translation project.
6217 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6219         [BZ #15797]
6220         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6221         is infinite, not alongside NaN test.
6222         * math/s_fdimf.c (__fdimf): Likewise.
6223         * math/s_fdiml.c (__fdiml): Likewise.
6224         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6225         errno is unchanged.
6227 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6229         * argp/argp-help.c: Fix typos.
6230         * crypt/speeds.c: Likewise.
6231         * csu/check_fds.c: Likewise.
6232         * elf/dl-load.c: Likewise.
6233         * elf/dl-open.c: Likewise.
6234         * elf/reldep3.c: Likewise.
6235         * elf/reldep.c: Likewise.
6236         * elf/sprof.c: Likewise.
6237         * iconv/iconv_charmap.c: Likewise.
6238         * iconv/skeleton.c: Likewise.
6239         * iconv/strtab.c: Likewise.
6240         * io/lockf64.c: Likewise.
6241         * libio/libioP.h: Likewise.
6242         * resolv/gai_notify.c: Likewise.
6243         * resolv/ns_name.c: Likewise.
6244         * resolv/ns_samedomain.c: Likewise.
6245         * resolv/res_send.c: Likewise.
6246         * stdlib/random.c: Likewise.
6247         * sunrpc/rpc/xdr.h: Likewise.
6248         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6249         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6250         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6251         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6252         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6256         * sysdeps/mach/hurd/check_fds.c: Likewise.
6257         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6259         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6260         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6261         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6262         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6263         * sysdeps/pthread/aio_notify.c: Likewise.
6264         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6265         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6266         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6267         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6268         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6270 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6272         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6273         version if bit_Slow_SSE4_2 is set.
6274         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6277 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6279         [BZ #15867]
6280         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6281         trampoline stack frame information.
6282         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6284         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6285         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6286         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6287         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6288         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6289         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6290         sa_flags value.
6291         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6292         interrupting a syscall and set with option SA_SIGINFO.
6294 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #15531]
6297         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6298         argument is infinite.
6299         * math/s_cprojf.c (__cprojf): Likewise.
6300         * math/s_cprojl.c (__cprojl): Likewise.
6301         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6302         * math/libm-test.inc (cproj_test_data): Add more tests.
6304         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6307         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6308         size.  Use __ffs to determine corresponding shift.
6310 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6311             Roland McGrath  <roland@hack.frob.com>
6313         * Makefile (INSTALL): Remove trailing blank lines from output of
6314         makeinfo.
6316 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6318         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6319         Align 32 bit compat elf_greg to 8 bytes.
6321 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6323         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6325 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6327         * string/strcoll_l.c (coll_seq): New structure.
6328         (get_next_seq_cached): New function.
6329         (get_next_seq): New function.
6330         (do_compare): New function.
6331         (STRCOLL): Use GNU style definition.  Simplify implementation
6332         by using get_next_seq, get_next_seq_cached and do_compare.
6334 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6336         [BZ #14699]
6337         CVE-2013-4237
6338         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6339         member.
6340         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6341         member.
6342         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6343         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6344         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6345         conditional.
6346         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6347         GETDENTS_64BIT_ALIGNED.
6348         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6349         * manual/filesys.texi (Reading/Closing Directory): Document
6350         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6351         strongly.
6352         * manual/conf.texi (Limits for Files): Add portability note to
6353         NAME_MAX, PATH_MAX.
6354         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6356 2013-08-13  Andreas Schwab  <schwab@suse.de>
6358         [BZ #15749]
6359         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6360         of fabs.
6361         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6362         LDBL_MAX_EXP >= 16384]: Add tests for it.
6364 2013-08-12  David S. Miller  <davem@davemloft.net>
6366         * version.h (RELEASE): Set to "development".
6367         (VERSION): Set to "2.18.90".
6368         * NEWS: Add 2.19 section.
6370 2013-08-03  David S. Miller  <davem@davemloft.net>
6372         * po/ko.po: Update Korean translation from translation project.
6374 2013-08-01  David S. Miller  <davem@davemloft.net>
6376         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6377         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6378         Bilka.
6380 2013-07-30  David S. Miller  <davem@davemloft.net>
6382         * po/fr.po: Update French translation from translation project.
6384 2013-07-28  David S. Miller  <davem@davemloft.net>
6386         * po/cs.po: Update Czech translation from translation project.
6388         * po/sv.po: Update Swedish translation from translation project.
6390 2013-07-27  David S. Miller  <davem@davemloft.net>
6392         * po/eo.po: Update Esperanto translation from translation project.
6394         * po/vi.po: Update Vietnamese translation from translation project.
6396         * po/de.po: Update German translation from translation project.
6398 2013-07-26  David S. Miller  <davem@davemloft.net>
6400         * po/bg.po: Update Bulgarian translation from translation project.
6402         * po/nl.po: Update Dutch translation from translation project.
6403         * po/pl.po: Update Polish translation from translation project.
6404         * po/ru.po: Update Russian translation from translation project.
6406 2013-07-24  David S. Miller  <davem@davemloft.net>
6408         * po/libc.pot: Update.
6410 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6412         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6413         variable page size.
6414         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6415         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6416         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6418 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6420         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6422 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6423             Andreas Schwab  <schwab@suse.de>
6424             Roland McGrath  <roland@hack.frob.com>
6425             Joseph Myers  <joseph@codesourcery.com>
6426             Carlos O'Donell  <carlos@redhat.com>
6428         [BZ #15755]
6429         * config.h.in: Define HAVE_PT_CHOWN.
6430         * config.make.in (build-pt-chown): New variable.
6431         * configure.in (--enable-pt_chown): New configure option.
6432         * configure: Regenerate.
6433         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6434         build-pt-chown is enabled.
6435         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6436         pt_chown to fix pty ownership.
6437         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6438         CLOSE_ALL_FDS.
6439         * manual/install.texi (Configuring and compiling): Mention
6440         --enable-pt_chown. Add @findex for grantpt.
6441         * INSTALL: Regenerate.
6443 2013-07-20  David S. Miller  <davem@davemloft.net>
6445         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6446         difference between 32-bit and 64-bit.
6448 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6450         [BZ #15711]
6451         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6452         Avoid system header dependency with -ffreestanding.
6453         ($(objpfx)bits/syscall%d): Likewise.
6455 2013-07-13  David S. Miller  <davem@davemloft.net>
6457         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6458         underflows from atanl/atan2l due to bug 15319.
6459         (casinh_test_data): Likewise.
6461 2013-07-07  David S. Miller  <davem@davemloft.net>
6463         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6465 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6467         * sysdeps/i386/fpu/libm-test-ulps: Update.
6468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6470 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6472         * configure.in (--enable-lock-elision): Fix message text.
6473         * INSTALL: Regenerate.
6474         * configure: Regenerate.
6476 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6480 2013-07-03  Andreas Jaeger  <aj@suse.de>
6482         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6483         define.
6484         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6485         (ptrace_peeksiginfo_args): Add.
6486         (__ptrace_peeksiginfo_flags): Add.
6487         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6491 2013-07-03  Allan McRae  <allan@archlinux.org>
6493         * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 2013-07-02  David S. Miller  <davem@davemloft.net>
6497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6499 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6503 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6505         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6508 2013-07-02  Andi Kleen <ak@linux.intel.com>
6510         * config.h.in (ENABLE_LOCK_ELISION): Add.
6511         * configure.in (--enable-lock-elision): Add option.
6512         * manual/install.texi: Document --enable lock elision.
6513         * configure: Regenerate
6514         * INSTALL: Regenerate.
6516 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6518         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6519         SSE4.2 strcasecmp for libc.a.
6520         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6522 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6524         [BZ #13304]
6525         * soft-fp/op-common.h (_FP_FMA): New macro.
6526         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6527         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6528         (_FP_MUL_MEAT_1_imm): ... here.
6529         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6530         (_FP_MUL_MEAT_1_wide): ... here.
6531         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6532         (_FP_MUL_MEAT_1_hard): ... here.
6533         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6534         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6535         (_FP_MUL_MEAT_2_wide): ... here.
6536         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6537         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6538         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6539         (_FP_MUL_MEAT_2_gmp): ... here.
6540         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6541         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6542         (_FP_MUL_MEAT_4_wide): ... here.
6543         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6544         (_FP_MUL_MEAT_4_gmp): ... here.
6545         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6546         (_FP_WFRACBITS_DW_S): Likewise.
6547         (_FP_WFRACXBITS_DW_S): Likewise.
6548         (_FP_HIGHBIT_DW_S): Likewise.
6549         (FP_FMA_S): Likewise.
6550         (_FP_FRAC_HIGH_DW_S): Likewise.
6551         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6552         (_FP_WFRACBITS_DW_D): Likewise.
6553         (_FP_WFRACXBITS_DW_D): Likewise.
6554         (_FP_HIGHBIT_DW_D): Likewise.
6555         (FP_FMA_D): Likewise.
6556         (_FP_FRAC_HIGH_DW_D): Likewise.
6557         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6558         (_FP_WFRACBITS_DW_E): Likewise.
6559         (_FP_WFRACXBITS_DW_E): Likewise.
6560         (_FP_HIGHBIT_DW_E): Likewise.
6561         (FP_FMA_E): Likewise.
6562         (_FP_FRAC_HIGH_DW_E): Likewise.
6563         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6564         (_FP_WFRACBITS_DW_Q): Likewise.
6565         (_FP_WFRACXBITS_DW_Q): Likewise.
6566         (_FP_HIGHBIT_DW_Q): Likewise.
6567         (FP_FMA_Q): Likewise.
6568         (_FP_FRAC_HIGH_DW_Q): Likewise.
6569         * soft-fp/fmasf4.c: New file.
6570         * soft-fp/fmadf4.c: Likewise.
6571         * soft-fp/fmatf4.c: Likewise.
6573 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6576         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6577         Silvermont.
6578         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6579         macro.
6580         (index_Slow_SSE4_2): Likewise.
6581         (index_Prefer_PMINUB_for_stringop): Likewise.
6582         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6583         bit_Slow_SSE4_2 is set.
6584         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6585         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6587 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6589         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6590         rtld_global._dl_hwcap2.
6591         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6592         POWER8.
6593         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6594         POWER8 feature descriptions defined in _dl_hwcap2.
6595         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6596         string handling for POWER8 feature bits.
6597         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6598         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6599         _dl_powerpc_cap_flags.
6600         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6601         * sysdeps/powerpc/rtld-global-offsets.sym
6602         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6603         _dl_hwcap2 in the rtld_global_ro structure.
6605 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6607         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6608         hardware capabilities in support of AT_HWCAP2.
6609         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6610         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6611         GLRO(dl_hwcap2).
6612         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6613         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6614         explicitly the unknown a_type display mechanism is used.
6615         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6616         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6617         struct member.
6618         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6619         to macro prototype for AT_HWCAP2 support.
6620         * sysdeps/i386/dl-procinfo.h: Likewise.
6621         * sysdeps/s390/dl-procinfo.h: Likewise.
6622         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6623         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6624         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6625         return -1 for unknown a_type display fallback.
6626         * sysdeps/sparc/dl-procinfo.h: Likewise.
6627         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6628         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6630 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6632         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6633         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6635 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6637         [BZ #12492]
6638         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6639         mprotect making __stack_prot writable.
6641 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6642             Joseph Myers  <joseph@codesourcery.com>
6644         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6645         as being properly aligned.
6647 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6649         * dlfcn/modstatic5.c: New file.
6650         * dlfcn/tststatic5.c: New file.
6651         * dlfcn/Makefile (tests): Add tststatic5.
6652         (tests-static): Likewise.
6653         (modules-names): Add modstatic5.
6654         (tststatic5-ENV): New variable.
6655         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6657         [BZ #15022]
6658         * elf/dl-support.c (_dl_main_map): New variable.
6659         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6660         (_dl_nns, _dl_load_adds): Set to 1.
6661         (_dl_initial_searchlist): Refer to _dl_main_map.
6662         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6663         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6664         call to _dl_get_origin.
6665         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6666         around call_map.
6667         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6668         * dlfcn/modstatic3.c: New file.
6669         * dlfcn/tststatic3.c: New file.
6670         * dlfcn/tststatic4.c: New file.
6671         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6672         (tests-static): Likewise.
6673         (modules-names): Add modstatic3.
6674         (tststatic3-ENV, tststatic4-ENV): New variables.
6675         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6676         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6678 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6680         * configure.in (CC): Require GCC version 4.4 or later.
6681         * configure: Regenerated.
6682         * manual/install.texi (Tools for Compilation): Update GCC version
6683         requirement.
6684         * INSTALL: Regenerated.
6686 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6688         [BZ #15674]
6689         * string/test-memcmp.c (check2): New.
6690         (main): Call check2.
6692         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6694 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6696         [BZ #15022]
6697         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6698         over to...
6699         (dl_open_worker) [!SHARED]: ... here.
6701 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6703         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6705 2013-06-25  Richard Henderson  <rth@redhat.com>
6707         * locale/programs/locarchive.c: Include <libc-internal.h>
6709 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6711         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6712         trailing whitespace removed.
6714 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6716         [BZ #10283]
6717         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6718         * locale/programs/locarchive.c: Include libc-mmap.h.
6719         (prepare_address_space): Take two new outputs (the mmap base and len).
6720         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6721         values.
6722         (create_archive): Declare new mmap base and len values for
6723         prepare_address_space, and store the result in ah.
6724         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6725         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6726         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6727         Declare new mmap base and len values for
6728         prepare_address_space, and store the result in new_ah.
6729         (open_archive): Declare new mmap base and len values for
6730         prepare_address_space, and store the result in ah.
6731         (close_archive): If ah->mmap_base is not NULL, use that and
6732         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6733         * sysdeps/generic/libc-mmap.h: New file.
6735 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6737         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6738         (ALIGN_UP): Likewise.
6739         (PTR_ALIGN_DOWN): Likewise.
6740         (PTR_ALIGN_UP): Likewise.
6742 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6744         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6745         entry mapped to PPC_PLATFORM_POWER8.
6746         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6747         POWER8.
6748         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6749         (_dl_string_platform): Add case for exporting platform position for
6750         POWER8.
6751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6752         search path to sysdeps/powerpc/powerpc32/power8 directory.
6753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6754         search path to sysdeps/powerpc/powerpc64/power8 directory.
6755         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6756         power7 directories.
6757         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6758         power7 directories.
6760 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6762         * INSTALL: Regenerate.
6764         * nscd/connections.c (nscd_init): Fix comment.
6766 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6768         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6770         [BZ #15667]
6771         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6772         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6774 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6776         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6777         DL_DST_REQ_STATIC.
6778         (DL_DST_REQ_STATIC): Remove macro.
6780 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #7006]
6783         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6784         with a shift of 0 bits.
6786 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6788         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6789         $(tststatic-ENV).
6791 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6793         [BZ #15655]
6794         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6796 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6798         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6799         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6800         accepts -fno-tree-loop-distribute-patterns.
6801         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6802         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6803         recursive call.
6804         * string/memset.c (memset): Likewise.
6805         * string/test-memmove.c (simple_memmove): Disable loop transformation
6806         to library calls.
6807         * string/test-memset.c (simple_memset): Likewise.
6808         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6809         * benchtests/bench-memset.c (simple_memset): Likewise.
6810         * configure: Regenerated.
6812 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6814         * math/test-misc.c (main): Ignore fesetround failure when failures
6815         of subsequent rounding tests would be ignored.
6817         [BZ #15654]
6818         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6819         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6820         * math/fegetenv.c (__fegetenv): Return 0.
6821         * math/fegetexcept.c (fegetexcept): Return 0.
6822         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6823         FE_TONEAREST.
6824         * math/feholdexcpt.c (feholdexcept): Return 0.
6825         * math/fesetenv.c (__fesetenv): Return 0.
6826         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6827         argument FE_TONEAREST.
6828         * math/feupdateenv.c (__feupdateenv): Return 0.
6829         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6831 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6833         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6834         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6835         ($(objpfx)rtld-%.os rules): Use them.
6837 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6839         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6840         fields.
6842 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6844         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6845         length of target pattern, then descending length of dependency pattern.
6846         * configure.in (AWK): Require gawk 3.1.2 or newer.
6847         * manual/install.texi (Tools for Compilation): Say that we do.
6848         * configure: Regenerated.
6850         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6851         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6852         * scripts/sysd-rules.awk: ... this new script.
6853         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6854         than a glob-style pattern.
6856 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6858         * math/test-misc.c (main): Do not treat incorrectly rounded
6859         conversions as failure unless ROUNDING_TESTS passes.
6861 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6863         [BZ #15631]
6864         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6865         restore exception state around main square root computation, then
6866         check for inexactness explicitly.
6868         * math/libm-test.inc (fma_test_data): Add another test.
6870 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6872         * manual/threads.texi (Non-POSIX Extensions): New document
6873         node.  Document pthread_getattr_default_np and
6874         pthread_setattr_default_np.
6876         * Versions.def (libpthread): Add GLIBC_2.18.
6877         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6879         Likewise.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6881         Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6883         Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6885         Likewise.
6886         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6887         Likewise.
6888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6889         Likewise.
6890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6891         Likewise.
6892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6893         Likewise.
6894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6895         Likewise.
6897 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6900         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6902 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6903             H.J. Lu  <hjl.tools@gmail.com>
6905         [BZ #15627]
6906         * sysdeps/x86_64/rtld-memset.c: Remove file.
6907         * sysdeps/x86_64/rtld-memset.S: New file.
6909 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6911         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6912         (test_in_one_mode): Take arguments for whether the rounding mode
6913         is supported for each floating-point type.
6914         (do_test): Pass new arguments to test_in_one_mode using
6915         ROUNDING_TESTS.
6917 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6919         * posix/tst-waitid.c (do_test): Distinguish different instances of
6920         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6921         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6922         before entering the kernel for waitpid.
6924 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6926         * NEWS: Fix note on clock function precision.  Text by Roland
6927         McGrath.
6929 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6931         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6932         it into place only when and if the sanity check passes.
6934 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6936         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6937         output for whether conversion result is exact.  Take argument
6938         indicating whether type is IBM long double.
6939         (round_for_all): Change need_exact field to ibm_ld.
6940         * stdlib/tst-strtod-round.c (struct exactness): New type.
6941         (struct test): Change bool ld_ok field to struct exactness exact.
6942         (TEST): Update all definitions for change to field.
6943         (tests): Regenerate array contents.
6944         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6945         field value.  Check for IBM long double here.
6946         (do_test): Update calls to test_in_one_mode.
6948 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6950         [BZ #12515]
6951         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6952         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6954 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6956         [BZ #15605]
6957         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6958         generated by the compiler on loop optimizations.
6959         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6960         general definitions.
6962 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6964         * math/bug-nextafter.c: Include <math-tests.h>.
6965         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6966         the relevant type.
6967         * math/bug-nexttoward.c: Include <math-tests.h>.
6968         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6969         the relevant type.
6970         * math/test-misc.c: Include <math-tests.h>.
6971         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6972         the relevant type.
6974 2013-06-12  Andreas Jaeger  <aj@suse.de>
6976         * po/ia.po: Update Interlingua translation from translation
6977         project.
6979 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6981         * include/fenv.h: Include stdbool.h.
6982         (struct rm_ctx): New structure.
6983         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6984         Define macro.
6985         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6986         (SET_RESTORE_ROUNDF): Likewise.
6987         (SET_RESTORE_ROUNDL): Likewise.
6988         (SET_RESTORE_ROUND_NOEX): Likewise.
6989         (SET_RESTORE_ROUND_NOEXF): Likewise.
6990         (SET_RESTORE_ROUND_NOEXL): Likewise.
6991         (SET_RESTORE_ROUND_53BIT): Likewise.
6992         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6993         (libc_feresetround_noexf_ctx): Likewise.
6994         (libc_feresetround_noexl_ctx): Likewise.
6995         (libc_feholdsetround_53bit_ctx): Likewise.
6996         (libc_feresetround_53bit_ctx): Likewise.
6997         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6998         (libc_feholdexcept_setround_sse_ctx): New function.
6999         (libc_fesetenv_sse_ctx): Likewise.
7000         (libc_feupdateenv_sse_ctx): Likewise.
7001         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7002         (libc_feholdexcept_setround_387_ctx): Likewise.
7003         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7004         (libc_feholdsetround_387_prec_ctx): Likewise.
7005         (libc_feholdsetround_387_ctx): Likewise.
7006         (libc_feholdsetround_387_53bit_ctx): Likewise.
7007         (libc_feholdsetround_sse_ctx): Likewise.
7008         (libc_feresetround_sse_ctx): Likewise.
7009         (libc_feresetround_387_ctx): Likewise.
7010         (libc_feupdateenv_387_ctx): Likewise.
7011         (libc_feholdexcept_setroundf_ctx): Define macro.
7012         (libc_fesetenvf_ctx): Likewise.
7013         (libc_feupdateenvf_ctx): Likewise.
7014         (libc_feholdsetroundf_ctx): Likewise.
7015         (libc_feresetroundf_ctx): Likewise.
7016         (libc_feholdexcept_setround_ctx): Likewise.
7017         (libc_fesetenv_ctx): Likewise.
7018         (libc_feupdateenv_ctx): Likewise.
7019         (libc_feholdsetround_ctx): Likewise.
7020         (libc_feresetround_ctx): Likewise.
7021         (libc_feholdexcept_setroundl_ctx): Likewise.
7022         (libc_feupdateenvl_ctx): Likewise.
7023         (libc_feholdsetroundl_ctx): Likewise.
7024         (libc_feresetroundl_ctx): Likewise.
7025         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7026         (libc_feresetround_53bit_ctx): Likewise.
7028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7030         * locale/iso-639.def: Convert to UTF-8.
7032 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7034         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7035         (EXCEPTION_TESTS_double): Likewise.
7036         (EXCEPTION_TESTS_long_double): Likewise.
7037         (EXCEPTION_TESTS): Likewise.
7038         * math/libm-test.inc (test_exceptions): Only test exceptions if
7039         EXCEPTION_TESTS (FLOAT).
7041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7043         * benchtests/Makefile (string-bench): Add strcpy_chk and
7044         stpcpy_chk.
7045         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7046         * benchtests/bench-stpcpy_chk.c: New file.
7047         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7048         * benchtests/bench-strcpy_chk.c: New file.
7049         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7050         code.
7051         (do_test): Likewise.
7053 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7055         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7056         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7057         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7058         with tabs where appropriate.
7059         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7060         dl-procinfo.h.
7061         [PPC_PLATFORM_PPC440]: Likewise.
7062         [PPC_PLATFORM_PPC464]: Likewise.
7063         [PPC_PLATFORM_PPC476]: Likewise.
7064         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7065         ppc464, and ppc476 platform strings merging from ports/
7066         dl-procinfo.h.
7068 2013-06-11  Andreas Schwab  <schwab@suse.de>
7070         [BZ #14991]
7071         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7072         (from_ucs4_idx): Regenerate.
7073         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7074         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7075         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7076         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7077         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7078         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7079         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7080         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7081         from FROM_LOOP and TO_LOOP specific macros.
7082         (BODY): Handle combining characters.
7083         * iconvdata/BIG5HKSCS.irreversible: Update.
7084         * iconvdata/BIG5HKSCS.precomposed: New file.
7085         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7086         characters.
7087         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7089 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7091         * include/sys/time.h: Fix indentation and add copyright header.
7093         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7094         (do_test): Likewise.
7095         * string/test-memchr.c (do_one_test): Likewise.
7096         (do_test): Likewise.
7097         * string/test-memcmp.c (do_one_test): Likewise.
7098         (do_test): Likewise.
7099         * string/test-memcpy.c (do_one_test): Likewise.
7100         (do_test): Likewise.
7101         * string/test-memmem.c (do_one_test): Likewise.
7102         (do_test): Likewise.
7103         (do_random_tests): Likewise.
7104         * string/test-memmove.c (do_one_test): Likewise.
7105         (do_test): Likewise.
7106         * string/test-memset.c (do_one_test): Likewise.
7107         (do_test): Likewise.
7108         * string/test-rawmemchr.c (do_one_test): Likewise.
7109         (do_test): Likewise.
7110         * string/test-strcasecmp.c (do_one_test): Likewise.
7111         (do_test): Likewise.
7112         * string/test-strcasestr.c (do_one_test): Likewise.
7113         (do_test): Likewise.
7114         * string/test-strcat.c (do_one_test): Likewise.
7115         (do_test): Likewise.
7116         * string/test-strchr.c (do_one_test): Likewise.
7117         (do_test): Likewise.
7118         * string/test-strcmp.c (do_one_test): Likewise.
7119         (do_test): Likewise.
7120         * string/test-strcpy.c (do_one_test): Likewise.
7121         (do_test): Likewise.
7122         * string/test-string.h: Likewise.
7123         (test_init): Likewise.
7124         * string/test-strlen.c (do_one_test): Likewise.
7125         (do_test): Likewise.
7126         * string/test-strncasecmp.c (do_one_test): Likewise.
7127         (do_test): Likewise.
7128         * string/test-strncat.c (do_one_test): Likewise.
7129         (do_test): Likewise.
7130         * string/test-strncmp.c (do_one_test): Likewise.
7131         (do_test_limit): Likewise.
7132         (do_test): Likewise.
7133         * string/test-strncpy.c (do_one_test): Likewise.
7134         (do_test): Likewise.
7135         * string/test-strnlen.c (do_one_test): Likewise.
7136         (do_test): Likewise.
7137         * string/test-strpbrk.c (do_one_test): Likewise.
7138         (do_test): Likewise.
7139         * string/test-strrchr.c (do_one_test): Likewise.
7140         (do_test): Likewise.
7141         * string/test-strspn.c (do_one_test): Likewise.
7142         (do_test): Likewise.
7143         * string/test-strstr.c (do_one_test): Likewise.
7144         (do_test): Likewise.
7146         * benchtests/Makefile (string-bench): Add string benchmarks.
7147         * benchtests/bench-bcopy-ifunc.c: New file.
7148         * benchtests/bench-bcopy.c: New file.
7149         * benchtests/bench-bzero-ifunc.c: New file.
7150         * benchtests/bench-bzero.c: New file.
7151         * benchtests/bench-memccpy-ifunc.c: New file.
7152         * benchtests/bench-memccpy.c: New file.
7153         * benchtests/bench-memchr-ifunc.c: New file.
7154         * benchtests/bench-memchr.c: New file.
7155         * benchtests/bench-memcmp-ifunc.c: New file.
7156         * benchtests/bench-memcmp.c: New file.
7157         * benchtests/bench-memmem-ifunc.c: New file.
7158         * benchtests/bench-memmem.c: New file.
7159         * benchtests/bench-memmove-ifunc.c: New file.
7160         * benchtests/bench-memmove.c: New file.
7161         * benchtests/bench-mempcpy-ifunc.c: New file.
7162         * benchtests/bench-mempcpy.c: New file.
7163         * benchtests/bench-memset-ifunc.c: New file.
7164         * benchtests/bench-memset.c: New file.
7165         * benchtests/bench-rawmemchr-ifunc.c: New file.
7166         * benchtests/bench-rawmemchr.c: New file.
7167         * benchtests/bench-stpcpy-ifunc.c: New file.
7168         * benchtests/bench-stpcpy.c: New file.
7169         * benchtests/bench-stpncpy-ifunc.c: New file.
7170         * benchtests/bench-stpncpy.c: New file.
7171         * benchtests/bench-strcasecmp-ifunc.c: New file.
7172         * benchtests/bench-strcasecmp.c: New file.
7173         * benchtests/bench-strcasestr-ifunc.c: New file.
7174         * benchtests/bench-strcasestr.c: New file.
7175         * benchtests/bench-strcat-ifunc.c: New file.
7176         * benchtests/bench-strcat.c: New file.
7177         * benchtests/bench-strchr-ifunc.c: New file.
7178         * benchtests/bench-strchr.c: New file.
7179         * benchtests/bench-strchrnul-ifunc.c: New file.
7180         * benchtests/bench-strchrnul.c: New file.
7181         * benchtests/bench-strcmp-ifunc.c: New file.
7182         * benchtests/bench-strcmp.c: New file.
7183         * benchtests/bench-strcpy-ifunc.c: New file.
7184         * benchtests/bench-strcpy.c: New file.
7185         * benchtests/bench-strcspn-ifunc.c: New file.
7186         * benchtests/bench-strcspn.c: New file.
7187         * benchtests/bench-strlen-ifunc.c: New file.
7188         * benchtests/bench-strlen.c: New file.
7189         * benchtests/bench-strncasecmp-ifunc.c: New file.
7190         * benchtests/bench-strncasecmp.c: New file.
7191         * benchtests/bench-strncat-ifunc.c: New file.
7192         * benchtests/bench-strncat.c: New file.
7193         * benchtests/bench-strncmp-ifunc.c: New file.
7194         * benchtests/bench-strncmp.c: New file.
7195         * benchtests/bench-strncpy-ifunc.c: New file.
7196         * benchtests/bench-strncpy.c: New file.
7197         * benchtests/bench-strnlen-ifunc.c: New file.
7198         * benchtests/bench-strnlen.c: New file.
7199         * benchtests/bench-strpbrk-ifunc.c: New file.
7200         * benchtests/bench-strpbrk.c: New file.
7201         * benchtests/bench-strrchr-ifunc.c: New file.
7202         * benchtests/bench-strrchr.c: New file.
7203         * benchtests/bench-strspn-ifunc.c: New file.
7204         * benchtests/bench-strspn.c: New file.
7205         * benchtests/bench-strstr-ifunc.c: New file.
7206         * benchtests/bench-strstr.c: New file.
7208         * benchtests/Makefile: Disable parallel execution of targets.
7209         (string-bench): Add memcpy.
7210         (benchset): New variable to store a list of benchmark sets.
7211         (bench-func): Renamed from bench.
7212         (bench-set): New target.
7213         (bench): Depend on bench-func and bench-set.
7214         * benchtests/README: Add section on benchmark sets.
7215         * benchtests/bench-memcpy-ifunc.c: New file.
7216         * benchtests/bench-memcpy.c: New file.
7217         * benchtests/bench-string.h: New file.
7219 2013-06-11  Andreas Schwab  <schwab@suse.de>
7221         [BZ #15577]
7222         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7223         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7224         values in the triple.
7225         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7226         terminator in the group key.
7228 2013-06-11  Andreas Jaeger  <aj@suse.de>
7230         * po/zh_TW.po: Update Chinese (traditional) translation from
7231         translation project.
7233 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7235         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7236         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7237         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7238         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7239         (clock_getcpuclockid): Likewise.
7240         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7241         Add weak_alias and libc_hidden_def.
7242         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7243         * rt/clock_gettime.c (clock_gettime): Rename to
7244         __clock_gettime.  Add weak_alias and libc_hidden_def.
7245         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7246         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7247         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7248         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7249         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7250         Likewise.
7251         * rt/clock_settime.c (clock_settime): Rename to
7252         __clock_settime.  Add weak_alias and libc_hidden_def.
7253         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7255 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7257         * mach/err_boot.sub: Remove trailing whitespace.
7258         * mach/err_ipc.sub: Likewise.
7259         * mach/err_mach.sub: Likewise.
7261         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7262         (ROUNDING_TESTS_double): Likewise.
7263         (ROUNDING_TESTS_long_double): Likewise.
7264         (ROUNDING_TESTS): Likewise.
7265         * math/libm-test.inc: Include <math-tests.h>.
7266         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7267         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7268         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7269         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7271 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7273         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7274         of assigning.
7276 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7278         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7279         otherwise empty TRANS lines.
7280         * sysdeps/gnu/errlist.c: Regenerated.
7282         * catgets/gencat.c (error_print): Use (void) in function
7283         definition.
7284         * crypt/crypt_util.c (__init_des): Likewise.
7285         * crypt/speeds.c (Stop): Likewise.
7286         (main): Likewise.
7287         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7288         * inet/ruserpass.c (token): Likewise.
7289         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7290         * intl/localealias.c (extend_alias_table): Likewise.
7291         * intl/plural-exp.c (init_germanic_plural): Likewise.
7292         * libio/fcloseall.c (__fcloseall): Likewise.
7293         * libio/genops.c (_IO_flush_all): Likewise.
7294         (_IO_flush_all_linebuffered): Likewise.
7295         (_IO_cleanup): Likewise.
7296         (_IO_iter_begin): Likewise.
7297         (_IO_iter_end): Likewise.
7298         (_IO_list_lock): Likewise.
7299         (_IO_list_unlock): Likewise.
7300         (_IO_list_resetlock): Likewise.
7301         * libio/getchar.c (getchar): Likewise.
7302         * libio/getchar_u.c (getchar_unlocked): Likewise.
7303         * libio/getwchar.c (getwchar): Likewise.
7304         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7305         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7306         * login/getpt.c (__getpt): Likewise.
7307         * login/tst-utmp.c (main): Likewise.
7308         * malloc/hooks.c (__malloc_check_init): Likewise.
7309         * malloc/malloc.c (__malloc_stats): Likewise.
7310         * malloc/mtrace.c (tr_break): Likewise.
7311         (mtrace): Likewise.
7312         (muntrace): Likewise.
7313         * misc/fstab.c (endfsent): Likewise.
7314         * misc/getclktck.c (__getclktck): Likewise.
7315         * misc/getdtsz.c (__getdtablesize): Likewise.
7316         * misc/gethostid.c (gethostid): Likewise.
7317         * misc/getpagesize.c (__getpagesize): Likewise.
7318         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7319         (__get_nprocs): Likewise.
7320         (__get_phys_pages): Likewise.
7321         (__get_avphys_pages): Likewise.
7322         * misc/getttyent.c (getttyent): Likewise.
7323         (setttyent): Likewise.
7324         (endttyent): Likewise.
7325         * misc/getusershell.c (getusershell): Likewise.
7326         (endusershell): Likewise.
7327         (setusershell): Likewise.
7328         (initshells): Likewise.
7329         * misc/hsearch.c (__hdestroy): Likewise.
7330         * misc/sync.c (sync): Likewise.
7331         * misc/syslog.c (closelog_internal): Likewise.
7332         (closelog): Likewise.
7333         * misc/ttyslot.c (ttyslot): Likewise.
7334         * misc/vhangup.c (vhangup): Likewise.
7335         * posix/fork.c (__fork): Likewise.
7336         * posix/getegid.c (__getegid): Likewise.
7337         * posix/geteuid.c (__geteuid): Likewise.
7338         * posix/getgid.c (__getgid): Likewise.
7339         * posix/getpid.c (__getpid): Likewise.
7340         * posix/getppid.c (__getppid): Likewise.
7341         * posix/getuid.c (__getuid): Likewise.
7342         * posix/pause.c (pause): Likewise.
7343         * posix/setpgrp.c (setpgrp): Likewise.
7344         * posix/setsid.c (__setsid): Likewise.
7345         * posix/test-vfork.c (noop): Likewise.
7346         * resolv/gethnamaddr.c (_endhtent): Likewise.
7347         (_gethtent): Likewise.
7348         (ht_endhostent): Likewise.
7349         (gethostent): Likewise.
7350         (dns_service): Likewise.
7351         * stdlib/drand48.c (drand48): Likewise.
7352         * stdlib/lrand48.c (lrand48): Likewise.
7353         * stdlib/mrand48.c (mrand48): Likewise.
7354         * stdlib/rand.c (rand): Likewise.
7355         * stdlib/random.c (__random): Likewise.
7356         * stdlib/setenv.c (clearenv): Likewise.
7357         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7358         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7359         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7360         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7361         (__get_nprocs): Likewise.
7362         (__get_phys_pages): Likewise.
7363         (__get_avphys_pages): Likewise.
7364         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7365         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7366         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7367         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7368         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7369         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7370         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7371         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7372         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7373         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7374         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7375         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7376         * sysdeps/posix/clock.c (clock): Likewise.
7377         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7378         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7379         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7380         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7381         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7383         (__get_nprocs_conf): Likewise.
7384         (__get_phys_pages): Likewise.
7385         (__get_avphys_pages): Likewise.
7386         * time/clock.c (clock): Likewise.
7387         * time/tzset.c (__tzname_max): Likewise.
7389 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7391         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7392         (__bswap_32): Do not use "register".
7393         * crypt/crypt.c (_ufc_doit_r): Likewise.
7394         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7395         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7396         * gmon/gmon.c (__monstartup): Likewise.
7397         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7398         * hurd/hurdmalloc.c (more_memory): Likewise.
7399         (malloc): Likewise.
7400         (free): Likewise.
7401         (realloc): Likewise.
7402         (malloc_fork_prepare): Likewise.
7403         (malloc_fork_parent): Likewise.
7404         (malloc_fork_child): Likewise.
7405         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7406         (_svcauth_des): Likewise.
7407         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7408         * inet/inet_net.c (inet_network): Likewise.
7409         * inet/inet_netof.c (inet_netof): Likewise.
7410         * inet/rcmd.c (__validuser2_sa): Likewise.
7411         * io/fts.c (fts_open): Likewise.
7412         (fts_load): Likewise.
7413         (fts_close): Likewise.
7414         (fts_read): Likewise.
7415         (fts_children): Likewise.
7416         (fts_build): Likewise.
7417         (fts_stat): Likewise.
7418         (fts_sort): Likewise.
7419         (fts_alloc): Likewise.
7420         (fts_lfree): Likewise.
7421         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7422         (_IO_file_xsgetn): Likewise.
7423         (_IO_file_xsgetn_mmap): Likewise.
7424         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7425         (_IO_cookie_write): Likewise.
7426         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7427         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7428         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7429         * malloc/obstack.c (_obstack_begin): Likewise.
7430         (_obstack_begin_1): Likewise.
7431         (_obstack_newchunk): Likewise.
7432         (_obstack_allocated_p): Likewise.
7433         (obstack_free): Likewise.
7434         (_obstack_memory_used): Likewise.
7435         * misc/getttyent.c (getttynam): Likewise.
7436         (getttyent): Likewise.
7437         (skip): Likewise.
7438         (value): Likewise.
7439         * misc/getusershell.c (initshells): Likewise.
7440         * misc/syslog.c (__vsyslog_chk): Likewise.
7441         * misc/ttyslot.c (ttyslot): Likewise.
7442         * nis/nis_hash.c (__nis_hash): Likewise.
7443         * posix/fnmatch_loop.c (FCT): Likewise.
7444         * posix/getconf.c (print_all): Likewise.
7445         (main): Likewise.
7446         * posix/getopt.c (exchange): Likewise.
7447         * posix/glob.c (globfree): Likewise.
7448         (prefix_array): Likewise.
7449         (__glob_pattern_type): Likewise.
7450         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7451         (NS_GET32): Likewise.
7452         (NS_PUT16): Likewise.
7453         (NS_PUT32): Likewise.
7454         * resolv/gethnamaddr.c (getanswer): Likewise.
7455         (gethostbyname2): Likewise.
7456         (gethostbyaddr): Likewise.
7457         (_gethtent): Likewise.
7458         (_gethtbyname2): Likewise.
7459         (_gethtbyaddr): Likewise.
7460         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7461         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7462         * resolv/res_init.c (__res_vinit): Likewise.
7463         (net_mask): Likewise.
7464         * resolv/res_mkquery.c (outchar): Likewise.
7465         (PRINT): Likewise.
7466         * stdio-common/printf_fp.c (outchar): Likewise.
7467         (PRINT): Likewise.
7468         * stdio-common/printf_fphex.c (outchar): Likewise.
7469         (PRINT): Likewise.
7470         * stdio-common/printf_size.c (outchar): Likewise.
7471         (PRINT): Likewise.
7472         * stdio-common/test_rdwr.c (main): Likewise.
7473         * stdio-common/tfformat.c (matches): Likewise.
7474         * stdio-common/vfprintf.c (outchar): Likewise.
7475         (printf_unknown): Likewise.
7476         (buffered_vfprintf): Likewise.
7477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7478         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7479         (ReadFile): Likewise.
7480         * stdlib/qsort.c (SWAP): Likewise.
7481         (_quicksort): Likewise.
7482         * stdlib/setenv.c (__add_to_environ): Likewise.
7483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7484         * stdlib/strtol_l.c (__strtol_l): Likewise.
7485         * stdlib/tst-strtod.c (main): Likewise.
7486         * stdlib/tst-strtol.c (main): Likewise.
7487         * stdlib/tst-strtoll.c (main): Likewise.
7488         * string/bits/string2.h (__strcmp_cc): Likewise.
7489         (__strcmp_cg): Likewise.
7490         (__strcspn_c1): Likewise.
7491         (__strcspn_c2): Likewise.
7492         (__strcspn_c3): Likewise.
7493         (__strspn_c1): Likewise.
7494         (__strspn_c2): Likewise.
7495         (__strspn_c3): Likewise.
7496         (__strsep_1c): Likewise.
7497         (__strsep_2c): Likewise.
7498         (__strsep_3c): Likewise.
7499         * string/memccpy.c (__memccpy): Likewise.
7500         * string/stpcpy.c (__stpcpy): Likewise.
7501         * string/strcmp.c (strcmp): Likewise.
7502         * string/strrchr.c (strrchr): Likewise.
7503         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7504         Likewise.
7505         * sysdeps/mach/hurd/getcwd.c
7506         (_hurd_canonicalize_directory_name_internal): Likewise.
7507         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7508         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7509         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7510         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7511         Likewise, in both definitions.
7512         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7513         definitions.
7514         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7515         64] (__bswap_64): Likewise.
7516         * time/test_time.c (main): Likewise.
7517         * time/tzfile.c (__tzfile_read): Likewise.
7518         (__tzfile_compute): Likewise.
7519         * time/tzset.c (__tzset_parse_tz): Likewise.
7520         (tzset_internal): Likewise.
7521         (compute_change): Likewise.
7522         * wcsmbs/wcscat.c (__wcscat): Likewise.
7523         * wcsmbs/wcschr.c (wcschr): Likewise.
7524         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7525         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7526         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7527         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7528         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7529         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7530         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7531         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7532         * wcsmbs/wmemset.c (wmemset): Likewise.
7534 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7536         * scripts/config.guess: Update to version 2013-05-16.
7537         * scripts/config.sub: Update to version 2013-04-24.
7538         * scripts/install-sh: Update to version 2011-11-20.07.
7539         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7540         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7542 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7544         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7545         * elf/sln.c: Likewise.
7546         * hurd/hurd/ioctl.h: Likewise.
7547         * hurd/hurdmalloc.c: Likewise.
7548         * hurd/xattr.c: Likewise.
7549         * include/shlib-compat.h: Likewise.
7550         * inet/ruserpass.c: Likewise.
7551         * libio/iofgets_u.c: Likewise.
7552         * libio/iofgetws_u.c: Likewise.
7553         * locale/programs/ld-identification.c: Likewise.
7554         * locale/programs/ld-time.c: Likewise.
7555         * mach/msg-destroy.c: Likewise.
7556         * nss/nss_files/files-netgrp.c: Likewise.
7557         * resolv/res_data.c: Likewise.
7558         * soft-fp/op-1.h: Likewise.
7559         * soft-fp/op-2.h: Likewise.
7560         * soft-fp/op-4.h: Likewise.
7561         * soft-fp/op-common.h: Likewise.
7562         * stdio-common/printf_fphex.c: Likewise.
7563         * stdlib/strtod_l.c: Likewise.
7564         * sunrpc/rpc/clnt.h: Likewise.
7565         * sysdeps/generic/framestate.c: Likewise.
7566         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7567         * sysdeps/i386/bsd-setjmp.S: Likewise.
7568         * sysdeps/i386/__longjmp.S: Likewise.
7569         * sysdeps/i386/setjmp.S: Likewise.
7570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7571         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7573         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7574         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7575         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7576         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7579         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7580         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7581         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7582         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7583         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7584         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7585         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7586         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7587         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7588         * sysdeps/ieee754/support.c: Likewise.
7589         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7590         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7591         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7592         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7593         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7594         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7595         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7596         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7597         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7598         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7599         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7600         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7601         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7602         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7603         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7604         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7605         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7608 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7610         * posix/transbug.c: Remove executable mode.
7612 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7614         * crypt/speeds.c: Remove trailing whitespace.
7615         * dlfcn/default.c: Likewise.
7616         * elf/ifuncdep2.c: Likewise.
7617         * elf/ifuncmain1.c: Likewise.
7618         * elf/ifuncmain1vis.c: Likewise.
7619         * elf/testobj.h: Likewise.
7620         * elf/tst-stackguard1.c: Likewise.
7621         * gmon/sys/gmon.h: Likewise.
7622         * hurd/hurdmsg.c: Likewise.
7623         * hurd/new-fd.c: Likewise.
7624         * hurd/ports-get.c: Likewise.
7625         * iconvdata/ibm1008_420.c: Likewise.
7626         * inet/tst-getni1.c: Likewise.
7627         * inet/tst-getni2.c: Likewise.
7628         * libio/ioungetc.c: Likewise.
7629         * libio/wfiledoalloc.c: Likewise.
7630         * manual/libm-err-tab.pl: Likewise.
7631         * math/w_dremf.c: Likewise.
7632         * misc/ftruncate.c: Likewise.
7633         * posix/bug-glob2.c: Likewise.
7634         * posix/tst-pcre.c: Likewise.
7635         * posix/wait4.c: Likewise.
7636         * resolv/README: Likewise.
7637         * resolv/res_debug.h: Likewise.
7638         * resolv/tst-inet_ntop.c: Likewise.
7639         * setjmp/bug269-setjmp.c: Likewise.
7640         * soft-fp/extended.h: Likewise.
7641         * soft-fp/op-1.h: Likewise.
7642         * soft-fp/op-2.h: Likewise.
7643         * soft-fp/op-4.h: Likewise.
7644         * soft-fp/op-8.h: Likewise.
7645         * soft-fp/testit.c: Likewise.
7646         * stdio-common/bug16.c: Likewise.
7647         * stdlib/random.c: Likewise.
7648         * sunrpc/rpcsvc/rquota.x: Likewise.
7649         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7650         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7652         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7653         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7654         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7655         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7656         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7657         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7658         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7659         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7660         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7662         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7664         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7665         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7666         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7667         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7670         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7671         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7672         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7674         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7676         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7677         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7678         * sysdeps/ieee754/s_lib_version.c: Likewise.
7679         * sysdeps/mach/hurd/check_fds.c: Likewise.
7680         * sysdeps/mach/hurd/getsockname.c: Likewise.
7681         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7682         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7683         * sysdeps/powerpc/bits/link.h: Likewise.
7684         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7685         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7686         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7687         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7688         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7689         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7690         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7691         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7692         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7693         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7694         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7695         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7696         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7697         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7698         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7699         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7702         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7703         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7704         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7705         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7706         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7707         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7708         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7709         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7710         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7711         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7712         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7714         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7717         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7718         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7719         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7720         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7721         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7722         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7723         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7724         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7725         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7726         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7727         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7728         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7729         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7730         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7731         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7732         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7733         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7738         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7739         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7740         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7742         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7744         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7745         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7746         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7747         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7748         * sysdeps/powerpc/sysdep.h: Likewise.
7749         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7750         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7751         * sysdeps/sh/dl-trampoline.S: Likewise.
7752         * sysdeps/sh/memset.S: Likewise.
7753         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7754         * sysdeps/sh/strlen.S: Likewise.
7755         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7756         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7757         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7758         * sysdeps/sparc/sparc32/rem.S: Likewise.
7759         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7760         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7761         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7762         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7763         * sysdeps/sparc/sparc32/urem.S: Likewise.
7764         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7765         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7766         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7767         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7768         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7769         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7770         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7771         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7772         * sysdeps/unix/bsd/times.c: Likewise.
7773         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7774         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7778         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7779         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7780         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7783         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7784         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7785         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7786         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7787         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7788         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7789         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7790         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7791         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7792         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7793         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7794         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7795         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7796         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7797         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7798         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7799         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7800         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7801         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7802         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7803         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7804         * sysdeps/x86_64/strcspn.S: Likewise.
7806 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7808         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7809         generated file.  Regenerate properly from gen-translit.pl.
7810         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7811         locale/C-translit.h.
7813 2013-06-05  Andreas Schwab  <schwab@suse.de>
7815         [BZ #15100]
7816         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7817         week as 6 instead of -1.
7818         * time/tst-strptime.c (day_tests): Add test case.
7820 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7822         * sysdeps/generic/math_private.h
7823         (libc_feholdexcept_setround_53bit): Replace with
7824         libc_feholdsetround_53bit.
7825         (libc_feupdateenv_53bit): Replace with
7826         libc_feresetround_53bit.
7827         (SET_RESTORE_ROUND_53BIT): Adjust.
7829 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7831         * string/test-strchrnul.c: Add copyright header.
7833         * posix/tst-getaddrinfo4.c: Increase test timeout.
7835 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7837         [BZ #15536]
7838         * math/libm-test.inc (MAX_EXP): Remove
7839         (MIN_EXP): Define.
7840         (ulp): Use MIN_EXP - MANT_DIG.
7841         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7843 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7845         * po/be.po: Revert last change.
7846         * po/zh_CN.po: Likewise.
7847         * po/header.pot: Likewise.
7849 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7851         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7852         link-libc-deps to empty as target-specific variable.
7853         * Makerules (link-libc-args): New variable.
7854         (libc-for-link): Likewise.
7855         (link-libc-deps): Likewise.
7856         (lib%.so): Depend on $(link-libc-deps).  Link with
7857         $(link-libc-args).
7858         (build-module): Link with $(link-libc-args).
7859         (build-module-asneeded): Likewise.
7860         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7861         list of objects.
7862         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7863         target-specific variable.
7864         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7865         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7866         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7867         libc.
7868         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7869         libc and ld.so.
7870         ($(objpfx)libpcprofile.so): Likewise.
7871         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7872         libc_nonshared.a.
7873         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7874         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7875         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7876         $(link-libc-deps).
7877         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7878         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7879         * login/Makefile ($(objpfx)libutil.so): Likewise.
7880         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7881         * math/Makefile ($(objpfx)libm.so): Likewise.
7882         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7883         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7884         variable instead of depending directly on libc.
7885         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7886         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7887         $(link-libc-deps).
7888         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7889         libc.
7890         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7891         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7892         ($(objpfx)libanl.so): Likewise.
7893         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7894         ld.so.
7895         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7896         $(link-libc-deps).
7897         * sysdeps/i386/fpu/Makefile: Remove file.
7898         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7899         ($(objpfx)libm.so): Remove dependency on ld.so.
7901 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7903         [BZ # 15553]
7904         * nis/yp_xdr.c (XDRMAXNAME): Define.
7905         (XDRMAXRECORD): Define.
7906         (xdr_domainname): Use XDRMAXNAME.
7907         (xdr_mapname): Likewise.
7908         (xdr_peername): Likewise.
7909         (xdr_keydat): Use XDRMAXRECORD.
7910         (xdr_valdat): Likewise.
7912 2013-05-30  Jeff Law  <law@redhat.com>
7914         [BZ #14256]
7915         * manual/errno.texi (ESTALE): Update to account for more than
7916         just NFS file systems.
7917         * sysdeps/gnu/errlist.c: Regenerated.
7919 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7921         [BZ #15465]
7922         * elf/Makefile (tests): Add tst-null-argv.
7923         (modules-names):  Add tst-null-argv-lib.
7924         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7925         (tst-null-argv-ENV): Set environment for tst-null-argv.
7926         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7927         (RTLD_PROGNAME): New macro.
7928         * elf/tst-null-argv.c: New test case.
7929         * elf/tst-null-argv-lib.c: Library for test case.
7930         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7931         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7932         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7933         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7934         * elf/dl-init.c (call_init): Likewise.
7935         (_dl_init): Likewise.
7936         * elf/dl-load.c (print_search_path): Likewise.
7937         (_dl_map_object): Likewise.
7938         * elf/dl-lookup.c (do_lookup_x): Likewise.
7939         (add_dependency): Likewise.
7940         (_dl_lookup_symbol_x): Likewise.
7941         (_dl_debug_bindings): Likewise.
7942         * elf/dl-open.c (_dl_show_scope): Likewise.
7943         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7944         * elf/dl-version.c (match_symbol): Likewise.
7945         (_dl_check_map_versions): Likewise.
7946         * elf/rtld.c (dl_main): Likewise.
7947         (print_unresolved): Use RTLD_PROGNAME.
7948         (print_missing_version): Likewise.
7949         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7950         (elf_machine_rela): Likewise.
7951         * sysdeps/powerpc/powerpc32/dl-machine.c
7952         (__process_machine_rela): Likewise.
7953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7954         Likewise.
7955         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7956         Likewise.
7957         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7958         Likewise.
7959         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7960         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7961         Likewise.
7962         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7963         Likewise.
7964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7966 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7968         * po/be.po: Add descriptive title.
7969         * po/zh_CN.po: Likewise.
7970         * po/header.pot: Likewise.
7972 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7974         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7975         error message.
7976         (enlarge_archive): Likewise.
7978 2013-05-28  Ben North  <ben@redfrontdoor.org>
7980         * manual/arith.texi (frexp): It is the magnitude of the return
7981         value which lies in [0.5, 1), not the return value itself.
7983 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7987 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7989         * stdio-common/bug26.c (main): Correct fscanf template.
7991         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7992         declare _dl_skip_args.
7994         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7995         Don't declare.
7997         * manual/platform.texi: Add missing @end deftypefun.
7999 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8001         [BZ #15529]
8002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8003         bit of mantissa of 2^16382.
8004         * math/libm-test.inc (hypot_test_data): Add more tests.
8006         * math/libm-test.inc: Add drem and pow10 to list of tested
8007         functions.
8008         (pow10_test): New function.
8009         (drem_test): Likewise.
8010         (drem_test_tonearest): Likewise.
8011         (drem_test_towardzero): Likewise.
8012         (drem_test_downward): Likewise.
8013         (drem_test_upward): Likewise.
8014         (main): Call the new functions.
8016         * math/libm-test.inc (finite_test_data): Remove.
8017         (finite_test): Run tests from isfinite_test_data.
8018         (gamma_test_data): Remove.
8019         (gamma_test): Run tests from lgamma_test_data.
8020         * sysdeps/i386/fpu/libm-test-ulps: Update.
8021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8023 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8025         * manual/platform.texi: Add PowerPC PPR function set documentation.
8026         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8027         implementation.
8029 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8031         * math/libm-test.inc (MAX_EXP): Define.
8032         (ULPDIFF): Define.
8033         (ulp): New function.
8034         (check_float_internal): Use ULPDIFF.
8035         (cpow_test): Disable failing test.
8036         (check_ulp): Test ulp() implemetnation.
8037         (main): Call check_ulp before starting tests.
8039 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8041         * math/gen-libm-test.pl (generate_testfile): Do not handle
8042         START_DATA and END_DATA.
8043         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8044         END_DATA.
8045         (acos_tonearest_test_data): Likewise.
8046         (acos_towardzero_test_data): Likewise.
8047         (acos_downward_test_data): Likewise.
8048         (acos_upward_test_data): Likewise.
8049         (acosh_test_data): Likewise.
8050         (asin_test_data): Likewise.
8051         (asin_tonearest_test_data): Likewise.
8052         (asin_towardzero_test_data): Likewise.
8053         (asin_downward_test_data): Likewise.
8054         (asin_upward_test_data): Likewise.
8055         (asinh_test_data): Likewise.
8056         (atan_test_data): Likewise.
8057         (atanh_test_data): Likewise.
8058         (atan2_test_data): Likewise.
8059         (cabs_test_data): Likewise.
8060         (cacos_test_data): Likewise.
8061         (cacosh_test_data): Likewise.
8062         (carg_test_data): Likewise.
8063         (casin_test_data): Likewise.
8064         (casinh_test_data): Likewise.
8065         (catan_test_data): Likewise.
8066         (catanh_test_data): Likewise.
8067         (cbrt_test_data): Likewise.
8068         (ccos_test_data): Likewise.
8069         (ccosh_test_data): Likewise.
8070         (ceil_test_data): Likewise.
8071         (cexp_test_data): Likewise.
8072         (cimag_test_data): Likewise.
8073         (clog_test_data): Likewise.
8074         (clog10_test_data): Likewise.
8075         (conj_test_data): Likewise.
8076         (copysign_test_data): Likewise.
8077         (cos_test_data): Likewise.
8078         (cos_tonearest_test_data): Likewise.
8079         (cos_towardzero_test_data): Likewise.
8080         (cos_downward_test_data): Likewise.
8081         (cos_upward_test_data): Likewise.
8082         (cosh_test_data): Likewise.
8083         (cosh_tonearest_test_data): Likewise.
8084         (cosh_towardzero_test_data): Likewise.
8085         (cosh_downward_test_data): Likewise.
8086         (cosh_upward_test_data): Likewise.
8087         (cpow_test_data): Likewise.
8088         (cproj_test_data): Likewise.
8089         (creal_test_data): Likewise.
8090         (csin_test_data): Likewise.
8091         (csinh_test_data): Likewise.
8092         (csqrt_test_data): Likewise.
8093         (ctan_test_data): Likewise.
8094         (ctan_tonearest_test_data): Likewise.
8095         (ctan_towardzero_test_data): Likewise.
8096         (ctan_downward_test_data): Likewise.
8097         (ctan_upward_test_data): Likewise.
8098         (ctanh_test_data): Likewise.
8099         (ctanh_tonearest_test_data): Likewise.
8100         (ctanh_towardzero_test_data): Likewise.
8101         (ctanh_downward_test_data): Likewise.
8102         (ctanh_upward_test_data): Likewise.
8103         (erf_test_data): Likewise.
8104         (erfc_test_data): Likewise.
8105         (exp_test_data): Likewise.
8106         (exp_tonearest_test_data): Likewise.
8107         (exp_towardzero_test_data): Likewise.
8108         (exp_downward_test_data): Likewise.
8109         (exp_upward_test_data): Likewise.
8110         (exp10_test_data): Likewise.
8111         (exp2_test_data): Likewise.
8112         (expm1_test_data): Likewise.
8113         (fabs_test_data): Likewise.
8114         (fdim_test_data): Likewise.
8115         (finite_test_data): Likewise.
8116         (floor_test_data): Likewise.
8117         (fma_test_data): Likewise.
8118         (fma_towardzero_test_data): Likewise.
8119         (fma_downward_test_data): Likewise.
8120         (fma_upward_test_data): Likewise.
8121         (fmax_test_data): Likewise.
8122         (fmin_test_data): Likewise.
8123         (fmod_test_data): Likewise.
8124         (fpclassify_test_data): Likewise.
8125         (frexp_test_data): Likewise.
8126         (gamma_test_data): Likewise.
8127         (hypot_test_data): Likewise.
8128         (ilogb_test_data): Likewise.
8129         (isfinite_test_data): Likewise.
8130         (isgreater_test_data): Likewise.
8131         (isgreaterequal_test_data): Likewise.
8132         (isinf_test_data): Likewise.
8133         (isless_test_data): Likewise.
8134         (islessequal_test_data): Likewise.
8135         (islessgreater_test_data): Likewise.
8136         (isnan_test_data): Likewise.
8137         (isnormal_test_data): Likewise.
8138         (issignaling_test_data): Likewise.
8139         (isunordered_test_data): Likewise.
8140         (j0_test_data): Likewise.
8141         (j1_test_data): Likewise.
8142         (jn_test_data): Likewise.
8143         (ldexp_test_data): Likewise.
8144         (lgamma_test_data): Likewise.
8145         (lrint_test_data): Likewise.
8146         (lrint_tonearest_test_data): Likewise.
8147         (lrint_towardzero_test_data): Likewise.
8148         (lrint_downward_test_data): Likewise.
8149         (lrint_upward_test_data): Likewise.
8150         (llrint_test_data): Likewise.
8151         (llrint_tonearest_test_data): Likewise.
8152         (llrint_towardzero_test_data): Likewise.
8153         (llrint_downward_test_data): Likewise.
8154         (llrint_upward_test_data): Likewise.
8155         (log_test_data): Likewise.
8156         (log10_test_data): Likewise.
8157         (log1p_test_data): Likewise.
8158         (log2_test_data): Likewise.
8159         (logb_test_data): Likewise.
8160         (logb_downward_test_data): Likewise.
8161         (lround_test_data): Likewise.
8162         (llround_test_data): Likewise.
8163         (modf_test_data): Likewise.
8164         (nearbyint_test_data): Likewise.
8165         (nextafter_test_data): Likewise.
8166         (nexttoward_test_data): Likewise.
8167         (pow_test_data): Likewise.
8168         (pow_tonearest_test_data): Likewise.
8169         (pow_towardzero_test_data): Likewise.
8170         (pow_downward_test_data): Likewise.
8171         (pow_upward_test_data): Likewise.
8172         (remainder_test_data): Likewise.
8173         (remainder_tonearest_test_data): Likewise.
8174         (remainder_towardzero_test_data): Likewise.
8175         (remainder_downward_test_data): Likewise.
8176         (remainder_upward_test_data): Likewise.
8177         (remquo_test_data): Likewise.
8178         (rint_test_data): Likewise.
8179         (rint_tonearest_test_data): Likewise.
8180         (rint_towardzero_test_data): Likewise.
8181         (rint_downward_test_data): Likewise.
8182         (rint_upward_test_data): Likewise.
8183         (round_test_data): Likewise.
8184         (scalb_test_data): Likewise.
8185         (scalbn_test_data): Likewise.
8186         (scalbln_test_data): Likewise.
8187         (signbit_test_data): Likewise.
8188         (sin_test_data): Likewise.
8189         (sin_tonearest_test_data): Likewise.
8190         (sin_towardzero_test_data): Likewise.
8191         (sin_downward_test_data): Likewise.
8192         (sin_upward_test_data): Likewise.
8193         (sincos_test_data): Likewise.
8194         (sinh_test_data): Likewise.
8195         (sinh_tonearest_test_data): Likewise.
8196         (sinh_towardzero_test_data): Likewise.
8197         (sinh_downward_test_data): Likewise.
8198         (sinh_upward_test_data): Likewise.
8199         (sqrt_test_data): Likewise.
8200         (tan_test_data): Likewise.
8201         (tan_tonearest_test_data): Likewise.
8202         (tan_towardzero_test_data): Likewise.
8203         (tan_downward_test_data): Likewise.
8204         (tan_upward_test_data): Likewise.
8205         (tanh_test_data): Likewise.
8206         (tgamma_test_data): Likewise.
8207         (trunc_test_data): Likewise.
8208         (y0_test_data): Likewise.
8209         (y1_test_data): Likewise.
8210         (yn_test_data): Likewise.
8211         (significand_test_data): Likewise.
8213         * math/gen-libm-test.pl (@functions): Remove variable.
8214         (generate_testfile): Don't handle START and END lines.
8215         * math/libm-test.inc (START): New macro.
8216         (END): Likewise.
8217         (END_COMPLEX): Likewise.
8218         (acos_test): Use END macro without arguments.
8219         (acos_test_tonearest): Likewise.
8220         (acos_test_towardzero): Likewise.
8221         (acos_test_downward): Likewise.
8222         (acos_test_upward): Likewise.
8223         (acosh_test): Likewise.
8224         (asin_test): Likewise.
8225         (asin_test_tonearest): Likewise.
8226         (asin_test_towardzero): Likewise.
8227         (asin_test_downward): Likewise.
8228         (asin_test_upward): Likewise.
8229         (asinh_test): Likewise.
8230         (atan_test): Likewise.
8231         (atanh_test): Likewise.
8232         (atan2_test): Likewise.
8233         (cabs_test): Likewise.
8234         (cacos_test): Use END_COMPLEX macro without arguments.
8235         (cacosh_test): Likewise.
8236         (carg_test): Use END macro without arguments.
8237         (casin_test): Use END_COMPLEX macro without arguments.
8238         (casinh_test): Likewise.
8239         (catan_test): Likewise.
8240         (catanh_test): Likewise.
8241         (cbrt_test): Use END macro without arguments.
8242         (ccos_test): Use END_COMPLEX macro without arguments.
8243         (ccosh_test): Likewise.
8244         (ceil_test): Use END macro without arguments.
8245         (cexp_test): Use END_COMPLEX macro without arguments.
8246         (cimag_test): Use END macro without arguments.
8247         (clog_test): Use END_COMPLEX macro without arguments.
8248         (clog10_test): Likewise.
8249         (conj_test): Likewise.
8250         (copysign_test): Use END macro without arguments.
8251         (cos_test): Likewise.
8252         (cos_test_tonearest): Likewise.
8253         (cos_test_towardzero): Likewise.
8254         (cos_test_downward): Likewise.
8255         (cos_test_upward): Likewise.
8256         (cosh_test): Likewise.
8257         (cosh_test_tonearest): Likewise.
8258         (cosh_test_towardzero): Likewise.
8259         (cosh_test_downward): Likewise.
8260         (cosh_test_upward): Likewise.
8261         (cpow_test): Use END_COMPLEX macro without arguments.
8262         (cproj_test): Likewise.
8263         (creal_test): Use END macro without arguments.
8264         (csin_test): Use END_COMPLEX macro without arguments.
8265         (csinh_test): Likewise.
8266         (csqrt_test): Likewise.
8267         (ctan_test): Likewise.
8268         (ctan_test_tonearest): Likewise.
8269         (ctan_test_towardzero): Likewise.
8270         (ctan_test_downward): Likewise.
8271         (ctan_test_upward): Likewise.
8272         (ctanh_test): Likewise.
8273         (ctanh_test_tonearest): Likewise.
8274         (ctanh_test_towardzero): Likewise.
8275         (ctanh_test_downward): Likewise.
8276         (ctanh_test_upward): Likewise.
8277         (erf_test): Use END macro without arguments.
8278         (erfc_test): Likewise.
8279         (exp_test): Likewise.
8280         (exp_test_tonearest): Likewise.
8281         (exp_test_towardzero): Likewise.
8282         (exp_test_downward): Likewise.
8283         (exp_test_upward): Likewise.
8284         (exp10_test): Likewise.
8285         (exp2_test): Likewise.
8286         (expm1_test): Likewise.
8287         (fabs_test): Likewise.
8288         (fdim_test): Likewise.
8289         (finite_test): Likewise.
8290         (floor_test): Likewise.
8291         (fma_test): Likewise.
8292         (fma_test_towardzero): Likewise.
8293         (fma_test_downward): Likewise.
8294         (fma_test_upward): Likewise.
8295         (fmax_test): Likewise.
8296         (fmin_test): Likewise.
8297         (fmod_test): Likewise.
8298         (fpclassify_test): Likewise.
8299         (frexp_test): Likewise.
8300         (gamma_test): Likewise.
8301         (hypot_test): Likewise.
8302         (ilogb_test): Likewise.
8303         (isfinite_test): Likewise.
8304         (isgreater_test): Likewise.
8305         (isgreaterequal_test): Likewise.
8306         (isinf_test): Likewise.
8307         (isless_test): Likewise.
8308         (islessequal_test): Likewise.
8309         (islessgreater_test): Likewise.
8310         (isnan_test): Likewise.
8311         (isnormal_test): Likewise.
8312         (issignaling_test): Likewise.
8313         (isunordered_test): Likewise.
8314         (j0_test): Likewise.
8315         (j1_test): Likewise.
8316         (jn_test): Likewise.
8317         (ldexp_test): Likewise.
8318         (lgamma_test): Likewise.
8319         (lrint_test): Likewise.
8320         (lrint_test_tonearest): Likewise.
8321         (lrint_test_towardzero): Likewise.
8322         (lrint_test_downward): Likewise.
8323         (lrint_test_upward): Likewise.
8324         (llrint_test): Likewise.
8325         (llrint_test_tonearest): Likewise.
8326         (llrint_test_towardzero): Likewise.
8327         (llrint_test_downward): Likewise.
8328         (llrint_test_upward): Likewise.
8329         (log_test): Likewise.
8330         (log10_test): Likewise.
8331         (log1p_test): Likewise.
8332         (log2_test): Likewise.
8333         (logb_test): Likewise.
8334         (logb_test_downward): Likewise.
8335         (lround_test): Likewise.
8336         (llround_test): Likewise.
8337         (modf_test): Likewise.
8338         (nearbyint_test): Likewise.
8339         (nextafter_test): Likewise.
8340         (nexttoward_test): Likewise.
8341         (pow_test): Likewise.
8342         (pow_test_tonearest): Likewise.
8343         (pow_test_towardzero): Likewise.
8344         (pow_test_downward): Likewise.
8345         (pow_test_upward): Likewise.
8346         (remainder_test): Likewise.
8347         (remainder_test_tonearest): Likewise.
8348         (remainder_test_towardzero): Likewise.
8349         (remainder_test_downward): Likewise.
8350         (remainder_test_upward): Likewise.
8351         (remquo_test): Likewise.
8352         (rint_test): Likewise.
8353         (rint_test_tonearest): Likewise.
8354         (rint_test_towardzero): Likewise.
8355         (rint_test_downward): Likewise.
8356         (rint_test_upward): Likewise.
8357         (round_test): Likewise.
8358         (scalb_test): Likewise.
8359         (scalbn_test): Likewise.
8360         (scalbln_test): Likewise.
8361         (signbit_test): Likewise.
8362         (sin_test): Likewise.
8363         (sin_test_tonearest): Likewise.
8364         (sin_test_towardzero): Likewise.
8365         (sin_test_downward): Likewise.
8366         (sin_test_upward): Likewise.
8367         (sincos_test): Likewise.
8368         (sinh_test): Likewise.
8369         (sinh_test_tonearest): Likewise.
8370         (sinh_test_towardzero): Likewise.
8371         (sinh_test_downward): Likewise.
8372         (sinh_test_upward): Likewise.
8373         (sqrt_test): Likewise.
8374         (tan_test): Likewise.
8375         (tan_test_tonearest): Likewise.
8376         (tan_test_towardzero): Likewise.
8377         (tan_test_downward): Likewise.
8378         (tan_test_upward): Likewise.
8379         (tanh_test): Likewise.
8380         (tgamma_test): Likewise.
8381         (trunc_test): Likewise.
8382         (y0_test): Likewise.
8383         (y1_test): Likewise.
8384         (yn_test): Likewise.
8385         (significand_test): Likewise.
8387 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8389         [BZ #15381]
8390         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8392 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8394         [BZ #14894]
8395         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8396         __ppc_mdoio and __ppc_mdoom.
8397         * manual/platform.texi: Document new functions __ppc_yield,
8398         __ppc_mdoio and __ppc_mdoom.
8400 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8402         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8403         (main): Mention "tls" pseudo-hwcap is legacy.
8404         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8406 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8408         * math/gen-libm-test.pl (parse_args): Output only string of
8409         arguments as text for test name, not full call or descriptions of
8410         tests for extra outputs.
8411         (generate_testfile): Do not pass function name to parse_args.
8412         Generate this_func variable from START.
8413         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8414         field to arg_str.
8415         (struct test_ff_f_data): Likewise.
8416         (test_ff_f_data_nexttoward): Likewise.
8417         (struct test_fi_f_data): Likewise.
8418         (struct test_fl_f_data): Likewise.
8419         (struct test_if_f_data): Likewise.
8420         (struct test_fff_f_data): Likewise.
8421         (struct test_c_f_data): Likewise.
8422         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8423         (struct test_fF_f1_data): Likewise.
8424         (struct test_ffI_f1_data): Likewise.
8425         (struct test_c_c_data): Rename test_name field to arg_str.
8426         (struct test_cc_c_data): Likewise.
8427         (struct test_f_i_data): Likewise.
8428         (struct test_ff_i_data): Likewise.
8429         (struct test_f_l_data): Likewise.
8430         (struct test_f_L_data): Likewise.
8431         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8432         and extra2_name.
8433         (COMMON_TEST_SETUP): New macro.
8434         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8435         (COMMON_TEST_CLEANUP): Likewise.
8436         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8437         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8438         macros.
8439         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8440         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8441         macros.
8442         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8443         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8444         cleanup macros.
8445         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8446         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8447         macros.
8448         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8449         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8450         macros.
8451         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8452         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8453         cleanup macros.
8454         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8455         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8456         cleanup macros.
8457         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8458         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8459         cleanup macros.
8460         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8461         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8462         macros.
8463         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8464         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8465         macros.
8466         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8467         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8468         macros.
8469         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8470         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8471         cleanup macros.
8472         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8473         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8474         cleanup macros.
8475         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8476         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8477         macros.
8478         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8479         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8480         cleanup macros.
8481         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8482         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8483         macros.
8484         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8485         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8486         macros.
8487         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8488         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8489         cleanup macros.
8490         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8492 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8494         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8495         to _sifields.sigfault.
8496         (si_addr_lsb): Define new macro.
8497         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8499         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8501 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8503         [BZ #15441]
8504         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8505         returns -1.
8506         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8507         null return -1.
8508         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8509         loading the domain.
8511 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8513         * math/gen-libm-test.pl (parse_args): Do not include expected
8514         result in test name.
8515         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8517         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8518         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8519         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8524         * benchtests/Makefile: Sort function entries.
8526         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8527         tanh, asinh, acosh, atanh.
8528         * benchtests/acos-inputs: New file.
8529         * benchtests/acosh-inputs: New file.
8530         * benchtests/asin-inputs: New file.
8531         * benchtests/asinh-inputs: New file.
8532         * benchtests/atanh-inputs: New file.
8533         * benchtests/cosh-inputs: New file.
8534         * benchtests/log-inputs: New file.
8535         * benchtests/sinh-inputs: New file.
8536         * benchtests/tanh-inputs: New file.
8538 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8540         [BZ #15339]
8541         * posix/tst-getaddrinfo4.c: New test.
8542         * posix/Makefile (tests): Add it.
8544 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8546         [BZ #15339]
8547         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8548         when no services were used.
8549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8550         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8552 2013-05-21  Andreas Schwab  <schwab@suse.de>
8554         [BZ #15014]
8555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8556         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8557         successful.
8558         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8559         redundant variable declarations and reallocation of buffer when
8560         parsing as IPv6 address.  Always set NSS status when called from
8561         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8562         buffer too small.  Correct computation of needed size.
8563         * nss/Makefile (tests): Add test-digits-dots.
8564         * nss/test-digits-dots.c: New test.
8566 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8568         * benchtests/Makefile: Remove instructions for adding
8569         benchmark tests.
8570         * benchtests/README: New file to explain how to execute and
8571         enhance the benchmark tests.
8573 2013-05-21  Andreas Schwab  <schwab@suse.de>
8575         [BZ #15493]
8576         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8577         * setjmp/tst-sigsetjmp.c: New test.
8579 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8581         * sysdeps/x86_64/memset.S (memset): New implementation.
8582         (__bzero): Likewise.
8583         (__memset_tail): New function.
8585 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8587         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8588         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8589         __memcpy_sse2_unaligned ifunc selection.
8590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8591         Add memcpy-sse2-unaligned.S.
8592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8593         Add: __memcpy_sse2_unaligned.
8595 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8597         [BZ #15490]
8598         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8599         math_force_eval before restoring floating-point envrionment.
8600         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8601         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8602         Likewise.
8603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8604         <math_private.h>.
8605         (__nearbyintl): Use math_force_eval before restoring
8606         floating-point environment.
8607         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8609         * math/gen-libm-test.pl (special_functions): Remove.
8610         (parse_args): Don't handle TEST_extra.  Handle functions with no
8611         return value.
8612         * math/libm-test.inc (struct test_sincos_data): Replace with
8613         struct test_fFF_11_data.
8614         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8615         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8616         (sincos_test_data): Change element type to struct
8617         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8618         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8619         RUN_TEST_LOOP_sincos.
8620         * math/README.libm-test: Don't mention special handling of
8621         individual functions.
8622         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8626         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8629         * math/gen-libm-test.pl (get_variable): Remove function.
8630         (parse_args): Don't show pointer parameters to call in test
8631         names.  Use "extra output N" in test names for extra outputs
8632         rather than naming variables.
8634 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8636         [BZ #15488]
8637         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8638         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8639         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8640         double tests.
8641         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8642         disable.
8643         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8644         check_long_double.
8646         * math/gen-libm-test.pl (@tests): Remove variable.
8647         ($count): Likewise.
8648         (new_test): Remove function.
8649         (show_exceptions): New function.
8650         (special_functions): Use show_exceptions instead of new_test.
8651         (parse_args): Likewise.
8652         (generate_testfile): Pass only function name in generated call to
8653         print_max_error or print_complex_max_error.
8654         (get_ulps): Do not handle complex tests specially.
8655         (output_test): Rename to ...
8656         (get_all_ulps_for_test): ... this.  Return a string rather than
8657         printing to a file.  Require ulps to be present.
8658         (output_ulps): Generate arrays rather than #defines.
8659         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8660         (struct ulp_data): New type.
8661         (BUILD_COMPLEX_ULP): Remove macro.
8662         (compare_ulp_data): New function.
8663         (find_ulps): Likewise.
8664         (find_test_ulps): Likewise.
8665         (find_function_ulps): Likewise.
8666         (find_complex_function_ulps): Likewise.
8667         (print_max_error): Determine allowed ulps using
8668         find_function_ulps.
8669         (print_complex_max_error): Determine allowed ulps using
8670         find_complex_function_ulps.
8671         (check_float_internal): Determine max ulps using find_test_ulps.
8672         (check_float): Do not take max_ulp parameter.  Update call to
8673         check_float_internal.
8674         (check_complex): Likewise.
8675         (check_int): Do not take max_ulp parameter.
8676         (check_long): Likewise.
8677         (check_bool): Likewise.
8678         (check_longlong): Likewise.
8679         (struct test_f_f_data): Remove max_ulp field.
8680         (struct test_ff_f_data): Likewise.
8681         (struct test_ff_f_data_nexttoward): Likewise.
8682         (struct test_fi_f_data): Likewise.
8683         (struct test_fl_f_data): Likewise.
8684         (struct test_if_f_data): Likewise.
8685         (struct test_fff_f_data): Likewise.
8686         (struct test_c_f_data): Likewise.
8687         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8688         (struct test_fF_f1_data): Likewise.
8689         (struct test_ffI_f1_data): Likewise.
8690         (struct test_c_c_data): Remove max_ulp field.
8691         (struct test_cc_c_data): Likewise.
8692         (struct test_f_i_data): Likewise.
8693         (struct test_ff_i_data): Likewise.
8694         (struct test_f_l_data): Likewise.
8695         (struct test_f_L_data): Likewise.
8696         (struct test_sincos_data): Likewise.
8697         (RUN_TEST_f_f): Do not handle ulps.
8698         (RUN_TEST_LOOP_f_f): Likewise.
8699         (RUN_TEST_2_f): Likewise.
8700         (RUN_TEST_LOOP_2_f): Likewise.
8701         (RUN_TEST_fff_f): Likewise.
8702         (RUN_TEST_LOOP_fff_f): Likewise.
8703         (RUN_TEST_c_f): Likewise.
8704         (RUN_TEST_LOOP_c_f): Likewise.
8705         (RUN_TEST_f_f1): Likewise.
8706         (RUN_TEST_LOOP_f_f1): Likewise.
8707         (RUN_TEST_fF_f1): Likewise.
8708         (RUN_TEST_LOOP_fF_f1): Likewise.
8709         (RUN_TEST_fI_f1): Likewise.
8710         (RUN_TEST_LOOP_fI_f1): Likewise.
8711         (RUN_TEST_ffI_f1): Likewise.
8712         (RUN_TEST_LOOP_ffI_f1): Likewise.
8713         (RUN_TEST_c_c): Likewise.
8714         (RUN_TEST_LOOP_c_c): Likewise.
8715         (RUN_TEST_cc_c): Likewise.
8716         (RUN_TEST_LOOP_cc_c): Likewise.
8717         (RUN_TEST_f_i): Likewise.
8718         (RUN_TEST_LOOP_f_i): Likewise.
8719         (RUN_TEST_f_i_tg): Likewise.
8720         (RUN_TEST_LOOP_f_i_tg): Likewise.
8721         (RUN_TEST_ff_i_tg): Likewise.
8722         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8723         (RUN_TEST_f_b): Likewise.
8724         (RUN_TEST_LOOP_f_b): Likewise.
8725         (RUN_TEST_f_b_tg): Likewise.
8726         (RUN_TEST_LOOP_f_b_tg): Likewise.
8727         (RUN_TEST_f_l): Likewise.
8728         (RUN_TEST_LOOP_f_l): Likewise.
8729         (RUN_TEST_f_L): Likewise.
8730         (RUN_TEST_LOOP_f_L): Likewise.
8731         (RUN_TEST_sincos): Likewise.
8732         (RUN_TEST_LOOP_sincos): Likewise.
8734 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8736         [BZ #15480]
8737         [BZ #15485]
8738         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8739         main case of finite arguments, set rounding mode to FE_TONEAREST
8740         and discard exceptions.
8741         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8742         exceptions.
8743         (remainder_tonearest_test_data): New variable.
8744         (remainder_test_tonearest): New function.
8745         (remainder_towardzero_test_data): New variable.
8746         (remainder_test_towardzero): New function.
8747         (remainder_downward_test_data): New variable.
8748         (remainder_test_downward): New function.
8749         (remainder_upward_test_data): New variable.
8750         (remainder_test_upward): New function.
8751         (main): Call the new test functions.
8753         * math/libm-test.inc (struct test_f_f1_data): Remove field
8754         extra_init.
8755         (struct test_fF_f1_data): Likewise.
8756         (struct test_ffI_f1_data): Likewise.
8757         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8758         based on value of EXTRA_EXPECTED.
8759         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8760         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8761         EXTRA_VAR based on value of EXTRA_EXPECTED.
8762         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8763         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8764         EXTRA_VAR based on value of EXTRA_EXPECTED.
8765         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8766         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8767         EXTRA_VAR based on value of EXTRA_EXPECTED.
8768         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8769         * math/gen-libm-test.pl (parse_args): Don't output initializers
8770         for extra output values.
8772         * math/libm-test.inc (check_int): Expect result to be exactly
8773         equal to expected value and do not handle ulps.
8774         (check_long): Likewise.
8775         (check_longlong): Likewise.
8777         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8778         exceptions.
8779         (cimag_test_data): Likewise.
8780         (conj_test_data): Likewise.
8781         (copysign_test_data): Likewise.
8782         (cproj_test_data): Likewise.
8783         (creal_test_data): Likewise.
8784         (fabs_test_data): Likewise.
8785         (fdim_test_data): Likewise.
8786         (finite_test_data): Likewise.
8787         (floor_test_data): Likewise.
8788         (fmax_test_data): Likewise.
8789         (fmin_test_data): Likewise.
8790         (fmod_test_data): Likewise.
8791         (fpclassify_test_data): Likewise.
8792         (frexp_test_data): Likewise.
8793         (ilogb_test_data): Likewise.
8794         (isfinite_test_data): Likewise.
8795         (isgreater_test_data): Likewise.
8796         (isgreaterequal_test_data): Likewise.
8797         (isinf_test_data): Likewise.
8798         (isless_test_data): Likewise.
8799         (islessequal_test_data): Likewise.
8800         (islessgreater_test_data): Likewise.
8801         (isnan_test_data): Likewise.
8802         (isnormal_test_data): Likewise.
8803         (issignaling_test_data): Likewise.
8804         (isunordered_test_data): Likewise.
8805         (ldexp_test_data): Likewise.
8806         (lrint_test_data): Likewise.
8807         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8808         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8809         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8810         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8811         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8812         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8813         test input.
8814         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8815         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8816         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8817         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8818         that test input.
8819         (lrint_downward_test_data): Test for "inexact" exceptions.
8820         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8821         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8822         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8823         test input.
8824         (lrint_upward_test_data): Test for "inexact" exceptions.
8825         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8826         test input.
8827         (llrint_test_data): Test for "inexact" exceptions.
8828         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8829         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8830         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8831         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8832         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8833         (llrint_downward_test_data): Test for "inexact" exceptions.
8834         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8835         (llrint_upward_test_data): Test for "inexact" exceptions.
8836         (logb_test_data): Likewise.
8837         (logb_downward_test_data): Likewise.
8838         (nextafter_test_data): Likewise.
8839         (nexttoward_test_data): Likewise.
8840         (remainder_test_data): Likewise.
8841         (remquo_test_data): Likewise.
8842         (scalbn_test_data): Likewise.
8843         (scalbln_test_data): Likewise.
8844         (signbit_test_data): Likewise.
8845         (sqrt_test_data): Likewise.
8846         (significand_test_data): Likewise.
8848 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8850         [BZ #15424]
8851         * benchtests/bench-modf.c (struct args): Mark arg0 as
8852         volatile.
8853         * scripts/bench.pl: Mark members of struct args as volatile.
8855 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8857         [BZ # 15497]
8858         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8859         negative infinity on POWER6 or lower.
8860         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8862 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8864         [BZ #15442]
8865         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8866         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8867         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8868         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8869         (_FP_SETQNAN): New macro.
8870         (_FP_SETQNAN_SEMIRAW): Likewise.
8871         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8872         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8873         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8874         (FP_EXTEND): Use _FP_FRAC_SNANP.
8875         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8876         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8877         into account.
8878         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8879         New macro.
8880         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8881         Likewise.
8883 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8885         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8886         with DIVIDE_BY_ZERO_EXCEPTION.
8887         (gamma_test_data): Likewise.
8888         (lgamma_test_data): Likewise.
8889         (log_test_data): Likewise.
8890         (log10_test_data): Likewise.
8891         (log2_test_data): Likewise.
8892         (tgamma_test_data): Likewise.
8894         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8895         (acos_test_tonearest): Likewise.
8896         (acos_test_towardzero): Likewise.
8897         (acos_test_downward): Likewise.
8898         (acos_test_upward): Likewise.
8899         (acosh_test): Likewise.
8900         (asin_test): Likewise.
8901         (asin_test_tonearest): Likewise.
8902         (asin_test_towardzero): Likewise.
8903         (asin_test_downward): Likewise.
8904         (asin_test_upward): Likewise.
8905         (asinh_test): Likewise.
8906         (atan_test): Likewise.
8907         (atanh_test): Likewise.
8908         (atan2_test): Likewise.
8909         (cabs_test): Likewise.
8910         (cacos_test): Likewise.
8911         (cacosh_test): Likewise.
8912         (casin_test): Likewise.
8913         (casinh_test): Likewise.
8914         (catan_test): Likewise.
8915         (catanh_test): Likewise.
8916         (cbrt_test): Likewise.
8917         (ccos_test): Likewise.
8918         (ccosh_test): Likewise.
8919         (cexp_test): Likewise.
8920         (clog_test): Likewise.
8921         (clog10_test): Likewise.
8922         (cos_test): Likewise.
8923         (cos_test_tonearest): Likewise.
8924         (cos_test_towardzero): Likewise.
8925         (cos_test_downward): Likewise.
8926         (cos_test_upward): Likewise.
8927         (cosh_test): Likewise.
8928         (cosh_test_tonearest): Likewise.
8929         (cosh_test_towardzero): Likewise.
8930         (cosh_test_downward): Likewise.
8931         (cosh_test_upward): Likewise.
8932         (cpow_test): Likewise.
8933         (csin_test): Likewise.
8934         (csinh_test): Likewise.
8935         (csqrt_test): Likewise.
8936         (ctan_test): Likewise.
8937         (ctan_test_tonearest): Likewise.
8938         (ctan_test_towardzero): Likewise.
8939         (ctan_test_downward): Likewise.
8940         (ctan_test_upward): Likewise.
8941         (ctanh_test): Likewise.
8942         (ctanh_test_tonearest): Likewise.
8943         (ctanh_test_towardzero): Likewise.
8944         (ctanh_test_downward): Likewise.
8945         (ctanh_test_upward): Likewise.
8946         (erf_test): Likewise.
8947         (erfc_test): Likewise.
8948         (exp_test): Likewise.
8949         (exp_test_tonearest): Likewise.
8950         (exp_test_towardzero): Likewise.
8951         (exp_test_downward): Likewise.
8952         (exp_test_upward): Likewise.
8953         (exp10_test): Likewise.
8954         (exp2_test): Likewise.
8955         (expm1_test): Likewise.
8956         (fmod_test): Likewise.
8957         (gamma_test): Likewise.
8958         (hypot_test): Likewise.
8959         (j0_test): Likewise.
8960         (j1_test): Likewise.
8961         (jn_test): Likewise.
8962         (lgamma_test): Likewise.
8963         (log_test): Likewise.
8964         (log10_test): Likewise.
8965         (log1p_test): Likewise.
8966         (log2_test): Likewise.
8967         (logb_test_downward): Likewise.
8968         (pow_test): Likewise.
8969         (pow_test_tonearest): Likewise.
8970         (pow_test_towardzero): Likewise.
8971         (pow_test_downward): Likewise.
8972         (pow_test_upward): Likewise.
8973         (remainder_test): Likewise.
8974         (remquo_test): Likewise.
8975         (sin_test): Likewise.
8976         (sin_test_tonearest): Likewise.
8977         (sin_test_towardzero): Likewise.
8978         (sin_test_downward): Likewise.
8979         (sin_test_upward): Likewise.
8980         (sincos_test): Likewise.
8981         (sinh_test): Likewise.
8982         (sinh_test_tonearest): Likewise.
8983         (sinh_test_towardzero): Likewise.
8984         (sinh_test_downward): Likewise.
8985         (sinh_test_upward): Likewise.
8986         (sqrt_test): Likewise.
8987         (tan_test): Likewise.
8988         (tan_test_tonearest): Likewise.
8989         (tan_test_towardzero): Likewise.
8990         (tan_test_downward): Likewise.
8991         (tan_test_upward): Likewise.
8992         (tanh_test): Likewise.
8993         (tgamma_test): Likewise.
8994         (y0_test): Likewise.
8995         (y1_test): Likewise.
8996         (yn_test): Likewise.
8998         * math/gen-libm-test.pl (adjust_arg): Remove function.
8999         (special_function): Remove argument $in_func.  Only handle
9000         generating output for tables of tests, not inside functions.
9001         (parse_args): Likewise.
9002         (generate_testfile): Remove variable $in_func.  Update call to
9003         parse_args.
9004         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9005         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9006         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9007         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9008         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9009         (MAX_VALUE_INIT): Rename macro to max_value.
9010         (MIN_VALUE_INIT): Rename macro to min_value.
9011         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9012         (plus_zero): Remove variable.
9013         (minus_zero): Likewise.
9014         (plus_infty): Likewise.
9015         (minus_infty): Likewise.
9016         (qnan_value): Likewise.
9017         (max_value): Likewise.
9018         (min_value): Likewise.
9019         (min_subnorm_value): Likewise.
9021 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9023         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9024         uint64_t or uint32_t usage.
9025         * crypt/sha256-block.c: Likewise.
9026         * crypt/sha256-crypt.c: Likewise.
9027         * crypt/sha256.c: Likewise.
9028         * crypt/sha512-block.c: Likewise.
9029         * crypt/sha512-crypt.c: Likewise.
9030         * crypt/sha512.c: Likewise.
9031         * debug/backtrace-tst.c: Likewise.
9032         * debug/pcprofiledump.c: Likewise.
9033         * elf/cache.c: Likewise.
9034         * elf/dl-cache.c: Likewise.
9035         * elf/dl-misc.c: Likewise.
9036         * elf/dl-profile.c: Likewise.
9037         * elf/dl-support.c: Likewise.
9038         * elf/ldconfig.c: Likewise.
9039         * elf/sprof.c: Likewise.
9040         * iconv/dummy-repertoire.c: Likewise.
9041         * iconv/iconv_charmap.c: Likewise.
9042         * iconv/skeleton.c: Likewise.
9043         * iconvdata/8bit-generic.c: Likewise.
9044         * iconvdata/cp737.h: Likewise.
9045         * iconvdata/cp775.h: Likewise.
9046         * iconvdata/ibm1008.h: Likewise.
9047         * iconvdata/ibm1025.h: Likewise.
9048         * iconvdata/ibm1046.h: Likewise.
9049         * iconvdata/ibm1097.h: Likewise.
9050         * iconvdata/ibm1112.h: Likewise.
9051         * iconvdata/ibm1122.h: Likewise.
9052         * iconvdata/ibm1123.h: Likewise.
9053         * iconvdata/ibm1124.h: Likewise.
9054         * iconvdata/ibm1129.h: Likewise.
9055         * iconvdata/ibm1130.h: Likewise.
9056         * iconvdata/ibm1132.h: Likewise.
9057         * iconvdata/ibm1133.h: Likewise.
9058         * iconvdata/ibm1137.h: Likewise.
9059         * iconvdata/ibm1140.h: Likewise.
9060         * iconvdata/ibm1141.h: Likewise.
9061         * iconvdata/ibm1142.h: Likewise.
9062         * iconvdata/ibm1143.h: Likewise.
9063         * iconvdata/ibm1144.h: Likewise.
9064         * iconvdata/ibm1145.h: Likewise.
9065         * iconvdata/ibm1146.h: Likewise.
9066         * iconvdata/ibm1147.h: Likewise.
9067         * iconvdata/ibm1148.h: Likewise.
9068         * iconvdata/ibm1149.h: Likewise.
9069         * iconvdata/ibm1153.h: Likewise.
9070         * iconvdata/ibm1154.h: Likewise.
9071         * iconvdata/ibm1155.h: Likewise.
9072         * iconvdata/ibm1156.h: Likewise.
9073         * iconvdata/ibm1157.h: Likewise.
9074         * iconvdata/ibm1158.h: Likewise.
9075         * iconvdata/ibm1160.h: Likewise.
9076         * iconvdata/ibm1161.h: Likewise.
9077         * iconvdata/ibm1162.h: Likewise.
9078         * iconvdata/ibm1163.h: Likewise.
9079         * iconvdata/ibm1164.h: Likewise.
9080         * iconvdata/ibm1166.h: Likewise.
9081         * iconvdata/ibm1167.h: Likewise.
9082         * iconvdata/ibm12712.h: Likewise.
9083         * iconvdata/ibm1390.h: Likewise.
9084         * iconvdata/ibm1399.h: Likewise.
9085         * iconvdata/ibm16804.h: Likewise.
9086         * iconvdata/ibm4517.h: Likewise.
9087         * iconvdata/ibm4899.h: Likewise.
9088         * iconvdata/ibm4909.h: Likewise.
9089         * iconvdata/ibm4971.h: Likewise.
9090         * iconvdata/ibm5347.h: Likewise.
9091         * iconvdata/ibm803.h: Likewise.
9092         * iconvdata/ibm856.h: Likewise.
9093         * iconvdata/ibm901.h: Likewise.
9094         * iconvdata/ibm902.h: Likewise.
9095         * iconvdata/ibm9030.h: Likewise.
9096         * iconvdata/ibm9066.h: Likewise.
9097         * iconvdata/ibm921.h: Likewise.
9098         * iconvdata/ibm922.h: Likewise.
9099         * iconvdata/ibm9448.h: Likewise.
9100         * iconvdata/isiri-3342.h: Likewise.
9101         * iconvdata/jis0201.h: Likewise.
9102         * include/link.h: Likewise.
9103         * include/netdb.h: Likewise.
9104         * inet/check_native.c: Likewise.
9105         * inet/check_pf.c: Likewise.
9106         * inet/getipv4sourcefilter.c: Likewise.
9107         * inet/getnameinfo.c: Likewise.
9108         * inet/getsourcefilter.c: Likewise.
9109         * inet/htonl.c: Likewise.
9110         * inet/setipv4sourcefilter.c: Likewise.
9111         * inet/setsourcefilter.c: Likewise.
9112         * inet/test-inet6_opt.c: Likewise.
9113         * inet/tst-network.c: Likewise.
9114         * locale/C-collate.c: Likewise.
9115         * locale/C-ctype.c: Likewise.
9116         * locale/C-time.c: Likewise.
9117         * locale/C-translit.h: Likewise.
9118         * locale/loadarchive.c: Likewise.
9119         * locale/programs/3level.h: Likewise.
9120         * locale/programs/charmap.c: Likewise.
9121         * locale/programs/charmap.h: Likewise.
9122         * locale/programs/ld-address.c: Likewise.
9123         * locale/programs/ld-collate.c: Likewise.
9124         * locale/programs/ld-ctype.c: Likewise.
9125         * locale/programs/ld-identification.c: Likewise.
9126         * locale/programs/ld-measurement.c: Likewise.
9127         * locale/programs/ld-messages.c: Likewise.
9128         * locale/programs/ld-monetary.c: Likewise.
9129         * locale/programs/ld-name.c: Likewise.
9130         * locale/programs/ld-numeric.c: Likewise.
9131         * locale/programs/ld-paper.c: Likewise.
9132         * locale/programs/ld-telephone.c: Likewise.
9133         * locale/programs/ld-time.c: Likewise.
9134         * locale/programs/linereader.c: Likewise.
9135         * locale/programs/locale.c: Likewise.
9136         * locale/programs/locarchive.c: Likewise.
9137         * locale/programs/locfile.h: Likewise.
9138         * locale/programs/repertoire.c: Likewise.
9139         * locale/programs/simple-hash.c: Likewise.
9140         * locale/programs/simple-hash.h: Likewise.
9141         * malloc/memusage.c: Likewise.
9142         * malloc/memusagestat.c: Likewise.
9143         * nis/nis_defaults.c: Likewise.
9144         * nis/nis_hash.c: Likewise.
9145         * nis/nis_print.c: Likewise.
9146         * nis/nis_xdr.c: Likewise.
9147         * nscd/connections.c: Likewise.
9148         * nscd/hstcache.c: Likewise.
9149         * nscd/nscd_gethst_r.c: Likewise.
9150         * nscd/nscd_getserv_r.c: Likewise.
9151         * nscd/nscd_helper.c: Likewise.
9152         * nscd/servicescache.c: Likewise.
9153         * nss/makedb.c: Likewise.
9154         * nss/nss_db/db-XXX.c: Likewise.
9155         * nss/nss_db/db-initgroups.c: Likewise.
9156         * nss/nss_db/db-netgrp.c: Likewise.
9157         * nss/nss_files/files-network.c: Likewise.
9158         * nss/nss_files/files-parse.c: Likewise.
9159         * posix/bug-regex5.c: Likewise.
9160         * posix/fnmatch_loop.c: Likewise.
9161         * posix/regcomp.c: Likewise.
9162         * posix/regexec.c: Likewise.
9163         * posix/tst-rfc3484-2.c: Likewise.
9164         * posix/tst-rfc3484-3.c: Likewise.
9165         * posix/tst-rfc3484.c: Likewise.
9166         * resolv/nss_dns/dns-canon.c: Likewise.
9167         * resolv/nss_dns/dns-network.c: Likewise.
9168         * resolv/res_init.c: Likewise.
9169         * resolv/res_mkquery.c: Likewise.
9170         * resolv/tst-aton.c: Likewise.
9171         * stdlib/cxa_atexit.c: Likewise.
9172         * stdlib/cxa_finalize.c: Likewise.
9173         * stdlib/gen-fpioconst.c: Likewise.
9174         * stdlib/strtol_l.c: Likewise.
9175         * string/tst-endian.c: Likewise.
9176         * sunrpc/auth_des.c: Likewise.
9177         * sunrpc/clnt_udp.c: Likewise.
9178         * sunrpc/rtime.c: Likewise.
9179         * sunrpc/svcauth_des.c: Likewise.
9180         * sunrpc/xdr.c: Likewise.
9181         * sunrpc/xdr_intXX_t.c: Likewise.
9182         * sunrpc/xdr_rec.c: Likewise.
9183         * sysdeps/generic/ldconfig.h: Likewise.
9184         * sysdeps/generic/ldsodefs.h: Likewise.
9185         * sysdeps/generic/memusage.h: Likewise.
9186         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9188         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9189         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9190         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9192         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9194         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9196         * sysdeps/posix/getaddrinfo.c: Likewise.
9197         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9198         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9199         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9200         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9201         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9202         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9203         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9204         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9205         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9206         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9207         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9208         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9209         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9210         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9211         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9212         * sysdeps/x86_64/dl-tls.h: Likewise.
9213         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9214         * time/alt_digit.c: Likewise.
9215         * time/era.c: Likewise.
9216         * wcsmbs/tst-c16c32-1.c: Likewise.
9218 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9220         * math/libm-test.inc (struct test_sincos_data): New type.
9221         (RUN_TEST_LOOP_sincos): New macro.
9222         (sincos_test_data): New variable.
9223         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9225 2013-05-16  Richard Henderson  <rth@redhat.com>
9227         * math/atest-exp2.c (LIMB64): New macro.
9228         (CONSTSZ): New macro.
9229         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9230         (hexdig): Move ...
9231         (print_mpn_fp): ... to function scope.
9232         (read_mpn_hex): Remove.
9233         (get_log2): Remove.
9234         (exp2_mpn): Use mp_log2.
9235         (main): Use mp_exp1.
9237 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9239         * math/libm-test.inc: Remove comment about not testing "inexact"
9240         exceptions.
9241         (INEXACT_EXCEPTION): New macro.
9242         (NO_INEXACT_EXCEPTION): Likewise.
9243         (INVALID_EXCEPTION_OK): Update value.
9244         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9245         (OVERFLOW_EXCEPTION_OK): Likewise.
9246         (UNDERFLOW_EXCEPTION_OK): Likewise.
9247         (IGNORE_ZERO_INF_SIGN): Likewise.
9248         (ERRNO_UNCHANGED): Likewise.
9249         (ERRNO_EDOM): Likewise.
9250         (ERRNO_ERANGE): Likewise.
9251         (test_exceptions): Handle testing "inexact" exceptions.
9252         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9253         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9254         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9255         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9256         INEXACT_EXCEPTION.
9257         (rint_towardzero_test_data): Likewise.
9258         (rint_downward_test_data): Likewise.
9259         (rint_upward_test_data): Likewise.
9261         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9262         with OVERFLOW_EXCEPTION.
9263         (exp10_test_data): Likewise.
9264         (exp2_test_data): Likewise.
9265         (expm1_test_data): Likewise.
9266         (lgamma_test_data): Likewise.
9267         (pow_test_data): Likewise.
9268         (tgamma_test_data): Likewise.
9269         (yn_test_data): Remove duplicate test of overflow.
9271         * math/libm-test.inc (struct test_cc_c_data): New type.
9272         (RUN_TEST_LOOP_cc_c): New macro.
9273         (cpow_test_data): New variable.
9274         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9276         * math/libm-test.inc (struct test_f_L_data): New type.
9277         (RUN_TEST_LOOP_f_L): New macro.
9278         (llrint_test_data): New variable.
9279         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9280         (llrint_tonearest_test_data): New variable.
9281         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9282         (llrint_towardzero_test_data): New variable.
9283         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9284         (llrint_downward_test_data): New variable.
9285         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9286         (llrint_upward_test_data): New variable.
9287         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9288         (llround_test_data): New variable.
9289         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9291 2013-05-13  Peter Collingbourne  <pcc@google.com>
9293         * math/atest-exp2.c (get_log2): Remove const attribute.
9295 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9297         * math/libm-test.inc (struct test_f_l_data): New type.
9298         (RUN_TEST_LOOP_f_l): New macro.
9299         (lrint_test_data): New variable.
9300         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9301         (lrint_tonearest_test_data): New variable.
9302         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9303         (lrint_towardzero_test_data): New variable.
9304         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9305         (lrint_downward_test_data): New variable.
9306         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9307         (lrint_upward_test_data): New variable.
9308         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9309         (lround_test_data): New variable.
9310         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9312 2013-05-15  Peter Collingbourne  <pcc@google.com>
9314         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9315         (EXTRACT_WORDS64) Use where appropriate.
9316         (INSERT_WORDS64) Likewise.
9318         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9319         constraints with x constraints.
9320         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9322         * malloc/obstack.c (_obstack_compat): Add initializer.
9324 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9326         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9327         si_trapno and add si_addr_lsb to _sifields.sigfault.
9328         (si_trapno): Remove macro.
9329         (si_addr_lsb): Define new macro.
9330         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9332 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9334         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9335         instead of TEST_f_l.
9336         (llrint_test_tonearest): Likewise.
9337         (llrint_test_towardzero): Likewise.
9338         (llrint_test_downward): Likewise.
9339         (llrint_test_upward): Likewise.
9340         (llround_test): Likewise.
9342         * math/libm-test.inc (struct test_f_i_data): Add comment.
9343         (RUN_TEST_LOOP_f_b): New macro.
9344         (RUN_TEST_LOOP_f_b_tg): Likewise.
9345         (finite_test_data): New variable.
9346         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9347         (isfinite_test_data): New variable.
9348         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9349         (isinf_test_data): New variable.
9350         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9351         (isnan_test_data): New variable.
9352         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9353         (isnormal_test_data): New variable.
9354         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9355         (issignaling_test_data): New variable.
9356         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9357         (signbit_test_data): New variable.
9358         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9360         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9361         with INVALID_EXCEPTION.
9362         (acosh_test_data): Likewise.
9363         (asin_test_data): Likewise.
9364         (atanh_test_data): Likewise.
9365         (fmod_test_data): Likewise.
9366         (log_test_data): Likewise.
9367         (log10_test_data): Likewise.
9368         (log2_test_data): Likewise.
9369         (pow_test_data): Likewise.
9370         (sqrt_test_data): Likewise.
9371         (y0_test_data): Likewise.
9372         (y1_test_data): Likewise.
9373         (yn_test_data): Likewise.
9375         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9376         function contents.
9378         * math/libm-test.inc (struct test_ff_i_data): New type.
9379         (RUN_TEST_LOOP_ff_i_tg): New macro.
9380         (isgreater_test_data): New variable.
9381         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9382         (isgreaterequal_test_data): New variable.
9383         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9384         (isless_test_data): New variable.
9385         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9386         (islessequal_test_data): New variable.
9387         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9388         (islessgreater_test_data): New variable.
9389         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9390         (isunordered_test_data): New variable.
9391         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9393 2013-05-14  David S. Miller  <davem@davemloft.net>
9395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9397 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9399         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9401         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9402         extra_test to int.
9403         (struct test_f_i_data): Change type of max_ulp to int.
9405         * math/libm-test.inc (test_ffI_f1_data): New type.
9406         (RUN_TEST_LOOP_ffI_f1): New macro.
9407         (remquo_test_data): New variable.
9408         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9410         * setjmp/tst-setjmp-fp.c: New file.
9411         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9412         (link-libm): New variable.
9413         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9415         * math/libm-test.inc (struct test_f_i_data): New type.
9416         (RUN_TEST_LOOP_f_i): New macro.
9417         (RUN_TEST_LOOP_f_i_tg): Likewise.
9418         (fpclassify_test_data): New variable.
9419         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9420         (ilogb_test_data): New variable.
9421         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9423         * math/libm-test.inc (scalbln_test): Correct function name in END
9424         call.
9426         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9427         (RUN_TEST_LOOP_fI_f1): New macro.
9428         (frexp_test_data): New variable.
9429         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9431         * math/libm-test.inc (struct test_fF_f1_data): New type.
9432         (RUN_TEST_LOOP_fF_f1): New macro.
9433         (modf_test_data): New variable.
9434         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9436         * math/libm-test.inc (struct test_f_f1_data): New type.
9437         (RUN_TEST_LOOP_f_f1): New macro.
9438         (gamma_test_data): New variable.
9439         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9440         (lgamma_test_data): New variable.
9441         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9443 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9445         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9446         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9447         (main): Comment "tls" pseudo-hwcap.
9449 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9451         * math/libm-test.inc (struct test_fl_f_data): New type.
9452         (RUN_TEST_LOOP_fl_f): New variable.
9453         (scalbln_test_data): New variable.
9454         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9456         * math/libm-test.inc (struct test_fi_f_data): New type.
9457         (RUN_TEST_LOOP_fi_f): New macro.
9458         (ldexp_test_data): New variable.
9459         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9460         (scalbn_test_data): New variable.
9461         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9463         * math/libm-test.inc (struct test_c_f_data): New type.
9464         (RUN_TEST_LOOP_c_f): New macro.
9465         (cabs_test_data): New variable.
9466         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9467         (carg_test_data): New variable.
9468         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9469         (cimag_test_data): New variable.
9470         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9471         (creal_test_data): New variable.
9472         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9474         * math/libm-test.inc (struct test_if_f_data): New type.
9475         (RUN_TEST_LOOP_if_f): New macro.
9476         (jn_test_data): New variable.
9477         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9478         (yn_test_data): New variable.
9479         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9481         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9483 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9485         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9486         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9488 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9490         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9491         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9492         (bench-deps): Add bench-timing.h.
9493         * benchtests-bench-skeleton.c: Include bench-timing.h.
9494         (main): Use TIMING_* macros instead of clock_gettime.
9495         * benchtests/bench-timing.h: New file.
9497         [BZ #14582]
9498         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9499         Renamed from _LIB_VERSION.
9500         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9502 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9504         * math/libm-test.inc (struct test_fff_f_data): New type.
9505         (RUN_TEST_LOOP_fff_f): New macro.
9506         (fma_test_data): New variable.
9507         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9508         (fma_towardzero_test_data): New variable.
9509         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9510         (fma_downward_test_data): New variable.
9511         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9512         (fma_upward_test_data): New variable.
9513         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9515         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9516         (struct test_c_c_data): New type.
9517         (RUN_TEST_LOOP_c_c): New macro.
9518         (cacos_test_data): New variable.
9519         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9520         (cacosh_test_data): New variable.
9521         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9522         (casin_test_data): New variable.
9523         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9524         (casinh_test_data): New variable.
9525         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9526         (catan_test_data): New variable.
9527         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9528         (catanh_test_data): New variable.
9529         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9530         (ccos_test_data): New variable.
9531         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9532         (ccosh_test_data): New variable.
9533         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9534         (cexp_test_data): New variable.
9535         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9536         (clog_test_data): New variable.
9537         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9538         (clog10_test_data): New variable.
9539         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9540         (conj_test_data): New variable.
9541         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9542         (cproj_test_data): New variable.
9543         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9544         (csin_test_data): New variable.
9545         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9546         (csinh_test_data): New variable.
9547         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9548         (csqrt_test_data): New variable.
9549         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9550         (ctan_test_data): New variable.
9551         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9552         (ctan_tonearest_test_data): New variable.
9553         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9554         (ctan_towardzero_test_data): New variable.
9555         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9556         (ctan_downward_test_data): New variable.
9557         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9558         (ctan_upward_test_data): New variable.
9559         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9560         (ctanh_test_data): New variable.
9561         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9562         (ctanh_tonearest_test_data): New variable.
9563         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9564         (ctanh_towardzero_test_data): New variable.
9565         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9566         (ctanh_downward_test_data): New variable.
9567         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9568         (ctanh_upward_test_data): New variable.
9569         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9570         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9571         of BUILD_COMPLEX.
9573         * math/libm-test.inc (struct test_ff_f_data): New type.
9574         (struct test_ff_f_data_nexttoward): Likewise.
9575         (RUN_TEST_LOOP_2_f): New macro.
9576         (RUN_TEST_LOOP_ff_f): Likewise.
9577         (atan2_test_data): New variable.
9578         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9579         (copysign_test_data): New variable.
9580         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9581         (fdim_test_data): New variable.
9582         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9583         (fmax_test_data): New variable.
9584         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9585         (fmin_test_data): New variable.
9586         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9587         (fmod_test_data): New variable.
9588         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9589         (hypot_test_data): New variable.
9590         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9591         (nextafter_test_data): New variable.
9592         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9593         (nexttoward_test_data): New variable.
9594         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9595         (pow_test_data): New variable.
9596         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9597         (pow_tonearest_test_data): New variable.
9598         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9599         (pow_towardzero_test_data): New variable.
9600         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9601         (pow_downward_test_data): New variable.
9602         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9603         (pow_upward_test_data): New variable.
9604         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9605         (remainder_test_data): New variable.
9606         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9607         (scalb_test_data): New variable.
9608         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9609         * sysdeps/i386/fpu/libm-test-ulps: Update.
9611 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9613         * math/libm-test.inc (fma_test): Use max_value instead of local
9614         variable fltmax.
9615         (nextafter_test): Likewise.
9617         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9618         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9619         (acos_downward_test_data): New variable.
9620         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9621         (acos_upward_test_data): New variable.
9622         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9623         (acosh_test_data): New variable.
9624         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9625         (asin_test_data): New variable.
9626         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9627         (asin_tonearest_test_data): New variable.
9628         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9629         (asin_towardzero_test_data): New variable.
9630         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9631         (asin_downward_test_data): New variable.
9632         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9633         (asin_upward_test_data): New variable.
9634         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9635         (asinh_test_data): New variable.
9636         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9637         (atan_test_data): New variable.
9638         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9639         (atanh_test_data): New variable.
9640         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9641         (cbrt_test_data): New variable.
9642         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9643         (ceil_test_data): New variable.
9644         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9645         (cos_test_data): New variable.
9646         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9647         (cos_tonearest_test_data): New variable.
9648         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9649         (cos_towardzero_test_data): New variable.
9650         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9651         (cos_downward_test_data): New variable.
9652         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9653         (cos_upward_test_data): New variable.
9654         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9655         (cosh_test_data): New variable.
9656         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9657         (cosh_tonearest_test_data): New variable.
9658         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9659         (cosh_towardzero_test_data): New variable.
9660         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9661         (cosh_downward_test_data): New variable.
9662         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9663         (cosh_upward_test_data): New variable.
9664         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9665         (erf_test_data): New variable.
9666         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9667         (erfc_test_data): New variable.
9668         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9669         (exp_test_data): New variable.
9670         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9671         (exp_tonearest_test_data): New variable.
9672         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9673         (exp_towardzero_test_data): New variable.
9674         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9675         (exp_downward_test_data): New variable.
9676         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9677         (exp_upward_test_data): New variable.
9678         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9679         (exp10_test_data): New variable.
9680         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9681         (exp2_test_data): New variable.
9682         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9683         (expm1_test_data): New variable.
9684         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9685         (fabs_test_data): New variable.
9686         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9687         (floor_test_data): New variable.
9688         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9689         (j0_test_data): New variable.
9690         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9691         (j1_test_data): New variable.
9692         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9693         (log_test_data): New variable.
9694         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9695         (log10_test_data): New variable.
9696         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9697         (log1p_test_data): New variable.
9698         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9699         (log2_test_data): New variable.
9700         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9701         (logb_test_data): New variable.
9702         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9703         (logb_downward_test_data): New variable.
9704         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9705         (nearbyint_test_data): New variable.
9706         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9707         (rint_test_data): New variable.
9708         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9709         (rint_tonearest_test_data): New variable.
9710         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9711         (rint_towardzero_test_data): New variable.
9712         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9713         (rint_downward_test_data): New variable.
9714         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9715         (rint_upward_test_data): New variable.
9716         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9717         (round_test_data): New variable.
9718         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9719         (sin_test_data): New variable.
9720         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9721         (sin_tonearest_test_data): New variable.
9722         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9723         (sin_towardzero_test_data): New variable.
9724         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9725         (sin_downward_test_data): New variable.
9726         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9727         (sin_upward_test_data): New variable.
9728         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9729         (sinh_test_data): New variable.
9730         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9731         (sinh_tonearest_test_data): New variable.
9732         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9733         (sinh_towardzero_test_data): New variable.
9734         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9735         (sinh_downward_test_data): New variable.
9736         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9737         (sinh_upward_test_data): New variable.
9738         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9739         (sqrt_test_data): New variable.
9740         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9741         (tan_test_data): New variable.
9742         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9743         (tan_tonearest_test_data): New variable.
9744         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9745         (tan_towardzero_test_data): New variable.
9746         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9747         (tan_downward_test_data): New variable.
9748         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9749         (tan_upward_test_data): New variable.
9750         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9751         (tanh_test_data): New variable.
9752         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9753         (tgamma_test_data): New variable.
9754         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9755         (trunc_test_data): New variable.
9756         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9757         (y0_test_data): New variable.
9758         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9759         (y1_test_data): New variable.
9760         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9761         (significand_test_data): New variable.
9762         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9764 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9766         [BZ #12387]
9767         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9769 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9771         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9773 2013-05-10  Andreas Jaeger  <aj@suse.de>
9775         [BZ #15448]
9776         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9777         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9779 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9781         * math/gen-libm-test.pl (adjust_arg): New function.
9782         (special_functions): Handle generating output in both functions
9783         and arrays.
9784         (parse_args): Likewise.
9785         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9786         $in_func argument to parse_args.
9787         * math/libm-test.inc (struct test_f_f_data): New type.
9788         (IF_ROUND_INIT_): New macro.
9789         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9790         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9791         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9792         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9793         (ROUND_RESTORE_): Likewise.
9794         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9795         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9796         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9797         (ROUND_RESTORE_FE_UPWARD): Likewise.
9798         (RUN_TEST_LOOP_f_f): New macro.
9799         (acos_test_data): New variable.
9800         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9801         (acos_tonearest_test_data): New variable.
9802         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9804 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9806         * benchtests/bench-skeleton.c (startup): Fix coding style.
9808 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9810         [BZ #6809]
9811         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9812         negative infinity argument.
9813         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9814         negative infinity argument.
9815         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9816         negative infinity argument.
9817         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9818         domain errors.
9820 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9822         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9823         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9824         * iconv/iconv_prog.c (main): Likewise.
9825         * locale/programs/charmap-dir.c (charmap_readdir)
9826         (fopen_uncompressed): Likewise.
9827         * locale/programs/locfile.c (siblings_uncached)
9828         (write_locale_data): Use lstat64 instead of lstat.
9829         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9830         stat.
9832 2013-05-10  Andreas Jaeger  <aj@suse.de>
9834         [BZ #15395]
9835         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9836         localization.
9837         Include <locale.h>.
9839 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9841         * elf/dl-close.c (_dl_close_worker): Add comments.
9843 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9845         [BZ #15359]
9846         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9847         high part of pi/2.
9848         (__ieee754_rem_pio2l): Update comments.
9850         [BZ #15429]
9851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9852         high part of pi/2.
9853         (__ieee754_rem_pio2l): Update comments.
9855         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9856         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9858         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9859         M_PI_4l.
9861         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9862         (M_PI_34_LOG10El): Likewise.
9863         (M_PI2_LOG10El): Likewise.
9864         (M_PI4_LOG10El): Likewise.
9865         (M_PI_LOG10El): Likewise.
9867 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9871 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9873         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9874         (MINUS_ZERO_INIT): Likewise.
9875         (PLUS_INFTY_INIT): Likewise.
9876         (MINUS_INFTY_INIT): Likewise.
9877         (QNAN_VALUE_INIT): Likewise.
9878         (MAX_VALUE_INIT): Likewise.
9879         (MIN_VALUE_INIT): Likewise.
9880         (MIN_SUBNORM_VALUE_INIT): Likewise.
9881         (plus_zero): Initialize with PLUS_ZERO_INIT.
9882         (minus_zero): Initialize with MINUS_ZERO_INIT.
9883         (plus_infty): Initialize with PLUS_INFTY_INIT.
9884         (minus_infty): Initialize with MINUS_INFTY_INIT.
9885         (qnan_value): Initialize with QNAN_VALUE_INIT.
9886         (max_value): Initialize with MAX_VALUE_INIT.
9887         (min_value): Initialize with MIN_VALUE_INIT.
9888         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9890         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9891         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9892         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9893         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9895         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9896         (RUN_TEST_2_f): Likewise.
9897         (RUN_TEST_ff_f): Likewise.
9898         (RUN_TEST_fi_f): Likewise.
9899         (RUN_TEST_fl_f): Likewise.
9900         (RUN_TEST_fff_f): Likewise.
9901         (RUN_TEST_c_f): Likewise.
9902         (RUN_TEST_f_f1): Likewise.
9903         (RUN_TEST_fF_f1): Likewise.
9904         (RUN_TEST_fI_f1): Likewise.
9905         (RUN_TEST_ffI_f1): Likewise.
9906         (RUN_TEST_c_c): Likewise.
9907         (RUN_TEST_cc_c): Likewise.
9908         (RUN_TEST_f_i): Likewise.
9909         (RUN_TEST_f_i_tg): Likewise.
9910         (RUN_TEST_ff_i_tg): Likewise.
9911         (RUN_TEST_f_b): Likewise.
9912         (RUN_TEST_f_b_tg): Likewise.
9913         (RUN_TEST_f_l): Likewise.
9914         (RUN_TEST_f_L): Likewise.
9915         (RUN_TEST_sincos): Likewise.
9916         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9917         whether to show exceptions.  Do not include ");\n" in return
9918         value.
9919         (special_functions): Output call to RUN_TEST_sincos instead of
9920         check_float calls.  Update calls to new_test.
9921         (parse_args): Output call to single RUN_TEST_* macro instead of
9922         check_* calls and other assignments.  Update calls to new_test.
9924         [BZ #2546]
9925         [BZ #2560]
9926         [BZ #5159]
9927         [BZ #15426]
9928         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9929         input to result for tgamma overflow.
9930         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9931         (gamma_coeff): New variable.
9932         (NCOEFF): New macro.
9933         (gamma_positive): New function.
9934         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9935         underflow here.  Use gamma_positive instead of exp (lgamma) for
9936         other arguments.
9937         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9938         (gamma_coeff): New variable.
9939         (NCOEFF): New macro.
9940         (gammaf_positive): New function.
9941         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9942         underflow here.  Use gamma_positive instead of exp (lgamma) for
9943         other arguments.
9944         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9945         (gamma_coeff): New variable.
9946         (NCOEFF): New macro.
9947         (gammal_positive): New function.
9948         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9949         underflow here.  Use gamma_positive instead of exp (lgamma) for
9950         other arguments.
9951         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9952         (gamma_coeff): New variable.
9953         (NCOEFF): New macro.
9954         (gammal_positive): New function.
9955         (__ieee754_gammal_r): Handle positive infinity, overflow and
9956         underflow here.  Handle NaN the same as positive infinity.  Remove
9957         check x < 0xffffffff for negative integers.  Use gamma_positive
9958         instead of exp (lgamma) for other arguments.
9959         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9960         (gamma_coeff): New variable.
9961         (NCOEFF): New macro.
9962         (gammal_positive): New function.
9963         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9964         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9965         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9966         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9967         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9968         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9969         * sysdeps/generic/math_private.h (__gamma_productf): New
9970         prototype.
9971         (__gamma_product): Likewise.
9972         (__gamma_productl): Likewise.
9973         * math/Makefile (libm-calls): Add gamma_product.
9974         * math/libm-test.inc (tgamma_test): Add more tests.
9975         * sysdeps/i386/fpu/libm-test-ulps: Update.
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9978 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9980         * benchtests/bench-skeleton.c (main): Preheat CPU.
9982 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9984         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9986 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9988         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9989         and _dl_skip_args_internal.
9991 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9993         * manual/message.texi (Message Translation): Talk about users.
9994         Message to key mapping impacts design.
9996 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9998         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10000         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10002         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10003         * sysdeps/wordsize-64/glob64.c: ... here.
10005         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10006         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10007         New macros.
10009         * debug/getlogin_r_chk.c: Moved to ...
10010         * login/getlogin_r_chk.c: ... here.
10011         * debug/Makefile (routines): Move getlogin_r_chk to ...
10012         * login/Makefile (routines): ... here.
10013         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10014         * login/Versions (libc: GLIBC_2.4): ... here.
10016         * io/poll.c (__poll): Renamed from poll.
10017         Add libc_hidden_def.
10018         (poll): Define as weak alias.
10020         * debug/ptsname_r_chk.c: Moved to ...
10021         * login/ptsname_r_chk.c: ... here.
10022         * debug/Makefile (routines): Move ptsname_r_chk to ...
10023         * login/Makefile (routines): ... here.
10024         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10025         * login/Versions (libc: GLIBC_2.4): ... here.
10027         * posix/getlogin.c: Moved to ...
10028         * login/getlogin.c: ... here.
10029         * posix/getlogin_r.c: Moved to ...
10030         * login/getlogin_r.c: ... here.
10031         * posix/getlogin_r.c: Moved to ...
10032         * login/getlogin_r.c: ... here.
10033         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10034         * login/Makefile (routines): ... here.
10035         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10036         * login/Versions (libc: GLIBC_2.0): ... here.
10038         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10039         (setrlimit): Define as weak alias.
10041         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10042         Call __ names for open, ftruncate, and close.
10043         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10044         (truncate): Define as weak alias.
10046 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10048         * math/gen-libm-test.pl (parse_args): Initialize x before each
10049         test of frexp, modf and remquo.
10051         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10052         test signgam value.
10054 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10056         [BZ #15418]
10057         [BZ #15419]
10058         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10059         internal tests.
10060         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10062 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10064         * elf/dl-writev.h: New file.
10065         * elf/dl-misc.c: Include it.
10066         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10067         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10069 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10071         * math/libm-test.inc (noXFails): Remove variable.
10072         (noXPasses): Likewise.
10073         (BUILD_COMPLEX_INT): Remove macro.
10074         (print_screen): Remove xfail argument.
10075         (print_screen_max_error): Likewise.
10076         (update_stats): Likewise.
10077         (print_max_error): Likewise.  Update calls to other affected
10078         functions.
10079         (print_complex_max_error): Likewise.
10080         (test_single_exception): Update calls to print_screen.
10081         (test_single_errno): Likewise.
10082         (check_float_internal): Remove xfail argument.  Update calls to
10083         other affected functions.
10084         (check_float): Likewise.
10085         (check_complex): Likewise.
10086         (check_int): Likewise.
10087         (check_long): Likewise.
10088         (check_bool): Likewise.
10089         (check_longlong): Likewise.
10090         (main): Don't print noXFails and noXPasses.
10091         * math/gen-libm-test.pl (top level): Don't mention expected
10092         failure handling in comment.
10093         (new_test): Don't handle expected failures.
10094         (parse_args): Don't mention expected failure handling in comment.
10095         (generate_testfile): Don't handle expected failures.
10096         (parse_ulps): Likewise.
10097         (print_ulps_file): Likewise.
10098         (get_failure): Remove function.
10099         (output_test): Don't handle expected failures.
10100         * make/README.libm-test: Don't mention expected failure handling.
10102         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10103         (minus_zero): Likewise.
10104         (plus_infty): Likewise.
10105         (minus_infty): Likewise.
10106         (qnan_value): Likewise.
10107         (max_value): Likewise.
10108         (min_value): Likewise.
10109         (min_subnorm_value): Likewise.
10110         (initialize): Do not initialize those variables dynamically.
10112 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10114         * io/open.c (__open_2): Moved to ...
10115         * io/open_2.c: ... this new file.
10116         * io/open64.c (__open64_2): Moved to ...
10117         * io/open64_2.c: ... this new file.
10118         * io/openat.c (__openat_2): Moved to ...
10119         * io/openat_2.c: ... this new file.
10120         * io/openat64.c (__openat64_2): Moved to ...
10121         * io/openat64_2.c: ... this new file.
10122         * io/Makefile (routines): Add them.
10123         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10124         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10125         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10126         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10127         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10128         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10129         (__openat64): Add hidden_ver.
10130         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10131         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10133         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10134         Separately conditionalize setting of GLRO(dl_sysinfo) so
10135         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10136         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10138 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10140         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10142         definition.
10143         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10144         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10145         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10146         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10147         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10149 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10151         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10152         test signgam value.
10154         * math/libm-test.inc (hypot_test): Do not use
10155         IGNORE_ZERO_INF_SIGN.
10157 2013-05-03  Andreas Jaeger  <aj@suse.de>
10159         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10160         Linux 3.9.
10161         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10162         (PF_MAX): Adjust for VSOCK change.
10164 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10168 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10170         [BZ #15264]
10171         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10172         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10173         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10175 2013-05-02  David S. Miller  <davem@davemloft.net>
10177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10179 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10181         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10183 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10185         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10187 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10189         [BZ #14952]
10190         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10191         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10192         Use __attribute__ ((__gnu_inline__)).
10193         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10194         Don't use __attribute__ ((__gnu_inline__)).
10196 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10198         [BZ #15423]
10199         * math/s_catan.c (__catan): Handle small real or imaginary part of
10200         input specially to avoid spurious underflow.
10201         * math/s_catanf.c (__catanf): Likewise.
10202         * math/s_catanh.c (__catanh): Likewise.
10203         * math/s_catanhf.c (__catanhf): Likewise.
10204         * math/s_catanhl.c (__catanhl): Likewise.
10205         * math/s_catanl.c (__catanl): Likewise.
10206         * math/libm-test.inc (catan_test): Add more tests.
10207         (catanh_test): Likewise.
10208         * sysdeps/i386/fpu/libm-test-ulps: Update.
10209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10215 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10217         [BZ #15416]
10218         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10219         accurately for denominator in atan2.
10220         * math/s_catanf.c (__catanf): Likewise.
10221         * math/s_catanh.c (__catanh): Likewise.
10222         * math/s_catanhf.c (__catanhf): Likewise.
10223         * math/s_catanhl.c (__catanhl): Likewise.
10224         * math/s_catanl.c (__catanl): Likewise.
10225         * math/libm-test.inc (catan_test): Add more tests.
10226         (catanh_test): Likewise.
10227         * sysdeps/i386/fpu/libm-test-ulps: Update.
10228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10230 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10232         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10234         * benchtests/Makefile (bench): Remove slow benchmarks.
10235         * benchtests/atan-inputs: Add slow benchmark inputs.
10236         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10237         (BENCH_FUNC): Accept variant offset.
10238         (VARIANT): Define.
10239         * benchtests/bench-skeleton.c (main): Run benchmark for each
10240         variant.
10241         * benchtests/cos-inputs: Add slow benchmark inputs.
10242         * benchtests/exp-inputs: Likewise.
10243         * benchtests/pow-inputs: Likewise.
10244         * benchtests/sin-inputs: Likewise.
10245         * benchtests/slowatan-inputs: Remove.
10246         * benchtests/slowatan.c: Remove.
10247         * benchtests/slowcos-inputs: Remove.
10248         * benchtests/slowcos.c: Remove.
10249         * benchtests/slowexp-inputs: Remove.
10250         * benchtests/slowexp.c: Remove.
10251         * benchtests/slowpow-inputs: Remove.
10252         * benchtests/slowpow.c: Remove.
10253         * benchtests/slowsin-inputs: Remove.
10254         * benchtests/slowsin.c: Remove.
10255         * benchtests/slowtan-inputs: Remove.
10256         * benchtests/slowtan.c: Remove.
10257         * benchtests/tan-inputs: Add slow benchmark inputs.
10258         * scripts/bench.pl: Parse comments and directives.
10260         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10261         in CPPFLAGS.
10262         ($(objpfx)bench-%.c): Remove *-ITER.
10263         * benchtests/bench-modf.c: Remove definition of ITER.
10264         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10265         (main): Loop for DURATION seconds instead of fixed number of
10266         iterations.
10267         * scripts/bench.pl: Don't expect iterations in parameters.
10269 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10271         * io/fchdir.c (__fchdir): Renamed from fchdir.
10272         (fchdir): Define as weak alias.
10274 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10276         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10277         (ERRNO_EDOM): Likewise.
10278         (ERRNO_ERANGE): Likewise.
10279         (noErrnoTests): New variable.
10280         (init_max_error): Set errno to 0.
10281         (test_single_errno): New function.
10282         (test_errno): Likewise.
10283         (check_float_internal): Call test_errno.  Set errno to 0.
10284         (check_complex): Refer to errno tests in comment.
10285         (check_int): Call test_errno.  Set errno to 0.
10286         (check_long): Likewise.
10287         (check_bool): Likewise.
10288         (check_longlong): Likewise.
10289         (cos_test): Use ERRNO_* flags for errno tests instead of
10290         check_int.
10291         (expm1_test): Likewise.
10292         (fmod_test): Likewise.
10293         (ilogb_test): Likewise.
10294         (lgamma_test): Likewise.
10295         (pow_test): Likewise.
10296         (remainder_test): Likewise.
10297         (sin_test): Likewise.
10298         (tan_test): Likewise.
10299         (yn_test): Likewise.
10300         (initialize): Set errno to 0.
10301         (main): Print number of errno tests.
10302         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10304 2013-04-29  Andreas Jaeger  <aj@suse.de>
10306         [BZ #15084]
10307         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10308         and RES_USEVC.
10310         [BZ #15085]
10311         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10312         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10313         unimplemented.
10315         [BZ #15380]
10316         * stdlib/random.c (__initstate): Return NULL if
10317         __initstate fails.
10319         [BZ #15086]
10320         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10321         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10322         RES_SNGLKUPREOP.
10324 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10328 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10330         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10331         of individual tests.
10332         (casin_test): Likewise.
10333         (casinh_test): Likewise.
10335 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10337         [BZ #15409]
10338         * math/s_catan.c (__catan): Handle arguments with large real or
10339         imaginary part separately without squaring.
10340         * math/s_catanf.c (__catanf): Likewise.
10341         * math/s_catanh.c (__catanh): Likewise.
10342         * math/s_catanhf.c (__catanhf): Likewise.
10343         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10344         and redefine.
10345         (__catanhl): Handle arguments with large real or imaginary part
10346         separately without squaring.
10347         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10348         and redefine.
10349         (__catanl): Handle arguments with large real or imaginary part
10350         separately without squaring.
10351         * math/libm-test.inc (catan_test): Add more tests.
10352         (catanh_test): Likewise.
10353         * sysdeps/i386/fpu/libm-test-ulps: Update.
10354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10356 2013-04-27  Andreas Jaeger  <aj@suse.de>
10358         [BZ #15007]
10359         * stdlib/stdlib.h: Update guards for qecvt.
10360         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10361         <stdlib.h>.
10363 2013-04-27  Allan McRae  <allan@archlinux.org>
10365         * sysdeps/i386/fpu/libm-test-ulps: Update.
10367 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10369         [BZ #15406]
10370         * math/s_catan.c: Include <float.h>.
10371         (__catan): Ensure underflow exception occurs for underflowed
10372         result.
10373         * math/s_catanf.c: Include <float.h>.
10374         (__catanf): Ensure underflow exception occurs for underflowed
10375         result.
10376         * math/s_catanh.c: Include <float.h>.
10377         (__catanh): Ensure underflow exception occurs for underflowed
10378         result.
10379         * math/s_catanhf.c: Include <float.h>.
10380         (__catanhf): Ensure underflow exception occurs for underflowed
10381         result.
10382         * math/s_catanhl.c: Include <float.h>.
10383         (__catanhl): Ensure underflow exception occurs for underflowed
10384         result.
10385         * math/s_catanl.c: Include <float.h>.
10386         (__catanl): Ensure underflow exception occurs for underflowed
10387         result.
10388         * math/libm-test.inc (catan_test): Add more tests.
10389         (catanh_test): Likewise.
10391         [BZ #15405]
10392         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10393         underflowed result.
10394         * math/s_ccoshf.c (__ccoshf): Likewise.
10395         * math/s_ccoshl.c (__ccoshl): Likewise.
10396         * math/s_csin.c (__csin): Likewise.
10397         * math/s_csinf.c (__csinf): Likewise.
10398         * math/s_csinh.c (__csinh): Likewise.
10399         * math/s_csinhf.c (__csinhf): Likewise.
10400         * math/s_csinhl.c (__csinhl): Likewise.
10401         * math/s_csinl.c (__csinl): Likewise.
10402         * math/libm-test.inc (ccos_test): Add more tests.
10403         (ccosh_test): Likewise.
10404         (csin_test): Likewise.
10405         (csinh_test): Likewise.
10407 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10409         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10410         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10411         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10412         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10413         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10414         powerpc/power5+/fpu folders.
10415         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10418 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10422 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10424         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10425         additions to variable.
10426         [$(config-machine) = x86_64] (modules-names): Likewise.
10427         ($(objpfx)tst-audit3): Remove dependency.
10428         ($(objpfx)tst-audit3.out): Likewise.
10429         ($(objpfx)tst-audit4): Likewise.
10430         ($(objpfx)tst-audit4.out): Likewise.
10431         ($(objpfx)tst-audit5): Likewise.
10432         ($(objpfx)tst-audit5.out): Likewise.
10433         ($(objpfx)tst-audit6): Likewise.
10434         ($(objpfx)tst-audit6.out): Likewise.
10435         ($(objpfx)tst-audit7): Likewise.
10436         ($(objpfx)tst-audit7.out): Likewise.
10437         (tst-audit3-ENV): Remove variable.
10438         (tst-audit4-ENV): Likewise.
10439         (tst-audit5-ENV): Likewise.
10440         (tst-audit6-ENV): Likewise.
10441         (tst-audit7-ENV): Likewise.
10442         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10443         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10444         addition to variable.
10445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10446         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10448         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10449         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10450         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10451         tst-audit3, tst-audit4 and tst-audit5.
10452         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10453         tst-audit6 and tst-audit7.
10454         [$(subdir) = elf] (modules-names): Add audit modules for those
10455         tests.
10456         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10457         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10458         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10459         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10460         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10461         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10462         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10463         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10464         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10465         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10466         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10467         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10468         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10469         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10470         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10471         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10472         Likewise.
10473         [$(subdir) = elf && $(config-cflags-avx) = yes]
10474         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10475         [$(subdir) = elf && $(config-cflags-avx) = yes]
10476         (CFLAGS-tst-auditmod4a.c): Likewise.
10477         [$(subdir) = elf && $(config-cflags-avx) = yes]
10478         (CFLAGS-tst-auditmod4b.c): Likewise.
10479         [$(subdir) = elf && $(config-cflags-avx) = yes]
10480         (CFLAGS-tst-auditmod6b.c): Likewise.
10481         [$(subdir) = elf && $(config-cflags-avx) = yes]
10482         (CFLAGS-tst-auditmod6c.c): Likewise.
10483         [$(subdir) = elf && $(config-cflags-avx) = yes]
10484         (CFLAGS-tst-auditmod7b.c): Likewise.
10485         * elf/tst-audit3.c: Move to ...
10486         * sysdeps/x86_64/tst-audit3.c: ... here.
10487         * elf/tst-audit4.c: Move to ...
10488         * sysdeps/x86_64/tst-audit4.c: ... here.
10489         * elf/tst-audit5.c: Move to ...
10490         * sysdeps/x86_64/tst-audit5.c: ... here.
10491         * elf/tst-audit6.c: Move to ...
10492         * sysdeps/x86_64/tst-audit6.c: ... here.
10493         * elf/tst-audit7.c: Move to ...
10494         * sysdeps/x86_64/tst-audit7.c: ... here.
10495         * elf/tst-auditmod3a.c: Move to ...
10496         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10497         * elf/tst-auditmod3b.c: Move to ...
10498         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10499         * elf/tst-auditmod4a.c: Move to ...
10500         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10501         * elf/tst-auditmod4b.c: Move to ...
10502         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10503         * elf/tst-auditmod5a.c: Move to ...
10504         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10505         * elf/tst-auditmod5b.c: Move to ...
10506         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10507         * elf/tst-auditmod6a.c: Move to ...
10508         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10509         * elf/tst-auditmod6b.c: Move to ...
10510         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10511         * elf/tst-auditmod6c.c: Move to ...
10512         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10513         * elf/tst-auditmod7a.c: Move to ...
10514         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10515         * elf/tst-auditmod7b.c: Move to ...
10516         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10518 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10520         [BZ #15366]
10521         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10522         define unconditionally.
10523         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10524         define unconditionally.
10525         (INT8_C, INT16_C, etc.): Likewise.
10527 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10529         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10530         __ehdr_start with hidden visibility.
10532         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10534 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10536         * math/libm-test.inc (cos_test): Use accurate hex constants.
10537         (sincost_test): Likewise.
10539 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10541         * math/libm-test.inc (catan_test): Add more tests.
10542         (catanh_test): Likewise.
10544         * math/s_catanf.c (__catanf): Use suffixed floating-point
10545         constants.
10546         * math/s_catanhf.c (__catanhf): Likewise.
10547         * math/s_catanhl.c (__catanhl): Likewise.
10548         * math/s_catanl.c (__catanl): Likewise.
10550         [BZ #15394]
10551         * math/s_catan.c (__catan): Calculate imaginary part of result
10552         with log1p not log unless computing log of number close to 0.
10553         * math/s_catanf.c (__catanf): Likewise.
10554         * math/s_catanl.c (__catanl): Likewise.
10555         * math/s_catanh.c (__catanh): Calculate real part of result with
10556         log1p not log unless computing log of number close to 0.
10557         * math/s_catanhf.c (__catanhf): Likewise.
10558         * math/s_catanhl.c (__catanhl): Likewise.
10559         * math/libm-test.inc (catan_test): Add more tests.
10560         (catanh_test): Likewise.
10561         * sysdeps/i386/fpu/libm-test-ulps: Update.
10562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10564 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10566         * benchtests/Makefile: Mention files in which fast and slow
10567         paths of math functions are implemented.
10569 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10571         * sysdeps/posix/timespec_get.c: New file.
10573 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10575         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10576         POWER.
10577         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10578         for POWER.
10579         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10580         powerpc/power5/fpu folders.
10581         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10582         * benchtests/Makefile: Add modf testcase.
10583         * benchtests/bench-modf.c: New file: Benchmark test for mo
10585 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10587         [BZ #14888]
10588         * time/Makefile (tests): Add tst-strptime-whitespace.
10589         * time/strptime_l.c (get_number): Use ISSPACE.
10590         (__strptime_internal): Likewise.
10591         * time/tst-strptime-whitespace.c: New test case.
10593 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10595         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10596         member.
10597         (_nss_files_init): Set it here.
10599 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10601         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10602         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10603         unsigned.
10605 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10607         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10609 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10612         size just once.
10614 2013-04-21  David S. Miller  <davem@davemloft.net>
10616         * po/ru.po: Update Russion translation from translation project.
10618 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10620         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10621         and setfsgid.
10623 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10625         * configure.in: Remove i386 configure warning. Remove i386 case.
10626         * configure: Regenerate.
10627         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10628         Add example to error message.
10629         * sysdeps/i386/configure: Regenerate.
10631 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10633         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10634         slowtan.
10635         * benchtests/cos-inputs: New file.
10636         * benchtests/slowcos-inputs: New file.
10637         * benchtests/slowcos.c: New file.
10638         * benchtests/slowtan-inputs: New file.
10639         * benchtests/slowtan.c: New file.
10640         * benchtests/tan-inputs: New file.
10642 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10644         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10645         considered kosher.
10647 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10649         * benchtests/Makefile: Include cppflags-iterator.mk to add
10650         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10652         * Makefile.in (bench-clean): New target.
10653         * benchtests/Makefile (bench-clean): Likewise.
10655 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10657         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10659 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10661         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10663 2013-04-15  Andreas Schwab  <schwab@suse.de>
10665         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10666         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10667         * nscd/pwdcache.c (cache_addpw): Likewise.
10668         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10669         more than recsize.
10671 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10673         * benchtests/Makefile (bench): Write all output to
10674         bench-out.tmp together.
10676 2013-04-15  Andreas Schwab  <schwab@suse.de>
10678         * nscd/nscd.c (main): Don't fork again after closing files.
10680 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10682         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10684         * benchtests/Rules (bench-deps): Collect dependencies into a
10685         single variable.  Add Makefile to dependencies.
10686         ($(objpfx)bench-%.c): Depend on bench-deps.
10688 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10689             Xavier Roche  <roche+kml2@exalead.com>
10691         [BZ #15361]
10692         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10693         just that it's a file descriptor.
10694         * manual/llio.texi (Synchronizing AIO Operations): Update description
10695         for EBADF error from aio_fsync.
10697 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10699         * Rules (bench): Move target definition...
10700         * benchtests/Makefile: ... here.
10702 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10704         * math/libm-test.inc (cos_test): Fix PI/2 test.
10705         (sincos_test): Likewise.
10706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10707         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10709 2013-04-11  Andreas Schwab  <schwab@suse.de>
10711         [BZ #13988]
10712         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10713         accept exponent character only when digits were seen.
10714         * stdio-common/Makefile (tests): Add bug26.
10715         * stdio-common/bug26.c: New file.
10717         [BZ #14293]
10718         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10719         non-freeable.
10721 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10723         * Makeconfig (rtld-prefix): Define built linker prefix.
10724         * Rules (run-bench): Use it.
10725         * math/Makefile (run-regen-ulps): Likewise.
10727         * Rules (bench): Remove eval.
10729 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10730             Roland McGrath  <roland@hack.frob.com>
10731             Ondrej Bilka  <neleai@seznam.cz>
10733         [BZ #15346]
10734         * time/getdate.c: Include ctype.h and alloca.h.
10735         (__getdate_r): Trim leading and trailing spaces of input.
10736         * time/tst-getdate.c (tests): Add tests with leading and
10737         trailing spaces.
10739 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10741         [BZ #14280]
10742         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10743         when computing value.
10745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10747         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10748         Use testrun.sh to run libm tests.
10750         [BZ #15309]
10751         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10753 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10755         [BZ #15264]
10756         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10758 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10760         * Makefile.in (regen-ulps): New target.
10761         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10762         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10763         [ifneq (no,$(PERL)] (regen-ulps): New target.
10764         [ifeq (no,$(PERL)] (regen-ulps): New target.
10765         * math/libm-test.inc (ulps_file_name): Define.
10766         (output_dir): New variable.
10767         (options): Add "output-dir" option.
10768         (parse_opt): Handle 'o' case.
10769         (main): If output_dir is non-NULL use it as a prefix
10770         otherwise use "".
10771         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10773 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10775         [BZ #10060, #10062]
10776         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10777         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10778         fail configure if __sync_val_compare_and_swap is not inlined.
10779         * sysdeps/i386/configure: Regenerate.
10780         * configure.in: Build for i686 when configured for i386.
10781         * configure: Regenerate.
10782         * README: Remove i386 reference.
10784 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10786         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10787         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10789 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10791         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10792         (lmsnanval): New variables.
10793         (F): Add conversion tests.
10794         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10795         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10797         * stdio-common/tstdiomisc.c (F): Properly collect individual
10798         tests' results.
10800         [BZ #14686, #15336]
10801         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10802         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10803         Instead, use input NaN values or generate a qNaN by arithmetic
10804         operation.  Also fix bugs to comply with the standard.
10805         * math/libm-test.inc (remainder_test): Add more tests.
10807         [BZ #15335, #15342]
10808         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10810         input NaN values or generate a qNaN by arithmetic operation.
10812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10813         unreachable code.
10815         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10816         definitions.
10818 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10820         [BZ #14478]
10821         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10822         underflowed result.
10823         * math/s_cexpf.c (__cexpf): Likewise.
10824         * math/s_cexpl.c (__cexpl): Likewise.
10825         * math/libm-test.inc (cexp_test): Add more tests.
10827 2013-04-03  Andreas Schwab  <schwab@suse.de>
10829         [BZ #15330]
10830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10831         order arrays from heap if bigger than alloca cutoff.
10833 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10835         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10836         (SNAN_TESTS_double): Refer to GCC PR56831.
10837         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10838         GCC PR56828.
10840 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10842         * Rules (bench): Move bench.out after the run is complete.
10844         * Rules (bench): Echo currently running benchmark.
10846         * benchtests/Makefile (bench): Add atan and slowatan.
10847         * benchtests/atan-inputs: New file.
10848         * benchtests/slowatan-inputs: New file.
10849         * benchtests/slowatan.c: New file.
10851         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10853         its value.
10855         [BZ #15305]
10856         * sysdeps/unix/sysv/linux/kernel-features.h
10857         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10858         __ASSUME_XFS_RESTRICTED_CHOWN.
10859         * sysdeps/unix/sysv/linux/pathconf.c
10860         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10861         Save and restore errno.
10863 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10865         [BZ #15327]
10866         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10867         arguments using __kernel_casinh.
10868         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10869         arguments using __kernel_casinhf.
10870         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10871         arguments using __kernel_casinhl.
10872         * math/libm-test.inc (cacosh_test): Add more tests.
10873         * sysdeps/i386/fpu/libm-test-ulps: Update.
10874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10876 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10878         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10881         * bench/Makefile (bench): Add sin and slowsin.
10882         * benchtests/sin-inputs: New file.
10883         * benchtests/slowsin-inputs: New file.
10884         * benchtests/slowsin.c: New file.
10886         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10887         (bench): Add slowexp and slowpow.
10888         (exp-ITER): Increase iterations.
10889         (pow-ITER): Likewise.
10890         * benchtests/exp-inputs: Change input.
10891         * benchtests/pow-inputs: Likewise.
10892         * benchtests/slowexp-inputs: New file.
10893         * benchtests/slowexp.c: New file.
10894         * benchtests/slowpow-inputs: New file.
10895         * benchtests/slowpow.c: New file.
10897 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10899         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10900         instructions.
10901         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10902         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10903         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10904         * benchtests/Makefile: Add rint benchtest.
10905         * benchtests/rint-inputs: Input for rint benchtest.
10907 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10909         * Versions.def (libm): Add GLIBC_2.18.
10910         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10911         hidden libm prototypes.
10912         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10913         * math/Makefile (libm-calls): Add s_issignaling.
10914         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10915         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10916         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10917         declaration.
10918         * math/math.h [__USE_GNU] (issignaling): New macro.
10919         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10920         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10921         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10922         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10923         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10924         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10925         * manual/arith.texi (issignaling): New section.
10926         * manual/libm-err-tab.pl (@all_functions): Update comment.
10927         * math/gen-libm-test.pl (parse_args): Apply special handling for
10928         issignaling.
10929         * math/libm-test.inc (print_float, issignaling_test): New
10930         functions.
10931         (check_float_internal): Add issignaling checks.
10932         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10933         default definition.
10934         * sysdeps/powerpc/math-tests.h: New file.
10935         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10936         tests.
10937         * math/test-snan.c (TEST_FUNC): Likewise.
10939 2013-03-30  David S. Miller  <davem@davemloft.net>
10941         * po/de.po: Update from translation team.
10943 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10945         [BZ #10357]
10946         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10947         imaginary part less than 1.0 and real part less than 0.5
10948         specially.
10949         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10950         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10951         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10952         (cacos_test): Add more tests.
10953         (casin_test): Likewise.
10954         (casinh_test): Likewise.
10955         * sysdeps/i386/fpu/libm-test-ulps: Update.
10956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10958 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10960         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10961         ONE with its value.
10963         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10964         (__pow_mp): Replace ONE and MONE with their values.
10965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10967         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10968         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10972         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10974         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10975         (__pow_mp): Replace ZERO and MZERO with their values.
10976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10977         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10978         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10980         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10981         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10982         (__sqr): Likewise.
10984         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10986         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10988 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10990         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10991         Declare with __attribute__ ((weak)).
10992         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10993         Call __call_tls_dtors only if it's not NULL.
10995 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10997         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10998         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10999         magic __ehdr_start linker symbol if it's defined.
11000         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11001         them up here if it was already done.
11003         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11004         (_dl_aux_init): Use const in cast when setting it.
11005         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11006         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11007         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11009         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11010         Declare them here.
11011         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11012         * csu/libc-tls.c: Nor here.
11013         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11015         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11016         (__libc_message): Never call vsyslog.
11018 2013-03-28  Alan Modra  <amodra@gmail.com>
11020         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11021         Define as empty.
11022         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11023         Likewise.
11025 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11027         [BZ #15214]
11028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11029         underflow.
11030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11032 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11034         [BZ #15304]
11035         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11036         Don't add gid passed as argument.
11038         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11040 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11042         [BZ #15307]
11043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11044         imaginary part between 1.0 and 1.5 and real part less than 0.5
11045         specially.
11046         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11047         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11048         * math/libm-test.inc (cacos_test): Add more tests.
11049         (casin_test): Likewise.
11050         (casinh_test): Likewise.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11056         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11057         constants.
11058         (norm): Likewise.
11059         (denorm): Likewise.
11060         (__dbl_mp): Likewise.
11061         (add_magnitudes): Likewise.
11062         (sub_magnitudes): Likewise.
11063         (__add): Likewise.
11064         (__sub): Likewise.
11065         (__mul): Likewise.
11066         (__sqr): Likewise.
11067         (__inv): Likewise.
11068         (__dvd): Likewise.
11070         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11071         commented code.
11072         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11073         (__dubcos): Likewise.
11074         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11075         (__ieee754_acos): Likewise.
11076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11077         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11078         (__exp1): Likewise.
11079         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11080         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11081         (log1): Likewise.
11082         (my_log2): Likewise.
11083         (checkint): Likewise.
11084         * sysdeps/ieee754/dbl-64/e_remainder.c
11085         (__ieee754_remainder): Likewise.
11086         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11088         (bsloww): Likewise.
11089         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11091         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11092         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11093         MANTISSA_STORE_T to store computations on mantissa.  Use
11094         macros for rounding and division.
11095         (denorm): Likewise.
11096         (__dbl_mp): Likewise.
11097         (add_magnitudes): Likewise.
11098         (sub_magnitudes): Likewise.
11099         (__mul): Likewise.
11100         (__sqr): Likewise.
11101         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11102         powers of two in terms of TWOPOW macro.
11103         (mp_no): Make type of mantissa as MANTISSA_T.
11104         [!RADIXI]: Define RADIXI.
11105         [!TWO52]: Define TWO52.
11106         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11108 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11110         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11111         llroundl symbol when building for PPC32.
11113 2013-03-24  Mark H Weaver  <mhw@netris.org>
11115         * manual/arith.texi (Normalization Functions): Fix prototypes for
11116         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11118 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11120         [BZ #13889]
11121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11122         high value to check if expl overflow.
11123         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11124         to check for underflow and overflow.
11125         * math/libm-test.inc: Add exp test.
11127 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11129         [BZ #11120]
11130         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11131         with NOT_IN_libc.
11133 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11135         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11136         symbol.
11138 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11140         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11141         wrap blocks consisting of several statements.
11143         * sysdeps/generic/math-tests.h: New file.
11144         * sysdeps/i386/fpu/math-tests.h: Likewise.
11145         * math/test-snan.c: Include it.
11146         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11148 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11150         [BZ #15285]
11151         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11152         (__ieee754_j0l): Do not improve calculations using cos of twice
11153         input for inputs above LDBL_MAX / 2.0L.
11154         (__ieee754_y0l): Likewise.
11155         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11156         (__ieee754_j1l): Do not improve calculations using cos of twice
11157         input for inputs above LDBL_MAX / 2.0L.
11158         (__ieee754_y1l): Likewise.
11159         * math/libm-test.inc (j0_test): Add another test.
11160         (j1_test): Likewise.
11161         (y0_test): Likewise.
11162         (y1_test): Likewise.
11163         * sysdeps/i386/fpu/libm-test-ulps: Update.
11165 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11167         * Rules ($(objpfx)bench-%.c): Include code from a C source
11168         file.
11170 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11172         [BZ #15287]
11173         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11174         imaginary part 1.0 and real part less than 0.5 specially.
11175         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11176         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11177         * math/libm-test.inc (cacos_test): Add more tests.
11178         (casin_test): Likewise.
11179         (casinh_test): Likewise.
11180         * sysdeps/i386/fpu/libm-test-ulps: Update.
11181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11183 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11186         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11188 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11190         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11191         * config.make.in (config-cflags-sse4): Remove variable.
11192         (config-cflags-avx): Likewise.
11193         (config-cflags-sse2avx): Likewise.
11194         (config-cflags-novzeroupper): Likewise.
11195         (config-asflags-i686): Likewise.
11196         (have-mfma4): Likewise.
11197         (have-as-vis3): Likewise.
11198         (MIG): Likewise.
11199         * configure.in (MIG): Do not AC_SUBST.
11200         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11201         (libc_cv_cc_sse4): Do not AC_SUBST.
11202         (libc_cv_cc_avx): Likewise.
11203         (libc_cv_cc_sse2avx): Likewise.
11204         (libc_cv_cc_novzeroupper): Likewise.
11205         (libc_cv_cc_fma4): Likewise.
11206         (libc_cv_as_i686): Likewise.
11207         (libc_cv_sparc_as_vis3): Likewise.
11208         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11209         LIBC_CONFIG_VAR.
11210         (config-asflags-i686): Likewise.
11211         (config-cflags-avx): Likewise.
11212         (config-cflags-sse2avx): Likewise.
11213         (have-mfma4): Likewise.
11214         (config-cflags-novzeroupper): Likewise.
11215         * sysdeps/mach/configure.in (MIG): Likewise.
11216         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11217         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11218         LIBC_CONFIG_VAR.
11219         (config-cflags-avx): Likewise.
11220         (config-cflags-sse2avx): Likewise.
11221         (have-mfma4): Likewise.
11222         (config-cflags-novzeroupper): Likewise.
11223         * configure: Regenerated.
11224         * sysdeps/i386/configure: Likewise.
11225         * sysdeps/mach/configure: Likewise.
11226         * sysdeps/sparc/configure: Likewise.
11227         * sysdeps/x86_64/configure: Likewise.
11229 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11231         [BZ #14812]
11232         * locale/programs/localedef.c (options): Put N_ translation marker
11233         on argument names, not just descriptions.
11235 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11237         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11239 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11241         [BZ #14176]
11242         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11244 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11246         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11247         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11248         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11249         [!BEFORE_ABORT] (before_abort): New function.
11250         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11251         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11252         (writev_for_fatal): New function.
11253         (WRITEV_FOR_FATAL): New macro; call that.
11254         (backtrace_and_maps): New function.
11255         (BEFORE_ABORT): New macro; call that.
11256         (struct str_list): Type removed.
11257         (__libc_message, __libc_fatal): Functions removed.
11258         Include <sysdeps/posix/libc_fatal.c> instead.
11260 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11262         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11263         constants.
11264         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11265         double constants.
11267 2013-03-19  Andreas Schwab  <schwab@suse.de>
11269         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11270         * sysdeps/gnu/configure: Regenerate.
11272         * configure.in: Substitute libc_cv_rtlddir.
11273         * configure: Regenerate.
11274         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11275         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11276         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11277         * elf/Makefile (install-others, CFLAGS-interp.c)
11278         (ldso_install, common-ldd-rewrite): Likewise.
11279         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11280         $(inst_slibdir)/$(rtld-installed-name).
11281         * scripts/rellns-sh: Add -p option.
11282         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11283         for source.
11285 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11287         * manual/nptl.texi: Renamed to ...
11288         * manual/threads.texi: ... this.
11289         * manual/Makefile (chapters): Update.
11291 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11293         [BZ #14812]
11294         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11295         on argument names, not just descriptions.
11296         * malloc/memusagestat.c (options): Likewise.
11297         * nss/getent.c (options): Likewise.
11299 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11301         [BZ #14812]
11302         * iconv/iconv_prog.c (options): Put N_ translation marker
11303         on argument names, not just descriptions.
11304         * iconv/iconvconfig.c (options): Likewise.
11306 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11308         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11309         implementation which is faster on all x86_64 architectures.
11310         Tested on AMD, Intel Nehalem, SNB, IVB.
11311         * sysdeps/x86_64/strnlen.S: Likewise.
11313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11314         Remove all multiarch strlen and strnlen versions.
11315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11316         Remove strlen and strnlen related parts.
11318         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11319         Inline strlen part.
11320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11322         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11323         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11324         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11325         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11326         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11327         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11329 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11331         * manual/memory.texi (Malloc Tunable Parameters):
11332         Sort parameters alphabetically. Add comments for missing entries.
11334 2013-03-17  David S. Miller  <davem@davemloft.net>
11336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11338 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11340         [BZ #15283]
11341         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11342         for arguments at most half maximum finite value.
11343         * math/libm-test.inc (j0_test): Add more tests.
11344         (j1_test): Likewise.
11345         (y0_test): Likewise.
11346         (y1_test): Likewise.
11347         * sysdeps/i386/fpu/libm-test-ulps: Update.
11348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350         [BZ #14155]
11351         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11352         1 / x and functions P and Q for arguments above 0x1p256L.
11353         (__ieee754_y0l): Likewise.
11354         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11355         (__ieee754_y1l): Likewise.
11356         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11357         (j1_test): Likewise.
11358         (y0_test): Likewise.
11359         (y1_test): Likewise.
11361 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11363         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11364         variable.
11366 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11368         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11369         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11370         zero since it's initialized to EXEC_PAGESIZE.
11372         * sysdeps/unix/sysv/linux/ldsodefs.h
11373         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11374         * sysdeps/generic/ldsodefs.h: ... here.
11376 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11378         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11380         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11381         math/test-snan.c.
11382         * math/test-snan.c: Renamed from
11383         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11384         * math/Makefile (tests): Add test-snan.
11385         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11386         test-powerpc-snan.
11388         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11389         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11390         functions.
11391         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11392         __builtin_nan family of functions.
11393         * math/libm-test.inc (initialize): Initialize qnan_value with
11394         __builtin_nan family of functions.
11395         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11396         Remove variables.
11397         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11398         Remove functions.
11399         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11400         storage class.  Initialize qNaN_var and sNaN_var with
11401         __builtin_nan and __builtin_nans families of functions,
11402         respectively.
11404         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11405         (sqrt_test): Remove duplicate test with qNaN input.
11406         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11407         (round_test, signbit_test, significand_test): Note missing +/-Inf
11408         as well as qNaN tests.
11410         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11411         qNaN_var.  Fix a few strings, too.
11412         * math/libm-test.inc (nan_value): Rename to qnan_value.
11413         * math/gen-libm-test.pl (%beautify): Adjust to that.
11414         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11415         * math/test-misc.c (main): Likewise.
11416         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11417         to __qnan_bytes, and __qnan_union, respectively.
11418         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11419         Likewise.
11420         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11421         and lqnanval, respectively.
11422         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11423         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11424         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11425         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11427         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11428         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11429         doubles.
11431         * math/test-misc.c (main): Fix copy'n'pastos.
11432         * misc/tst-efgcvt.c (special): Likewise.
11434         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11435         Remove declarations.
11437 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11439         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11440         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11441         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11442         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11444 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11447         macro to return vdso values correctly in IFUNC implementations.
11448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11449         Optimization by using IFUNC.
11451 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452             Richard Henderson  <rth@redhat.com>
11453             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11455         * Makefile.in (bench): New target.
11456         * NEWS: Mention the benchmark framework.
11457         * Rules (bench): Likewise.
11458         (binaries-bench): Generate binaries for functions to
11459         benchmark.
11460         * benchtests/Makefile: New makefile for benchmark tests.
11461         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11462         programs.
11463         * benchtests/exp-inputs: New input file for EXP function.
11464         * benchtests/pow-inputs: New input file for POW function.
11465         * scripts/bench.pl: New script to generate source files for
11466         benchmark programs.
11468 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11470         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11471         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11472         computations on mantissa.  Use macros for rounding and
11473         division.
11474         (denorm): Likewise.
11475         (__dbl_mp): Likewise.
11476         (add_magnitudes): Likewise.
11477         (sub_magnitudes): Likewise.
11478         (__mul): Likewise.
11479         (__sqr): Likewise.
11480         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11481         powers of two in terms of TWOPOW macro.
11482         (mp_no): Make type of mantissa as MANTISSA_T.
11483         [!RADIXI]: Define RADIXI.
11484         [!TWO52]: Define TWO52.
11485         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11487         * manual/nptl.texi (cindex): Modify threads to pthreads.
11489 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11491         * sysdeps/x86_64/preconfigure: Regenerated.
11493 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11495         [BZ #14155]
11496         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11497         0x1p28 and above.
11498         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11499         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11500         0x1p28 and above.
11501         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11502         * math/libm-test.inc (j0_test): Do not allow one spurious
11503         underflow exception.
11504         (y1_test): Likewise.
11506 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11508         * manual/Makefile (chapters): Add nptl.
11509         * manual/debug.texi (Debugging Support): Add link to Threads
11510         chapter.
11511         * manual/nptl.texi: New file.
11513         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11515 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11517         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11518         for non-NULL pointer before the memory validity test. Pointed
11519         out by Holger Brunck <holger.brunck@keymile.com>.
11521 2013-03-13  Andreas Schwab  <schwab@suse.de>
11523         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11524         instead of .os.
11526 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11528         * timezone/zic.c: Update from tzcode 2013b.
11530 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11532         * manual/install.texi (Configuring and compiling):
11533         Mention i686 and i586.
11534         * INSTALL: Regenerate.
11536 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11538         * sysdeps/init_array/elf-init.c: New file.
11539         * csu/elf-init.c
11540         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11541         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11543         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11544         __gmon_start__ as global, but as static with a .preinit_array pointer.
11545         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11546         * sysdeps/init_array/crti.S: New file, empty except for comments.
11547         * sysdeps/init_array/crtn.S: Likewise.
11549 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11551         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11552         definining bcopy.
11553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11554         Remove Prefer_SSE_for_memop.
11555         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11556         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11557         HAS_PREFER_SSE_FOR_MEMOP.
11558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11559         memset-x86-64.
11560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11561         Remove bzero, memset ifunc support.
11562         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11563         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11564         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11567 2013-03-11  Andreas Schwab  <schwab@suse.de>
11569         [BZ #15234]
11570         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11571         by SHLIB_COMPAT.
11572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11573         (GLIBC_2.16): Remove pthread_atfork.
11575 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11577         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11578         (ptestcases.h): Likewise.
11580 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11582         * Makeconfig ($(common-objpfx)config.status): Depend on
11583         sysdeps/*/preconfigure{,.in} too.
11585 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11587         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11588         (__free_hook): Use void * instead of __malloc_ptr_t.
11589         (__malloc_hook): Likewise.
11590         (__realloc_hook): Likewise.
11591         (__memalign_hook): Likewise.
11592         (__after_morecore_hook): Likewise.
11593         * malloc/arena.c (save_malloc_hook): Likewise.
11594         (save_free_hook): Likewise.
11595         * malloc/hooks.c (malloc_hook_ini): Likewise.
11596         (realloc_hook_ini): Likewise.
11597         (memalign_hook_ini): Likewise.
11598         * malloc/malloc.c (malloc_hook_ini): Likewise.
11599         (realloc_hook_ini): Likewise.
11600         (memalign_hook_ini): Likewise.
11601         (__free_hook): Likewise.
11602         (__malloc_hook): Likewise.
11603         (__realloc_hook): Likewise.
11604         (__memalign_hook): Likewise.
11605         (__libc_malloc): Likewise.
11606         (__libc_free): Likewise.
11607         (__libc_realloc): Likewise.
11608         (__libc_memalign): Likewise.
11609         (__libc_valloc): Likewise.
11610         (__libc_pvalloc): Likewise.
11611         (__libc_calloc): Likewise.
11612         (__posix_memalign): Likewise.
11613         * malloc/morecore.c (__sbrk): Likewise.
11614         (__default_morecore): Likewise.
11616         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11618         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11619         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11620         __malloc_ptrdiff_t.
11622         * malloc/malloc.h (__malloc_size_t): Remove macro.
11623         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11624         __malloc_size_t.
11625         (old_memalign_hook): Likewise.
11626         (old_realloc_hook): Likewise.
11627         (struct hdr): Likewise.
11628         (flood): Likewise.
11629         (mallochook): Likewise.
11630         (memalignhook): Likewise.
11631         (reallochook): Likewise.
11632         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11633         (tr_old_realloc_hook): Likewise.
11634         (tr_old_memalign_hook): Likewise.
11635         (tr_mallochook): Likewise.
11636         (tr_reallochook): Likewise.
11637         (tr_memalignhook): Likewise.
11639 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11641         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11642         default_ldbl_pack and using as default implementation.
11643         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11644         implementation.
11645         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11646         redundant definition.
11647         (ldbl_insert_mantissa): Likewise.
11648         (ldbl_canonicalize): Likewise.
11649         (ldbl_nearbyint): Likewise.
11650         (ldbl_pack): Rename to ldbl_pack_ppc.
11651         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11652         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11653         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11655 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11658         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11659         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11660         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11662         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11663         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11664         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11666 2013-03-07  Andreas Jaeger  <aj@suse.de>
11668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11669         bits/mman-linux.h.
11671 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11673         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11674         Include mpa.h and declare __MPEXP.
11675         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11676         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11677         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11678         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11679         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11680         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11681         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11683         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11684         (__slowpow): Use long double EXPL and LOGL functions to
11685         compute POW.
11686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11687         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11690         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11691         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11694         intermediate variable to calculate exponent.
11695         (__sqr): Likewise.
11696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11697         Likewise.
11698         (__sqr): Likewise.
11700         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11701         [!NO__SQR]: Define __sqr.
11702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11703         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11704         sysdeps/ieee754/dbl-64/mpa.c.
11705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11707         [BZ #12723]
11708         * posix/Makefile (tests): Add tst-pathconf.
11709         * posix/tst-pathconf.c: New test case.
11710         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11711         _PC_PIPE_BUF.
11712         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11714 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11716         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11718 2013-03-06  Andreas Jaeger  <aj@suse.de>
11720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11721         definition via __MAP_ANONYMOUS.
11723         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11724         it's not part of Linux headers.
11726         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11727         (MAP_HUGE_MASK): Define.
11729         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11730         Define.
11731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11732         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11733         Define.
11734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11735         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11736         Define.
11737         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11738         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11739         Define.
11740         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11742         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11743         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11744         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11745         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11746         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11747         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11750         Handle f2fs.
11752         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11753         Handle f2fs and efivarfs.
11755         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11756         f2fs.
11758         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11759         (EFIVARFS_MAGIC): Add.
11760         (F2FS_LINK_MAX): Add.
11762 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11764         * stdio-common/vfprintf.c: Replace __builtin_expect with
11765         __glibc_unlikely.
11767 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11769         [BZ #13550]
11770         * sysdeps/generic/bp-sym.h: Remove file.
11771         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11772         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11773         <bp-sym.h> and <bp-asm.h>.
11774         (__longjmp): Don't use BP_SYM.
11775         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11776         and <bp-asm.h>.
11777         (memcpy): Don't use BP_SYM.
11778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11779         <bp-sym.h> and <bp-asm.h>.
11780         (memcpy): Don't use BP_SYM.
11781         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11782         <bp-asm.h>.
11783         (memcpy): Don't use BP_SYM.
11784         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11785         <bp-asm.h>.
11786         (memset): Don't use BP_SYM.
11787         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11788         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11789         (__bzero): Don't use BP_SYM.
11790         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11791         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11792         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11793         <bp-sym.h> and <bp-asm.h>.
11794         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11795         pointers.
11796         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11797         <bp-sym.h> and <bp-asm.h>.
11798         (memcpy): Don't use BP_SYM.
11799         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11800         <bp-sym.h> and <bp-asm.h>.
11801         (memset): Don't use BP_SYM.
11802         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11803         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11804         (__bzero): Don't use BP_SYM.
11805         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11806         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11807         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11808         <bp-sym.h> and <bp-asm.h>.
11809         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11810         pointers.
11811         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11812         <bp-sym.h> and <bp-asm.h>.
11813         (memcpy): Don't use BP_SYM.
11814         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11815         <bp-sym.h> and <bp-asm.h>.
11816         (memset): Don't use BP_SYM.
11817         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11818         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11819         (__bzero): Don't use BP_SYM.
11820         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11821         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11823         <bp-sym.h> and <bp-asm.h>.
11824         (__memchr): Don't use BP_SYM.
11825         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11826         <bp-sym.h> and <bp-asm.h>.
11827         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11828         pointers.
11829         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11830         <bp-sym.h> and <bp-asm.h>.
11831         (memcpy): Don't use BP_SYM.
11832         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11833         <bp-sym.h> and <bp-asm.h>.
11834         (__mempcpy): Don't use BP_SYM.
11835         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11836         <bp-sym.h> and <bp-asm.h>.
11837         (__memrchr): Don't use BP_SYM.
11838         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11839         <bp-sym.h> and <bp-asm.h>.
11840         (memset): Don't use BP_SYM.
11841         (__bzero): Likewise.
11842         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11843         <bp-sym.h> and <bp-asm.h>.
11844         (__rawmemchr): Don't use BP_SYM.
11845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11846         <bp-sym.h> and <bp-asm.h>.
11847         (__STRCMP): Don't use BP_SYM.
11848         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11849         <bp-sym.h> and <bp-asm.h>.
11850         (strchr): Don't use BP_SYM.
11851         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11852         <bp-sym.h> and <bp-asm.h>.
11853         (__strchrnul): Don't use BP_SYM.
11854         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11855         <bp-sym.h> and <bp-asm.h>.
11856         (strlen): Don't use BP_SYM.
11857         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11858         <bp-sym.h> and <bp-asm.h>.
11859         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11860         pointers.
11861         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11862         <bp-sym.h> and <bp-asm.h>.
11863         (__strnlen): Don't use BP_SYM.
11864         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11865         <bp-sym.h> and <bp-asm.h>.
11866         (__GI__setjmp): Don't use BP_SYM.
11867         (_setjmp): Likewise.
11868         (__sigsetjmp): Likewise.
11869         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11870         (L(start_addresses)): Don't use BP_SYM.
11871         (_start): Likewise.
11872         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11873         <bp-asm.h>.
11874         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11875         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11876         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11877         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11878         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11879         <bp-asm.h>.
11880         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11881         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11882         about bounded pointers.
11883         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11884         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11885         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11886         <bp-asm.h>.
11887         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11888         about bounded pointers.  Remove GKM FIXME comments.
11889         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11890         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11891         <bp-asm.h>.
11892         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11893         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11894         Remove GKM FIXME comments.
11895         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11896         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11897         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11898         <bp-asm.h>.
11899         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11900         about bounded pointers.  Remove GKM FIXME comment.
11901         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11902         and <bp-asm.h>.
11903         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11904         pointers.
11905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11906         <bp-sym.h> and <bp-asm.h>.
11907         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11909         <bp-sym.h> and <bp-asm.h>.
11910         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11911         comment.
11913 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11915         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11916         call free(NULL).
11918 2013-03-05  David S. Miller  <davem@davemloft.net>
11920         * po/es.po: Update from translation team.
11922 2013-03-05  Andreas Jaeger  <aj@suse.de>
11924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11925         <bits/mman-linux.h>.
11926         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11927         is fine.
11928         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11929         <bits/mman-linux.h> to end of file.
11930         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11931         is fine.
11932         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11933         <bits/mman-linux.h> to end of file.
11934         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11935         is fine.
11936         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11937         <bits/mman-linux.h> to end of file.
11939         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11940         (MCL_CURRENT, MCL_FUTURE): Define here.
11942 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11944         [BZ #15232]
11945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11946         attribute_hidden.
11947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11949 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11951         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11952         fourth parameter needed for rt_sigprocmask syscall.
11953         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11954         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11955         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11957         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11958         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11960 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11962         [BZ #13550]
11963         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11964         comment about bounded pointers.
11965         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11966         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11968 2013-03-04  Andreas Jaeger  <aj@suse.de>
11970         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11971         common definitions.
11973         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11974         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11975         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11980 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11982         [BZ #15055]
11983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11984         __ieee754_sqrl instead of __sqrl.
11986 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11988         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11989         * sysdeps/powerpc/fpu_control.h: ... here.
11990         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11991         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11992         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11993         * sysdeps/powerpc/bits/mathinline.h: ... here.
11995 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11997         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11998         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11999         to just [NEED_DL_SYSINFO_DSO].
12000         * elf/dl-support.c: Likewise.
12001         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12002         * elf/rtld.c (dl_main): Likewise.
12003         * elf/setup-vdso.h (setup_vdso): Likewise.
12004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12005         * sysdeps/unix/sysv/linux/dl-sysdep.c
12006         (_dl_discover_osversion): Likewise.
12008 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12010         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12011         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12013 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12015         * NEWS: Mention libm performance improvements and non-x86 PI
12016         futex support.
12018         * csu/libc-start.c (__pthread_initialize_minimal): Change
12019         function arguments.
12020         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12022 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12024         [BZ #13550]
12025         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12026         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12027         <bp-sym.h> and <bp-asm.h>.
12028         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12029         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12030         and <bp-asm.h>.
12031         (memcpy): Don't use BP_SYM.
12032         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12033         <bp-asm.h>.
12034         (__mpn_add_n): Don't use BP_SYM.
12035         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12036         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12037         and <bp-asm.h>.
12038         (__mpn_addmul_1): Don't use BP_SYM.
12039         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12040         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12041         <bp-sym.h>.
12042         (_setjmp): Don't use BP_SYM.
12043         (__novmx_setjmp): Likewise.
12044         (__GI__setjmp): Likewise.
12045         (__vmx_setjmp): Likewise.
12046         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12047         <bp-sym.h>.
12048         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12049         (__bzero): Don't use BP_SYM.
12050         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12051         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12052         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12053         <bp-sym.h> and <bp-asm.h>.
12054         (memcpy): Don't use BP_SYM.
12055         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12056         <bp-sym.h> and <bp-asm.h>.
12057         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12058         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12059         <bp-sym.h> and <bp-asm.h>.
12060         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12061         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12062         <bp-asm.h>.
12063         (__mpn_lshift): Don't use BP_SYM.
12064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12065         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12066         <bp-asm.h>.
12067         (memset): Don't use BP_SYM.
12068         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12069         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12070         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12071         <bp-asm.h>.
12072         (__mpn_mul_1): Don't use BP_SYM.
12073         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12074         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12075         <bp-sym.h> and <bp-asm.h>.
12076         (memcmp): Don't use BP_SYM.
12077         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12078         <bp-sym.h> and <bp-asm.h>.
12079         (memcpy): Don't use BP_SYM.
12080         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12081         <bp-sym.h> and <bp-asm.h>.
12082         (memset): Don't use BP_SYM.
12083         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12084         <bp-sym.h> and <bp-asm.h>.
12085         (strncmp): Don't use BP_SYM.
12086         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12087         <bp-sym.h> and <bp-asm.h>.
12088         (memcpy): Don't use BP_SYM.
12089         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12090         <bp-sym.h> and <bp-asm.h>.
12091         (memset): Don't use BP_SYM.
12092         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12093         <bp-sym.h> and <bp-asm.h>.
12094         (__memchr): Don't use BP_SYM.
12095         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12096         <bp-sym.h> and <bp-asm.h>.
12097         (memcmp): Don't use BP_SYM.
12098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12099         <bp-sym.h> and <bp-asm.h>.
12100         (memcpy): Don't use BP_SYM.
12101         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12102         <bp-sym.h> and <bp-asm.h>.
12103         (__mempcpy): Don't use BP_SYM.
12104         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12105         <bp-sym.h> and <bp-asm.h>.
12106         (__memrchr): Don't use BP_SYM.
12107         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12108         <bp-sym.h> and <bp-asm.h>.
12109         (memset): Don't use BP_SYM.
12110         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12111         <bp-sym.h> and <bp-asm.h>.
12112         (__rawmemchr): Don't use BP_SYM.
12113         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (__STRCMP): Don't use BP_SYM.
12116         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12117         <bp-sym.h> and <bp-asm.h>.
12118         (strchr): Don't use BP_SYM.
12119         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12120         <bp-sym.h> and <bp-asm.h>.
12121         (__strchrnul): Don't use BP_SYM.
12122         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12123         <bp-sym.h> and <bp-asm.h>.
12124         (strlen): Don't use BP_SYM.
12125         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12126         <bp-sym.h> and <bp-asm.h>.
12127         (strncmp): Don't use BP_SYM.
12128         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12129         <bp-sym.h> and <bp-asm.h>.
12130         (__strnlen): Don't use BP_SYM.
12131         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12132         <bp-asm.h>.
12133         (__mpn_rshift): Don't use BP_SYM.
12134         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12135         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12136         <bp-sym.h> and <bp-asm.h>.
12137         (__sigsetjmp): Don't use BP_SYM.
12138         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12139         (L(start_addresses)): Don't use BP_SYM.
12140         (_start): Likewise.
12141         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12142         <bp-asm.h>.
12143         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12144         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12145         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12146         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12147         <bp-asm.h>.
12148         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12149         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12150         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12151         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12152         <bp-asm.h>.
12153         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12154         comments.
12155         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12156         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12157         <bp-asm.h>.
12158         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12159         FIXME comments.
12160         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12161         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12162         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12163         <bp-asm.h>.
12164         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12165         comment.
12166         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12167         and <bp-asm.h>.
12168         (strncmp): Don't use BP_SYM,
12169         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12170         <bp-asm.h>.
12171         (__mpn_sub_n): Don't use BP_SYM.
12172         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12173         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12174         and <bp-asm.h>.
12175         (__mpn_submul_1): Don't use BP_SYM.
12176         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12178         <bp-sym.h> and <bp-asm.h>.
12179         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12181         <bp-sym.h> and <bp-asm.h>.
12182         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12183         comment.
12185 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12188         Use ZK to minimize writes to Z.
12189         (sub_magnitudes): Simplify code a bit.
12190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12191         Use ZK to minimize writes to Z.
12192         (sub_magnitudes): Simplify code a bit.
12194 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12196         * csu/gmon-start.c: Add special exception to license text.
12198 2013-02-27  Richard Henderson  <rth@redhat.com>
12200         * scripts/config.guess: Update from config.git.
12201         * scripts/config.sub: Likewise.
12203 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12205         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12207         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12209         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12211         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12213         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12215 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12217         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12218         [$(build-shared = yes].
12220 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12222         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12223         (__mul): Reduce iterations for calculating mantissa.
12225         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12226         MPTWO.
12227         (__mpranred): Likewise.
12229         [BZ #15160]
12230         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12231         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12233 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12235         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12236         Define __attribute__.
12238 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12240         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12241         unused.
12242         * posix/regex_internal.h (__attribute): Remove.
12243         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12244         (re_string_context_at): Likewise.
12245         (bitset_not): Use __attribute__ and mark function as possibly
12246         unused.
12247         (bitset_merge): Likewise.
12248         (bitset_mask): Likewise.
12249         (re_string_char_size_at): Likewise.
12250         (re_string_wchar_at): Likewise.
12251         (re_string_elem_size_at): Likewise.
12253 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12256         code.
12257         (cc32): Likewise.
12259         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12260         (__acr): Likewise.
12261         (__cpy): Likewise.
12262         (norm): Likewise.
12263         (denorm): Likewise.
12264         (__dbl_mp): Likewise.
12265         (add_magnitudes): Likewise.
12266         (sub_magnitudes): Likewise.
12267         (__mul): Likewise.
12268         (__inv): Likewise.
12270         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12271         style.
12273         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12274         style.
12276         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12277         code.
12279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12280         up changes with default code.
12281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12282         Likewise.
12284 2013-02-24  Allan McRae  <allan@archlinux.org>
12286         * manual/socket.texi (The Internet Namespace): Order menu items
12287         to match that in the file.
12289         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12290         node listing of the info page menu.
12292 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12294         [BZ #13550]
12295         * sysdeps/i386/bp-asm.h: Remove file.
12296         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12297         (PARMS): Do not use macros from bp-asm.h.
12298         (S1): Likewise.
12299         (S2): Likewise.
12300         (SIZE): Likewise.
12301         (__mpn_add_n): Do not use BP_SYM
12302         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12303         "bp-asm.h".
12304         (PARMS): Do not use macros from bp-asm.h.
12305         (S1): Likewise.
12306         (SIZE): Likewise.
12307         (__mpn_addmul_1): Do not use BP_SYM
12308         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12309         "bp-asm.h".
12310         (PARMS): Do not use macros from bp-asm.h.
12311         (SIGMSK): Likewise.
12312         (_setjmp): Likewise.  Do not use BP_SYM.
12313         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12314         "bp-asm.h".
12315         (PARMS): Do not use macros from bp-asm.h.
12316         (SIGMSK): Likewise.
12317         (setjmp): Likewise.  Do not use BP_SYM.
12318         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12319         "bp-asm.h".
12320         (PARMS): Do not use macros from bp-asm.h.
12321         (__frexp): Do not use BP_SYM.
12322         (frexp): Likewise.
12323         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12324         "bp-asm.h".
12325         (PARMS): Do not use macros from bp-asm.h.
12326         (__frexpf): Do not use BP_SYM.
12327         (frexpf): Likewise.
12328         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12329         "bp-asm.h".
12330         (PARMS): Do not use macros from bp-asm.h.
12331         (__frexpl): Do not use BP_SYM.
12332         (frexpl): Likewise.
12333         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12334         "bp-asm.h".
12335         (PARMS): Do not use macros from bp-asm.h.
12336         (__remquo): Do not use BP_SYM.
12337         (remquo): Likewise.
12338         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12339         "bp-asm.h".
12340         (PARMS): Do not use macros from bp-asm.h.
12341         (__remquof): Do not use BP_SYM.
12342         (remquof): Likewise.
12343         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12344         "bp-asm.h".
12345         (PARMS): Do not use macros from bp-asm.h.
12346         (__remquol): Do not use BP_SYM.
12347         (remquol): Likewise.
12348         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12349         "bp-asm.h".
12350         (PARMS): Do not use macros from bp-asm.h.
12351         (DEST): Likewise.
12352         (SRC): Likewise.
12353         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12354         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12355         "bp-asm.h".
12356         (PARMS): Do not use macros from bp-asm.h.
12357         (strlen): Do not use BP_SYM.
12358         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12359         "bp-asm.h".
12360         (PARMS): Do not use macros from bp-asm.h.
12361         (S1): Likewise.
12362         (S2): Likewise.
12363         (SIZE): Likewise.
12364         (__mpn_add_n): Do not use BP_SYM.
12365         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12366         "bp-asm.h".
12367         (PARMS): Do not use macros from bp-asm.h.
12368         (S1): Likewise.
12369         (SIZE): Likewise.
12370         (__mpn_addmul_1): Do not use BP_SYM.
12371         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12372         weak_alias.
12373         (bzero): Likewise.
12374         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12375         "bp-asm.h".
12376         (PARMS): Do not use macros from bp-asm.h.
12377         (S): Likewise.
12378         (SIZE): Likewise.
12379         (__mpn_lshift): Do not use BP_SYM.
12380         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12381         "bp-asm.h".
12382         (PARMS): Do not use macros from bp-asm.h.
12383         (DEST): Likewise.
12384         (SRC): Likewise.
12385         (LEN): Likewise.
12386         (memcpy): Likewise.  Do not use BP_SYM.
12387         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12388         libc_hidden_def and weak_alias.
12389         (mempcpy): Do not use BP_SYM in weak_alias.
12390         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12391         "bp-asm.h".
12392         (PARMS): Do not use macros from bp-asm.h.
12393         (DEST): Likewise.
12394         (LEN): Likewise.
12395         [!BZERO_P] (CHR): Likewise.
12396         (memset): Likewise.  Do not use BP_SYM.
12397         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12398         "bp-asm.h".
12399         (PARMS): Do not use macros from bp-asm.h.
12400         (S1): Likewise.
12401         (SIZE): Likewise.
12402         (__mpn_mul_1): Do not use BP_SYM.
12403         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12404         "bp-asm.h".
12405         (PARMS): Do not use macros from bp-asm.h.
12406         (S): Likewise.
12407         (SIZE): Likewise.
12408         (__mpn_rshift): Do not use BP_SYM.
12409         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12410         "bp-asm.h".
12411         (PARMS): Do not use macros from bp-asm.h.
12412         (STR): Likewise.
12413         (CHR): Likewise.
12414         (strchr): Likewise.  Do not use BP_SYM.
12415         (index): Do not use BP_SYM in weak_alias.
12416         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12417         "bp-asm.h".
12418         (PARMS): Do not use macros from bp-asm.h.
12419         (DEST): Likewise.
12420         (SRC): Likewise.
12421         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12422         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12423         "bp-asm.h".
12424         (PARMS): Do not use macros from bp-asm.h.
12425         (strlen): Do not use BP_SYM.
12426         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12427         "bp-asm.h".
12428         (PARMS): Do not use macros from bp-asm.h.
12429         (S1): Likewise.
12430         (S2): Likewise.
12431         (SIZE): Likewise.
12432         (__mpn_sub_n): Do not use BP_SYM.
12433         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12434         "bp-asm.h".
12435         (PARMS): Do not use macros from bp-asm.h.
12436         (S1): Likewise.
12437         (SIZE): Likewise.
12438         (__mpn_submul_1): Do not use BP_SYM.
12439         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12440         "bp-asm.h".
12441         (PARMS): Do not use macros from bp-asm.h.
12442         (S1): Likewise.
12443         (S2): Likewise.
12444         (SIZE): Likewise.
12445         (__mpn_add_n): Do not use BP_SYM.
12446         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12447         weak_alias.
12448         (bzero): Likewise.
12449         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12450         "bp-asm.h".
12451         (PARMS): Do not use macros from bp-asm.h.
12452         (BLK2): Likewise.
12453         (LEN): Likewise.
12454         (memcmp): Do not use BP_SYM.
12455         (bcmp): Do not use BP_SYM in weak_alias.
12456         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12457         "bp-asm.h".
12458         (PARMS): Do not use macros from bp-asm.h.
12459         (DEST): Likewise.
12460         (SRC): Likewise.
12461         (LEN): Likewise.
12462         (memcpy): Likewise.  Do not use BP_SYM.
12463         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12464         "bp-asm.h".
12465         (PARMS): Do not use macros from bp-asm.h.
12466         (DEST): Likewise.
12467         (SRC): Likewise.
12468         (LEN): Likewise.
12469         (memmove): Likewise.  Do not use BP_SYM.
12470         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12471         "bp-asm.h".
12472         (PARMS): Do not use macros from bp-asm.h.
12473         (DEST): Likewise.
12474         (SRC): Likewise.
12475         (LEN): Likewise.
12476         (__mempcpy): Likewise.  Do not use BP_SYM.
12477         (mempcpy): Do not use BP_SYM in weak_alias.
12478         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12479         "bp-asm.h".
12480         (PARMS): Do not use macros from bp-asm.h.
12481         (DEST): Likewise.
12482         (LEN): Likewise.
12483         [!BZERO_P] (CHR): Likewise.
12484         (memset): Likewise.  Do not use BP_SYM.
12485         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12486         "bp-asm.h".
12487         (PARMS): Do not use macros from bp-asm.h.
12488         (STR2): Likewise.
12489         (strcmp): Do not use BP_SYM.
12490         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12491         "bp-asm.h".
12492         (PARMS): Do not use macros from bp-asm.h.
12493         (STR): Likewise.
12494         (DELIM): Likewise.
12495         [USE_AS_STRTOK_R] (SAVE): Likewise.
12496         (FUNCTION): Likewise.  Do not use BP_SYM.
12497         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12498         aliases.
12499         (strtok_r): Likewise.
12500         (__GI___strtok_r): Likewise.
12501         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12502         (PARMS): Do not use macros from bp-asm.h.
12503         (S): Likewise.
12504         (SIZE): Likewise.
12505         (__mpn_lshift): Do not use BP_SYM.
12506         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12507         (PARMS): Do not use macros from bp-asm.h.
12508         (STR): Likewise.
12509         (CHR): Likewise.
12510         (__memchr): Do not use BP_SYM.
12511         (memchr): Do not use BP_SYM in weak_alias.
12512         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12513         (PARMS): Do not use macros from bp-asm.h.
12514         (BLK2): Likewise.
12515         (LEN): Likewise.
12516         (memcmp): Do not use BP_SYM.
12517         (bcmp): Do not use BP_SYM in weak_alias.
12518         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12519         (PARMS): Do not use macros from bp-asm.h.
12520         (S1): Likewise.
12521         (SIZE): Likewise.
12522         (__mpn_mul_1): Do not use BP_SYM.
12523         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12524         "bp-asm.h".
12525         (PARMS): Do not use macros from bp-asm.h.
12526         (STR): Likewise.
12527         (CHR): Likewise.
12528         (__rawmemchr): Do not use BP_SYM.
12529         (rawmemchr): Do not use BP_SYM in weak_alias.
12530         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12531         (PARMS): Do not use macros from bp-asm.h.
12532         (S): Likewise.
12533         (SIZE): Likewise.
12534         (__mpn_rshift): Do not use BP_SYM.
12535         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12536         (PARMS): Do not use macros from bp-asm.h.
12537         (SIGMSK): Likewise.
12538         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12539         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12540         (_start): Do not use BP_SYM.
12541         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12542         (PARMS): Do not use macros from bp-asm.h.
12543         (DEST): Likewise.
12544         (SRC): Likewise.
12545         (__stpcpy): Likewise.  Do not use BP_SYM.
12546         (stpcpy): Do not use BP_SYM in weak_alias.
12547         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12548         "bp-asm.h".
12549         (PARMS): Do not use macros from bp-asm.h.
12550         (DEST): Likewise.
12551         (SRC): Likewise.
12552         (LEN): Likewise.
12553         (__stpncpy): Likewise.  Do not use BP_SYM.
12554         (stpncpy): Do not use BP_SYM in weak_alias.
12555         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12556         (PARMS): Do not use macros from bp-asm.h.
12557         (STR): Likewise.
12558         (CHR): Likewise.
12559         (strchr): Likewise.  Do not use BP_SYM.
12560         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12561         "bp-asm.h".
12562         (PARMS): Do not use macros from bp-asm.h.
12563         (STR): Likewise.
12564         (CHR): Likewise.
12565         (__strchrnul): Likewise.  Do not use BP_SYM.
12566         (strchrnul): Do not use BP_SYM in weak_alias.
12567         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12568         "bp-asm.h".
12569         (PARMS): Do not use macros from bp-asm.h.
12570         (STOP): Likewise.
12571         (strcspn): Do not use BP_SYM.
12572         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12573         "bp-asm.h".
12574         (PARMS): Do not use macros from bp-asm.h.
12575         (STR): Likewise.
12576         (STOP): Likewise.
12577         (strpbrk): Likewise.  Do not use BP_SYM.
12578         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12579         "bp-asm.h".
12580         (PARMS): Do not use macros from bp-asm.h.
12581         (STR): Likewise.
12582         (CHR): Likewise.
12583         (strrchr): Likewise.  Do not use BP_SYM.
12584         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12585         (PARMS): Do not use macros from bp-asm.h.
12586         (SKIP): Likewise.
12587         (strspn): Do not use BP_SYM.
12588         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12589         (PARMS): Do not use macros from bp-asm.h.
12590         (STR): Likewise.
12591         (DELIM): Likewise.
12592         (SAVE): Likewise.
12593         (FUNCTION): Likewise.  Do not use BP_SYM.
12594         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12595         aliases.
12596         (strtok_r): Likewise.
12597         (__GI___strtok_r): Likewise.
12598         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12599         (PARMS): Do not use macros from bp-asm.h.
12600         (S1): Likewise.
12601         (S2): Likewise.
12602         (SIZE): Likewise.
12603         (__mpn_sub_n): Do not use BP_SYM.
12604         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12605         "bp-asm.h".
12606         (PARMS): Do not use macros from bp-asm.h.
12607         (S1): Likewise.
12608         (SIZE): Likewise.
12609         (__mpn_submul_1): Do not use BP_SYM.
12610         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12611         <bp-sym.h>.
12612         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12613         and <bp-asm.h>.
12614         (PARMS): Do not use macros from bp-asm.h.
12615         (FLAGS): Likewise.
12616         (PTID): Likewise.
12617         (TLS): Likewise.
12618         (CTID): Likewise.
12619         (__clone): Do not use BP_SYM.
12620         (clone): Do not use BP_SYM in weak_alias.
12621         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12622         and <bp-asm.h>.
12623         (PARMS): Do not use macros from bp-asm.h.
12624         (LEN): Likewise.
12625         (__mmap64): Do not use BP_SYM.
12626         (mmap64): Do not use BP_SYM in weak_alias.
12627         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12628         <bp-sym.h> and <bp-asm.h>.
12629         (PARMS): Do not use macros from bp-asm.h.
12630         (__posix_fadvise64_l64): Do not use BP_SYM.
12631         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12632         (PARMS): Do not use macros from bp-asm.h.
12633         (NSOPS): Likewise.
12634         (semtimedop): Do not use BP_SYM.
12635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12636         and <bp-asm.h>.
12638 2013-02-21  Allan McRae  <allan@archlinux.org>
12640         * manual/message.texi (Charset conversion in gettext):
12641         Move @end statement to beginning of line.
12643 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12646         static.
12647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12648         Likewise.
12650         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12651         (denorm): Likewise.
12652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12655 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12657         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12658         tail-call to the resolved function if pltexit isn't needed.
12660 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12663         or Y being zero as being unlikely.
12664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12665         Likewise.
12667 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12669         * manual/nss.texi (System Databases and Name Service Switch):
12670         Remove frobnicate @pxref.
12672 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12674         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12675         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12677 2013-02-20  Petr Machata  <pmachata@redhat.com>
12679         * elf/elf.h (R_ARM_TARGET1): New macro.
12680         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12681         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12682         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12683         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12684         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12685         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12686         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12687         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12688         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12689         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12690         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12691         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12692         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12693         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12694         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12695         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12696         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12697         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12698         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12699         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12700         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12701         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12702         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12703         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12704         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12705         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12706         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12707         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12708         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12709         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12710         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12711         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12712         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12713         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12714         (R_ARM_THM_GOT_BREL12): Likewise.
12715         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12716         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12717         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12718         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12719         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12720         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12721         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12722         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12723         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12725 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12727         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12728         __attribute_used__ to __attribute__ ((unused)).
12730 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12732         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12733         powerpc mpa.c.
12734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12735         comment formatting.
12736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12738 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12740         [BZ #13550]
12741         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12742         Remove macro.
12743         (ENTER): Remove both macro definitions.
12744         (LEAVE): Likewise.
12745         (CHECK_BOUNDS_LOW): Likewise.
12746         (CHECK_BOUNDS_HIGH): Likewise.
12747         (CHECK_BOUNDS_BOTH): Likewise.
12748         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12749         (RETURN_BOUNDED_POINTER): Likewise.
12750         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12751         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12752         (POP_ERRNO_LOCATION_RETURN): Likewise.
12753         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12754         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12755         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12756         macros.
12757         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12758         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12759         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12760         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12761         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12762         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12763         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12764         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12765         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12766         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12767         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12768         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12769         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12770         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12771         removed macros.
12772         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12773         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12774         macros.
12775         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12776         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12777         * sysdeps/i386/i586/memset.S (memset): Likewise.
12778         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12779         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12780         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12781         macros.
12782         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12783         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12784         Change uses of L(2) to L(out).
12785         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12786         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12787         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12788         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12789         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12790         removed macros.
12791         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12792         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12793         macros.
12794         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12795         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12796         (RETURN): Do not use macro LEAVE.
12797         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12798         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12799         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12800         * sysdeps/i386/i686/memset.S (memset): Likewise.
12801         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12802         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12803         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12804         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12805         Likewise.
12806         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12807         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12808         L(1_2) and L(1_3) into L(1).
12809         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12810         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12811         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12812         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12813         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12814         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12815         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12817         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12818         macros.
12819         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12820         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12821         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12822         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12823         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12824         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12825         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12826         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12827         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12828         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12829         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12830         * sysdeps/i386/strspn.S (strspn): Likewise.
12831         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12832         conditional code.
12833         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12834         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12835         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12836         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12837         L(1_3) into L(1_1).
12838         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12839         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12840         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12841         macros.
12842         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12844 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12846         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12847         macro.
12849 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12851         * math/atest-exp.c (exp_mpn): Remove ROUND.
12852         * math/atest-exp2.c (exp_mpn): Likewise.
12853         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12855         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12856         * stdlib/tst-tls-atexit-lib.c: Likewise.
12857         * stdlib/tst-tls-atexit.c: Likewise.
12859 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12861         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12862         and __attribute_alloc_size__.
12864 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12866         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12867         __attribute_alloc_size__.
12868         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12869         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12871 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12873         * include/programs/xmalloc.h: New file.
12874         * catgets/gencat.c: Include it.
12875         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12876         * elf/pldd.c: Likewise.
12877         * iconv/iconv_charmap.c: Likewise.
12878         * iconv/iconvconfig.c: Likewise.
12879         * iconv/strtab.c: Likewise.
12880         * locale/programs/locale.c: Likewise.
12881         * locale/programs/localedef.h: Likewise.
12882         * locale/programs/simple-hash.c: Likewise.
12883         * nscd/nscd.h: Likewise.
12884         * nss/makedb.c: Likewise.
12885         * sysdeps/generic/ldconfig.h: Likewise.
12887 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12889         * Versions.def: Add GLIBC_2.18.
12890         * include/link.h (struct link_map): New member l_tls_dtor_count.
12891         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12892         (__call_tls_dtors): Likewise.
12893         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12894         __cxa_thread_atexit_impl.
12895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12896         Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12898         Likewise.
12899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12900         Likewise.
12901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12902         Likewise.
12903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12905         Likewise.
12906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12907         Likewise.
12908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12910         Likewise.
12911         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12912         (tests): Add test case tst-tls-atexit.
12913         (modules-names): Add shared library for tst-tls-atexit.
12914         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12915         (GLIBC_PRIVATE): Add __call_tls_dtors.
12916         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12917         for libstdc++.
12918         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12919         * stdlib/tst-tls-atexit.c: New test case.
12920         * stdlib/tst-tls-atexit-lib.c: New test case.
12922         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12924         * elf/Versions (ld): Add _dl_find_dso_for_object.
12925         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12926         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12927         (dl_open_worker): Use _dl_find_dso_for_object.
12928         * elf/dl-sym.c (do_sym): Likewise.
12929         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12931 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12933         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12934         Syntactic changes only.
12935         (_dl_runtime_profile): Do a tail-call to the resolved function.
12937 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12939         [BZ #13550]
12940         * sysdeps/x86_64/bp-asm.h: Remove file.
12941         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12942         <bp-sym.h> and <bp-asm.h>.
12943         (__clone): Do not use BP_SYM.
12944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12945         <bp-sym.h> and <bp-asm.h>.
12946         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12947         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12948         "bp-asm.h".
12949         (_setjmp): Do not use BP_SYM.
12950         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12951         "bp-asm.h".
12952         (setjmp): Do not use BP_SYM.
12953         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12954         libc_hidden_def.
12955         (mempcpy): Do not use BP_SYM in weak_alias.
12956         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12957         "bp-asm.h".
12958         (strchr): Do not use BP_SYM.
12959         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12960         "bp-asm.h".
12961         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12962         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12963         (_start): Do not use BP_SYM.
12964         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12965         "bp-asm.h".
12966         (strcat): Do not use BP_SYM.
12967         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12968         "bp-asm.h".
12969         (STRCMP): Do not use BP_SYM.
12970         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12971         "bp-asm.h".
12972         (STRCPY): Do not use BP_SYM.
12973         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12974         "bp-asm.h".
12975         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12976         "bp-asm.h".
12977         (FUNCTION): Do not use BP_SYM.
12978         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12979         weak_alias.
12980         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12982 2013-02-17  Andreas Jaeger  <aj@suse.de>
12984         * time/Versions: Sort entries.
12985         * string/Versions: Likewise.
12986         * resolv/Versions: Likewise.
12987         * posix/Versions: Likewise.
12988         * iconv/Versions: Likewise.
12989         * elf/Versions: Likewise.
12990         * wcsmbs/Versions: Likewise.
12992 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12994         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12995         loop termination condition.
12997         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12998         variable to calculate EZ.
12999         (__sqr): Likewise.
13001         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13002         the lower precision input.
13004 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13006         [BZ #13550]
13007         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13008         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13009         (run-via-rtld-prefix): Do not handle %-bp tests.
13010         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13011         (all-object-suffixes): Remove .ob.
13012         (bppfx): Remove variable.
13013         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13014         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13015         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13016         [$(build-bounded) = yes] (libtype.ob): Likewise.
13017         * Makerules (elide-routines.ob): Remove variable.
13018         (do-tests-clean): Do not handle *-bp.out.
13019         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13020         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13021         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13022         (tests): Do not include $(tests-bp.out).
13023         (xtests): Do not include $(xtests-bp.out).
13024         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13025         [$(build-bounded) = yes] ($(addprefix
13026         $(objpfx),$(binaries-bounded))): Remove rule.
13027         ($(objpfx)%-bp.out): Remove rule.
13028         * config.make.in (build-bounded): Remove variable.
13029         * crypt/Makefile [$(build-bounded) = yes]
13030         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13031         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13032         append to variable.
13033         [$(build-bounded) = yes] (install-lib): Likewise.
13034         [$(build-bounded) = yes] (generated): Likewise.
13035         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13036         Remove rule.
13037         * intl/Makefile [$(build-bounded) = yes]
13038         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13039         * math/Makefile [$(build-bounded) = yes]
13040         ($(tests:%=$(objpfx)%-bp): Likewise.
13041         * misc/Makefile [$(build-bounded) = yes]
13042         ($(objpfx)tst-tsearch-bp): Likewise.
13043         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13044         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13045         Remove dependency.
13046         * string/Makefile (o-objects.ob): Remove variable.
13047         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13048         (CFLAGS-.ob): Remove variable.
13049         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13050         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13051         both definitions of variable.
13052         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13053         (ASFLAGS-.ob): Remove variable.
13055 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #13550]
13058         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13059         Remove __BOUNDED_POINTERS__ from condition.
13060         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13061         * string/bits/string2.h [!__NO_STRING_INLINES &&
13062         !__BOUNDED_POINTERS__]: Likewise.
13063         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13064         Likewise.
13065         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13066         Remove conditional code.
13067         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13068         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13069         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13070         condition.
13072         [BZ #13550]
13073         * csu/libc-start.c: Do not include <bp-sym.h>.
13074         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13075         * elf/dl-open.c: Do not include <bp-sym.h>.
13076         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13077         * math/fegetenv.c: Do not include <bp-sym.h>.
13078         (fegetenv): Do not use BP_SYM in versioned symbols.
13079         * nptl/sysdeps/pthread/bits/libc-lockP.h
13080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13081         <bp-sym.h>.
13082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13083         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13085         (__pthread_mutex_destroy): Likewise.
13086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13087         (__pthread_mutex_lock): Likewise.
13088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13089         (__pthread_mutex_trylock): Likewise.
13090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13091         (__pthread_mutex_unlock): Likewise.
13092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13093         (__pthread_mutexattr_init): Likewise.
13094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13095         (__pthread_mutexattr_destroy): Likewise.
13096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13097         (__pthread_mutexattr_settype): Likewise.
13098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13099         (__pthread_rwlock_init): Likewise.
13100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13101         (__pthread_rwlock_destroy): Likewise.
13102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13103         (__pthread_rwlock_rdlock): Likewise.
13104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13105         (__pthread_rwlock_tryrdlock): Likewise.
13106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13107         (__pthread_rwlock_wrlock): Likewise.
13108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13109         (__pthread_rwlock_trywrlock): Likewise.
13110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13111         (__pthread_rwlock_unlock): Likewise.
13112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13113         (__pthread_key_create): Likewise.
13114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13115         (__pthread_setspecific): Likewise.
13116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13117         (__pthread_getspecific): Likewise.
13118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13119         Likewise.
13120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13121         (_pthread_cleanup_push_defer): Likewise.
13122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13123         (_pthread_cleanup_pop_restore): Likewise.
13124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13125         (pthread_setcancelstate): Likewise.
13126         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13127         <bp-sym.h>.
13128         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13129         (memchr): Do not use BP_SYM in weak_alias.
13130         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13131         (fegetenv): Do not use BP_SYM in versioned symbols.
13132         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13133         (fesetenv): Do not use BP_SYM in versioned symbols.
13134         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13135         (feupdateenv): Do not use BP_SYM in versioned symbols.
13136         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13137         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13138         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13139         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13140         (open64): Do not use BP_SYM in weak_alias.
13141         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13142         (fegetenv): Do not use BP_SYM in versioned symbols.
13143         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13144         (fesetenv): Do not use BP_SYM in versioned symbols.
13145         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13146         (feupdateenv): Do not use BP_SYM in versioned symbols.
13147         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13148         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13149         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13150         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13151         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13152         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13153         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13154         <bp-sym.h>.
13155         (__libc_start_main): Do not use BP_SYM.
13157 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13160         redundant return line.
13161         (norm): Likewise.
13162         (denorm): Likewise.
13163         (dbl_mp): Likewise.
13164         (sub_magnitudes): Likewise.
13165         (__add): Likewise.
13166         (__sub): Likewise.
13167         (__mul): Likewise.
13168         (__inv): Likewise.
13169         (__dvd): Likewise.
13170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13171         (norm): Likewise.
13172         (denorm): Likewise.
13173         (dbl_mp): Likewise.
13174         (sub_magnitudes): Likewise.
13175         (__add): Likewise.
13176         (__sub): Likewise.
13177         (__mul): Likewise.
13178         (__inv): Likewise.
13179         (__dvd): Likewise.
13181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13182         instead of __mul.
13183         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13184         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13185         (cc32): Likewise.
13187         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13188         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13190         of __mul for squares.
13191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13192         function
13193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13194         Likewise.
13195         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13196         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13198 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13200         [BZ #13550]
13201         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13202         code.
13203         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13204         prototype or function definition.  Rename ubp_* variables and
13205         parameters.  Remove argv definitions conditional on
13206         [__BOUNDED_POINTERS__].
13207         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13208         * elf/dl-runtime.c (_dl_fixup): Likewise.
13209         * include/set-hooks.h (RUN_HOOK): Likewise.
13210         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13211         definition.
13212         * string/strcpy.c (strcpy): Do not use __unbounded.
13213         * sysdeps/generic/frame.h (struct layout): Likewise.
13214         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13215         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13216         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13217         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13218         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13219         (__backtrace): Likewise.
13220         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13221         use __ptrvalue.
13222         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13223         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13224         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13225         Likewise.
13226         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13227         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13228         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13229         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13230         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13231         Do not use __unbounded.
13232         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13233         Rename __unboundedrlimits parameter to rlimits in prototype.
13234         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13235         Do not use __unbounded.
13236         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13237         not use __ptrvalue.
13238         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13239         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13240         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13241         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13242         __ptrvalue or __unbounded.
13243         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13244         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13245         use __unbounded.
13246         (__new_msgctl): Do not use __ptrvalue.
13247         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13248         __unbounded.
13249         (__libc_msgrcv): Do not use __ptrvalue.
13250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13251         startup_info): Do not use __unbounded.
13252         (__libc_start_main): Likewise.  Rename ubp_* variables and
13253         parameters.  Remove argv definitions conditional on
13254         [__BOUNDED_POINTERS__].
13255         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13256         __ptrvalue.
13257         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13258         use __unbounded.
13259         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13260         or __ptrvalue.
13261         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13262         use __unbounded.
13263         (__new_shmctl): Do not use __ptrvalue.
13264         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13265         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13266         Likewise.
13267         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13269         (__libc_sigaction): Likewise.
13270         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13275 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13277         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13279         * string/mempcpy.c: Implement by calling memcpy.
13281 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13286         evaluation.
13288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13289         values in the mantissa.
13291         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13292         minimize writes to Z.
13293         (sub_magnitudes): Simplify code a bit.
13295 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13297         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13298         from the message.  The linker prefixes all warnings with that already.
13300 2013-02-12  Andreas Schwab  <schwab@suse.de>
13302         [BZ #15078]
13303         * posix/regexec.c (extend_buffers): Add parameter min_len.
13304         (check_matching): Pass minimum needed length.
13305         (clean_state_log_if_needed): Likewise.
13306         (get_subexp): Likewise.
13307         * posix/Makefile (tests): Add bug-regex34.
13308         (bug-regex34-ENV): Define.
13309         * posix/bug-regex34.c: New file.
13311         [BZ #11561]
13312         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13313         elements compare against the byte sequence of it, not its name.
13314         * posix/Makefile (tests): Add bug-regex35.
13315         (bug-regex35-ENV): Define.
13316         * posix/bug-regex35.c: New file.
13318 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13320         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13321         comment.
13322         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13323         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13324         (CHECK_EOL): Add undef.
13326 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13328         * bits/stdlib-bsearch.h: New file.
13329         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13330         * stdlib/stdlib.h: Likewise.
13332 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13334         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13335         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13336         declaration.
13337         * manual/search.texi (Array Search Function): Add missing const in
13338         lfind prototype.
13339         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13340         declaration to use rlim_t.
13341         (Basic Scheduling Functions): Remove erroneous const from
13342         sched_getparam prototype.  Remove erroneous * from
13343         sched_get_priority_max and sched_get_priority_min prototypes.
13344         (Resource Usage): Fix summary @comment on vtimes to refer to
13345         sys/vtimes.h rather than vtimes.h.
13346         Add missing *s in vtimes prototype.
13347         (Limits on Resources): Fix ulimit prototype to return long int.
13348         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13349         prototypes to use long int rather than double.
13350         (BSD Random): Fix initstate and setstate to use char *, not void *.
13351         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13352         prototype to make second argument 'struct aiocb64 *const[]'.
13353         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13354         (Status of AIO Operations): Remove erroneous const in aio_return and
13355         aio_return64 prototypes.
13356         (Synchronizing I/O): Fix sync prototype to return void.
13357         * manual/startup.texi (Suboptions): Remove an erroneous const in
13358         getsubopt prototype.
13359         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13360         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13361         use size_t rather than int.
13362         (Scanning All Users): Likewise for getpwent_r.
13363         (Setting Groups): Add missing const to setgroups prototype.
13364         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13365         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13366         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13367         'const void *' rather than 'const char *'.
13368         (Host Address Functions): Likewise for inet_ntop.
13369         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13370         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13371         ssize_t for return value.
13372         (Sending Data): Likewise for send, sendto, sendmsg.
13373         (Socket Option Functions): Add a missing const in setsockopt prototype.
13374         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13375         use wchar_t for the argument.
13376         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13377         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13378         take no arguments.
13379         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13380         double/float/long double for second argument.
13381         Fix return types of significand, significandf, significandl.
13382         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13383         argument in fchmod prototype.
13384         (File Owner): Use uid_t and gid_t in fchown prototype.
13385         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13386         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13387         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13388         use 'const struct dirent **' as argument types to CMP function pointer
13389         argument.
13390         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13391         (File Times): Fix summary magic @comment for struct utimbuf and utime
13392         to refer to utime.h, not time.h.
13393         * manual/string.texi (Argz Functions): Add missing const in
13394         argz_extract and argz_next prototypes.
13395         (Finding Tokens in a String): Likewise for basename.
13396         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13397         (Copying and Concatenation): Fix typo in wmemmove prototype.
13398         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13399         (Signal Stack): Remove erroneous const in sigstack prototype.
13400         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13401         prototype.
13402         (Simple Calendar Time): Likewise for stime.
13403         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13404         prototype.
13405         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13406         say sys/sysctl.h instead.
13407         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13408         and vsyslog prototypes.
13410 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13412         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13413         Remove.
13415 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13417         * misc/sys/mman.h: Fix typo in mremap comment.
13419 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13421         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13422         the '\0' terminator.
13424 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13426         [BZ #13550]
13427         * debug/segfault.c: Don't include <bp-checks.h>.
13428         * sysdeps/generic/bp-checks.h: Remove file.
13429         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13430         (__GETDENTS): Don't use CHECK_N.
13431         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13432         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13433         (__getgroups): Don't use CHECK_N.
13434         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13435         (setgroups): Don't use CHECK_N.
13436         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13437         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13438         (__libc_msgrcv): Don't use CHECK_N.
13439         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13440         (__libc_msgsnd): Don't use CHECK_N.
13441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13442         <bp-checks.h>.
13443         (__libc_pread): Don't use CHECK_N.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13445         include <bp-checks.h>.
13446         (__libc_pread64): Don't use CHECK_N.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13448         include <bp-checks.h>.
13449         (__libc_pwrite): Don't use CHECK_N.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13451         include <bp-checks.h>.
13452         (__libc_pwrite64): Don't use CHECK_N.
13453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13454         <bp-checks.h>.
13455         (__libc_pread): Don't use CHECK_N.
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13457         include <bp-checks.h>.
13458         (__libc_pread64): Don't use CHECK_N.
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13460         include <bp-checks.h>.
13461         (__libc_pwrite): Don't use CHECK_N.
13462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13463         include <bp-checks.h>.
13464         (__libc_pwrite64): Don't use CHECK_N.
13465         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13466         (do_pread): Don't use CHECK_N.
13467         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13468         (do_pread64): Don't use CHECK_N.
13469         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13470         (do_pwrite): Don't use CHECK_N.
13471         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13472         (do_pwrite64): Don't use CHECK_N.
13473         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13474         (__libc_readv): Don't use CHECK_N.
13475         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13476         (semop): Don't use CHECK_N.
13477         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13478         <bp-checks.h>.
13479         (semtimedop): Don't use CHECK_N.
13480         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13481         (__libc_pread): Don't use CHECK_N.
13482         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13483         <bp-checks.h>.
13484         (__libc_pread64): Don't use CHECK_N.
13485         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13486         <bp-checks.h>.
13487         (__libc_pwrite): Don't use CHECK_N.
13488         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13489         <bp-checks.h>.
13490         (__libc_pwrite64): Don't use CHECK_N.
13491         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13492         <bp-checks.h>.
13493         (__libc_msgrcv): Don't use CHECK_N.
13494         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13495         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13496         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13497         (__libc_writev): Don't use CHECK_N.
13499 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13501         * string/strcpy.c: Removed unused variable.
13503         * Makeconfig (+sysdep-includes): Define with := rather than =.
13504         Use an existing include/ subdir of each sysdeps dir before it.
13506 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13508         * nscd/connection.c (register_traced_file): Comment function.
13509         [HAVE_INOTIFY] (union __inev): Define.
13510         [HAVE_INOTIFY] (inotify_check_files): New function.
13511         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13512         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13513         clear_db_cache.
13514         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13516 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13518         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13519         loaded if not already and that a failure is permanent.
13521 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13523         [BZ #15006]
13524         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13525         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13527 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13529         [BZ #13550]
13530         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13531         (CHECK_1_NULL_OK): Likewise.
13532         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13533         (__fxstat): Do not use CHECK_1.
13534         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13535         <bp-checks.h>.
13536         (___fxstat64): Do not use CHECK_1.
13537         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13538         <bp-checks.h>.
13539         (__fxstatat): Do not use CHECK_1.
13540         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13541         <bp-checks.h>.
13542         (__fxstatat64): Do not use CHECK_1.
13543         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13544         <bp-checks.h>.
13545         (__fxstat): Do not use CHECK_1.
13546         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13547         <bp-checks.h>.
13548         (__fxstatat): Do not use CHECK_1.
13549         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13550         <bp-checks.h>.
13551         (__getresgid): Do not use CHECK_1.
13552         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13553         <bp-checks.h>.
13554         (__getresuid): Do not use CHECK_1.
13555         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13556         <bp-checks.h>.
13557         (__lxstat): Do not use CHECK_1.
13558         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13559         <bp-checks.h>.
13560         (__old_msgctl): Do not use CHECK_1.
13561         (__new_msgctl): Likewise.
13562         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13563         <bp-checks.h>.
13564         (__new_setrlimit): Do not use CHECK_1.
13565         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13566         <bp-checks.h>.
13567         (__old_shmctl): Do not use CHECK_1.
13568         (__new_shmctl): Likewise.
13569         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13570         <bp-checks.h>.
13571         (__xstat): Do not use CHECK_1.
13572         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13573         (__lxstat): Do not use CHECK_1.
13574         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13575         <bp-checks.h>.
13576         (___lxstat64): Do not use CHECK_1.
13577         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13578         (__old_msgctl): Do not use CHECK_1.
13579         (__new_msgctl): Likewise.
13580         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13581         <bp-checks.h>.
13582         (__gettimeofday): Do not use CHECK_1.
13583         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13584         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13585         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13586         <bp-checks.h>.
13587         (__gettimeofday): Do not use CHECK_1.
13588         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13589         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13590         (__new_shmctl): Do not use CHECK_1.
13591         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13592         <bp-checks.h>.
13593         (do_sigtimedwait): Do not use CHECK_1.
13594         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13595         <bp-checks.h>.
13596         (do_sigwaitinfo): Do not use CHECK_1.
13597         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13598         <bp-checks.h>.
13599         (msgctl): Do not use CHECK_1.
13600         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13601         <bp-checks.h>.
13602         (shmctl): Do not use CHECK_1.
13603         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13604         (ustat): Do not use CHECK_1.
13605         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13606         <bp-checks.h>.
13607         (__fxstat): Do not use CHECK_1.
13608         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13609         <bp-checks.h>.
13610         (__fxstatat): Do not use CHECK_1.
13611         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13612         <bp-checks.h>.
13613         (__lxstat): Do not use CHECK_1.
13614         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13615         <bp-checks.h>.
13616         (__xstat): Do not use CHECK_1.
13617         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13618         (__xstat): Do not use CHECK_1.
13619         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13620         (___xstat64): Do not use CHECK_1.
13622         [BZ #13550]
13623         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13624         definitions.
13625         (CHECK_BOUNDS_HIGH): Likewise.
13626         * string/strcpy.c: Do not include <bp-checks.h>.
13627         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13629 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13631         * nscd/nscd-client.h (__nscd_drop_map_ref):
13632         Add __attribute__ ((unused)).
13633         * nis/nss-nisplus.h (niserr2nss): Likewise.
13635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13636         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13638         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13639         Remove inline keyword.
13640         * include/rounding-mode.h (round_away): Likewise.
13641         * libio/wfileops.c (adjust_wide_data): Likewise.
13642         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13643         (__m128i_strloadu_tolower): Likewise.
13644         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13645         (__m128i_strloadu_tolower): Likewise.
13646         * time/mktime.c (ydhms_diff): Likewise.
13647         * locale/elem-hash.h (elem_hash): Likewise.
13648         * locale/setlocale.c (setdata): Likewise.
13649         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13650         (re_string_wchar_at): Likewise.
13651         (bitset_not, bitset_merge, bitset_mask): Likewise.
13652         [!(__GNUC__ > 3)] (inline): Remove macro.
13653         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13654         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13655         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13656         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13657         * string/memcmp.c (memcmp_bytes): Likewise.
13658         * locale/programs/locarchive.c (compute_hashval): Likewise.
13659         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13660         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13661         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13662         * nss/getent.c (print_rpc, print_protocols): Likewise.
13663         (print_passwd, print_group, print_aliases): Likewise.
13664         * nis/nss-nisplus.h (niserr2nss): Likewise.
13665         * nscd/connections.c (restart_p): Likewise.
13666         Change return type to bool.
13668 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13670         * Makeconfig (all-Depend-files): Add existing
13671         $(sorted-subdirs:=/Depend) files.
13672         (all-subdirs): Remove nss.
13673         * sysdeps/unix/inet/Subdirs: Add it here instead.
13674         * hesiod/Depend: New file.
13676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13677         instead of calling alloca.
13679         * io/lseek.c (__lseek): Rename to __libc_lseek.
13680         Define __lseek as an alias.
13682         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13684 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13686         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13687         else clause and remove check for non-standard endianness.
13689 2013-02-04  David S. Miller  <davem@davemloft.net>
13691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13693 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13695         [BZ #13550]
13696         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13697         (__ubp_memchr): Remove prototype.
13698         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13699         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13700         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13701         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13702         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13703         Remove alias.
13704         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13705         (__ubp_memchr): Likewise.
13706         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13707         (__ubp_memchr): Likewise.
13708         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13709         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13710         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13711         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13712         CHECK_STRING.
13713         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13714         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13715         (__getcwd): Do not use CHECK_STRING.
13716         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13717         <bp-checks.h>.
13718         (__real_chown): Do not use CHECK_STRING.
13719         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13720         <bp-checks.h>.
13721         (fchownat): Do not use CHECK_STRING.
13722         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13723         CHECK_STRING.
13724         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13725         <bp-checks.h>.
13726         (__lchown): Do not use CHECK_STRING.
13727         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13728         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13729         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13730         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13732         include <bp-checks.h>.
13733         (truncate64): Do not use CHECK_STRING.
13734         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13735         <bp-checks.h>.
13736         (__real_chown): Do not use CHECK_STRING.
13737         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13738         <bp-checks.h>.
13739         (__lchown): Do not use CHECK_STRING.
13740         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13741         <bp-checks.h>.
13742         (__chown): Do not use CHECK_STRING.
13743         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13744         <bp-checks.h>.
13745         (truncate64): Do not use CHECK_STRING.
13746         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13747         Likewise.
13748         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13749         (__xmknod): Do not use CHECK_STRING.
13750         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13751         <bp-checks.h>.
13752         (__xmknodat): Do not use CHECK_STRING.
13753         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13754         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13756 2013-02-04  Andreas Schwab  <schwab@suse.de>
13758         [BZ #14142]
13759         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13760         * include/netdb.h: Likewise for h_errno.
13761         * elf/tst-stackguard1.c: Include <tls.h>.
13763 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13765         * elf/link.h (struct link_map): Extend the l_addr comment.
13766         * include/link.h (struct link_map): Likewise.
13768 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13770         [BZ #13550]
13771         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13772         (BOUNDED_1): Remove macro.
13773         * debug/backtrace.c: Don't include <bp-checks.h>.
13774         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13775         (__backtrace): Likewise.
13776         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13777         <bp-checks.h>.
13778         (__backtrace): Don't use BOUNDED_1.
13779         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13780         <bp-checks.h>.
13781         (__backtrace): Don't use BOUNDED_1.
13782         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13783         (__backtrace): Don't use BOUNDED_1.
13784         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13785         (shmat): Don't use BOUNDED_N.
13787 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13789         [BZ #13550]
13790         * sysdeps/generic/bp-start.h: Remove file.
13791         * csu/libc-start.c: Don't include <bp-start.h>.
13792         (LIBC_START_MAIN): Set up __environ directly instead of using
13793         INIT_ARGV_and_ENVIRON.
13794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13795         <bp-start.h>.
13797         [BZ #13550]
13798         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13799         definitions.
13800         (CHECK_FCNTL): Likewise.
13801         (CHECK_N_PAGES): Likewise.
13803         [BZ #13550]
13804         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13805         definitions.
13806         (CHECK_SIGSET_NULL_OK): Likewise.
13807         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13808         <bp-checks.h>.
13809         (sigpending): Don't use CHECK_SIGSET.
13810         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13811         <bp-checks.h>.
13812         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13813         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13814         <bp-checks.h>.
13815         (do_sigsuspend): Don't use CHECK_SIGSET.
13816         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13817         use CHECK_SIGSET.
13818         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13819         (do_sigwait): Don't use CHECK_SIGSET.
13820         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13821         use CHECK_SIGSET.
13822         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13823         include <bp-checks.h>.
13824         (sigpending): Don't use CHECK_SIGSET.
13825         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13826         include <bp-checks.h>.
13827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13828         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13829         <bp-checks.h>.
13830         (sigpending): Don't use CHECK_SIGSET.
13831         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13832         <bp-checks.h>.
13833         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13835         [BZ #13550]
13836         * sysdeps/generic/bp-semctl.h: Remove file.
13837         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13838         <bp-checks.h> and <bp-semctl.h>.
13839         (__old_semctl): Don't use CHECK_SEMCTL.
13840         (__new_semctl): Likewise.
13841         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13842         and <bp-semctl.h>.
13843         (__old_semctl): Don't use CHECK_SEMCTL.
13844         (__new_semctl): Likewise.
13845         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13846         <bp-checks.h> and <bp-semctl.h>.
13847         (__old_semctl): Don't use CHECK_SEMCTL.
13848         (__new_semctl): Likewise.
13849         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13850         <bp-checks.h> and <bp-semctl.h>.
13851         (semctl): Don't use CHECK_SEMCTL.
13853         [BZ #13550]
13854         * Makerules (elide-bp-thunks): Remove variable.
13855         (elide-routines.oS): Don't use $(elide-bp-thunks).
13856         (elide-routines.os): Likewise.
13857         (elide-routines.o): Likewise.
13858         (elide-routines.op): Likewise.
13859         (elide-routines.og): Likewise.
13860         (objects): Don't use $(bp-thunks).
13861         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13862         include.
13863         (common-generated): Do not add s-proto-bp.d.
13864         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13865         (int): Likewise.
13866         (typ): Likewise.
13867         Do not generate makefile rules for bounded-pointer thunks.
13868         * sysdeps/generic/bp-thunks.h: Remove file.
13869         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13870         * sysdeps/unix/s-proto-bp.S: Likewise.
13872         [BZ #15062]
13873         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13874         parts of result separately when argument is not close to line from
13875         -i to i and one part of argument is small.
13876         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13877         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13878         * math/libm-test.inc (cacos_test): Add more tests.
13879         (casin_test): Likewise.
13880         (casinh_test): Likewise.
13881         * sysdeps/i386/fpu/libm-test-ulps: Update.
13882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13884 2013-01-31  David S. Miller  <davem@davemloft.net>
13886         * po/de.po: Update from translation team.
13888 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13890         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13892 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13894         * configure.in (_AC_PROG_CC_C89): New definition.
13895         * configure: Regenerate.
13897         * configure.in (AC_PROG_CPP): New definition.
13898         * configure: Regenerate.
13900 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13902         * debug/tst-backtrace.h: New file.
13903         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13904         (ret): Remove variable.
13905         (x): Likewise.
13906         (FAIL): Remove macro.
13907         (NO_INLINE): Likewise.
13908         (fn1): Use match function instead of strstr.
13909         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13910         (ret): Remove variable.
13911         (x): Likewise.
13912         (FAIL): Remove macro.
13913         (NO_INLINE): Likewise.
13914         (fn): Use match function instead of strstr.
13915         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13916         (ret): Remove variable.
13917         (x): Likewise.
13918         (FAIL): Remove macro.
13919         (NO_INLINE): Likewise.
13920         (handle_signal): Use match function instead of strstr.
13921         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13922         (ret): Remove variable.
13923         (x): Likewise.
13924         (FAIL): Remove macro.
13925         (NO_INLINE): Likewise.
13926         (handle_signal): Use match function instead of strstr.
13928 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13930         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13932 2013-01-23  David S. Miller  <davem@davemloft.net>
13934         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13935         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13936         argument of CAS if possible.
13937         * sysdeps/sparc/sparc64/bits/atomic.h
13938         (__arch_compare_and_exchange_val_32_acq): Likewise.
13939         (__arch_compare_and_exchange_val_64_acq): Likewise.
13941 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13943         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13944         * sysdeps/posix/ulimit.c: ... this.
13945         Include <limits.h>.
13946         * sysdeps/unix/bsd/ulimit.c: Remove file.
13948 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13950         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13951         (LDFLAGS-tst-array5): Likewise.
13953 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #15036]
13956         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13957         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13958         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13959         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13961 2013-01-21  David S. Miller  <davem@davemloft.net>
13963         * sysdeps/sparc/backtrace.c: New file.
13964         * sysdeps/sparc/sparc32/backtrace.h: New file.
13965         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13966         * sysdeps/sparc/sparc64/backtrace.h: New file.
13967         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13968         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13969         -funwind-tables.
13971 2013-01-21  Andreas Schwab  <schwab@suse.de>
13973         [BZ #15020]
13974         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13975         closed its stdout.
13977 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13980         "mpa2.h".
13981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13983 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13984             Mark Mitchell  <mark@codesourcery.com>
13985             Tom de Vries  <tom@codesourcery.com>
13986             Paul Pluzhnikov  <ppluzhnikov@google.com>
13988         * debug/tst-backtrace2.c: New file.
13989         * debug/tst-backtrace3.c: Likewise.
13990         * debug/tst-backtrace4.c: Likewise.
13991         * debug/tst-backtrace5.c: Likewise.
13992         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13993         (CFLAGS-tst-backtrace3.c): Likewise.
13994         (CFLAGS-tst-backtrace4.c): Likewise.
13995         (CFLAGS-tst-backtrace5.c): Likewise.
13996         (LDFLAGS-tst-backtrace2): Likewise.
13997         (LDFLAGS-tst-backtrace3): Likewise.
13998         (LDFLAGS-tst-backtrace4): Likewise.
13999         (LDFLAGS-tst-backtrace5): Likewise.
14000         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14001         tst-backtrace4 and tst-backtrace5.
14003 2013-01-18  Anton Blanchard  <anton@samba.org>
14004             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14006         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14007         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14008         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14009         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14011         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14012         "+r" and remove output regs list as redundant.  Add explicit inline
14013         asm to specify register of return val to work around compiler codegen
14014         bug.  Remove (int) cast on return value.  Add return type parameter to
14015         use in macro so that this macro does not truncate return value for
14016         64-bit values.
14017         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14018         pass to INTERNAL_VSYSCALL_NCS.
14019         (INLINE_VSYSCALL): Add 'long int' as return type to
14020         INTERNAL_VSYSCALL_NCS macro invocation.
14021         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14022         INTERNAL_VSYSCALL_NCS macro invocation.
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14025 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14027         [BZ #14496]
14028         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14029         Fix application of SIMD FP exception mask.
14031         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14032         mp_no from a power of two.
14033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14034         __mpexp_twomm1.  Use __pow_mp.
14036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14037         multiplication.
14039 2013-01-17  David S. Miller  <davem@davemloft.net>
14041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14043 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14045         [BZ #15023]
14046         * include/complex.h: Condition contents on [!_COMPLEX_H].
14047         (__kernel_casinhf): New prototype.
14048         (__kernel_casinh): Likewise.
14049         (__kernel_casinhl): Likewise.
14050         * math/Makefile (libm_calls): Add k_casinh.
14051         * math/k_casinh.c: New file.
14052         * math/k_casinhf.c: Likewise.
14053         * math/k_casinhl.c: Likewise.
14054         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14055         finite nonzero arguments.
14056         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14057         finite nonzero arguments.
14058         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14059         finite nonzero arguments.
14060         * math/s_casinh.c: Do not include <float.h>.
14061         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14062         * math/s_casinhf.c: Do not include <float.h>.
14063         (__casinhf): Move code for finite nonzero arguments to
14064         k_casinhf.c.
14065         * math/s_casinhl.c: Do not include <float.h>.
14066         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14067         redefine.
14068         (__casinhl): Move code for finite nonzero arguments to
14069         k_casinhl.c.
14070         * math/libm-test.inc (cacos_test): Add more tests.
14071         * sysdeps/i386/fpu/libm-test-ulps: Update.
14072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14074 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14076         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14077         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14078         [!HAVE_MREMAP]: Remove [defined linux] case.
14079         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14081 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14083         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14085 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14087         * elf/elf.h (R_386_SIZE32): New relocation.
14088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14089         R_386_SIZE32.
14090         (elf_machine_rela): Likewise.
14091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14092         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14094 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14096         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14097         (FP_FAST_FMA): Do not define.
14098         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14099         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14100         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14101         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14102         !_SOFT_FLOAT]: Likewise.
14103         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14105         value.
14106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14107         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14108         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14109         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14110         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14111         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14112         file.
14114 2013-01-16  Andreas Schwab  <schwab@suse.de>
14116         [BZ #14327]
14117         * include/stdlib.h (__mktemp): Add declaration.
14118         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14119         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14121 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14123         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14124         definitions.
14125         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14126         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14127         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14128         definitions here.
14129         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14130         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14131         definitions.
14132         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14133         and ONE.
14134         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14135         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14136         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14137         definitions.
14138         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14139         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14140         definitions.
14141         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14143         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14145 2013-01-15  David S. Miller  <davem@davemloft.net>
14147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14148         trunc{,f} to libm-sysdep_routes.
14149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14151         file.
14152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14154         file.
14155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14156         file.
14157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14159         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14160         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14161         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14162         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14163         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14164         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14167         nearbyint{,f} to libm-sysdep_routes.
14168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14170         New file.
14171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14172         file.
14173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14174         New file.
14175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14176         file.
14177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14180         file.
14181         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14182         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14183         file.
14184         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14185         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14186         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14188         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14189         libc_feholdexcept and libc_fesetenv.
14191 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14193         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14195 2013-01-14  David S. Miller  <davem@davemloft.net>
14197         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14198         (SPARC_ASM_VIS2_IFUNC): Likewise.
14199         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14201         use of 'siam' instruction.
14202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14203         Likewise.
14204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14205         Likewise.
14206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14207         Likewise.
14208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14213         file.
14214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14215         file.
14216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14217         file.
14218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14219         file.
14220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14225         new VIS2 routines.
14226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14229         Likewise.
14230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14235         routines to libm-sysdep_routines.
14236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14239         fdim/fdimf to libm-sysdep_routines.
14240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14241         file.
14242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14244         file.
14245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14248         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14249         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14250         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14251         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14253 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14255         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14256         to optimize copies.
14258         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14263         local variable MPTWO.
14264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14265         Likewise.
14267 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14269         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14270         GLOB_NOESCAPE.
14272 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14274         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14276 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14278         * manual/pattern.texi (glob_t): Document gl_flags.
14279         (glob64_t): Likewise.
14281 2013-01-11  David S. Miller  <davem@davemloft.net>
14283         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14284         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14285         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14286         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14287         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14288         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14289         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14290         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14291         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14292         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14293         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14294         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14295         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14297         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14298         sparc V9 rather than using V8 code.
14299         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14300         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14302         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14303         Move to...
14304         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14305         Here.
14307 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14309         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14310         not in the main loop.
14311         * configure: Regenerated.
14313 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14315         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14316         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14317         to just #else.
14318         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14319         [!__GLIBC_HAVE_LONG_LONG] case.
14320         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14321         condition to just #else.
14322         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14323         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14324         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14325         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14326         unconditional.
14327         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14328         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14329         #elif condition to just #else.
14330         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14331         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14332         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14333         #elif condition to just #else.
14335 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14337         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14338         (EF_MIPS_ARCH_64): Fix value.
14339         (EF_MIPS_ARCH_32R2): New.
14340         (EF_MIPS_ARCH_64R2): New.
14342 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14344         * Makeconfig (+link-pie-before-libc): New.
14345         (+link-pie-after-libc): Likewise.
14346         (+link-pie-tests): Likewise.
14347         (+link-pie): Rewritten.
14348         (link-before-libc): Remove $(config-LDFLAGS).
14349         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14350         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14351         (config-LDFLAGS): Renamed to ...
14352         (rtld-LDFLAGS): This.
14353         (rtld-tests-LDFLAGS): New macro.
14354         (link-libc-rpath-link): Likewise.
14355         (link-libc-tests-rpath-link): Likewise.
14356         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14357         (link-libc): Prepand $(link-libc-rpath-link).
14358         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14359         (test-program-prefix): New macro.
14360         (test-via-rtld-prefix): Likewise.
14361         (test-program-cmd): Likewise.
14362         (host-test-program-cmd): Likewise.
14363         * Makefile ($(common-objpfx)testrun.sh): Replace
14364         $(run-program-prefix) with $(test-program-prefix).
14365         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14366         $(rtld-LDFLAGS).
14367         ($(common-objpfx)shlib.lds): Likewise.
14368         (build-module-helper): Likewise.
14369         ($(common-objpfx)format.lds): Likewise.
14370         * Rules (binaries-pie-tests): New.
14371         (binaries-pie-notests): Likewise.
14372         (binaries-pie): Rewritten.
14373         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14374         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14375         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14376         (make-test-out): Replace $(host-built-program-cmd) with
14377         $(host-test-program-cmd).
14378         * config.make.in (build-hardcoded-path-in-tests): New variable.
14379         * configure.in (--enable-hardcoded-path-in-tests): New configure
14380         option.
14381         (hardcoded_path_in_tests): New AC_SUBST.
14382         * configure: Regenerated.
14383         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14384         $(built-program-cmd) with $(test-program-cmd).
14385         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14386         (test_program_cmd): This.
14387         * elf/Makefile ($(objpfx)order.out): Run test with
14388         $(test-program-prefix).
14389         ($(objpfx)order2.out): Likewise.
14390         ($(objpfx)tst-initorder.out): Likewise.
14391         ($(objpfx)tst-initorder2.out): Likewise.
14392         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14393         $(test-program-cmd).
14394         ($(objpfx)tst-array1-static.out): Likewise.
14395         ($(objpfx)tst-array2.out): Likewise.
14396         ($(objpfx)tst-array3.out): Likewise.
14397         ($(objpfx)tst-array4.out): Likewise.
14398         ($(objpfx)tst-array5.out): Likewise.
14399         ($(objpfx)tst-array5-static.out): Likewise.
14400         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14401         $(test-program-cmd).
14402         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14403         $(run-program-prefix) with $(test-program-prefix).
14404         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14405         (test_program_prefix): This.
14406         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14407         $(run-program-prefix) with $(test-program-prefix).
14408         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14409         (test_program_prefix): This.
14410         * iconvdata/tst-tables.sh: Likewise.
14411         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14412         $(run-program-prefix) with $(test-program-prefix).
14413         ($(objpfx)tst-translit.out): Likewise.
14414         ($(objpfx)tst-gettext2.out): Likewise.
14415         ($(objpfx)tst-gettext4.out): Likewise.
14416         ($(objpfx)tst-gettext6.out): Likewise.
14417         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14418         (test_program_prefix): This.
14419         * intl/tst-gettext2.sh: Likewise.
14420         * intl/tst-gettext4.sh  Likewise.
14421         * intl/tst-gettext6.sh: Likewise.
14422         * intl/tst-translit.sh: Likewise.
14423         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14424         with $(test-program-cmd).
14425         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14426         $(run-program-prefix) with $(test-program-prefix).
14427         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14428         (test_program_prefix): This.
14429         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14430         $(run-program-prefix) with $(test-program-prefix).
14431         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14432         (test_program_prefix): This.
14433         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14434         * posix/Makefile ($(objpfx)globtest.out): Replace
14435         $(run-via-rtld-prefix) and $(test-wrapper) with
14436         $(test-program-prefix) and $(test-via-rtld-prefix).
14437         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14438         $(test-program-prefix).
14439         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14440         $(host-test-program-cmd).
14441         (tst-spawn-ARGS): Likewise.
14442         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14443         $(test-program-prefix).
14444         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14445         (test_via_rtld_prefix): This.
14446         (test_wrapper): Renamed to ...
14447         (test_program_prefix): This.
14448         (run_program_prefix): Replaced by test_program_prefix.
14449         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14450         (test_program_prefix): This.
14451         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14452         with $(host-test-program-cmd).
14453         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14454         $(run-program-prefix) with $(test-program-prefix).
14455         ($(objpfx)tst-printf.out): Likewise.
14456         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14457         $(test-program-cmd).
14458         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14459         (test_program_prefix): This.
14460         * stdio-common/tst-unbputc.sh: Likewise.
14461         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14462         $(run-program-prefix) with $(test-program-prefix).
14463         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14464         (test_program_prefix): This.
14465         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14466         $(built-program-cmd) with $(test-program-cmd).
14468 2013-01-11  Andreas Jaeger  <aj@suse.de>
14470         [BZ #15003]
14471         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14472         value. Sync with Linux 3.7.
14474 2013-01-10  David S. Miller  <davem@davemloft.net>
14476         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14480 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14482         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14483         never set.
14484         * configure: Regenerated.
14486 2013-01-10  David S. Miller  <davem@davemloft.net>
14488         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14489         sparc V9 rather than using V8 code.
14490         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14491         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14493 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14495         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14496         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14497         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14498         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14499         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14500         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14501         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14502         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14503         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14504         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14505         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14506         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14507         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14508         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14509         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14510         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14511         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14512         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14513         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14514         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14515         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14516         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14517         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14518         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14519         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14520         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14521         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14523 2013-01-10  David S. Miller  <davem@davemloft.net>
14525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14527 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14529         * posix/Makefile (tests-static): New variable.
14530         (tests): Add $(tests-static).
14531         (tst-exec-static-ARGS): New variable.
14532         (tst-spawn-static-ARGS): Likewise.
14533         * posix/tst-exec-static.c: New file.
14534         * posix/tst-spawn-static.c: Likewise.
14535         * posix/tst-exec.c: Support run directly.
14536         * posix/tst-spawn.c: Likewise.
14538 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14540         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14541         long.
14542         * math/bits/mathcalls.h (llrint): Likewise.
14543         (llround): Likewise.
14544         * stdlib/stdlib.h (struct drand48_data): Likewise.
14545         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14546         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14547         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14548         Likewise.
14549         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14550         Likewise.
14551         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14552         (elf_greg_t): Likewise.
14553         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14554         (__jmp_buf): Likewise.
14555         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14556         definitions.
14557         (llrint): Likewise, for all definitions.
14558         (llrintl): Likewise.
14560         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14561         Remove [__GNUC__] condition.
14562         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14563         condition to just [__USE_ISOC99].
14564         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14566 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14568         [BZ #14200]
14569         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14570         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14571         defined.
14572         (_POSIX_V6_ILP32_OFF32): Likewise.
14573         (_XBS5_ILP32_OFF32): Likewise.
14574         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14575         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14577 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14579         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14582         doubles __mpexp_twomm1.  Adjust usage.
14583         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14584         Remove.
14586 2013-01-10  Andreas Schwab  <schwab@suse.de>
14588         [BZ #14964]
14589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14590         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14592 2013-01-09  David S. Miller  <davem@davemloft.net>
14594         [BZ #15003]
14595         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14596         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14597         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14598         TCP_FASTOPEN): Define.
14599         (tcp_repair_opt): New structure.
14600         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14601         enum values.
14602         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14603         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14604         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14605         (tcp_cookie_transactions): New structure.
14607 2013-01-09  Anton Blanchard  <anton@samba.org>
14609         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14610         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14611         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14612         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14614 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14616         * include/features.h (__USE_ANSI): Remove.
14618 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14620         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14622         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14624 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14626         * sysdeps/s390/fpu/libm-test-ulps: Update.
14628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14630         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14631         (__acr): Likewise.
14632         (__cpy): Likewise.
14633         (norm): Likewise.
14634         (denorm): Likewise.
14635         (__mp_dbl): Likewise.
14636         (__dbl_mp): Likewise.
14637         (add_magnitudes): Likewise.
14638         (sub_magnitudes): Likewise.
14639         (__add): Likewise.
14640         (__sub): Likewise.
14641         (__mul): Likewise.
14642         (__inv): Likewise.
14643         (__dvd): Likewise.
14644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14645         (__acr): Likewise.
14646         (__cpy): Likewise.
14647         (norm): Likewise.
14648         (denorm): Likewise.
14649         (__mp_dbl): Likewise.
14650         (__dbl_mp): Likewise.
14651         (add_magnitudes): Likewise.
14652         (sub_magnitudes): Likewise.
14653         (__add): Likewise.
14654         (__sub): Likewise.
14655         (__mul): Likewise.
14656         (__inv): Likewise.
14657         (__dvd): Likewise.
14658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14659         (__acr): Likewise.
14660         (__cpy): Likewise.
14661         (norm): Likewise.
14662         (denorm): Likewise.
14663         (__mp_dbl): Likewise.
14664         (__dbl_mp): Likewise.
14665         (add_magnitudes): Likewise.
14666         (sub_magnitudes): Likewise.
14667         (__add): Likewise.
14668         (__sub): Likewise.
14669         (__mul): Likewise.
14670         (__inv): Likewise.
14671         (__dvd): Likewise.
14673 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14675         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14676         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14677         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14678         2 && __USE_EXTERN_INLINES]: Likewise.
14680 2013-01-08  Andreas Jaeger  <aj@suse.de>
14682         [BZ# 14985]
14683         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14684         Remove.
14685         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14686         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14688 2013-01-07  Anton Blanchard  <anton@samba.org>
14690         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14691         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14692         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14693         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14694         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14695         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14696         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14697         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14699         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14700         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14701         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14707         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14708         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14709         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14710         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14711         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14713         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14714         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14715         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14716         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14717         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14719         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14720         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14722         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14723         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14726         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14727         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14728         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14730         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14731         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14732         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14734 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14736         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14737         (__MALLOC_PMT): Likewise.
14738         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14739         [__GNUC__], only on [_LIBC].
14740         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14741         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14742         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14743         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14744         forward declaration.
14745         (realloc_hook_ini): Likewise.
14746         (memalign_hook_ini): Likewise.
14747         (__libc_memalign): Do not use __MALLOC_PMT in variable
14748         declaration.
14749         (__libc_valloc): Likewise.
14750         (__libc_pvalloc): Likewise.
14751         (__libc_calloc): Likewise.
14752         (__posix_memalign): Likewise.
14754         [BZ #14996]
14755         * math/s_casinh.c: Include <float.h>.
14756         (__casinh): Do not do computation with squaring and square root
14757         for large arguments.
14758         * math/s_casinhf.c: Include <float.h>.
14759         (__casinhf): Do not do computation with squaring and square root
14760         for large arguments.
14761         * math/s_casinhl.c: Include <float.h>.
14762         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14763         (__casinhl): Do not do computation with squaring and square root
14764         for large arguments.
14765         * math/libm-test.inc (casin_test): Add more tests.
14766         (casinh_test): Likewise.
14767         * sysdeps/i386/fpu/libm-test-ulps: Update.
14768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14772         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14773         (__x86_64_raw_data_cache_size): Likewise.
14774         (__x86_64_data_cache_size_half): Likewise.
14775         (__x86_64_raw_data_cache_size_half): Likewise.
14776         (__x86_64_shared_cache_size): Likewise.
14777         (__x86_64_raw_shared_cache_size): Likewise.
14778         (__x86_64_shared_cache_size_half): Likewise.
14779         (__x86_64_raw_shared_cache_size_half): Likewise.
14780         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14781         to ...
14782         (__x86_data_cache_size): This.
14783         (__x86_64_raw_data_cache_size): Renamed to ...
14784         (__x86_raw_data_cache_size): This.
14785         (__x86_64_data_cache_size_half): Renamed to ...
14786         (__x86_data_cache_size_half): This.
14787         (__x86_64_raw_data_cache_size_half): Renamed to ...
14788         (__x86_raw_data_cache_size_half): This.
14789         (__x86_64_shared_cache_size): Renamed to ...
14790         (__x86_shared_cache_size): This.
14791         (__x86_64_raw_shared_cache_size): Renamed to ...
14792         (__x86_raw_shared_cache_size): This.
14793         (__x86_64_shared_cache_size_half): Renamed to ...
14794         (__x86_shared_cache_size_half): This.
14795         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14796         (__x86_raw_shared_cache_size_half): This.
14797         * sysdeps/x86_64/memcpy.S: Updated.
14798         * sysdeps/x86_64/memset.S: Likewise.
14799         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14801         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14803 2013-01-04  David S. Miller  <davem@davemloft.net>
14805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14807 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14809         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14810         1 to avoid redefinition warning.
14811         (__USE_GNU): Don't define.
14812         (init_signaling_nan): Protoize.
14814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14816 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14818         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14820         (__cpymn): Likewise.
14821         (norm): Remove commented code.
14822         (denorm): Likewise.
14823         (__mp_dbl): Likewise.
14824         (__inv): Likewise.
14825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14826         (__cpymn): Likewise.
14827         (norm): Remove commented code.
14828         (denorm): Likewise.
14829         (__mp_dbl): Likewise.
14830         (__inv): Likewise.
14832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14833         mp_no value for 1.0 and 2.0.
14834         (norm): Use RADIXI instead of radixi.d.
14835         (denorm): Likewise.
14836         (__mul): Use 0.0 instead of zero.d.
14837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14838         mp_no value for 1.0 and 2.0.
14839         (norm): Use RADIXI instead of radixi.d.
14840         (denorm): Likewise.
14841         (__mul): Use 0.0 instead of zero.d.
14843 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14845         [BZ #14994]
14846         * math/s_casinh.c (__casinh): Reduce finite argument to first
14847         quadrant then set signs of results at the end.
14848         * math/s_casinhf.c (__casinhf): Likewise.
14849         * math/s_casinhl.c (__casinhl): Likewise.
14850         * math/libm-test.inc (casin_test): Add more tests.
14851         (casinh_test): Likewise.
14852         * sysdeps/i386/fpu/libm-test-ulps: Update.
14853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14857         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14859         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14861         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14862         declarations.
14863         (denorm): Likewise.
14864         (__mp_dbl): Likewise.
14865         (__inv): Likewise.
14867         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14868         and adjust the header comment.
14870         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14871         variable name from declaration.
14873 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14876         Initialize COMMON_CPUID_INDEX_7 element.
14877         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14878         (CPUID_RTM): Likewise.
14879         (HAS_RTM): Likewise.
14880         (COMMON_CPUID_INDEX_7): New enum.
14882 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14884         [BZ #14981]
14885         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14886         size is zero, record memory as freed.
14888 2013-01-03  Andreas Jaeger  <aj@suse.de>
14890         * po/ia.po: Add new Interlingua translation.
14892 2012-01-03  Allan McRae  <allan@archlinux.org>
14894         * locale/programs/localedef.c: Fix description of '--posix' flag.
14896 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14898         * NEWS: Update dates in second copyright notice.
14899         * README: Update copyright dates in example.
14900         * manual/libc.texinfo: Update copyright dates.
14901         * scripts/test-installation.pl: Update copyright date in --version
14902         output.
14904         * hurd/ctty-input.c: Fix copyright notice formatting.
14905         * hurd/ctty-output.c: Likewise.
14906         * hurd/dtable.c: Likewise.
14907         * hurd/hurd-raise.c: Likewise.
14908         * hurd/hurdprio.c: Likewise.
14909         * hurd/msgportdemux.c: Likewise.
14910         * misc/sys/file.h: Likewise.
14911         * misc/sys/ioctl.h: Likewise.
14912         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14913         * sysdeps/mach/hurd/chdir.c: Likewise.
14914         * sysdeps/mach/hurd/fchdir.c: Likewise.
14915         * sysdeps/mach/hurd/rename.c: Likewise.
14916         * sysdeps/mach/hurd/rmdir.c: Likewise.
14917         * sysdeps/mach/hurd/seekdir.c: Likewise.
14918         * sysdeps/mach/hurd/setsid.c: Likewise.
14919         * sysdeps/posix/wait3.c: Likewise.
14921         * All files with FSF copyright notices: Update copyright dates
14922         using scripts/update-copyrights.
14923         * intl/plural.c: Regenerated.
14924         * locale/programs/charmap-kw.h: Likewise.
14925         * locale/programs/locfile-kw.h: Likewise.
14927 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14929         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14930         four values.
14932         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14933         calculation loop and add branch prediction.
14935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14936         check access beyond bounds of m1np.
14938         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14939         MPTWO.
14940         (__inv): Remove local variable MPTWO to use the global
14941         constant.
14942         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14944         variable MPTWO.
14945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14946         MP3HALFS static const.
14948 2013-01-01  David S. Miller  <davem@davemloft.net>
14950         * po/ca.po: Update from translation team.
14952 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14954         * scripts/update-copyrights: New file.
14955         * Makeconfig: Reformat copyright notice.
14956         * ctype/ctype.h: Likewise.
14957         * debug/swprintf_chk.c: Likewise.
14958         * elf/dl-cache.c: Likewise.
14959         * elf/dl-debug.c: Likewise.
14960         * elf/dl-object.c: Likewise.
14961         * grp/initgroups.c: Likewise.
14962         * hurd/Makefile: Likewise.
14963         * hurd/hurd/signal.h: Likewise.
14964         * hurd/hurdfault.c: Likewise.
14965         * hurd/hurdioctl.c: Likewise.
14966         * hurd/hurdlookup.c: Likewise.
14967         * hurd/intr-msg.c: Likewise.
14968         * iconv/gconv_open.c: Likewise.
14969         * libio/swprintf.c: Likewise.
14970         * locale/lc-ctype.c: Likewise.
14971         * locale/nl_langinfo.c: Likewise.
14972         * mach/Machrules: Likewise.
14973         * mach/Makefile: Likewise.
14974         * malloc/obstack.h: Likewise.
14975         * manual/Makefile: Likewise.
14976         * manual/tsort.awk: Likewise.
14977         * misc/bits/stab.def: Likewise.
14978         * nis/nis_print_group_entry.c: Likewise.
14979         * nis/nis_table.c: Likewise.
14980         * nis/nss_compat/compat-pwd.c: Likewise.
14981         * nis/nss_compat/compat-spwd.c: Likewise.
14982         * po/Makefile: Likewise.
14983         * posix/fnmatch.c: Likewise.
14984         * posix/regex.h: Likewise.
14985         * resolv/Makefile: Likewise.
14986         * resolv/nss_dns/dns-network.c: Likewise.
14987         * resolv/res_hconf.c: Likewise.
14988         * scripts/gen-sorted.awk: Likewise.
14989         * soft-fp/soft-fp.h: Likewise.
14990         * stdio-common/printf.h: Likewise.
14991         * stdlib/monetary.h: Likewise.
14992         * stdlib/random.c: Likewise.
14993         * stdlib/random_r.c: Likewise.
14994         * sysdeps/generic/Makefile: Likewise.
14995         * sysdeps/gnu/Makefile: Likewise.
14996         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14998         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15004         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15005         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15006         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15007         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15008         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15009         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15010         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15011         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15012         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15014         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15015         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15016         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15017         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15018         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15019         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15024         * sysdeps/mach/hurd/errnos.awk: Likewise.
15025         * sysdeps/mach/hurd/fork.c: Likewise.
15026         * sysdeps/mach/hurd/getcwd.c: Likewise.
15027         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15028         * sysdeps/mach/hurd/mmap.c: Likewise.
15029         * sysdeps/mach/hurd/utimes.c: Likewise.
15030         * sysdeps/mach/hurd/xmknod.c: Likewise.
15031         * sysdeps/posix/profil.c: Likewise.
15032         * sysdeps/posix/readdir_r.c: Likewise.
15033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15034         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15035         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15036         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15038         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15039         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15040         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15042         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15043         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15044         * sysdeps/pthread/lio_listio.c: Likewise.
15045         * sysdeps/sparc/dl-procinfo.h: Likewise.
15046         * sysdeps/unix/i386/sysdep.S: Likewise.
15047         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15048         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15049         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15050         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15052         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15053         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15054         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15055         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15056         * sysdeps/wordsize-32/divdi3.c: Likewise.
15057         * time/sys/time.h: Likewise.
15058         * wcsmbs/Makefile: Likewise.
15060 2013-01-01  David S. Miller  <davem@davemloft.net>
15062         * po/fr.po: Update from translation team.
15064         * catgets/gencat.c: Update copyright year.
15065         * csu/version.c: Likewise.
15066         * debug/catchsegv.sh: Likewise.
15067         * debug/pcprofiledump.c: Likewise.
15068         * debug/xtrace.sh: Likewise.
15069         * elf/ldconfig.c: Likewise.
15070         * elf/ldd.bash.in: Likewise.
15071         * elf/pldd.c: Likewise.
15072         * elf/sotruss.ksh: Likewise.
15073         * elf/sprof.c: Likewise.
15074         * iconv/iconv_prog.c: Likewise.
15075         * iconv/iconvconfig.c: Likewise.
15076         * locale/programs/locale.c: Likewise.
15077         * locale/programs/localedef.c: Likewise.
15078         * login/programs/pt_chown.c: Likewise.
15079         * malloc/memusage.sh: Likewise.
15080         * malloc/memusagestat.c: Likewise.
15081         * malloc/mtrace.pl: Likewise.
15082         * nscd/nscd.c: Likewise.
15083         * nss/getent.c: Likewise.
15084         * nss/makedb.c: Likewise.
15085         * posix/getconf.c: Likewise.
15087 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15090         numbers.
15092 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15094         * math/bits/mathcalls.h (modf): Use __nonnull.
15096 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15098         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15099         (split): Use macro CN instead of the bare value.
15100         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15101         could be used.
15102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15103         instead of the bare value.
15104         (power1): Likewise.
15106 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15109         __ATAN_TWOM.
15110         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15112         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15113         their values.
15114         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15115         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15116         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15117         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15119 2012-12-28  Andreas Jaeger  <aj@suse.de>
15121         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15122         values are from Linux 3.7.
15124         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15125         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15127 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15129         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15130         TRUE case.
15132         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15133         (norm): Likewise.
15134         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15135         variables with preprocessor constants.
15136         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15137         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15138         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15140 2012-12-27  Bruno Haible  <bruno@clisp.org>
15142         [BZ #14317]
15143         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15144         only if needed.
15146 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15149         and use variable directly.
15150         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15152         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15153         MPONE.
15154         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15156         variable MPONE.
15157         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15159         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15160         include directive.  Remove local variable MPONE.
15161         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15162         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15163         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15165 2012-12-25  David S. Miller  <davem@davemloft.net>
15167         * version.h (RELEASE): Set to "development".
15168         (VERSION): Set to "2.17.90".
15169         * NEWS: Add 2.18 section.
15171 2012-12-21  David S. Miller  <davem@davemloft.net>
15173         * po/hr.po: Update from translation team.
15175 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15177         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15179 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15181         * NEWS:  Mention new memcpy for MIPS.
15183 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15185         * manual/contrib.texi (Contributors): Spelling correction.
15187 2012-12-15  David S. Miller  <davem@davemloft.net>
15189         * po/ru.po: Update from translation team.
15191 2012-12-13  David S. Miller  <davem@davemloft.net>
15193         * NEWS: Mention IFUNC testsuite enhancements.
15195         * po/pl.po: Update from translation team.
15196         * po/bg.po: Likewise.
15198         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15199         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15201 2012-12-11  David S. Miller  <davem@davemloft.net>
15203         * po/sv.po: Update from translation team.
15205         * po/vi.po: Update from translation team.
15207         * po/cs.po: Update from translation team.
15209         * po/de.po: Update from translation team.
15210         * po/eo.po: Likewise.
15211         * po/nl.po: Likewise.
15213 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15215         [BZ #14246]
15216         * manual/argp.texi (Argp Helper Functions): Move node to follow
15217         Argp Parsing State.
15219         [BZ #14872]
15220         * manual/conf.texi (Limits on File System Capacity): Mention if
15221         terminating null is included in the max size.
15223 2012-12-10  Andreas Jaeger  <aj@suse.de>
15225         * po/cs.po: Update from translation team.
15227 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15229         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15230         void pointer and cast to uintptr_t.
15231         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15232         path.
15233         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15234         * sysdeps/s390/s390-64/memset.S: Likewise.
15236 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15238         [BZ #14833]
15239         * menual/message.texi (Message Translation): Fix typos.
15240         (Helper programs for gettext): Likewise.
15242 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15244         [BZ #14898]
15245         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15246         Change to -1.
15248 2012-12-07  David S. Miller  <davem@davemloft.net>
15250         * po/libc.pot: Update.
15252 2012-12-07  Richard Henderson  <rth@redhat.com>
15254         [BZ #10114]
15255         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15256         normal/normal case to before the switch.
15257         (_FP_DIV): Likewise.
15259 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15260             Mike Frysinger  <vapier@gentoo.org>
15262         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15263         check for __NR_fadvise64_64.
15265 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15267         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15268         0, not just to plain "0" as a statement.
15269         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15270         with cw.
15272 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15274         * NEWS: Use sourceware.org in Bugzilla URL.
15276 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15279         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15281         * stdio-common/tst-put-error.c (do_test): Add newline to the
15282         padded test to ensure flush.
15284 2012-12-05  Jeff Law  <law@redhat.com>
15286         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15288 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15290         * README: Don't refer to ports add-on as distributed separately.
15291         Mention AArch64 in list of systems supported in the ports add-on.
15293         * LICENSES: Add more non-FSF copyright and license notices.
15295         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15296         ((unused)).
15298         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15300         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15301         10000 as width of padded output.
15303 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15305         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15307         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15308         variable LX with __attribute__ ((unused)).
15309         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15310         Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15313         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15314         with __attribute__ ((unused)).
15316 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15318         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15320 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15322         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15323         (CFLAGS-nldbl-acos.c): New variable.
15324         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15325         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15326         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15327         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15328         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15329         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15330         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15331         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15332         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15333         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15334         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15335         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15336         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15337         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15338         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15339         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15340         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15341         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15342         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15343         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15344         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15345         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15346         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15347         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15348         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15349         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15350         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15351         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15352         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15353         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15354         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15355         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15356         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15357         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15358         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15359         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15360         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15361         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15362         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15363         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15364         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15365         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15366         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15367         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15368         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15369         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15370         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15371         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15372         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15373         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15374         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15375         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15376         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15377         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15378         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15379         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15380         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15381         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15382         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15383         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15384         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15385         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15386         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15387         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15388         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15389         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15390         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15391         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15392         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15393         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15394         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15395         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15396         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15397         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15398         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15399         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15400         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15401         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15402         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15403         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15404         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15405         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15406         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15407         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15408         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15409         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15410         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15411         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15412         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15413         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15414         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15415         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15416         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15417         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15418         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15419         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15420         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15423         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15425         [BZ #14914]
15426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15427         whole low double instead of just low 47 bits when splitting values
15428         into two parts.
15430 2012-12-03  Allan McRae  <allan@archlinux.org>
15432         * manual/stdio.texi (Predefined Printf Handlers): Remove
15433         @hsep and @vsep usage.
15435 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15437         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15438         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15440 2012-12-03  Jeff Law  <law@redhat.com>
15442         * time/sys/time.h (settimeofday): Do not mark TV argument
15443         as __nonnull.
15445 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15447         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15448         when currently writing and seek to current position when not.
15449         * libio/Makefile (tests): Remove bug-fclose1.
15450         * libio/bug-fclose1.c: Delete.
15452 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15454         * manual/arith.texi (feenableexcept): Fix typo.
15455         (fedisableexcept): Likewise.
15457 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15459         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15460         second, differently-typed declaration, rather than a cast.
15462 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15464         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15465         * include/rpc/svc.h: ... here.
15467 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15469         [BZ #13013]
15470         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15471         depending n and resplen2 to catch cases where answer
15472         equals answerp2.
15474 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15476         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15477         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15479 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15481         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15483 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15485         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15487 2012-11-28  Jeff Law  <law@redhat.com>
15489         [BZ #13761]
15490         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15491         dataset_temporary.  Track alloca usage into alloca_used.
15492         If dataset is large allocate and release it via malloc/free.
15494 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15496         [BZ #14197]
15497         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15499 2012-11-28  David S. Miller  <davem@davemloft.net>
15501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15503 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #14803]
15506         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15507         of pi/2 rounded to nearest to 64 bits.
15508         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15509         nearest to 64 bits.
15510         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15511         bits.
15513 2012-11-28  Jeff Law <law@redhat.com>
15514             Martin Osvald <mosvald@redhat.com>
15516         [BZ #14889]
15517         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15518         * sunrpc/svc.c: Include time.h.
15519         (__svc_accept_failed): New function.
15520         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15521         any reason other than EINTR, call __svc_accept_failed.
15522         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15523         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15525 2012-11-28  Andreas Schwab  <schwab@suse.de>
15527         * scripts/abilist.awk: Also handle indirect functions in .opd
15528         section.
15530 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #13881]
15533         * sysdeps/x86/fpu/powl_helper.c: New file.
15534         * sysdeps/x86/fpu/Makefile: Likewise.
15535         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15536         (p3): New object.
15537         (__ieee754_powl): Use __powl_helper for finite arguments except
15538         integer exponents below 8.
15539         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15540         (p3): New object.
15541         (__ieee754_powl): Use __powl_helper for finite arguments except
15542         integer exponents below 8.
15543         * math/libm-test.inc (pow_test): Add more tests and enable some
15544         previously disabled tests.
15545         * sysdeps/i386/fpu/libm-test-ulps: Update.
15546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15548 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15549             Carlos O'Donell  <carlos_odonell@mentor.com>
15551         * nss/makedb.c (is_prime): Assert that input is odd and greater
15552         than 4.  Note that fact in a comment too.
15553         (next_prime): Add 4 to input.
15555 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15557         [BZ #11741]
15558         * libio/Makefile (tests): Add test case tst-fwrite-error.
15559         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15560         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15561         * libio/tst-fwrite-error.c: New test case.
15563 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15565         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15566         before casting to void *.
15567         * include/libc-internal.h (__pointer_type): New macro.
15568         (__integer_if_pointer_type_sub): Likewise.
15569         (__integer_if_pointer_type): Likewise.
15570         (cast_to_integer): Likewise.
15571         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15572         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15573         before casting to atomic64_t.
15574         (atomic_exchange_acq): Likewise.
15575         (__arch_exchange_and_add_body): Likewise.
15576         (__arch_add_body): Likewise.
15577         (atomic_add_negative): Likewise.
15578         (atomic_add_zero): Likewise.
15580 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15582         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15583         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15584         (add_fdes): Likewise.
15585         (linear_search_fdes): Likewise.
15586         (binary_search_unencoded_fdes): Likewise.
15588 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15590         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15592 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15594         * configure.in: Autodetect C++ header directories.
15595         * configure: Regenerated.
15597 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15599         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15601 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15605 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15607         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15608         LDBL_MANT_DIG == 106]: Disable some tests.
15609         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15610         Likewise.
15611         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15612         Likewise.
15614         [BZ #14871]
15615         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15616         input for small inputs.  Return +/- pi/2 for large inputs.
15617         * math/libm-test.inc (atan_test): Add more tests.
15619         * sysdeps/generic/unwind-dw2-fde-glibc.c
15620         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15621         __attribute__ ((unused)).
15623         [BZ #14645]
15624         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15625         x * y if x and y are nonzero and z is zero.
15627         [BZ #14811]
15628         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15629         nonzero exponents with absolute value below 0x1p-117 to +/-
15630         0x1p-117.
15632         [BZ #14869]
15633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15634         up arguments below 2**-450, not just those below 2**-500.
15635         * math/libm-test.inc (hypot_test): Add another test.
15637         [BZ #14868]
15638         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15639         Return a+b for ratio over 2**120, not 2**60.
15640         * math/libm-test.inc (hypot_test): Add another test.
15642         * math/libm-test.inc (clog_test): Use
15643         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15644         (clog10_test): Likewise.
15646         [BZ #6778]
15647         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15649 2012-11-22  Andreas Schwab  <schwab@suse.de>
15651         * sysdeps/i386/fpu/libm-test-ulps: Update.
15653 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15655         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15656         printf output with newline.
15658 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15660         [BZ #14865]
15661         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15662         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15663         -z nodlopen, -z initfirst and -z execstack support.
15664         * configure: Regenerated.
15666         * elf/elf.h (DF_1_NODIRECT): New macro.
15667         (DF_1_IGNMULDEF): Likewise.
15668         (DF_1_NOKSYMS): Likewise.
15669         (DF_1_NOHDR): Likewise.
15670         (DF_1_EDITED): Likewise.
15671         (DF_1_NORELOC): Likewise.
15672         (DF_1_SYMINTPOSE): Likewise.
15673         (DF_1_GLOBAUDIT): Likewise.
15674         (DF_1_SINGLETON): Likewise.
15675         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15676         DT_1_SUPPORTED_MASK bits.
15677         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15679 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15681         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15683 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15685         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15686         macro.
15688         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15689         (sendmmsg): Move declarations...
15690         * socket/sys/socket.h: ... here.
15691         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15692         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15693         include it from...
15694         * socket/recvmmsg.c: ... this new file.
15695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15696         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15697         definition of __sendmmsg hidden.
15698         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15699         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15700         Move ENOSYS stub into and include it from...
15701         * socket/sendmmsg.c: ... this new file.
15702         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15703         (sysdep_routines): Move recvmmsg and sendmmsg...
15704         * socket/Makefile (routines): ... here.
15705         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15706         (GLIBC_PRIVATE): Add __sendmmsg.
15707         * include/sys/socket.h (__sendmmsg): Add declarations.
15708         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15709         sendmmsg.
15711 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15714         variable I1 with __attribute__ ((unused)).
15715         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15717 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15719         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15720         DUMMY variables with __attribute__ ((unused)).
15722         * bits/byteswap.h: Include <bits/types.h>.
15723         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15725 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15727         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15728         string_t.  Do not manually set errno.
15729         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15730         length with __strnlen.  Make sure to both set errno and return it on
15731         failure.
15733 2012-11-19  David S. Miller  <davem@davemloft.net>
15735         With help from Joseph Myers.
15736         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15737         very large arguments properly.
15738         * math/libm-test.inc (atan_test): New tests.
15739         (atan2_test): New tests.
15740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15743 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15745         [BZ #14856]
15746         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15747         Define to 3.
15749         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15750         [POSIX] (EADDRNOTAVAIL): Likewise.
15751         [POSIX] (EAFNOSUPPORT): Likewise.
15752         [POSIX] (EALREADY): Likewise.
15753         [POSIX] (ECONNABORTED): Likewise.
15754         [POSIX] (ECONNREFUSED): Likewise.
15755         [POSIX] (ECONNRESET): Likewise.
15756         [POSIX] (EDESTADDRREQ): Likewise.
15757         [POSIX] (EDQUOT): Likewise.
15758         [POSIX] (EHOSTUNREACH): Likewise.
15759         [POSIX] (EIDRM): Likewise.
15760         [POSIX] (EISCONN): Likewise.
15761         [POSIX] (ELOOP): Likewise.
15762         [POSIX] (EMULTIHOP): Likewise.
15763         [POSIX] (ENETDOWN): Likewise.
15764         [POSIX] (ENETUNREACH): Likewise.
15765         [POSIX] (ENOBUFS): Likewise.
15766         [POSIX] (ENODATA): Likewise.
15767         [POSIX] (ENOLINK): Likewise.
15768         [POSIX] (ENOMSG): Likewise.
15769         [POSIX] (ENOPROTOOPT): Likewise.
15770         [POSIX] (ENOSR): Likewise.
15771         [POSIX] (ENOSTR): Likewise.
15772         [POSIX] (ENOTCONN): Likewise.
15773         [POSIX] (ENOTSOCK): Likewise.
15774         [POSIX] (EOPNOTSUPP): Likewise.
15775         [POSIX] (EOVERFLOW): Likewise.
15776         [POSIX] (EPROTO): Likewise.
15777         [POSIX] (EPROTONOSUPPORT): Likewise.
15778         [POSIX] (EPROTOTYPE): Likewise.
15779         [POSIX] (ESTALE): Likewise.
15780         [POSIX] (ETIME): Likewise.
15781         [POSIX] (ETXTBSY): Likewise.
15782         [POSIX] (EWOULDBLOCK): Likewise.
15783         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15784         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15785         [POSIX] (SEEK_CUR): Likewise.
15786         [POSIX] (SEEK_END): Likewise.
15787         [POSIX || UNIX98] (mode_t): Do not require.
15788         [POSIX] (off_t): Likewise.
15789         [POSIX] (pid_t): Likewise.
15790         [POSIX] (sys/stat.h): Do not allow header.
15791         [POSIX] (unistd.h): Likewise.
15792         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15793         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15794         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15795         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15796         require.
15797         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15798         sigevent): Specify elements.
15799         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15800         entry.
15801         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15802         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15804         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15805         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15806         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15807         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15808         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15809         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15810         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15811         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15812         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15813         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15814         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15815         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15816         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15818         Likewise.
15819         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15820         Likewise.
15821         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15822         Likewise.
15823         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15824         Likewise.
15825         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15826         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15827         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15828         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15829         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15830         Specify lower bound on value.
15831         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15832         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15833         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15834         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15835         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15836         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15837         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15838         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15839         value.
15840         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15841         as optional.
15842         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15843         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15844         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15845         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15846         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15847         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15848         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15849         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15850         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15851         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15852         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15853         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15854         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15855         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15856         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15857         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15858         entry.
15859         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15860         optional.
15861         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15862         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15863         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15864         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15865         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15866         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15867         Likewise.
15868         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15869         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15870         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15871         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15872         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15873         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15874         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15875         as optional.
15876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15877         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15878         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15879         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15880         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15881         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15882         specify as optional.
15883         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15884         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15885         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15886         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15887         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15888         [XPG3] (NL_LANGMAX): Likewise.
15889         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15890         [POSIX || XPG3] (NL_NMAX): Likewise.
15891         [POSIX || XPG3] (NL_SETMAX): Likewise.
15892         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15893         [XPG3] (NZERO): Likewise.
15894         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15895         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15896         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15897         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15898         (REG_ERANGE): Expect.
15899         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15900         optional-constant.
15901         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15902         Use (void) in prototype.
15903         [POSIX] (*_t): Allow.
15904         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15905         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15906         (WRDE_BADVAL): Expect.
15908         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15909         expect.
15910         [XPG3 || XPG4] (O_RSYNC): Likewise.
15911         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15912         Likewise.
15913         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15914         [XPG3 || XPG4] (sigqueue): Likewise.
15915         [XPG3 || XPG4] (sigtimedwait): Likewise.
15916         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15917         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15918         [XPG3 || XPG4] (vsnprintf): Likewise.
15919         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15920         Likewise.
15921         [XPG3 || XPG4] (blksize_t): Likewise.
15922         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15923         Likewise.
15924         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15925         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15926         [XPG3 || XPG4] (struct itimerspec): Likewise.
15927         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15928         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15929         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15930         [XPG3 || XPG4] (clockid_t): Likewise.
15931         [XPG3 || XPG4] (timer_t): Likewise.
15932         [XPG3 || XPG4] (clock_getres): Likewise.
15933         [XPG3 || XPG4] (clock_gettime): Likewise.
15934         [XPG3 || XPG4] (clock_settime): Likewise.
15935         [XPG3 || XPG4] (nanosleep): Likewise.
15936         [XPG3 || XPG4] (timer_create): Likewise.
15937         [XPG3 || XPG4] (timer_delete): Likewise.
15938         [XPG3 || XPG4] (timer_gettime): Likewise.
15939         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15940         [XPG3 || XPG4] (timer_settime): Likewise.
15941         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15942         [XPG3 || XPG4] (getlogin_r): Likewise.
15943         [XPG3 || XPG4] (pread): Likewise.
15944         [XPG3 || XPG4] (pthread_atfork): Likewise.
15945         [XPG3 || XPG4] (pwrite): Likewise.
15947         [BZ #14835]
15948         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15949         <bits/siginfo.h>.
15951 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15953         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15954         finalizing MALLSTREAM.
15956         * sysdeps/mach/hurd/syncfs.c: New file.
15958 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15960         [BZ #14719]
15961         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15962         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15964         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15965         (_nss_dns_gethostbyname4_r): Likewise.
15966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15967         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15969 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15971         [BZ #13763]
15972         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15974 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15976         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15977         * elf/cache.c (print_entry): Print ",AArch64" for
15978         FLAG_AARCH64_LIB64
15980         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15981         * elf/cache.c (print_entry): Print ",hard-float" for
15982         FLAG_ARM_LIBHF.
15984 2012-11-18  David S. Miller  <davem@davemloft.net>
15986         With help from Joseph Myers.
15987         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15988         cutoff to 2**-13.
15989         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15990         cutoff to 2**-25.
15991         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15992         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15993         small.
15994         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15995         * math/libm-test.inc (y0_test): New tests.
15996         (y1_test): New tests.
15997         * sysdeps/i386/fpu/libm-test-ulps: Update.
15998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16001 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16003         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16004         64-bit targets.
16005         * configure: Regenerated.
16007 2012-11-17  David S. Miller  <davem@davemloft.net>
16009         [BZ #14811]
16010         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16011         nonzero exponents with absolute value below 0x1p-128 to +/-
16012         0x1p-128.
16014 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16016         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16018         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16020         * posix/getconf-speclist.c: New file.
16021         * posix/posix-envs.def: Likewise.
16022         * posix/confstr.c (START_ENV_GROUP): New macro.
16023         (END_ENV_GROUP): Likewise.
16024         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16025         (KNOWN_PRESENT_ENV_STRING): Likewise.
16026         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16027         (UNKNOWN_ENVIRONMENT): Likewise.
16028         (confstr): Include posix-envs.def instead of handling
16029         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16030         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16031         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16032         (END_ENV_GROUP): Likewise.
16033         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16034         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16035         (UNKNOWN_ENVIRONMENT): Likewise.
16036         (__sysconf): Include posix-envs.def instead of handling associated
16037         cases directly here.
16038         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16039         preprocessing getconf-speclist.c rather than running getconf or
16040         generating empty file.
16042 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16044         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16046 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16048         [BZ #14672]
16049         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16051 2012-11-16  David S. Miller  <davem@davemloft.net>
16053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16054         smaller than LDBL_EPSILON/2.0L, just return xm1.
16056 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16058         * elf/tst-array1.c (init): Set constructor priority to 1000.
16059         (fini): Set destructor priority to 1000.
16060         * elf/tst-array2dep.c: Likewise.
16062 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16064         [BZ #11741]
16065         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16066         (_IO_new_file_xsputn): Also return EOF if none of the input
16067         data was written when overflow failed.
16068         * libio/iopadn.c (_IO_padn): Likewise.
16069         * libio/iowpadn.c (_IO_wpadn): Likewise.
16070         * stdio-common/tst-put-error.c: Add copyright notice.
16071         (do_test): Add case for printing padded string.
16072         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16073         _IO_padn returned error.
16074         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16075         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16076         return EOF.
16078 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16080         * libio/libioP.h: Add comment note that the references to C++
16081         bits are now obsolete.
16083 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16085         * math/libm-test.inc (check_complex): Use asprintf.
16087 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16089         * debug/pcprofiledump.c (print_version): Update copyright year.
16090         * malloc/memusagestat.c (print_version): Likewise.
16092 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16094         [BZ #14831]
16095         * elf/Makefile (tests): Add tst-audit8.
16096         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16097         ($(objpfx)tst-audit8.out): New target.
16098         (tst-audit8-ENV): New variable.
16099         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16100         audit if l_reloc_result is NULL.
16101         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16102         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16103         * elf/tst-audit8.c: New file.
16105 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16107         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16108         * misc/Makefile (CFLAGS-select.c): Define.
16109         * posix/Makefile (CFLAGS-pause.c): Define.
16111 2012-11-13  David S. Miller  <davem@davemloft.net>
16113         * crypt/Makefile: Move test targets after toplevel Rules
16114         inclusion.  Grab any necessary sysdep routines when linking.
16115         * crypt/md5.c (md5_process_block): Remove define, we will always
16116         name it __md5_process_block.
16117         (md5_finish_ctx): Update md5_process_block call.
16118         (md5_stream): Likewise.
16119         (md5_process_bytes): Likewise.
16120         (md5_process_block): Rename to __md5_process_block and move to ...
16121         * crypt/md5-block.c: ... here.
16122         * crypt/sha256.c (sha256_process_block): Move to ...
16123         * crypt/sha256-block.c: ... here.
16124         * crypt/sha512.c (sha512_process_block): Move to ...
16125         * crypt/sha512-block.c: ... here.
16126         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16127         path.
16128         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16129         * sysdeps/sparc/sparc64/multiarch/Makefile
16130         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16131         crypt subdir.
16132         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16133         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16134         multiarch changes.
16135         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16136         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16137         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16138         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16139         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16140         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16141         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16142         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16144         file.
16145         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16146         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16147         file.
16148         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16150 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16152         * timezone/tzselect.ksh: Update from tzcode git revision
16153         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16154         * timezone/zdump.c: Likewise.
16155         * timezone/zic.c: Likewise.
16156         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16157         in TZVERSION setting, not $(PKGVERSION).
16158         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16159         REPORT_BUGS_TO settings.
16161         [BZ #14838]
16162         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16163         macro.
16165 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16167         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16168         detection to immediately after _FP_ROUND().
16169         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16170         bits are 0.
16172 2012-11-11  David S. Miller  <davem@davemloft.net>
16174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16175         inttypes.h
16176         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16177         __close rather than their public counterparts.
16179 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16181         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16182         file.
16183         [UNIX98] (sem_timedwait): Do not expect.
16184         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16185         [XPG4 || UNIX98] (sockatmark): Do not expect.
16186         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16187         (clock_getcpuclockid): Do not expect.
16188         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16189         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16190         Do not expect.
16191         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16192         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16193         [UNIX98] (vwscanf): Likewise.
16194         [UNIX98] (vswscanf): Likewise.
16196 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16198         * timezone/version.h: Remove file.
16199         * timezone/README: Do not refer to version.h.
16200         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16201         $(objpfx)version.h.
16202         ($(objpfx)zdump.o): Likewise.
16203         ($(objpfx)version.h): New target.
16205         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16206         2012i.
16207         * timezone/README: Don't mention modification to tzselect.ksh.
16208         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16209         work on unmodified tzselect.ksh.  Substitute version numbers in
16210         tzselect.ksh.
16212         * Makefile (format-me): Remove.
16213         (INSTALL): Adjust indentation.  Use commands directly instead of
16214         using $(format-me).
16216         * aclocal.m4 (ACX_PKGVERSION): New macro.
16217         (ACX_BUGURL): Likewise.
16218         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16219         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16220         (REPORT_BUGS_TO): Likewise.
16221         * configure: Regenerated.
16222         * config.h.in (PKGVERSION): New macro.
16223         (REPORT_BUGS_TO): Likewise.
16224         * config.make.in (PKGVERSION): New variable.
16225         (PKGVERSION_TEXI): Likewise.
16226         (REPORT_BUGS_TO): Likewise.
16227         (REPORT_BUGS_TEXI): Likewise.
16228         * Makefile (format-me): Use -I$(common-objpfx)manual.
16229         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16230         ($(common-objpfx)manual/%): New target.
16231         (manual/%): Remove target.
16232         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16233         (print_version): Use PKGVERSION.
16234         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16235         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16236         and REPORT_BUGS_TO.
16237         ($(objpfx)xtrace): Likewise.
16238         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16239         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16240         (print_version): Use PKGVERSION.
16241         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16242         (do_version): Use PKGVERSION.
16243         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16244         REPORT_BUGS_TO.
16245         (common-ldd-rewrite): Likewise.
16246         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16247         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16248         (print_version): Use PKGVERSION.
16249         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16250         * elf/pldd.c (argp_program_bug_address): Remove variable.
16251         (more_help): New function.
16252         (argp): Use more_help.
16253         (print_version): Use PKGVERSION.
16254         * elf/sln.c (main): Use PKGVERSION.
16255         (usage): Use REPORT_BUGS_TO.
16256         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16257         (top level): Use PKGVERSION.
16258         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16259         (print_version): Use PKGVERSION.
16260         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16261         (print_version): Use PKGVERSION.
16262         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16263         (print_version): Use PKGVERSION.
16264         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16265         (print_version): Use PKGVERSION.
16266         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16267         (print_version): Use PKGVERSION.
16268         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16269         (print_version): Use PKGVERSION.
16270         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16271         and BUGURL.
16272         ($(objpfx)memusage): Likewise.
16273         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16274         (do_version): Use PKGVERSION.
16275         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16276         (print_version): Use PKGVERSION.
16277         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16278         ($PKGVERSION): New variable.
16279         ($REPORT_BUGS_TO): Likewise.
16280         (usage): Use $REPORT_BUGS_TO.
16281         (top level): Use $PKGVERSION.
16282         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16283         ($(objpfx)pkgvers.texi): New rule.
16284         ($(objpfx)stamp-pkgvers): Likewise.
16285         * manual/install.texi: Include pkgvers.texi.
16286         (--with-pkgversion): Document new configure option.
16287         (--with-bugurl): Likewise.
16288         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16289         than necessarily for this particular distribution.  Use
16290         REPORT_BUGS_TO for where to report bugs.
16291         * INSTALL: Regenerated.
16292         * manual/libc.texinfo: Include pkgvers.texi.
16293         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16294         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16295         (print_version): Use PKGVERSION.
16296         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16297         (print_version): Use PKGVERSION.
16298         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16299         (print_version): Use PKGVERSION.
16300         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16301         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16302         macro.
16303         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16304         (print_version): Use PKGVERSION.
16305         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16306         (print_version): Use PKGVERSION.
16307         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16308         and PKGVERSION.
16310         * timezone/checktab.awk: Update from tzcode 2012i.
16311         * timezone/ialloc.c: Likewise.
16312         * timezone/private.h: Likewise.
16313         * timezone/scheck.c: Likewise.
16314         * timezone/tzfile.h: Likewise.
16315         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16316         (TZVERSION): Hardcode tzcode version number.
16317         * timezone/zdump.c: Update from tzcode 2012i.
16318         * timezone/zic.c: Likewise.
16319         * timezone/version.h: New file.
16320         * timezone/README: Describe version.h.  Update upstream location.
16322         [BZ #14824]
16323         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16324         (mktemp): Enable declaration.
16325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16329         Likewise.
16330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16331         Likewise.
16332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16333         Likewise.
16334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16335         Likewise.
16336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16337         Likewise.
16338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16339         Likewise.
16341         [BZ #14821]
16342         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16343         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16344         for copies of such integer values.
16345         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16346         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16348 2012-11-09  Andreas Jaeger  <aj@suse.de>
16350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16351         definitions and declarations that are provided by
16352         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16354 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16356         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16357         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16358         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16359         definition.
16361 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16363         * elf/elf.h: Update comment before AArch64 relocations.
16365 2012-11-07  David S. Miller  <davem@davemloft.net>
16367         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16368         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16369         (__start_context): Declare.
16370         (__makecontext_ret): Delete.
16371         (__makecontext): Hook up __start_context instead of
16372         __makecontext_ret.
16373         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16374         (sysdep_routines): Add __start_context when in stdlib.
16376 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16378         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16379         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16380         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16381         hardcoded "nm".
16382         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16383         (READELF): New variable.  Use it instead of hardcoded "readelf".
16385 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16387         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16388         * sysdeps/x86/Makefile: Here.
16389         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16390         * sysdeps/x86/tst-xmmymm.sh: This.
16392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16394         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16395         expectations.
16396         [UNIX98] (pthread_barrier_t): Do not expect.
16397         [UNIX98] (pthread_barrierattr_t): Likewise.
16398         [UNIX98] (pthread_spinlock_t): Likewise.
16399         [UNIX98] (pthread_barrier_destroy): Likewise.
16400         [UNIX98] (pthread_barrier_init): Likewise.
16401         [UNIX98] (pthread_barrier_wait): Likewise.
16402         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16403         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16404         [UNIX98] (pthread_barrierattr_init): Likewise.
16405         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16406         [UNIX98] (pthread_getcpuclockid): Likewise.
16407         [UNIX98] (pthread_mutex_timedlock): Likewise.
16408         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16409         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16410         [UNIX98] (pthread_sigmask): Likewise.
16411         [UNIX98] (pthread_spin_destroy): Likewise.
16412         [UNIX98] (pthread_spin_init): Likewise.
16413         [UNIX98] (pthread_spin_lock): Likewise.
16414         [UNIX98] (pthread_spin_trylock): Likewise.
16415         [UNIX98] (pthread_spin_unlock): Likewise.
16416         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16417         Do not expect.
16418         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16419         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16420         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16421         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16422         [XPG3 || XPG4] (pthread_key_t): Likewise.
16423         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16424         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16425         [XPG3 || XPG4] (pthread_once_t): Likewise.
16426         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16427         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16428         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16429         [XPG3 || XPG4] (pthread_t): Likewise.
16431         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16432         not expect.
16433         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16435         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16436         Change function return type to int.
16438         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16439         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16440         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16441         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16442         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16443         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16444         [!POSIX] (posix_madvise): Likewise.
16445         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16446         && !UNIX98].
16447         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16448         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16449         (mode_t): Likewise.
16450         (posix_mem_offset): Likewise.
16451         (posix_typed_mem_get_info): Likewise.
16452         (posix_typed_mem_open): Likewise.
16454         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16455         Change condition to [XOPEN2K8].
16457         * conform/conformtest.pl: Preprocess allow-header data with -x c
16458         instead of from stdin.
16459         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16460         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16461         [C99-based standards] (cerfc): Likewise.
16462         [C99-based standards] (cexp2): Likewise.
16463         [C99-based standards] (cexpm1): Likewise.
16464         [C99-based standards] (clog10): Likewise.
16465         [C99-based standards] (clog1p): Likewise.
16466         [C99-based standards] (clog2): Likewise.
16467         [C99-based standards] (clgamma): Likewise.
16468         [C99-based standards] (ctgamma): Likewise.
16469         [C99-based standards] (cerff): Likewise.
16470         [C99-based standards] (cerfcf): Likewise.
16471         [C99-based standards] (cexp2f): Likewise.
16472         [C99-based standards] (cexpm1f): Likewise.
16473         [C99-based standards] (clog10f): Likewise.
16474         [C99-based standards] (clog1pf): Likewise.
16475         [C99-based standards] (clog2f): Likewise.
16476         [C99-based standards] (clgammaf): Likewise.
16477         [C99-based standards] (ctgammaf): Likewise.
16478         [C99-based standards] (cerfl): Likewise.
16479         [C99-based standards] (cerfcl): Likewise.
16480         [C99-based standards] (cexp2l): Likewise.
16481         [C99-based standards] (cexpm1l): Likewise.
16482         [C99-based standards] (clog10l): Likewise.
16483         [C99-based standards] (clog1pl): Likewise.
16484         [C99-based standards] (clog2l): Likewise.
16485         [C99-based standards] (clgammal): Likewise.
16486         [C99-based standards] (ctgammal): Likewise.
16487         * conform/data/inttypes.h-data [C99-based standards]: Include
16488         stdint.h-data.  Remove all expectations for stdint.h contents.
16489         [C99-based standards] (PRI*): Do not allow.
16490         [C99-based standards] (SCN*): Likewise.
16491         [C99-based standards] (*_t): Likewise.
16492         [C99-based-standards] (PRId8): Expect macro.
16493         [C99-based-standards] (PRIi8): Likewise.
16494         [C99-based-standards] (PRIo8): Likewise.
16495         [C99-based-standards] (PRIu8): Likewise.
16496         [C99-based-standards] (PRIx8): Likewise.
16497         [C99-based-standards] (PRIX8): Likewise.
16498         [C99-based-standards] (SCNd8): Likewise.
16499         [C99-based-standards] (SCNi8): Likewise.
16500         [C99-based-standards] (SCNo8): Likewise.
16501         [C99-based-standards] (SCNu8): Likewise.
16502         [C99-based-standards] (SCNx8): Likewise.
16503         [C99-based-standards] (PRIdLEAST8): Likewise.
16504         [C99-based-standards] (PRIiLEAST8): Likewise.
16505         [C99-based-standards] (PRIoLEAST8): Likewise.
16506         [C99-based-standards] (PRIuLEAST8): Likewise.
16507         [C99-based-standards] (PRIxLEAST8): Likewise.
16508         [C99-based-standards] (PRIXLEAST8): Likewise.
16509         [C99-based-standards] (SCNdLEAST8): Likewise.
16510         [C99-based-standards] (SCNiLEAST8): Likewise.
16511         [C99-based-standards] (SCNoLEAST8): Likewise.
16512         [C99-based-standards] (SCNuLEAST8): Likewise.
16513         [C99-based-standards] (SCNxLEAST8): Likewise.
16514         [C99-based-standards] (PRIdFAST8): Likewise.
16515         [C99-based-standards] (PRIiFAST8): Likewise.
16516         [C99-based-standards] (PRIoFAST8): Likewise.
16517         [C99-based-standards] (PRIuFAST8): Likewise.
16518         [C99-based-standards] (PRIxFAST8): Likewise.
16519         [C99-based-standards] (PRIXFAST8): Likewise.
16520         [C99-based-standards] (SCNdFAST8): Likewise.
16521         [C99-based-standards] (SCNiFAST8): Likewise.
16522         [C99-based-standards] (SCNoFAST8): Likewise.
16523         [C99-based-standards] (SCNuFAST8): Likewise.
16524         [C99-based-standards] (SCNxFAST8): Likewise.
16525         [C99-based-standards] (PRId16): Likewise.
16526         [C99-based-standards] (PRIi16): Likewise.
16527         [C99-based-standards] (PRIo16): Likewise.
16528         [C99-based-standards] (PRIu16): Likewise.
16529         [C99-based-standards] (PRIx16): Likewise.
16530         [C99-based-standards] (PRIX16): Likewise.
16531         [C99-based-standards] (SCNd16): Likewise.
16532         [C99-based-standards] (SCNi16): Likewise.
16533         [C99-based-standards] (SCNo16): Likewise.
16534         [C99-based-standards] (SCNu16): Likewise.
16535         [C99-based-standards] (SCNx16): Likewise.
16536         [C99-based-standards] (PRIdLEAST16): Likewise.
16537         [C99-based-standards] (PRIiLEAST16): Likewise.
16538         [C99-based-standards] (PRIoLEAST16): Likewise.
16539         [C99-based-standards] (PRIuLEAST16): Likewise.
16540         [C99-based-standards] (PRIxLEAST16): Likewise.
16541         [C99-based-standards] (PRIXLEAST16): Likewise.
16542         [C99-based-standards] (SCNdLEAST16): Likewise.
16543         [C99-based-standards] (SCNiLEAST16): Likewise.
16544         [C99-based-standards] (SCNoLEAST16): Likewise.
16545         [C99-based-standards] (SCNuLEAST16): Likewise.
16546         [C99-based-standards] (SCNxLEAST16): Likewise.
16547         [C99-based-standards] (PRIdFAST16): Likewise.
16548         [C99-based-standards] (PRIiFAST16): Likewise.
16549         [C99-based-standards] (PRIoFAST16): Likewise.
16550         [C99-based-standards] (PRIuFAST16): Likewise.
16551         [C99-based-standards] (PRIxFAST16): Likewise.
16552         [C99-based-standards] (PRIXFAST16): Likewise.
16553         [C99-based-standards] (SCNdFAST16): Likewise.
16554         [C99-based-standards] (SCNiFAST16): Likewise.
16555         [C99-based-standards] (SCNoFAST16): Likewise.
16556         [C99-based-standards] (SCNuFAST16): Likewise.
16557         [C99-based-standards] (SCNxFAST16): Likewise.
16558         [C99-based-standards] (PRId32): Likewise.
16559         [C99-based-standards] (PRIi32): Likewise.
16560         [C99-based-standards] (PRIo32): Likewise.
16561         [C99-based-standards] (PRIu32): Likewise.
16562         [C99-based-standards] (PRIx32): Likewise.
16563         [C99-based-standards] (PRIX32): Likewise.
16564         [C99-based-standards] (SCNd32): Likewise.
16565         [C99-based-standards] (SCNi32): Likewise.
16566         [C99-based-standards] (SCNo32): Likewise.
16567         [C99-based-standards] (SCNu32): Likewise.
16568         [C99-based-standards] (SCNx32): Likewise.
16569         [C99-based-standards] (PRIdLEAST32): Likewise.
16570         [C99-based-standards] (PRIiLEAST32): Likewise.
16571         [C99-based-standards] (PRIoLEAST32): Likewise.
16572         [C99-based-standards] (PRIuLEAST32): Likewise.
16573         [C99-based-standards] (PRIxLEAST32): Likewise.
16574         [C99-based-standards] (PRIXLEAST32): Likewise.
16575         [C99-based-standards] (SCNdLEAST32): Likewise.
16576         [C99-based-standards] (SCNiLEAST32): Likewise.
16577         [C99-based-standards] (SCNoLEAST32): Likewise.
16578         [C99-based-standards] (SCNuLEAST32): Likewise.
16579         [C99-based-standards] (SCNxLEAST32): Likewise.
16580         [C99-based-standards] (PRIdFAST32): Likewise.
16581         [C99-based-standards] (PRIiFAST32): Likewise.
16582         [C99-based-standards] (PRIoFAST32): Likewise.
16583         [C99-based-standards] (PRIuFAST32): Likewise.
16584         [C99-based-standards] (PRIxFAST32): Likewise.
16585         [C99-based-standards] (PRIXFAST32): Likewise.
16586         [C99-based-standards] (SCNdFAST32): Likewise.
16587         [C99-based-standards] (SCNiFAST32): Likewise.
16588         [C99-based-standards] (SCNoFAST32): Likewise.
16589         [C99-based-standards] (SCNuFAST32): Likewise.
16590         [C99-based-standards] (SCNxFAST32): Likewise.
16591         [C99-based-standards] (PRId64): Likewise.
16592         [C99-based-standards] (PRIi64): Likewise.
16593         [C99-based-standards] (PRIo64): Likewise.
16594         [C99-based-standards] (PRIu64): Likewise.
16595         [C99-based-standards] (PRIx64): Likewise.
16596         [C99-based-standards] (PRIX64): Likewise.
16597         [C99-based-standards] (SCNd64): Likewise.
16598         [C99-based-standards] (SCNi64): Likewise.
16599         [C99-based-standards] (SCNo64): Likewise.
16600         [C99-based-standards] (SCNu64): Likewise.
16601         [C99-based-standards] (SCNx64): Likewise.
16602         [C99-based-standards] (PRIdLEAST64): Likewise.
16603         [C99-based-standards] (PRIiLEAST64): Likewise.
16604         [C99-based-standards] (PRIoLEAST64): Likewise.
16605         [C99-based-standards] (PRIuLEAST64): Likewise.
16606         [C99-based-standards] (PRIxLEAST64): Likewise.
16607         [C99-based-standards] (PRIXLEAST64): Likewise.
16608         [C99-based-standards] (SCNdLEAST64): Likewise.
16609         [C99-based-standards] (SCNiLEAST64): Likewise.
16610         [C99-based-standards] (SCNoLEAST64): Likewise.
16611         [C99-based-standards] (SCNuLEAST64): Likewise.
16612         [C99-based-standards] (SCNxLEAST64): Likewise.
16613         [C99-based-standards] (PRIdFAST64): Likewise.
16614         [C99-based-standards] (PRIiFAST64): Likewise.
16615         [C99-based-standards] (PRIoFAST64): Likewise.
16616         [C99-based-standards] (PRIuFAST64): Likewise.
16617         [C99-based-standards] (PRIxFAST64): Likewise.
16618         [C99-based-standards] (PRIXFAST64): Likewise.
16619         [C99-based-standards] (SCNdFAST64): Likewise.
16620         [C99-based-standards] (SCNiFAST64): Likewise.
16621         [C99-based-standards] (SCNoFAST64): Likewise.
16622         [C99-based-standards] (SCNuFAST64): Likewise.
16623         [C99-based-standards] (SCNxFAST64): Likewise.
16624         [C99-based-standards] (PRIdMAX): Likewise.
16625         [C99-based-standards] (PRIiMAX): Likewise.
16626         [C99-based-standards] (PRIoMAX): Likewise.
16627         [C99-based-standards] (PRIuMAX): Likewise.
16628         [C99-based-standards] (PRIxMAX): Likewise.
16629         [C99-based-standards] (PRIXMAX): Likewise.
16630         [C99-based-standards] (SCNdMAX): Likewise.
16631         [C99-based-standards] (SCNiMAX): Likewise.
16632         [C99-based-standards] (SCNoMAX): Likewise.
16633         [C99-based-standards] (SCNuMAX): Likewise.
16634         [C99-based-standards] (SCNxMAX): Likewise.
16635         [C99-based-standards] (PRIdPTR): Likewise.
16636         [C99-based-standards] (PRIiPTR): Likewise.
16637         [C99-based-standards] (PRIoPTR): Likewise.
16638         [C99-based-standards] (PRIuPTR): Likewise.
16639         [C99-based-standards] (PRIxPTR): Likewise.
16640         [C99-based-standards] (PRIXPTR): Likewise.
16641         [C99-based-standards] (SCNdPTR): Likewise.
16642         [C99-based-standards] (SCNiPTR): Likewise.
16643         [C99-based-standards] (SCNoPTR): Likewise.
16644         [C99-based-standards] (SCNuPTR): Likewise.
16645         [C99-based-standards] (SCNxPTR): Likewise.
16646         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16647         allow.
16648         * conform/data/stdint.h-data: Update comments to clarify
16649         requirements.
16650         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16651         type.
16652         [C99-based standards] (INT8_MAX): Likewise.
16653         [C99-based standards] (INT16_MIN): Likewise.
16654         [C99-based standards] (INT16_MAX): Likewise.
16655         [C99-based standards] (INT32_MIN): Likewise.
16656         [C99-based standards] (INT32_MAX): Likewise.
16657         [C99-based standards] (INT64_MIN): Likewise.
16658         [C99-based standards] (INT64_MAX): Likewise.
16659         [C99-based standards] (UINT8_MAX): Likewise.
16660         [C99-based standards] (UINT16_MAX): Likewise.
16661         [C99-based standards] (UINT32_MAX): Likewise.
16662         [C99-based standards] (UINT64_MAX): Likewise.
16663         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16664         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16665         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16666         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16667         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16668         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16669         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16670         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16671         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16672         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16673         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16674         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16675         [C99-based standards] (INT_FAST8_MIN): Likewise.
16676         [C99-based standards] (INT_FAST8_MAX): Likewise.
16677         [C99-based standards] (INT_FAST16_MIN): Likewise.
16678         [C99-based standards] (INT_FAST16_MAX): Likewise.
16679         [C99-based standards] (INT_FAST32_MIN): Likewise.
16680         [C99-based standards] (INT_FAST32_MAX): Likewise.
16681         [C99-based standards] (INT_FAST64_MIN): Likewise.
16682         [C99-based standards] (INT_FAST64_MAX): Likewise.
16683         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16684         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16685         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16686         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16687         [C99-based standards] (INTPTR_MIN): Likewise.
16688         [C99-based standards] (INTPTR_MAX): Likewise.
16689         [C99-based standards] (UINTPTR_MAX): Likewise.
16690         [C99-based standards] (INTMAX_MIN): Likewise.
16691         [C99-based standards] (INTMAX_MAX): Likewise.
16692         [C99-based standards] (UINTMAX_MAX): Likewise.
16693         [C99-based standards] (PTRDIFF_MIN): Likewise.
16694         [C99-based standards] (PTRDIFF_MAX): Likewise.
16695         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16696         [C99-based standards] (SIZE_MAX): Likewise.
16697         [C99-based standards] (WCHAR_MAX): Likewise.
16698         [C99-based standards] (WINT_MAX): Likewise.
16699         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16700         constraint on value.
16701         [C99-based standards] (WCHAR_MIN): Likewise.
16702         [C99-based standards] (WINT_MIN): Likewise.
16703         [C99-based standards] (*_t): Allow.
16704         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16705         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16706         Include math.h-data and complex.h-data.  Remove all expectations
16707         of math.h and complex.h contents.
16708         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16709         at end of line.
16710         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16711         (struct tm): Expect tag.
16712         [C99-based-standards] (wcstof): Expect function.
16713         [C99-based-standards] (wcstold): Likewise.
16714         [C99-based-standards] (wcstoll): Likewise.
16715         [C99-based-standards] (wcstoull): Likewise.
16716         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16717         macro-int-constant.  Specify type.
16718         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16719         constraint on value.
16720         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16721         Specify type.
16722         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16723         Specify value.
16724         [ISO C standards]: Do not allow headers.
16725         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16726         wcs[abcdefghijklmnopqrstuvwxyz]*.
16727         [ISO C standards] (*_t): Do not allow.
16728         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16729         Expect function.
16730         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16731         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16732         Specify type.
16733         [ISO C standards]: Do not allow headers.
16734         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16735         is[abcdefghijklmnopqrstuvwxyz]*.
16736         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16737         to[abcdefghijklmnopqrstuvwxyz]*.
16738         [ISO C standards] (*_t): Do not allow.
16739         * conform/data/stdalign.h-data: New file.
16740         * conform/data/stdbool.h-data: Likewise.
16741         * conform/data/stdnoreturn.h-data: Likewise.
16743 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16745         [BZ #14815]
16746         * manual/filesys.texi (Directory Entries): Typo fix.
16747         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16749 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16751         * elf/elf.h (EM_AARCH64): New macro.
16752         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16753         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16754         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16755         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16756         (R_AARCH64_TLSDESC): Likewise.
16757         (NT_ARM_TLS): Likewise.
16758         (NT_ARM_HW_BREAK): Likewise.
16759         (NT_ARM_HW_WATCH): Likewise.
16761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16763         [BZ #14811]
16764         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16765         (__ieee754_powl): Saturate nonzero exponents with absolute value
16766         below 0x1p-79 to +/- 0x1p-79.
16767         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16768         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16769         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16770         nonzero exponents with absolute value below 0x1p-32 to +/-
16771         0x1p-32.
16772         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16773         (__ieee754_powl): Saturate nonzero exponents with absolute value
16774         below 0x1p-79 to +/- 0x1p-79.
16775         * math/libm-test.inc (pow_test): Add more tests.
16777 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16779         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16780         _dl_s390_cap_flags with kernel. Increase string length.
16781         (_dl_s390_platforms): Add z196 and zEC12.
16783 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16785         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16786         Change XOPEN21K to XOPEN2K.
16788 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16790         * string/memmove.c: Use memcpy when possible.
16792 2012-11-06  Andreas Jaeger  <aj@suse.de>
16794         * po/eo.po: Update from translation team.
16796 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16798         [BZ #14793]
16799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16800         exponent and small x and y exponents, scale x or y up.  Increase
16801         by 2 the exponent used in scaling up.
16802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16803         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16804         * math/libm-test.inc (fma_test): Add more tests.
16805         (fma_test_towardzero): Likewise.
16806         (fma_test_downward): Likewise.
16807         (fma_test_upward): Likewise.
16809 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16811         [BZ #14805]
16812         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16813         fenv_t *.
16815         [BZ #14801]
16816         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16817         namespace for names of struct fields.
16818         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16819         fenv_t fields.
16820         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16821         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16823 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16825         [BZ #3665]
16826         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16828 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16830         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16831         PTR_DEMANGLE.
16833         [BZ #5246]
16834         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16835         PTR_DEMANGLE.
16837 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16839         [BZ #14797]
16840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16841         definitely overflow as x * y not x * y + z.
16842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16844         * math/libm-test.inc (fma_test): Add more tests.
16845         (fma_test_towardzero): Likewise.
16846         (fma_test_downward): Likewise.
16847         (fma_test_upward): Likewise.
16849 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16851         [BZ #157]
16853         * include/stub-tag.h: Remove file.
16854         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16855         '#include' of it.
16856         * manual/maint.texi (Porting): Don't reference it.
16857         * Makerules ($(objpfx)stubs): Likewise.
16858         * dirent/closedir.c: Don't include <stub-tag.h>.
16859         * dirent/dirfd.c: Likewise.
16860         * dirent/fdopendir.c: Likewise.
16861         * dirent/getdents.c: Likewise.
16862         * dirent/getdents64.c: Likewise.
16863         * dirent/opendir.c: Likewise.
16864         * dirent/readdir.c: Likewise.
16865         * dirent/readdir64.c: Likewise.
16866         * dirent/readdir64_r.c: Likewise.
16867         * dirent/readdir_r.c: Likewise.
16868         * dirent/rewinddir.c: Likewise.
16869         * dirent/seekdir.c: Likewise.
16870         * dirent/telldir.c: Likewise.
16871         * gmon/profil.c: Likewise.
16872         * grp/setgroups.c: Likewise.
16873         * inet/if_index.c: Likewise.
16874         * io/access.c: Likewise.
16875         * io/chdir.c: Likewise.
16876         * io/chmod.c: Likewise.
16877         * io/chown.c: Likewise.
16878         * io/close.c: Likewise.
16879         * io/dup.c: Likewise.
16880         * io/dup2.c: Likewise.
16881         * io/dup3.c: Likewise.
16882         * io/euidaccess.c: Likewise.
16883         * io/faccessat.c: Likewise.
16884         * io/fchdir.c: Likewise.
16885         * io/fchmod.c: Likewise.
16886         * io/fchmodat.c: Likewise.
16887         * io/fchown.c: Likewise.
16888         * io/fchownat.c: Likewise.
16889         * io/fcntl.c: Likewise.
16890         * io/flock.c: Likewise.
16891         * io/fstatfs.c: Likewise.
16892         * io/fstatfs64.c: Likewise.
16893         * io/fstatvfs.c: Likewise.
16894         * io/fstatvfs64.c: Likewise.
16895         * io/futimens.c: Likewise.
16896         * io/fxstat.c: Likewise.
16897         * io/fxstat64.c: Likewise.
16898         * io/fxstatat.c: Likewise.
16899         * io/fxstatat64.c: Likewise.
16900         * io/getcwd.c: Likewise.
16901         * io/isatty.c: Likewise.
16902         * io/lchmod.c: Likewise.
16903         * io/lchown.c: Likewise.
16904         * io/link.c: Likewise.
16905         * io/linkat.c: Likewise.
16906         * io/lseek.c: Likewise.
16907         * io/lseek64.c: Likewise.
16908         * io/lxstat64.c: Likewise.
16909         * io/mkdir.c: Likewise.
16910         * io/mkdirat.c: Likewise.
16911         * io/mkfifo.c: Likewise.
16912         * io/mkfifoat.c: Likewise.
16913         * io/open.c: Likewise.
16914         * io/open64.c: Likewise.
16915         * io/openat.c: Likewise.
16916         * io/openat64.c: Likewise.
16917         * io/pipe.c: Likewise.
16918         * io/pipe2.c: Likewise.
16919         * io/poll.c: Likewise.
16920         * io/posix_fadvise.c: Likewise.
16921         * io/posix_fadvise64.c: Likewise.
16922         * io/posix_fallocate.c: Likewise.
16923         * io/posix_fallocate64.c: Likewise.
16924         * io/read.c: Likewise.
16925         * io/readlink.c: Likewise.
16926         * io/readlinkat.c: Likewise.
16927         * io/rmdir.c: Likewise.
16928         * io/sendfile.c: Likewise.
16929         * io/sendfile64.c: Likewise.
16930         * io/statfs.c: Likewise.
16931         * io/statfs64.c: Likewise.
16932         * io/statvfs.c: Likewise.
16933         * io/statvfs64.c: Likewise.
16934         * io/symlink.c: Likewise.
16935         * io/symlinkat.c: Likewise.
16936         * io/ttyname.c: Likewise.
16937         * io/ttyname_r.c: Likewise.
16938         * io/umask.c: Likewise.
16939         * io/unlink.c: Likewise.
16940         * io/unlinkat.c: Likewise.
16941         * io/utime.c: Likewise.
16942         * io/utimensat.c: Likewise.
16943         * io/write.c: Likewise.
16944         * io/xmknod.c: Likewise.
16945         * io/xmknodat.c: Likewise.
16946         * io/xstat.c: Likewise.
16947         * io/xstat64.c: Likewise.
16948         * login/getpt.c: Likewise.
16949         * login/grantpt.c: Likewise.
16950         * login/unlockpt.c: Likewise.
16951         * math/e_acoshl.c: Likewise.
16952         * math/e_acosl.c: Likewise.
16953         * math/e_asinl.c: Likewise.
16954         * math/e_atan2l.c: Likewise.
16955         * math/e_atanhl.c: Likewise.
16956         * math/e_coshl.c: Likewise.
16957         * math/e_expl.c: Likewise.
16958         * math/e_fmodl.c: Likewise.
16959         * math/e_gammal_r.c: Likewise.
16960         * math/e_hypotl.c: Likewise.
16961         * math/e_j0l.c: Likewise.
16962         * math/e_j1l.c: Likewise.
16963         * math/e_jnl.c: Likewise.
16964         * math/e_lgammal_r.c: Likewise.
16965         * math/e_log10l.c: Likewise.
16966         * math/e_log2l.c: Likewise.
16967         * math/e_logl.c: Likewise.
16968         * math/e_powl.c: Likewise.
16969         * math/e_rem_pio2l.c: Likewise.
16970         * math/e_sinhl.c: Likewise.
16971         * math/e_sqrtl.c: Likewise.
16972         * math/fclrexcpt.c: Likewise.
16973         * math/fedisblxcpt.c: Likewise.
16974         * math/feenablxcpt.c: Likewise.
16975         * math/fegetenv.c: Likewise.
16976         * math/fegetexcept.c: Likewise.
16977         * math/fegetround.c: Likewise.
16978         * math/feholdexcpt.c: Likewise.
16979         * math/fesetenv.c: Likewise.
16980         * math/fesetround.c: Likewise.
16981         * math/feupdateenv.c: Likewise.
16982         * math/fgetexcptflg.c: Likewise.
16983         * math/fraiseexcpt.c: Likewise.
16984         * math/fsetexcptflg.c: Likewise.
16985         * math/ftestexcept.c: Likewise.
16986         * math/k_cosl.c: Likewise.
16987         * math/k_rem_pio2l.c: Likewise.
16988         * math/k_sinl.c: Likewise.
16989         * math/k_tanl.c: Likewise.
16990         * math/s_asinhl.c: Likewise.
16991         * math/s_atanl.c: Likewise.
16992         * math/s_cbrtl.c: Likewise.
16993         * math/s_erfl.c: Likewise.
16994         * math/s_expm1l.c: Likewise.
16995         * math/s_log1pl.c: Likewise.
16996         * math/s_tanhl.c: Likewise.
16997         * misc/acct.c: Likewise.
16998         * misc/brk.c: Likewise.
16999         * misc/chflags.c: Likewise.
17000         * misc/chroot.c: Likewise.
17001         * misc/fchflags.c: Likewise.
17002         * misc/fgetxattr.c: Likewise.
17003         * misc/flistxattr.c: Likewise.
17004         * misc/fremovexattr.c: Likewise.
17005         * misc/fsetxattr.c: Likewise.
17006         * misc/fsync.c: Likewise.
17007         * misc/ftruncate.c: Likewise.
17008         * misc/futimes.c: Likewise.
17009         * misc/futimesat.c: Likewise.
17010         * misc/getdomain.c: Likewise.
17011         * misc/getdtsz.c: Likewise.
17012         * misc/gethostid.c: Likewise.
17013         * misc/gethostname.c: Likewise.
17014         * misc/getloadavg.c: Likewise.
17015         * misc/getpagesize.c: Likewise.
17016         * misc/getsysstats.c: Likewise.
17017         * misc/getxattr.c: Likewise.
17018         * misc/gtty.c: Likewise.
17019         * misc/ioctl.c: Likewise.
17020         * misc/lgetxattr.c: Likewise.
17021         * misc/listxattr.c: Likewise.
17022         * misc/llistxattr.c: Likewise.
17023         * misc/lremovexattr.c: Likewise.
17024         * misc/lsetxattr.c: Likewise.
17025         * misc/lutimes.c: Likewise.
17026         * misc/madvise.c: Likewise.
17027         * misc/mincore.c: Likewise.
17028         * misc/mlock.c: Likewise.
17029         * misc/mlockall.c: Likewise.
17030         * misc/mmap.c: Likewise.
17031         * misc/mprotect.c: Likewise.
17032         * misc/msync.c: Likewise.
17033         * misc/munlock.c: Likewise.
17034         * misc/munlockall.c: Likewise.
17035         * misc/munmap.c: Likewise.
17036         * misc/preadv.c: Likewise.
17037         * misc/preadv64.c: Likewise.
17038         * misc/ptrace.c: Likewise.
17039         * misc/pwritev.c: Likewise.
17040         * misc/pwritev64.c: Likewise.
17041         * misc/readv.c: Likewise.
17042         * misc/reboot.c: Likewise.
17043         * misc/remap_file_pages.c: Likewise.
17044         * misc/removexattr.c: Likewise.
17045         * misc/revoke.c: Likewise.
17046         * misc/select.c: Likewise.
17047         * misc/setdomain.c: Likewise.
17048         * misc/setegid.c: Likewise.
17049         * misc/seteuid.c: Likewise.
17050         * misc/sethostid.c: Likewise.
17051         * misc/sethostname.c: Likewise.
17052         * misc/setregid.c: Likewise.
17053         * misc/setreuid.c: Likewise.
17054         * misc/setxattr.c: Likewise.
17055         * misc/sstk.c: Likewise.
17056         * misc/stty.c: Likewise.
17057         * misc/swapoff.c: Likewise.
17058         * misc/swapon.c: Likewise.
17059         * misc/sync.c: Likewise.
17060         * misc/syncfs.c: Likewise.
17061         * misc/syscall.c: Likewise.
17062         * misc/truncate.c: Likewise.
17063         * misc/ualarm.c: Likewise.
17064         * misc/usleep.c: Likewise.
17065         * misc/ustat.c: Likewise.
17066         * misc/utimes.c: Likewise.
17067         * misc/vhangup.c: Likewise.
17068         * misc/writev.c: Likewise.
17069         * posix/_exit.c: Likewise.
17070         * posix/alarm.c: Likewise.
17071         * posix/execve.c: Likewise.
17072         * posix/fexecve.c: Likewise.
17073         * posix/fork.c: Likewise.
17074         * posix/fpathconf.c: Likewise.
17075         * posix/getaddrinfo.c: Likewise.
17076         * posix/getegid.c: Likewise.
17077         * posix/geteuid.c: Likewise.
17078         * posix/getgid.c: Likewise.
17079         * posix/getgroups.c: Likewise.
17080         * posix/getlogin.c: Likewise.
17081         * posix/getlogin_r.c: Likewise.
17082         * posix/getpgid.c: Likewise.
17083         * posix/getpid.c: Likewise.
17084         * posix/getppid.c: Likewise.
17085         * posix/getresgid.c: Likewise.
17086         * posix/getresuid.c: Likewise.
17087         * posix/getsid.c: Likewise.
17088         * posix/getuid.c: Likewise.
17089         * posix/glob64.c: Likewise.
17090         * posix/nanosleep.c: Likewise.
17091         * posix/pathconf.c: Likewise.
17092         * posix/pause.c: Likewise.
17093         * posix/posix_madvise.c: Likewise.
17094         * posix/pread.c: Likewise.
17095         * posix/pread64.c: Likewise.
17096         * posix/pwrite.c: Likewise.
17097         * posix/pwrite64.c: Likewise.
17098         * posix/sched_getaffinity.c: Likewise.
17099         * posix/sched_getp.c: Likewise.
17100         * posix/sched_gets.c: Likewise.
17101         * posix/sched_primax.c: Likewise.
17102         * posix/sched_primin.c: Likewise.
17103         * posix/sched_rr_gi.c: Likewise.
17104         * posix/sched_setaffinity.c: Likewise.
17105         * posix/sched_setp.c: Likewise.
17106         * posix/sched_sets.c: Likewise.
17107         * posix/sched_yield.c: Likewise.
17108         * posix/setgid.c: Likewise.
17109         * posix/setlogin.c: Likewise.
17110         * posix/setpgid.c: Likewise.
17111         * posix/setresgid.c: Likewise.
17112         * posix/setresuid.c: Likewise.
17113         * posix/setsid.c: Likewise.
17114         * posix/setuid.c: Likewise.
17115         * posix/sleep.c: Likewise.
17116         * posix/spawni.c: Likewise.
17117         * posix/sysconf.c: Likewise.
17118         * posix/times.c: Likewise.
17119         * posix/wait.c: Likewise.
17120         * posix/wait3.c: Likewise.
17121         * posix/wait4.c: Likewise.
17122         * posix/waitpid.c: Likewise.
17123         * resolv/gai_sigqueue.c: Likewise.
17124         * resource/getpriority.c: Likewise.
17125         * resource/getrlimit.c: Likewise.
17126         * resource/getrusage.c: Likewise.
17127         * resource/nice.c: Likewise.
17128         * resource/setpriority.c: Likewise.
17129         * resource/setrlimit.c: Likewise.
17130         * resource/ulimit.c: Likewise.
17131         * rt/aio_cancel.c: Likewise.
17132         * rt/aio_fsync.c: Likewise.
17133         * rt/aio_read.c: Likewise.
17134         * rt/aio_sigqueue.c: Likewise.
17135         * rt/aio_suspend.c: Likewise.
17136         * rt/aio_write.c: Likewise.
17137         * rt/clock_getres.c: Likewise.
17138         * rt/clock_gettime.c: Likewise.
17139         * rt/clock_nanosleep.c: Likewise.
17140         * rt/clock_settime.c: Likewise.
17141         * rt/lio_listio.c: Likewise.
17142         * rt/mq_close.c: Likewise.
17143         * rt/mq_getattr.c: Likewise.
17144         * rt/mq_notify.c: Likewise.
17145         * rt/mq_open.c: Likewise.
17146         * rt/mq_receive.c: Likewise.
17147         * rt/mq_send.c: Likewise.
17148         * rt/mq_setattr.c: Likewise.
17149         * rt/mq_timedreceive.c: Likewise.
17150         * rt/mq_timedsend.c: Likewise.
17151         * rt/mq_unlink.c: Likewise.
17152         * rt/shm_open.c: Likewise.
17153         * rt/shm_unlink.c: Likewise.
17154         * rt/timer_create.c: Likewise.
17155         * rt/timer_delete.c: Likewise.
17156         * rt/timer_getoverr.c: Likewise.
17157         * rt/timer_gettime.c: Likewise.
17158         * rt/timer_settime.c: Likewise.
17159         * setjmp/__longjmp.c: Likewise.
17160         * setjmp/setjmp.c: Likewise.
17161         * signal/kill.c: Likewise.
17162         * signal/killpg.c: Likewise.
17163         * signal/raise.c: Likewise.
17164         * signal/sigaction.c: Likewise.
17165         * signal/sigaltstack.c: Likewise.
17166         * signal/sigblock.c: Likewise.
17167         * signal/sigignore.c: Likewise.
17168         * signal/sigintr.c: Likewise.
17169         * signal/signal.c: Likewise.
17170         * signal/sigpause.c: Likewise.
17171         * signal/sigpending.c: Likewise.
17172         * signal/sigqueue.c: Likewise.
17173         * signal/sigreturn.c: Likewise.
17174         * signal/sigset.c: Likewise.
17175         * signal/sigsetmask.c: Likewise.
17176         * signal/sigstack.c: Likewise.
17177         * signal/sigsuspend.c: Likewise.
17178         * signal/sigtimedwait.c: Likewise.
17179         * signal/sigvec.c: Likewise.
17180         * signal/sigwait.c: Likewise.
17181         * signal/sigwaitinfo.c: Likewise.
17182         * signal/sysv_signal.c: Likewise.
17183         * socket/accept.c: Likewise.
17184         * socket/accept4.c: Likewise.
17185         * socket/bind.c: Likewise.
17186         * socket/connect.c: Likewise.
17187         * socket/getpeername.c: Likewise.
17188         * socket/getsockname.c: Likewise.
17189         * socket/getsockopt.c: Likewise.
17190         * socket/isfdtype.c: Likewise.
17191         * socket/listen.c: Likewise.
17192         * socket/recv.c: Likewise.
17193         * socket/recvfrom.c: Likewise.
17194         * socket/recvmsg.c: Likewise.
17195         * socket/send.c: Likewise.
17196         * socket/sendmsg.c: Likewise.
17197         * socket/sendto.c: Likewise.
17198         * socket/setsockopt.c: Likewise.
17199         * socket/shutdown.c: Likewise.
17200         * socket/sockatmark.c: Likewise.
17201         * socket/socket.c: Likewise.
17202         * socket/socketpair.c: Likewise.
17203         * stdio-common/ctermid.c: Likewise.
17204         * stdio-common/cuserid.c: Likewise.
17205         * stdio-common/remove.c: Likewise.
17206         * stdio-common/rename.c: Likewise.
17207         * stdio-common/renameat.c: Likewise.
17208         * stdio-common/tempname.c: Likewise.
17209         * stdlib/getcontext.c: Likewise.
17210         * stdlib/makecontext.c: Likewise.
17211         * stdlib/setcontext.c: Likewise.
17212         * stdlib/swapcontext.c: Likewise.
17213         * stdlib/system.c: Likewise.
17214         * streams/fattach.c: Likewise.
17215         * streams/fdetach.c: Likewise.
17216         * streams/getmsg.c: Likewise.
17217         * streams/getpmsg.c: Likewise.
17218         * streams/putmsg.c: Likewise.
17219         * streams/putpmsg.c: Likewise.
17220         * sysdeps/unix/bsd/getpt.c: Likewise.
17221         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17222         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17223         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17225         Likewise.
17226         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17227         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17228         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17229         * sysvipc/msgctl.c: Likewise.
17230         * sysvipc/msgget.c: Likewise.
17231         * sysvipc/msgrcv.c: Likewise.
17232         * sysvipc/msgsnd.c: Likewise.
17233         * sysvipc/semctl.c: Likewise.
17234         * sysvipc/semget.c: Likewise.
17235         * sysvipc/semop.c: Likewise.
17236         * sysvipc/semtimedop.c: Likewise.
17237         * sysvipc/shmat.c: Likewise.
17238         * sysvipc/shmctl.c: Likewise.
17239         * sysvipc/shmdt.c: Likewise.
17240         * sysvipc/shmget.c: Likewise.
17241         * termios/tcdrain.c: Likewise.
17242         * termios/tcflow.c: Likewise.
17243         * termios/tcflush.c: Likewise.
17244         * termios/tcgetattr.c: Likewise.
17245         * termios/tcgetpgrp.c: Likewise.
17246         * termios/tcsendbrk.c: Likewise.
17247         * termios/tcsetattr.c: Likewise.
17248         * termios/tcsetpgrp.c: Likewise.
17249         * time/adjtime.c: Likewise.
17250         * time/clock.c: Likewise.
17251         * time/getitimer.c: Likewise.
17252         * time/gettimeofday.c: Likewise.
17253         * time/setitimer.c: Likewise.
17254         * time/settimeofday.c: Likewise.
17255         * time/stime.c: Likewise.
17256         * time/time.c: Likewise.
17258 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17260         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17261         /usr/old/bin.
17263         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17264         instead of spaces.
17265         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17267 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17269         [BZ #14796]
17270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17271         FE_TONEAREST before applying Dekker multiplication and Knuth
17272         addition.  Clear inexact exceptions and check for exact zero
17273         results afterwards.
17274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17277         * math/libm-test.inc (fma_test): Add more tests.
17278         (fma_test_towardzero): Likewise.
17279         (fma_test_downward): Likewise.
17280         (fma_test_upward): Likewise.
17281         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17282         function.
17283         (libc_fesetround): New macro.
17284         (libc_fesetroundf): Likewise.
17285         (libc_fesetroundl): Likewise.
17286         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17287         function.
17288         (libc_fesetround_387): Likewise.
17289         (libc_fesetroundf): New macro.
17290         (libc_fesetround): Likewise.
17291         (libc_fesetroundl): Likewise.
17292         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17293         function.
17294         (libc_fesetroundf): New macro.
17295         (libc_fesetround): Likewise.
17296         (libc_fesetroundl): Likewise.
17297         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17298         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17299         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17300         libm_hidden_ver.
17301         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17302         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17303         libm_hidden_def.
17304         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17305         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17306         libm_hidden_ver.
17307         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17308         libm_hidden_def.
17310         [BZ #3439]
17311         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17312         integer constant usable in #if and use that to give value to enum
17313         constant.
17314         (FE_DIVBYZERO): Likewise.
17315         (FE_UNDERFLOW): Likewise.
17316         (FE_OVERFLOW): Likewise.
17317         (FE_INVALID): Likewise.
17318         (FE_INVALID_SNAN): Likewise.
17319         (FE_INVALID_ISI): Likewise.
17320         (FE_INVALID_IDI): Likewise.
17321         (FE_INVALID_ZDZ): Likewise.
17322         (FE_INVALID_IMZ): Likewise.
17323         (FE_INVALID_COMPARE): Likewise.
17324         (FE_INVALID_SOFTWARE): Likewise.
17325         (FE_INVALID_SQRT): Likewise.
17326         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17327         (FE_TONEAREST): Likewise.
17328         (FE_TOWARDZERO): Likewise.
17329         (FE_UPWARD): Likewise.
17330         (FE_DOWNWARD): Likewise.
17331         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17332         (FE_DIVBYZERO): Likewise.
17333         (FE_OVERFLOW): Likewise.
17334         (FE_UNDERFLOW): Likewise.
17335         (FE_INEXACT): Likewise.
17336         (FE_TONEAREST): Likewise.
17337         (FE_DOWNWARD): Likewise.
17338         (FE_UPWARD): Likewise.
17339         (FE_TOWARDZERO): Likewise.
17340         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17341         (FE_UNDERFLOW): Likewise.
17342         (FE_OVERFLOW): Likewise.
17343         (FE_DIVBYZERO): Likewise.
17344         (FE_INVALID): Likewise.
17345         (FE_TONEAREST): Likewise.
17346         (FE_TOWARDZERO): Likewise.
17347         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17348         (FE_OVERFLOW): Likewise.
17349         (FE_UNDERFLOW): Likewise.
17350         (FE_DIVBYZERO): Likewise.
17351         (FE_INEXACT): Likewise.
17352         (FE_TONEAREST): Likewise.
17353         (FE_TOWARDZERO): Likewise.
17354         (FE_UPWARD): Likewise.
17355         (FE_DOWNWARD): Likewise.
17356         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17357         (FE_DIVBYZERO): Likewise.
17358         (FE_OVERFLOW): Likewise.
17359         (FE_UNDERFLOW): Likewise.
17360         (FE_INEXACT): Likewise.
17361         (FE_TONEAREST): Likewise.
17362         (FE_DOWNWARD): Likewise.
17363         (FE_UPWARD): Likewise.
17364         (FE_TOWARDZERO): Likewise.
17366 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17368         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17370 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17372         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17373         commands.  Quote $PWD.
17374         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17375         -x" by "export".
17376         (remove_newlines): Remove.
17378 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17380         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17381         * stdlib/stdlib.h (atof): Moved to ...
17382         * include/bits/stdlib-float.h: Here.  New file.
17383         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17384         * stdlib/bits/stdlib-float.h: New file.
17385         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17386         -mno-sse -mno-mmx.
17387         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17388         <xmmintrin.h>.
17390 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17392         * conform/conformtest.pl (@headers): Add fenv.h.
17393         * conform/data/fenv.h-data: New file.
17394         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17395         include of <math/fenv.h>.
17397         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17398         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17399         && !UNIX98].  Enables tests for XOPEN2K8.
17400         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17401         POSIX2008]: Likewise.
17403         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17404         (struct rusage): Do not expect type or its members.
17406         [BZ #3439]
17407         * math/math.h (FP_NAN): Define macro to integer constant usable in
17408         #if and use that to give value to enum constant.
17409         (FP_INFINITE): Likewise.
17410         (FP_ZERO): Likewise.
17411         (FP_SUBNORMAL): Likewise.
17412         (FP_NORMAL): Likewise.
17414 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17416         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17417         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17418         arguments.
17420 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17422         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17423         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17424         autoconf-time if not.
17425         * configure.in: Remove AC_PREREQ.
17427 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17429         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17430         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17431         of the internal implementation.
17433 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17435         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17436         except include of <misc/sys/syslog.h>.
17438 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17441         function returns with a NULL context exit with zero.
17443 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17445         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17447 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17449         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17450         (run_program_cmd): This.
17451         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17452         (tst_langinfo): New variable.  Use it.
17454 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17456         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17457         floating point opcodes.
17459 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17461         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17462         variable.
17464         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17466         * sysdeps/mach/hurd/powerpc: Remove directory.
17467         * sysdeps/mach/powerpc: Likewise.
17469 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17471         * scripts/check-local-headers.sh: Ignore c++ headers.
17473 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17475         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17476         __libc_cleanup_region_start argument.
17478 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17480         [BZ #14784]
17481         [BZ #14785]
17482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17483         x * y using scaling, not as x * y + z.
17484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17486         * math/libm-test.inc (fma_test): Add more tests.
17487         (fma_test_towardzero): Likewise.
17488         (fma_test_downward): Likewise.
17489         (fma_test_upward): Likewise.
17491 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17493         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17495 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17497         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17498         New variable.
17500 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17502         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17504 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17507         Fix sort order.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17509         Likewise.
17511 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17514         Fix the order of the list for glibc 2.17.
17515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17516         Likewise.
17518 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17522 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17524         [BZ #14610]
17525         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17526         for low part of x being zero before using __atanl (y).
17527         * math/libm-test.inc (atan2_test): Add another test.
17529         * manual/install.texi (Configuring and compiling): Document
17530         general use of test-wrapper and test-wrapper-env.
17531         * INSTALL: Regenerated.
17533         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17534         (__fma): Do not extract and scale down low bits on after-rounding
17535         systems when result rounded to normal precision would have normal
17536         exponent.
17537         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17538         (__fmal): Do not extract and scale down low bits on after-rounding
17539         systems when result rounded to normal precision would have normal
17540         exponent.
17541         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17542         (__fmal): Do not extract and scale down low bits on after-rounding
17543         systems when result rounded to normal precision would have normal
17544         exponent.
17545         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17546         macro.
17547         (fma_test): Add more tests.
17548         (fma_test_towardzero): Likewise.
17549         (fma_test_downward): Likewise.
17550         (fma_test_upward): Likewise.
17552 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17554         * sysdeps/i386/tininess.h: Renamed to ...
17555         * sysdeps/x86/tininess.h: This.
17556         * sysdeps/x86_64/tininess.h: Removed.
17558 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17560         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17561         input.  Use $(build-program-cmd).
17562         ($(objpfx)tst-array1-static.out): Likewise.
17563         ($(objpfx)tst-array2.out): Likewise.
17564         ($(objpfx)tst-array3.out): Likewise.
17565         ($(objpfx)tst-array4.out): Likewise.
17566         ($(objpfx)tst-array5.out): Likewise.
17567         ($(objpfx)tst-array5-static.out): Likewise.
17569 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17571         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17572         if defined.
17574         * nss/nsswitch.h (nss_interface_function): Provide new
17575         macro for use with NSS functions.
17576         * grp/initgroups.c: Use new macro.
17577         * nss/getXXbyYY.c: Likewise.
17578         * nss/getXXbyYY_r.c: Likewise.
17579         * nss/getXXent.c: Likewise.
17580         * nss/getXXent_r.c: Likewise.
17581         * sysdeps/posix/getaddrinfo.c: Likewise.
17583 2012-10-30  Andreas Jaeger  <aj@suse.de>
17585         * po/ru.po: Update Russion translation from translation project.
17587 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17589         [BZ #14152]
17590         [BZ #14783]
17591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17592         result and shift together with sticky bit instead of replicating
17593         round-to-nearest rounding.
17594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17595         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17596         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17597         missing underflow exceptions.
17598         (fma_test_towardzero): Add more tests.
17599         (fma_test_downward): Likewise.
17600         (fma_test_upward): Likewise.
17602         [BZ #14047]
17603         * sysdeps/generic/tininess.h: New file.
17604         * sysdeps/i386/tininess.h: Likewise.
17605         * sysdeps/sh/tininess.h: Likewise.
17606         * sysdeps/x86_64/tininess.h: Likewise.
17607         * stdlib/tst-strtod-underflow.c: Likewise.
17608         * stdlib/tst-tininess.c: Likewise.
17609         * stdlib/strtod_l.c: Include <tininess.h>.
17610         (round_and_return): Do not set errno for exact underflow cases.
17611         Force an underflow exception when setting errno for underflow.
17612         Determine underflow based on rounding to normal precision if
17613         TININESS_AFTER_ROUNDING.
17614         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17615         ERANGE for exact underflow cases.
17616         * stdlib/Makefile (tests): Add tst-tininess and
17617         tst-strtod-underflow.
17618         ($(objpfx)tst-tininess): Use $(link-libm).
17619         ($(objpfx)tst-strtod-underflow): Likewise.
17621 2012-10-30  Andreas Jaeger  <aj@suse.de>
17623         [BZ#14767]
17624         * elf/Makefile (tests): Remove conditional for have-initfini-array
17625         since this is now always required and the variable does not exist
17626         anymore.
17627         (tests-static): Likewise.
17628         (modules-names): Likewise.
17630         * po/eo.po: Add Esperanto translation from translation project.
17632         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17633         merged with constructor/destructor.
17634         (init_array): Likewise.
17635         * elf/tst-array2dep.c (fini_array): Likewise.
17636         (init_array): Likewise.
17638 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17640         * manual/message.texi: Delete @cartouche tags.
17642 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17644         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17645         EOPNOTSUPP.
17646         * sysdeps/mach/hurd/fsync.c: Likewise.
17648         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17649         [_POSIX_REALTIME_SIGNALS]: Change condition to
17650         [_POSIX_REALTIME_SIGNALS > 0].
17652 2012-10-27  Andreas Jaeger  <aj@suse.de>
17654         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17655         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17657         [__WORDSIZE != 64]: Likewise.
17659 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17661         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17662         *  iconvdata/tst-tables.sh: Likewise.
17664 2012-10-25  David S. Miller  <davem@davemloft.net>
17666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17667         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17668         of strtoull.
17670         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17671         ifunc-impl-list.c
17672         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17673         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17674         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17675         file.
17677 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17680         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17681         __getdirentries.
17683 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17684             Jim Blandy  <jimb@codesourcery.com>
17686         * scripts/cross-test-ssh.sh: New file.
17687         * manual/install.texi (Configuring and compiling): Document use of
17688         cross-test-ssh.sh.
17689         * INSTALL: Regenerated.
17691 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17693         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17694         EOPNOTSUPP.
17696 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17698         * Makeconfig (run-program-prefix): Fix comment.
17700 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17701             Jim Blandy  <jimb@codesourcery.com>
17703         * Makeconfig (test-wrapper): New variable,
17704         (test-wrapper-env): Likewise.
17705         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17706         (run-built-tests): Define to yes.
17707         (run-program-prefix): Use $(test-wrapper).
17708         (built-program-cmd): Likewise.
17709         * Rules (make-test-out): Use $(test-wrapper-env) and
17710         $(host-built-program-cmd).
17711         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17712         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17713         tst-pathopt.sh.
17714         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17715         $(test-wrapper-env) to tst-rtld-load-self.sh.
17716         ($(objpfx)order2.out): Use $(test-wrapper).
17717         ($(objpfx)tst-initorder.out): Likewise.
17718         ($(objpfx)tst-initorder2.out): Likewise.
17719         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17720         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17721         (test_wrapper_env): New variable.  Use it to run ld.so.
17722         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17723         Use it to run ld.so.
17724         (test_wrapper_env): Likewise.
17725         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17726         $(test-wrapper) to run-iconv-test.sh.
17727         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17728         (ICONV): Use $test_wrapper.
17729         * posix/Makefile ($(objpfx)globtest.out): Pass
17730         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17731         globtest.sh, not $(run-program-prefix).
17732         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17733         (test_wrapper): Likewise.
17734         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17735         set together with run_via_rtld_prefix.
17736         (run_program_prefix): Define in terms of test_wrapper and
17737         run_via_rtld_prefix.
17739 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17741         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17742         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17743         Targets removed.
17745         [BZ #14743]
17746         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17747         Declare __clock_getres, __clock_gettime, __clock_settime,
17748         __clock_nanosleep, and __clock_getcpuclockid.
17749         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17750         Remove librt_hidden_def (clock_gettime).
17751         * sysdeps/unix/clock_gettime.c: Likewise.
17752         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17754         * rt/clock_getres.c: Define __clock_getres as an alias.
17755         * sysdeps/posix/clock_getres.c: Likewise.
17756         * rt/clock_settime.c: Define __clock_settime as an alias.
17757         * sysdeps/unix/clock_settime.c: Likewise.
17758         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17759         * sysdeps/unix/clock_nanosleep.c: Likewise.
17760         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17761         * rt/clock-compat.c: New file.
17762         * rt/Makefile (librt-routines): Add clock-compat and move
17763         $(clock-routines) to ...
17764         (routines): ... here, new variable.
17765         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17766         Don't add get_clockfreq here.
17767         * rt/Versions (libc: GLIBC_2.17): New version set.
17768         Add clock_* symbols here.
17769         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17771         (GLIBC_2.17): Add clock_* symbols.
17772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17776         Likewise.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17778         Likewise.
17779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17783         * NEWS: Mention the move.
17785         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17786         Use __open, __read, __close rather than their public counterparts.
17787         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17788         (__get_clockfreq_via_cpuinfo): Likewise.
17789         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17790         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17792         * config.h.in (HAVE_IFUNC): New #undef.
17793         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17794         was successful.
17795         * configure: Regenerated.
17797 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17799         * configure.in: Move READELF check to start of file.
17800         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17801         libc_cv_asm_gnu_indirect_function in the process.
17802         * configure: Regenerated.
17804 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17806         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17807         send the output to /dev/null.
17808         (libc_cv_cc_with_libunwind): Likewise.
17809         (libc_cv_as_noexecstack): Likewise.
17810         * configure: Regenerate.
17812 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17814         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17816         * posix/globtest.sh (TMPDIR): Do not set.
17817         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17818         (testout): Likewise.
17820 2012-10-24  Andreas Jaeger  <aj@suse.de>
17822         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17823         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17824         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17825         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17826         posix_fadvise64, posix_fallocate64.
17828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17829         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17830         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17831         Likewise.
17832         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17833         Likewise.
17834         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17837         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17838         <bits/fcntl-linux.h>.
17839         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17842         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17843         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17844         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17845         [__WORDSIZE != 64]: Likewise.
17847 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17849         * Makeconfig (run-built-tests): New variable.
17850         * Rules [$(cross-compiling) = yes]: Change condition to
17851         [$(run-built-tests) = no].
17852         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17853         to [$(run-built-tests) = yes].
17854         * elf/Makefile [$(cross-compiling) = no]: Likewise
17855         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17856         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17857         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17858         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17859         * io/Makefile [$(cross-compiling) = no]: Likewise.
17860         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17861         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17862         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17863         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17864         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17865         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17866         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17867         * string/Makefile [$(cross-compiling) = no]: Likewise.
17869         * posix/Makefile ($(objpfx)globtest.out): Pass
17870         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17871         $(rtld-installed-name).
17872         * posix/globtest.sh (elf_objpfx): Remove variable.
17873         (rtld_installed_name): Likewise.
17874         (library_path): Likewise.
17875         (run_program_prefix): New variable.  Use for running globtest
17876         binary.
17878 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17879             Joseph Myers  <joseph@codesourcery.com>
17881         * Makeconfig (host-built-program-cmd): New variable.
17882         * elf/Makefile (tst-stackguard1-ARGS): Use
17883         $(host-built-program-cmd).
17884         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17885         (tst-spawn-ARGS): Likewise.
17886         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17888 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17889             Jim Blandy  <jimb@codesourcery.com>
17891         * Makeconfig (run-via-rtld-prefix): New variable.
17892         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17893         (built-program-cmd): Likewise.
17895 2012-10-22  Andreas Jaeger  <aj@suse.de>
17897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17898         __O_RSYNC if it exists, otherwise to O_SYNC.
17900 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17901             Joseph Myers  <joseph@codesourcery.com>
17903         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17904         /dev/null.
17905         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17906         from /dev/null
17907         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17908         /dev/null.
17910 2012-10-22  Andreas Jaeger  <aj@suse.de>
17912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17913         Define always.
17914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17917         bits/fcntl-linux.h.
17919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17920         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17922         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17923         to __O_LARGEFILE.
17924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17925         to __O_LARGEFILE.
17927 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17928             Joseph Myers  <joseph@codesourcery.com>
17930         * config.make.in (NM): New variable.
17932 2012-10-21  Andreas Jaeger  <aj@suse.de>
17934         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17935         definitions and declarations that are provided by
17936         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17938 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17940         [BZ #14683]
17941         * elf/Makefile (tests-static): Add tst-leaks1-static.
17942         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17943         ($(objpfx)tst-leaks1-static): New rule.
17944         ($(objpfx)tst-leaks1-static-mem): Likewise.
17945         (tst-leaks1-static-ENV): New macro.
17946         * elf/dl-open.c (dl_open_worker): Check the main application
17947         only if SHARED is defined.
17948         * elf/tst-leaks1-static.c: New file.
17950 2012-10-20  Andreas Jaeger  <aj@suse.de>
17952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17953         generic values for Linux.
17954         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17955         and declarations that are provided by <bits/fcntl-linux.h> and
17956         include <bits/fcntl-linux.h>.
17957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17960 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17962         * io/fcntl.h: Move include of <bits/types.h> to the top and
17963         include it unconditionally.
17965 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17967         * wcsmbs/Makefile (tests-ifunc): New variable.
17968         (tests): Add $(tests-ifunc).
17969         * wcsmbs/test-wcschr-ifunc.c: New file.
17970         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17971         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17972         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17973         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17974         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17976         * string/Makefile (tests-ifunc): New variable.
17977         (tests): Add $(tests-ifunc).
17978         * string/test-memccpy.c (TEST_NAME): New macro.
17979         * string/test-memchr.c (TEST_NAME): Likewise.
17980         * string/test-memcmp.c (TEST_NAME): Likewise.
17981         * string/test-memcpy.c (TEST_NAME): Likewise.
17982         * string/test-memmem.c (TEST_NAME): Likewise.
17983         * string/test-memmove.c (TEST_NAME): Likewise.
17984         * string/test-memset.c (TEST_NAME): Likewise.
17985         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17986         * string/test-stpcpy.c (TEST_NAME): Likewise.
17987         * string/test-stpncpy.c (TEST_NAME): Likewise.
17988         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17989         * string/test-strcasestr.c (TEST_NAME): Likewise.
17990         * string/test-strcat.c (TEST_NAME): Likewise.
17991         * string/test-strchr.c (TEST_NAME): Likewise.
17992         * string/test-strcmp.c(TEST_NAME): Likewise.
17993         * string/test-strcpy.c (TEST_NAME): Likewise.
17994         * string/test-strcspn.c (TEST_NAME): Likewise.
17995         * string/test-strlen.c (TEST_NAME): Likewise.
17996         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17997         * string/test-strncmp.c (TEST_NAME): Likewise.
17998         * string/test-strncpy.c (TEST_NAME): Likewise.
17999         * string/test-strnlen.c (TEST_NAME): Likewise.
18000         * string/test-strpbrk.c (TEST_NAME): Likewise.
18001         * string/test-strrchr.c (TEST_NAME): Likewise.
18002         * string/test-strspn.c (TEST_NAME): Likewise.
18003         * string/test-strstr.c (TEST_NAME): Likewise.
18004         * string/test-bcopy-ifunc.c: New file.
18005         * string/test-bzero-ifunc.c: Likewise.
18006         * string/test-memccpy-ifunc.c: Likewise.
18007         * string/test-memchr-ifunc.c: Likewise.
18008         * string/test-memcmp-ifunc.c: Likewise.
18009         * string/test-memcpy-ifunc.c: Likewise.
18010         * string/test-memmem-ifunc.c: Likewise.
18011         * string/test-memmove-ifunc.c: Likewise.
18012         * string/test-mempcpy-ifunc.c: Likewise.
18013         * string/test-memset-ifunc.c: Likewise.
18014         * string/test-rawmemchr-ifunc.c: Likewise.
18015         * string/test-stpcpy-ifunc.c: Likewise.
18016         * string/test-stpncpy-ifunc.c: Likewise.
18017         * string/test-strcasecmp-ifunc.c: Likewise.
18018         * string/test-strcasestr-ifunc.c: Likewise.
18019         * string/test-strcat-ifunc.c: Likewise.
18020         * string/test-strchr-ifunc.c: Likewise.
18021         * string/test-strchrnul-ifunc.c: Likewise.
18022         * string/test-strcmp-ifunc.c: Likewise.
18023         * string/test-strcpy-ifunc.c: Likewise.
18024         * string/test-strcspn-ifunc.c: Likewise.
18025         * string/test-strlen-ifunc.c: Likewise.
18026         * string/test-strncasecmp-ifunc.c: Likewise.
18027         * string/test-strncat-ifunc.c: Likewise.
18028         * string/test-strncmp-ifunc.c: Likewise.
18029         * string/test-strncpy-ifunc.c: Likewise.
18030         * string/test-strnlen-ifunc.c: Likewise.
18031         * string/test-strpbrk-ifunc.c: Likewise.
18032         * string/test-strrchr-ifunc.c: Likewise.
18033         * string/test-strspn-ifunc.c: Likewise.
18034         * string/test-strstr-ifunc.c: Likewise.
18036         * debug/Makefile (tests-ifunc): New variable.
18037         (tests): Add $(tests-ifunc).
18038         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18039         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18040         * debug/test-stpcpy_chk-ifunc.c: New file.
18041         * debug/test-strcpy_chk-ifunc.c: Likewise.
18043 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18045         [BZ #13601]
18046         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18047         header is not read in.
18049 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18051         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18052         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18053         directly.  Pass built executable to script as
18054         $(built-program-cmd).
18055         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18056         $testprogram without using LD_LIBRARY_PATH and $ldso.
18058         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18059         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18060         $(rtld-installed-name).
18061         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18062         (rtld_installed_name): Likewise.
18063         (library_path): Likewise.
18064         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18065         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18066         $(run-program-prefix) to tst-tables.sh.
18067         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18068         it to run tst-table-from and tst-table-to.
18069         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18070         Pass it to tst-table.sh.
18071         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18072         $(run-program-prefix) to tst-gettext.sh.
18073         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18074         tst-translit.sh.
18075         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18076         tst-gettext2.sh.
18077         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18078         to run tst-gettext.
18079         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18080         to run tst-gettext2.
18081         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18082         to run tst-translit.
18083         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18084         $(run-program-prefix) to tst-mtrace.sh.
18085         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18086         to run tst-mtrace.
18087         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18088         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18089         $(rtld-installed-name).
18090         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18091         (rtld_installed_name): Likewise.
18092         (run_program_prefix): New variable.  Use it to run wordexp-test.
18094         * Makeconfig (ARCH): Remove all definitions.
18095         (machine): Likewise.
18096         [ARCH]: Remove conditional code.
18097         [!objdir]: Give error.
18098         [!objdir] (objpfx): Remove.
18099         [!objdir] (common-objpfx): Likewise.
18100         [!objdir] (common-objdir): Likewise.
18101         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18102         AC_CONFIG_FILES call.
18103         * configure: Regenerated.
18105         [BZ #13888]
18106         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18107         or TMPDIR.
18108         (testout): Likewise.
18110         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18111         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18112         $(rtld-installed-name).
18113         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18114         (rtld_installed_name): Likwise.
18115         (runit): Remove function.
18116         (run_getconf): New variable,  Use it for running getconf binary.
18118 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18120         [BZ #14716]
18121         * string/test-memmem.c (check_result): New function.
18122         (do_one_test): Use it.
18123         (check1): New function.
18124         (test_main): Use it.
18126 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18128         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18130 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18132         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18133         (_G_LSEEK64): Likewise.
18134         (_G_MMAP64): Likewise.
18135         (_G_FSTAT64): Likewise.
18136         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18137         (_G_LSEEK64): Likewise.
18138         (_G_MMAP64): Likewise.
18139         (_G_FSTAT64): Likewise.
18140         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18141         unconditional.  Call __mmap64 directly.
18142         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18143         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18144         __lseek64 directly.
18145         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18146         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18147         __mmap64 directly.
18148         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18149         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18150         __lseek64 directly.
18151         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18152         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18153         __lseek64 directly.
18154         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18155         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18156         __lseek64 directly.
18157         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18158         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18159         __fxstat64 directly.
18160         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18161         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18162         unconditional.
18163         (freopen64) [!_G_OPEN64]: Remove conditional code.
18164         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18165         unconditional.
18166         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18167         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18168         unconditional.
18169         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18170         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18171         unconditional.
18172         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18173         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18174         unconditional.
18175         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18176         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18177         unconditional.
18178         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18179         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18180         unconditional.
18181         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18182         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18183         unconditional.
18184         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18186 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18188         [BZ #12140]
18189         * manual/memory.texi (Malloc Tunable Parameters): Add note
18190         about free list pointers overwriting some perturb bytes.
18191         Wording suggested by Roland McGrath.
18193 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18195         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18196         (lgamma_test): Likewise.
18197         (tgamma_test): Likewise.
18199 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18201         [BZ #14700]
18202         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18203         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18205 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18207         * NEWS: Mention BZ #14716.
18208         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18209         when removing AVAILABLE1_USES_J macro.
18211 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18213         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18214         (__bswap_64): __uint64_t for unsigned 64-bit int.
18216 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18218         * include/string.h (memmem): Declare libc hidden alias.
18219         * string/memmem.c (memmem): Define libc hidden alias.
18220         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18221         __read, __close instead of open, read, close.
18223 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18226         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18227         global and hidden.
18228         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18229         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18230         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18231         Likewise.
18232         (__rawmemchr_sse2): Likewise.
18233         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18234         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18235         (__strchr_sse2): Likewise.
18236         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18237         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18238         (__strcasecmp_sse2): Likewise.
18239         (__strncasecmp_sse2): Likewise.
18240         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18241         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18242         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18243         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18244         (__strrchr_sse2): Likewise.
18245         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18246         ifunc-impl-list.c.
18247         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18248         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18249         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18250         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18251         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18252         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18253         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18254         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18255         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18256         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18257         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18258         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18259         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18260         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18261         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18262         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18263         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18264         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18265         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18266         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18267         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18268         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18269         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18270         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18271         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18272         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18273         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18274         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18275         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18276         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18278         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18279         global and hidden.
18280         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18281         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18282         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18283         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18284         Likewise.
18285         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18286         Likewise.
18287         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18288         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18289         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18290         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18291         ifunc-impl-list.c.
18292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18294         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18295         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18296         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18297         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18298         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18299         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18300         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18301         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18302         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18303         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18304         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18305         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18306         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18308         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18309         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18310         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18311         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18312         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18313         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18314         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18315         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18317         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18318         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18319         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18320         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18321         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18322         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18325         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18326         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18327         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18328         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18329         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18330         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18331         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18332         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18334         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18335         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18336         * include/ifunc-impl-list.h: New file.
18337         * misc/ifunc-impl-list.c: Likewise.
18338         * misc/Makefile (routines): Add ifunc-impl-list.
18339         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18340         * string/test-string.h: Include <ifunc-impl-list.h>.
18341         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18342         impl_array): New variables.
18343         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18344         are defined.
18345         (test_init): Call __libc_ifunc_impl_list to initialize
18346         func_list if TEST_IFUNC and TEST_NAME are defined.
18348         * string/Makefile (strop-tests): Add bcopy and bzero.
18349         * string/test-bcopy.c: New file.
18350         * string/test-bzero.c: Likewise.
18351         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18352         defined.
18353         * string/test-memset.c: Support bzero test if TEST_BZERO is
18354         defined.
18355         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18356         __libc_memmove.
18357         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18358         __libc_memset.
18359         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18360         of memset.
18362 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18364         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18365         * configure: Regenerated.
18367         * Makeconfig (+link-static-before-libc): Don't include
18368         $(link-static-libc).
18370         * libio/libio.h (_IO_pos_t): Remove.
18372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18374         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18375         McGrath.
18377 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18379         * crypt/crypt-entry.c: Include fips-private.h.
18380         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18381         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18382         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18383         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18385 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18387         * crypt/crypt-private.h: Include stdbool.h.
18388         (_ufc_setup_salt_r): Return bool.
18389         * crypt/crypt-entry.c: Include errno.h.
18390         (__crypt_r): Return NULL with EINVAL for bad salt.
18391         * crypt/crypt_util.c (bad_for_salt): New.
18392         (_ufc_setup_salt_r): Check that salt is long enough and within
18393         the specified alphabet.
18394         * crypt/badsalttest.c: New file.
18395         * crypt/Makefile (tests): Add it.
18396         ($(objpfx)badsalttest): New.
18398 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18400         * NEWS: Add entry for BZ #14602.
18402 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18404         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18405         type-generic.
18406         * math/libm-test.inc: Update comment listing what functions and
18407         macros are tested.
18408         (isgreater_test): New function.
18409         (isgreaterequal_test): Likewise.
18410         (isless_test): Likewise.
18411         (islessequal_test): Likewise.
18412         (islessgreater_test): Likewise.
18413         (isunordered_test): Likewise.
18414         (main): Call the new functions.
18416 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18418         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18419         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18420         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18421         * sysdeps/i386/configure: Regenerated.
18422         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18423         * sysdeps/mach/configure: Regenerated.
18424         * sysdeps/mach/hurd/configure: Regenerated.
18425         * sysdeps/powerpc/configure: Regenerated.
18426         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18427         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18428         * sysdeps/s390/s390-32/configure: Regenerated.
18429         * sysdeps/s390/s390-64/configure: Regenerated.
18430         * sysdeps/sh/configure: Regenerated.
18431         * sysdeps/sparc/configure: Regenerated.
18432         * sysdeps/unix/sysv/linux/configure: Regenerated.
18433         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18434         * sysdeps/x86_64/configure: Regenerated.
18436         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18437         defined.  Don't check if MAP is NULL.
18439 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18441         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18442         (_G_stat64): Likewise.
18443         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18444         (_G_stat64): Likewise.
18445         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18446         instead of struct _G_stat64.
18447         * libio/fileops.c (mmap_remap_check): Likewise.
18448         (decide_maybe_mmap): Likewise.
18449         (_IO_new_file_seekoff): Likewise.
18450         (_IO_file_stat): Likewise.
18451         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18452         _G_off64_t.
18453         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18454         instead of struct _G_stat64.
18455         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18457 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18459         [BZ #14602]
18460         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18461         Replace with ...
18462         (CHECK_EOL): New macro.
18463         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18464         CHECK_EOL.
18465         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18466         Replace with CHECK_EOL.
18467         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18468         Replace with CHECK_EOL.
18470 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18472         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18473         type-generic.
18474         * math/libm-test.inc: Update comment listing what functions and
18475         macros are tested.
18476         (finite_test): New function.
18477         (isinf_test): Likewise.
18478         (isnan_test): Likewise.
18479         (fpclassify_test): Test subnormal input.
18480         (isfinite_test): Likewise.
18481         (isnormal_test): Likewise.
18482         (main): Call the new functions.
18484 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18486         [BZ #14660]
18487         * Makerules (%.dynsym): Force C locale when running
18488         $(OBJDUMP) --dynamic-syms.
18490 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18492         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18493         <stdint.h>.
18495 2012-10-06  David S. Miller  <davem@davemloft.net>
18497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18498         upper 32-bits of the length value in %o2 since we use branch-on-register
18499         tests which consider the entire 64-bit register.
18501 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18503         * string/test-strstr.c (check2): Add a test for page boundary.
18505 2012-10-05  David S. Miller  <davem@davemloft.net>
18507         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18508         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18509         file.
18510         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18511         sysdep_routines.
18512         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18513         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18514         and bzero when HWCAP_SPARC_CRYPTO is present.
18516 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18518         [BZ #14602]
18519         * string/test-strstr.c (check2): New function.
18520         (test_main): Call check2.
18522         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18523         and bug-strchr1.
18524         * string/bug-strcasestr1.c (do_test): Moved to ...
18525         * string/test-strcasestr.c (check1): Here.  New function.
18526         (do_one_test): Break out result checking code into ...
18527         (check_result): This.  New function.
18528         (do_one_test): Call check_result.
18529         (test_main): Call check1.
18530         * string/bug-strchr1.c (do_test): Moved to ...
18531         * string/test-strchr.c (check1): Here.  New function.
18532         (do_one_test): Break out result checking code into ...
18533         (check_result): This.  New function.
18534         (do_one_test): Call check_result.
18535         (test_main): Call check1.
18536         * string/bug-strstr1.c (main): Moved to ...
18537         * string/test-strstr.c (check1): Here.  New function.
18538         (do_one_test): Break out result checking code into ...
18539         (check_result): This.  New function.
18540         (do_one_test): Call check_result.
18541         (test_main): Call check1.
18542         * string/bug-strcasestr1.c: Removed.
18543         * string/bug-strchr1.c: Likewise.
18544         * string/bug-strstr1.c: Likewise.
18546         * elf/Makefile (dl-routines): Add hwcaps.
18547         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18548         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18549         (_dl_important_hwcaps): Moved to ...
18550         * elf/dl-hwcaps.c: Here.  New file.
18551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18553         [BZ #14557]
18554         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18555         if IS_IN_rtld isn't defined.
18557         * elf/dl-support.c (_dl_sysinfo_map): New.
18558         Include "get-dynamic-info.h" and "setup-vdso.h".
18559         (_dl_non_dynamic_init): Call setup_vdso.
18560         * elf/dynamic-link.h: Don't include <assert.h>.
18561         (elf_get_dynamic_info): Moved to ...
18562         * elf/get-dynamic-info.h: Here.  New file.
18563         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18564         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18565         * elf/setup-vdso.h: Here.  New file.
18566         * elf/rtld.c: Include "setup-vdso.h".
18567         (dl_main): Call setup_vdso.
18569 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18571         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18572         creal in comment listing functions tested.  List finite, isinf,
18573         isnan, isless, islessequal, isgreater, isgreaterequal,
18574         islessgreater, isunordered, lgamma_r and pow10 as functions and
18575         macros not tested.  Mention which functions not tested are aliases
18576         for other functions.  Fix typo.  Note that signs of NaNs are not
18577         tested.
18579         * scripts/config.guess: Update from config.git.
18580         * scripts/config.sub: Likewise.
18582 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18584         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18585         * misc/madvise.c (madvise): Renamed to __madvise.
18586         Make madvise a weak alias.
18587         * include/sys/mman.h: Declare __madvise.
18588         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18589         * sysdeps/unix/syscalls.list
18590         (madvise): Make __madvise the strong name, and madvise a weak alias.
18591         * sysdeps/unix/sysv/linux/syscalls.list
18592         (madvise, mmap): Remove redundant entries.
18593         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18594         * malloc/malloc.c (mtrim): Likewise.
18595         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18597 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18599         * sysdeps/mach/hurd/dl-cache.c: File removed.
18600         * config.h.in (USE_LDCONFIG): New #undef.
18601         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18602         * configure: Regenerated.
18603         * elf/Makefile (dl-routines): Add dl-cache only under
18604         [$(use-ldconfig) = yes].
18605         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18606         cache on [USE_LDCONFIG].
18607         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18608         [USE_LDCONFIG].
18609         * elf/rtld.c (dl_main): Likewise.
18611 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18613         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18614         _SC_LEVEL4_CACHE_LINESIZE.
18616 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18618         * sysdeps/unix/bsd/confstr.h: File removed.
18620 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18622         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18623         sys/sdt-config.h.
18625 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18627         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18628         Make 'mapoff' field ElfW(Off) rather than off_t.
18630 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18632         * nscd/Makefile: Remove nscd-cflags and all its users.
18633         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18634         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18636         [BZ #10631]
18637         * malloc.c (malloc_printerr): Clarify error message.
18639 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18641         [BZ #14648]
18642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18643         Set bit_FMA_Usable if FMA is supported.
18644         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18645         macro.
18646         (bit_FMA4_Usable): Updated.
18647         (index_FMA_Usable): New macro.
18648         (CPUID_FMA): Likewise
18649         (HAS_FMA): Defined with bit_FMA_Usable.
18651 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18653         * bits/types.h (__swblk_t): Type removed.
18654         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18655         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18657         (__SWBLK_T_TYPE): Likewise.
18658         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18659         (__SWBLK_T_TYPE): Likewise.
18660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18661         (__SWBLK_T_TYPE): Likewise.
18662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18663         (__SWBLK_T_TYPE): Likewise.
18665 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18666             Honza Horak <hhorak@redhat.com>
18668         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18669         (xdr_mapname): Use YPMAXMAP as maxsize.
18670         (xdr_peername): Use YPMAXPEER as maxsize.
18671         (xdr_keydat): Use YPAXRECORD as maxsize.
18672         (xdr_valdat): Use YPMAXRECORD as maxsize.
18674 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18676         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18678         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18679         * csu/init-first.c: ... here.
18680         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18681         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18682         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18683         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18684         * sysdeps/i386/init-first.c: File removed.
18685         * sysdeps/sh/init-first.c: File removed.
18687 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #14645]
18690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18691         if x * y might underflow to zero and z is zero.
18692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18694         * math/libm-test.inc (min_subnorm_value): New variable.
18695         (fma_test): Add more tests.
18696         (fma_test_towardzero): Likewise.
18697         (fma_test_downward): Likewise
18698         (fma_test_upward): Likewise.
18699         (initialize): Set min_subnorm_value.
18701 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #14638]
18704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18705         0 + 0.
18706         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18707         mode for addition resulting in exact zero.
18708         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18710         exact 0 + 0.
18711         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18713         * math/libm-test.inc (fma_test): Add more tests.
18714         (fma_test_towardzero): New function.
18715         (fma_test_downward): Likewise.
18716         (fma_test_upward): Likewise.
18717         (main): Call the new functions.
18719 2012-09-28  David S. Miller  <davem@davemloft.net>
18721         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18723 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18725         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18726         instead of SIGALRM.
18728         * sysdeps/gnu/_G_config.h: Moved to ...
18729         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18730         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18731         * sysdeps/generic/_G_config.h: ... here.
18733         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18735         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18737         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18738         Conditionalize target on [libnss_test1.so-version].
18740         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18742         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18743         (elfobjdir): Move out of conditionals.
18745         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18746         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18747         (__nss_lookup_function): Conditionalize label remove_from_tree on
18748         [!DO_STATIC_NSS || SHARED], matching its only use.
18750 2012-09-28  David S. Miller  <davem@davemloft.net>
18752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18753         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18754         file.
18755         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18756         sysdep_routines.
18757         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18759         when HWCAP_SPARC_CRYPTO is present.
18761 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18763         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18765 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18767         [BZ #6530]
18768         * stdio-common/vfprintf.c (process_string_arg): Revert
18769         2000-07-22 change.
18771 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18773         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18774         for testcase.
18775         * stdio-common/tst-sprintf.c: Include <locale.h>
18776         (main): Test sprintf's handling of incomplete multibyte
18777         characters.
18779 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18781         * elf/dl-runtime.c (VERSYMIDX): Removed.
18782         * elf/dl-version.c (VERSYMIDX): Likewise.
18783         * elf/do-rel.h (VERSYMIDX): Likewise.
18784         (VALIDX): Likewise.
18785         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18786         * elf/rtld.c (VALIDX): Likewise.
18787         (ADDRIDX): Likewise.
18788         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18789         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18790         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18791         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18792         (VALIDX): Likewise.
18793         (ADDRIDX): Likewise.
18795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18797         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18799 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18801         [BZ #11438]
18802         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18803         to global scope.
18804         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18805         addresses are in the same scope as 192.0.2/24.
18806         * posix/gai.conf: Document new scope table defaults.
18808 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         [BZ #5298]
18811         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18812         for ftell.  Compute offsets from write pointers instead.
18813         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18815 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18817         [BZ #14543]
18818         * libio/Makefile (tests): New test case tst-fseek.
18819         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18820         combination works in wide mode.
18821         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18822         state when the external buffer state changes.
18824 2012-09-27  David S. Miller  <davem@davemloft.net>
18826         [BZ #14376]
18827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18828         pass reloc->r_addend in as the 'high' argument to
18829         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18833 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18835         * rt/tst-aio2.c: Include <pthread.h>.
18836         * rt/tst-aio3.c: Likewise.
18838 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18840         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18842 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18844         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18845         contents on [SHARED].
18847 2012-09-26  Marek Polacek  <polacek@redhat.com>
18849         [BZ #14530]
18850         [BZ #13741]
18851         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18852         for C++ and GCC <4.3 as well as for non GCC compilers.
18854 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18858 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18860         * Makefile.in (all, install): Declare with .PHONY.
18861         Reported by Michael Hope <michael.hope@linaro.org>.
18863 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18865         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18866         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18867         system header.
18868         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18869         Likewise.
18870         (sydep_routines): Add the new and the internal functions.
18871         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18872         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18874         (GLIBC_2.17): Add the new function.
18875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18876         (GLIBC_2.17): Likewise.
18877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18878         (GLIBC_2.17): Likewise.
18879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18880         (GLIBC_2.17): Likewise.
18881         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18883 2012-09-25  Alan Modra  <amodra@gmail.com>
18885         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18886         Add release barrier before setting once_control to say
18887         initialisation is done.  Add hints on lwarx.  Use macro in
18888         place of isync.
18889         (clear_once_control): Add release barrier.
18891 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18893         [BZ #13629]
18894         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18895         specially.
18896         * math/s_clog10.c (__clog10): Likewise.
18897         * math/s_clog10f.c (__clog10f): Likewise.
18898         * math/s_clog10l.c (__clog10l): Likewise.
18899         * math/s_clogf.c (__clogf): Likewise.
18900         * math/s_clogl.c (__clogl): Likewise.
18901         * math/Makefile (libm-calls): Add x2y2m1.
18902         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18903         (__x2y2m1): Likewise.
18904         (__x2y2m1l): Likewise.
18905         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18906         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18907         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18909         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18910         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18911         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18912         * sysdeps/i386/fpu/libm-test-ulps: Update.
18913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18915         [BZ #14621]
18916         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18917         int as type of variable DEPTH.
18918         (glob): Use size_t instead of int as type of variables NEWCOUNT
18919         and OLD_PATHC.
18921 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18923         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18924         Add s_sincosf-sse2.
18925         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18926         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18927         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18928         macros for using routine as __sincosf_ia32.
18929         Use macro for function declaration and weak_alias.
18930         * sysdeps/i386/fpu/libm-test-ulps: Update.
18932         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18935         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18936         subnormal argument.
18937         * math/s_cexpf.c (__cexpf): Likewise.
18938         * math/s_csinf.c (__csinf): Likewise.
18939         * math/s_csinhf.c (__csinhf): Likewise.
18940         * math/s_ctanf.c (__ctanf): Likewise.
18941         * math/s_ctanhf.c (__ctanhf): Likewise.
18942         * math/s_ccosh.c (__ccoshf): Likewise.
18943         * math/s_cexp.c (__cexpl): Likewise.
18944         * math/s_csin.c (__csin): Likewise.
18945         * math/s_csinh.c (__csinh): Likewise.
18946         * math/s_ctan.c (__ctan): Likewise.
18947         * math/s_ctanh.c (ctanh): Likewise.
18948         * math/s_ccoshl.c (__ccoshl): Likewise.
18949         * math/s_cexpl.c (__cexpl): Likewise.
18950         * math/s_csinl.c (__csinl): Likewise.
18951         * math/s_csinhl.c (__csinhl): Likewise.
18952         * math/s_ctanl.c (__ctanl): Likewise.
18953         * math/s_ctanhl.c (__ctanhl): Likewise.
18955 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18957         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18958         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18959         (_IO_off_t): Define to __off_t, not _G_off_t.
18960         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18961         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18962         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18963         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18964         type of __dummy and __dummy2 fields.
18965         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18966         (_G_ssize_t): Likewise.
18967         (_G_off_t): Likewise.
18968         (_G_pid_t): Likewise.
18969         (_G_uid_t): Likewise.
18970         (_G_wchar_t): Likewise.
18971         (_G_wint_t): Likewise.
18972         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18973         (_G_ssize_t): Likewise.
18974         (_G_off_t): Likewise.
18975         (_G_pid_t): Likewise.
18976         (_G_uid_t): Likewise.
18977         (_G_wchar_t): Likewise.
18978         (_G_wint_t): Likewise.
18979         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18980         (_G_ssize_t): Likewise.
18981         (_G_off_t): Likewise.
18982         (_G_pid_t): Likewise.
18983         (_G_uid_t): Likewise.
18984         (_G_wchar_t): Likewise.
18985         (_G_wint_t): Likewise.
18987 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18989         * malloc/arena.c: Include malloc-sysdep.h.
18990         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18991         is sufficient to shrink the heap or an unmap is needed.
18992         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18993         new function check_may_shrink_heap.
18994         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18995         new function check_may_shrink_heap.
18997 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19000         comments.
19002 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19004         * catgets/test-gencat.sh: Add "set -e".
19005         * elf/tst-pathopt.sh: Likewise.
19006         * grp/tst_fgetgrent.sh: Likewise.
19007         * iconvdata/run-iconv-test.sh: Likewise.
19008         * intl/tst-gettext.sh: Likewise.
19009         * intl/tst-gettext2.sh: Likewise.
19010         * intl/tst-gettext4.sh: Likewise.
19011         * intl/tst-gettext6.sh: Likewise.
19012         * intl/tst-translit.sh: Likewise.
19013         * io/ftwtest-sh: Likewise.
19014         * libio/test-freopen.sh: Likewise.
19015         * malloc/tst-mtrace.sh: Likewise.
19016         * posix/globtest.sh: Likewise.
19017         * posix/tst-getconf.sh: Likewise.
19018         * posix/wordexp-tst.sh: Likewise.
19019         * stdio-common/tst-printf.sh: Likewise.
19020         * stdio-common/tst-unbputc.sh: Likewise.
19021         * stdlib/tst-fmtmsg.sh: Likewise.
19022         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19023         * catgets/Makefile: Do not specify -e option when running
19024         testsuite shell scripts.
19025         * elf/Makefile: Likewise.
19026         * grp/Makefile: Likewise.
19027         * iconvdata/Makefile: Likewise.
19028         * intl/Makefile: Likewise.
19029         * io/Makefile: Likewise.
19030         * libio/Makefile: Likewise.
19031         * malloc/Makefile: Likewise.
19032         * posix/Makefile: Likewise.
19033         * stdio-common/Makefile: Likewise.
19034         * stdlib/Makefile: Likewise.
19035         * sysdeps/x86_64/Makefile: Likewise.
19037         * io/ftwtest-sh: Add copyright header.
19038         * posix/globtest.sh: Likewise.
19039         * posix/tst-getconf.sh: Likewise.
19040         * posix/wordexp-tst.sh: Likewise.
19041         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19043 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19045         [BZ #13679]
19046         * Makeconfig (+link): Defined as $(+link-static) if
19047         $(build-shared) isn't yes.
19048         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19049         isn't yes.
19050         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19052         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19054         [BZ #14562]
19055         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19056         new chunk size with MALLOC_ALIGN_MASK.
19058 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19060         [BZ #5044]
19061         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19062         <rounding-mode.h>.
19063         (__printf_fphex): Determine rounding using get_rounding_mode and
19064         round_away.
19065         * stdio-common/tst-printf-round.c (struct hex_test): New
19066         structure.
19067         (hex_tests): New variable.
19068         (test_hex_in_one_mode): New function.
19069         (do_test): Also run tests for hex float output.
19071 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19073         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19074         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19075         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19076         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19077         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19078         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19079         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19080         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19082 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19084         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19085         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19086         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19087         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19089 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19091         [BZ #14579]
19092         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19093         mode only.
19094         * elf/tst-rtld-load-self.sh: New test.
19095         * elf/Makefile: Run it.
19097 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19099         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19100         (tst-writev-ENV): Remove.
19101         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19103 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19105         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19107 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19109         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19110         unconditional.
19111         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19112         Likewise.
19113         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19114         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19116         Likewise.
19118 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19120         [BZ #14587]
19121         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19122         * config.make.in (have-cpp-asm-debuginfo): Removed.
19123         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19124         * configure: Regenerated.
19126 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19128         [BZ #5044]
19129         * stdio-common/printf_fp.c: Include <stdbool.h> and
19130         <rounding-mode.h>.
19131         (___printf_fp): Determine rounding using get_rounding_mode and
19132         round_away.
19133         * stdio-common/tst-printf-round.c: New file.
19134         * stdio-common/Makefile (tests): Add tst-printf-round.
19135         (link-libm): New variable.
19136         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19138 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19140         [BZ #14576]
19141         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19142         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19143         Likewise.
19144         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19145         Likewise.
19147 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19149         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19150         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19151         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19154 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19156         [BZ #14518]
19157         * include/rounding-mode.h: New file.
19158         * sysdeps/generic/get-rounding-mode.h: Likewise.
19159         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19160         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19161         (MAX_VALUE): New macro.
19162         (MIN_VALUE): Likewise.
19163         (overflow_value): New function.
19164         (underflow_value): Likewise.
19165         (round_and_return): Use overflow_value and underflow_value to
19166         determine return values in overflow and underflow cases.  Use
19167         round_away to determine rounding depending on rounding mode.
19168         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19169         determine return values in overflow and underflow cases.
19170         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19171         (struct test_results): New structure.
19172         (struct test): Use struct test_results to store expected results
19173         for all rounding modes.
19174         (TEST): Include expected results for all rounding modes.
19175         (test_in_one_mode): New function.
19176         (do_test): Use test_in_one_mode to compute and check results.
19177         Check results for all rounding modes.
19178         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19179         $(link-libm).
19181 2012-12-09  Allan McRae  <allan@archlinux.org>
19183         * sysdeps/i386/fpu/libm-test-ulps: Update
19185 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19187         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19188         (_G_int32_t): Likewise.
19189         (_G_uint16_t): Likewise.
19190         (_G_uint32_t): Likewise.
19191         (_G_HAVE_BOOL): Likewise.
19192         (_G_HAVE_ATEXIT): Likewise.
19193         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19194         (_G_HAVE_IO_FILE_OPEN): Likewise.
19195         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19196         (_G_int32_t): Likewise.
19197         (_G_uint16_t): Likewise.
19198         (_G_uint32_t): Likewise.
19199         (_G_HAVE_BOOL): Likewise.
19200         (_G_HAVE_ATEXIT): Likewise.
19201         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19202         (_G_HAVE_IO_FILE_OPEN): Likewise.
19203         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19204         (_G_int32_t): Likewise.
19205         (_G_uint16_t): Likewise.
19206         (_G_uint32_t): Likewise.
19207         (_G_HAVE_BOOL): Likewise.
19208         (_G_HAVE_ATEXIT): Likewise.
19209         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19210         (_G_HAVE_IO_FILE_OPEN): Likewise.
19212 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19214         * csu/libc-tls.c: Update copyright years.
19216 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19218         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19219         [!_G_USING_THUNKS]: Remove conditional code.
19220         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19221         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19223         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19224         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19225         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19226         (_G_VTABLE_LABEL_PREFIX): Likewise.
19227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19228         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19229         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19230         (_G_VTABLE_LABEL_PREFIX): Likewise.
19231         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19232         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19233         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19234         (_G_VTABLE_LABEL_PREFIX): Likewise.
19235         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19237 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19239         * libio/Makefile: Include ../Makeconfig before tests.
19240         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19241         only if $(build-shared) is yes.
19243         * iconv/gconv_db.c: Update copyright years.
19245 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19247         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19248         unwind info if defined PIC. Fix special cases description.
19249         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19251         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19252         DP_HI_MASK entry.
19253         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19255 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19257         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19259         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19260         is NULL.
19262         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19263         (LDLIBS-tst-chk4): This.
19264         (LDFLAGS-tst-chk5): Renamed to ...
19265         (LDLIBS-tst-chk5): This.
19266         (LDFLAGS-tst-chk6): Renamed to ...
19267         (LDLIBS-tst-chk6): This.
19268         (LDFLAGS-tst-lfschk4): Renamed to ...
19269         (LDLIBS-tst-lfschk4): This.
19270         (LDFLAGS-tst-lfschk5): Renamed to ...
19271         (LDLIBS-tst-lfschk5): This.
19272         (LDFLAGS-tst-lfschk6): Renamed to ...
19273         (LDLIBS-tst-lfschk6): This.
19275         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19276         on $(common-objpfx)soversions.mk.
19278 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19280         [BZ #10014]
19281         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19282         example host name.
19284 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19286         * malloc/arena.c (arena_get_retry): New function that gets
19287         another arena for the caller to try its request on.
19288         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19289         current arena cannot fulfill the request.
19290         (__libc_memalign): Likewise.
19291         (__libc_memalign): Likewise.
19292         (__libc_pvalloc): Likewise.
19293         (__libc_calloc): Likewise.
19295 2012-09-05  John Tobey  <john.tobey@gmail.com>
19297         [BZ #13542]
19298         * manual/arith.texi (Operations on Complex): Fix description
19299         of carg branch cut.
19301 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19303         [BZ #10014]
19304         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19305         host name.
19307         [BZ #10038]
19308         * manual/memory.texi (Memory): Make order of menu items match
19309         order of sections.
19311 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19313         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19314         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19315         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19317 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19319         * csu/libc-tls.c (static_dtv): Renamed to ...
19320         (_dl_static_dtv): This.  Make it global.
19321         (_dl_initial_dtv): Removed.
19322         (__libc_setup_tls): Updated.
19323         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19324         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19325         DL_INITIAL_DTV.
19327 2012-09-06  Petr Machata  <pmachata@redhat.com>
19329         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19330         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19331         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19332         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19334 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19336         [BZ #14545]
19337         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19338         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19339         freeing dtv[-1].
19341 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19343         [BZ #14544]
19344         * Makeconfig (link-static-before-libc): Replace $(+prector)
19345         with $(+prectorT).
19346         (link-static-after-libc): Replace $(+postctor) with
19347         $(+postctorT).
19348         (link-bounded): Replace $(+prector)/$(+postctor) with
19349         $(+prectorT)/$(+postctorT).
19350         (+prectorT): New macro.
19351         (+postctorT): Likewise.
19353 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19355         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19356         (round_str): Handle values above the maximum for IBM long double
19357         as inexact.
19358         * stdlib/tst-strtod-round.c (tests): Regenerated.
19360 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19362         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19363         assembler flag.
19364         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19365         zarch_nohighgprs around the zarch optimized routines.
19366         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19367         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19368         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19369         for zarch.
19371 2012-09-05  David S. Miller  <davem@davemloft.net>
19373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19375         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19376         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19377         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19378         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19379         entries.
19381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19383         * malloc/arena.c: Fold copyright years.
19384         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19386 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19388         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19390 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19392         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19396         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19397         change internal state upon failure.
19399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19401         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19402         * malloc/memusage.c (mmap): Likewise.
19403         (mmap64, mremap): Likewise.  Adjust name in comment.
19405 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19407         * libio/fileops.c: Fix typos in comments.
19408         * libio/oldfileops.c: Likewise.
19409         * libio/wfileops.c: Likewise.
19411 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19413         [BZ #1349]
19414         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19415         (tst-malloc-usable-ENV): Set environment for test case.
19416         * malloc/hooks.c (malloc_check_get_size): New function to get
19417         requested size.
19418         * malloc/malloc.c (musable): Use malloc_check_get_size.
19419         * malloc/tst-malloc-usable.c: New test case.
19421 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19423         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19425 2012-09-05  Allan McRae  <allan@archlinux.org>
19427         [BZ #13966]
19428         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19429         determine header location.
19430         * configure: Regenerated.
19432 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19434         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19435         float format.
19436         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19437         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19438         format.
19439         (test): Regenerate.
19441 2012-09-04  David S. Miller  <davem@davemloft.net>
19443         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19444         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19445         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19447 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19449         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19450         failures.
19452         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19454 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #9914]
19457         * libio/iogetdelim.c: Include <limits.h>.
19458         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19459         + len + 1 would overflow.
19461 2012-09-03  Andreas Jaeger  <aj@suse.de>
19463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19464         * sysdeps/i386/fpu/libm-test-ulps: Update.
19466 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19468         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19469         Add s_sinf-sse2, s_conf-sse2.
19471         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19472         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19473         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19474         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19476         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19477         for using routine as __sinf_ia32.
19478         Use macro for function declaration and weak_alias.
19479         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19480         for using routine as __cosf_ia32.
19481         Use macro for function declaration and weak_alias.
19483         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19484         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19486         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19487         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19490         * math/libm-test.inc (cos_test): Add more test cases.
19491         (sin_test): Likewise.
19492         (sincos_test): Likewise.
19494 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19497         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19498         hidden.
19499         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19501 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19503         [BZ #14538]
19504         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19505         first element of the GOT.
19506         (elf_machine_load_address): Return the difference between
19507         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19509 2012-09-01  Allan McRae  <allan@archlinux.org>
19511         [BZ #13412]
19512         * configure.in (AWK): Require gawk version 3.0 or later.
19513         * configure: Regenerated.
19515 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19517         * sysdeps/unix/sysv/linux/kernel-features.h
19518         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19519         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19520         [__NR_clock_getres]: Make code unconditional.
19521         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19522         (clock_getcpuclockid): Remove code left unreachable by removal of
19523         conditionals.
19524         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19525         code unconditional.
19526         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19527         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19528         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19529         Make code unconditional.
19530         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19531         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19532         * sysdeps/unix/sysv/linux/clock_settime.c
19533         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19534         conditional code.
19535         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19536         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19538 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19540         [BZ #14476]
19541         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19542         scripts/test-installation.pl.
19544         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19545         and $ld_so_version if it is set.
19547 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19549         [BZ #14516]
19550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19551         failure if reading from procfs failed.
19552         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19554 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19556         * sysdeps/unix/sysv/linux/kernel-features.h
19557         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19558         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19559         Remove conditional code.
19560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19561         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19562         Remove conditional code.
19563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19564         * sysdeps/unix/sysv/linux/i386/fxstat.c
19565         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19567         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19568         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19570         * sysdeps/unix/sysv/linux/i386/lxstat.c
19571         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19573         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19574         Remove conditional code.
19575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19576         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19577         Remove conditional code.
19578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19579         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19580         <kernel-features.h>.
19581         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19582         Remove.
19583         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19584         Remove conditional code.
19585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19586         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19587         Remove conditional.
19589 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19591         [BZ #5400]
19592         * NEWS: Add fixed bug number.
19594 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #14519]
19597         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19598         underflowing exponent in case of negative sign.
19599         * stdlib/tst-strtod-round-data: Add more tests.
19600         * stdlib/tst-strtod-round.c (tests): Regenerated.
19602         [BZ #3479]
19603         * stdlib/strtod_l.c (NDIG): Remove.
19604         (HEXNDIG): Likewise.
19605         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19606         smallest representable value.
19607         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19608         lie within an exact representation of 1/2 ulp of the result.
19609         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19610         unconditionally.
19611         (TENS_P9_IDX): Define unconditionally.
19612         (TENS_P9_SIZE): Likewise.
19613         (TENS_P10_IDX): Likewise.
19614         (TENS_P10_SIZE): Likewise.
19615         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19616         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19617         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19618         entries for 10^2^13 and 10^2^14.
19619         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19620         (TENS_P13_IDX): Define.
19621         (TENS_P13_SIZE): Likewise.
19622         (TENS_P14_IDX): Likewise.
19623         (TENS_P14_SIZE): Likewise.
19624         (_fpioconst_pow10): Change array size to
19625         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19626         unconditional.
19627         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19628         1024]: Add entries for 10^2^13 and 10^2^14.
19629         [LAST_POW10 > _LAST_POW10]: Remove #error.
19630         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19631         (_fpioconst_pow10): Change array size to
19632         FPIOCONST_POW10_ARRAY_SIZE.
19633         * stdlib/gen-fpioconst.c: New file.
19634         * stdlib/gen-tst-strtod-round.c: Likewise.
19635         * stdlib/tst-strtod-round-data: Likewise.
19636         * stdlib/tst-strtod-round.c: Likewise.
19637         * stdlib/Makefile (tests): Add tst-strtod-round.
19639         [BZ #14459]
19640         * stdlib/strtod_l.c: Include <stdint.h>.
19641         (NDEBUG): Do not define.
19642         (round_and_return): Change EXPONENT parameter to type intmax_t.
19643         Rearrange calculations to avoid internal overflow possibilities.
19644         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19645         Rearrange calculations to avoid internal overflow possibilities.
19646         Assert that number fits inside MPNSIZE limbs.
19647         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19648         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19649         calculations and add assertions to avoid internal overflow
19650         possibilities.  Add casts to avoid signed/unsigned operations.
19651         * stdlib/tst-strtod-overflow.c: New file.
19652         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19654 2012-08-25  Marek Polacek  <polacek@redhat.com>
19656         * time/time.h: Fix some typos in comments.
19658 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19660         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19661         * posix/tst-rfc3484-2.c: Likewise.
19662         * posix/tst-rfc3484-3.c: Likewise.
19664 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19666         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19667         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19669 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19671         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19672         #include of fxstatat64.c.
19674 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19676         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19677         * shadow/getspent_r.c: Likewise.
19678         * shadow/getspnam.c: Likewise.
19679         * shadow/getspnam_r.c: Likewise.
19680         * gshadow/getsgent.c: Likewise.
19681         * gshadow/getsgent_r.c: Likewise.
19682         * gshadow/getsgnam.c: Likewise.
19683         * gshadow/getsgnam_r.c: Likewise.
19684         * inet/getnetbyad.c: Likewise.
19685         * inet/getnetbyad_r.c: Likewise.
19686         * inet/getnetbynm.c: Likewise.
19687         * inet/getnetbynm_r.c: Likewise.
19688         * inet/getnetent.c: Likewise.
19689         * inet/getnetent_r.c: Likewise.
19690         * inet/getproto.c: Likewise.
19691         * inet/getproto_r.c: Likewise.
19692         * inet/getprtent.c: Likewise.
19693         * inet/getprtent_r.c: Likewise.
19694         * inet/getprtname.c: Likewise.
19695         * inet/getprtname_r.c: Likewise.
19696         * inet/getrpcbyname.c: Likewise.
19697         * inet/getrpcbyname_r.c: Likewise.
19698         * inet/getrpcbynumber.c: Likewise.
19699         * inet/getrpcbynumber_r.c: Likewise.
19700         * inet/getrpcent.c: Likewise.
19701         * inet/getrpcent_r.c: Likewise.
19702         * inet/getaliasent.c: Likewise.
19703         * inet/getaliasent_r.c: Likewise.
19704         * inet/getaliasname.c: Likewise.
19705         * inet/getaliasname_r.c: Likewise.
19706         * nscd/getgrgid_r.c: Likewise.
19707         * nscd/getgrnam_r.c: Likewise.
19708         * nscd/gethstbyad_r.c: Likewise.
19709         * nscd/gethstbynm3_r.c: Likewise.
19710         * nscd/getpwnam_r.c: Likewise.
19711         * nscd/getpwuid_r.c: Likewise.
19712         * nscd/getsrvbynm_r.c: Likewise.
19713         * nscd/getsrvbypt_r.c: Likewise.
19714         * nscd/gai.c: Likewise.
19716         * configure.in (build_nscd): New substituted variable, set
19717         by --disable-build-nscd and defaults to $use_nscd.
19718         * configure: Regenerated.
19719         * config.make.in (build-nscd): New substituted variable.
19720         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19721         Change conditional to require [$(build-nscd) = yes] as well.
19722         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19724         [BZ# 13696]
19725         * configure.in (use_nscd): New substituted variable, set by
19726         --disable-nscd.  If enabled, define USE_NSCD.
19727         * configure: Regenerated.
19728         * config.h.in: Add USE_NSCD.
19729         * config.make.in (use-nscd): New substituted variable.
19730         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19731         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19732         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19733         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19734         (CFLAGS-getgrnam_r.c): Likewise.
19735         (CFLAGS-initgroups.c): Likewise.
19736         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19737         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19738         Variables removed.
19739         * inet/getnetgrent_r.c
19740         (nscd_setnetgrent): New function, broken out of ...
19741         (setnetgrent): ... here.  Call it.
19742         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19743         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19744         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19745         * nscd/Makefile (routines, aux): Move definitions after include of
19746         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19747         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19748         Conditionalize on [USE_NSCD].
19749         (is_nscd, nscd_init_cb): Likewise.
19750         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19751         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19752         * nss/nss_db/db-init.c: Likewise.
19753         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19754         [USE_NSCD].
19755         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19756         (make_request): Use it.
19757         (cache_valid_p): New function.
19758         (__check_pf): Use it.
19759         * NEWS: Add item for --disable-nscd.
19761 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19763         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19764         to support sed >= 4.2.1-20-ga9bf076.
19765         * configure: Regenerated.
19767 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19769         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19770         Conditionalize whole body on [IREL].
19772 2012-08-22  Jeff Law <law@redhat.com>
19774         [BZ #14505]
19775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19776         if the family is PF_UNSPEC.
19778 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19780         * Makerules (lib-version): Rename from V.
19781         (install-lib-nosubdir): Change V to lib-version.
19783 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19785         [BZ #14252]
19786         * powerpc32/power6/wcschr.c: New file.
19787         * powerpc32/power6/wcscpy.c: New file.
19788         * powerpc32/power6/wcsrchr.c: New file.
19789         * powerpc64/power6/wcschr.c: New file.
19790         * powerpc64/power6/wcscpy.c: New file.
19791         * powerpc64/power6/wcsrchr.c: New file.
19793 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19795         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19796         (two_way_short_needle): Use it.
19797         * string/strstr.c (AVAILABLE1_USES_J): Define.
19798         * string/strcasestr.c: Likewise.
19800         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19801         array references.
19802         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19804         [BZ #11607]
19805         * NEWS: Add an entry.
19806         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19807         define their defaults.
19808         (two_way_short_needle): Detect end-of-string on-the-fly.
19809         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19810         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19811         * string/bug-strcasestr1.c: New test.
19812         * string/Makefile: Run it.
19814 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19816         [BZ #11607]
19817         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19818         the first character.
19820 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19822         * csu/elf-init.c (__libc_csu_irel): Function removed.
19823         * csu/libc-start.c (apply_irel): New function.
19824         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19826 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19828         * sysdeps/unix/sysv/linux/kernel-features.h
19829         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19830         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19831         <kernel-features.h>.
19832         [__NR_fadvise64_64]: Make code unconditional.
19833         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19834         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19835         !__NR_fadvise64_64)]: Likewise.
19836         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19837         !__NR_fadvise64_64))]: Likewise.
19838         [__NR_fadvise64]: Make code unconditional.
19839         [!__NR_fadvise64]: Remove conditional code.
19840         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19841         <kernel-features.h>.
19842         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19843         unconditional.
19844         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19845         conditional code.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19847         not include <kernel-features.h>.
19848         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19849         unconditional.
19850         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19851         conditional code.
19852         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19853         include <kernel-features.h>.
19854         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19855         unconditional.
19856         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19857         conditional code.
19859 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19862         slight instruction rearrangements per scrollpipe analysis.
19863         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19865 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19867         * manual/syslog.texi (syslog; vsyslog, closelog):
19868         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19869         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19871         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19872         DSOCAPS to match condition on defining it.
19874 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19876         * sysdeps/unix/sysv/linux/kernel-features.h
19877         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19879         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19880         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19882         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19883         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19885         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19886         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19888         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19889         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19891         * sysdeps/unix/sysv/linux/kernel-features.h
19892         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19893         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19894         unconditional.
19895         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19896         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19897         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19898         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19899         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19900         Make code unconditional.
19901         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19902         (__mmap64) [!__NR_mmap2]: Likewise.
19903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19904         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19905         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19906         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19907         [__NR_mmap2]: Make code unconditional.
19908         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19909         (__mmap64) [!__NR_mmap2]: Likewise.
19911 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19913         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19915 2012-08-18  Andreas Jaeger  <aj@suse.de>
19917         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19919 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19921         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19922         * include/unistd.h (__have_sock_cloexec): Likewise.
19923         (__have_pipe2): Likewise.
19924         (__have_dup3): Likewise.
19926 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19928         [BZ #9685]
19929         * include/unistd.h (__have_pipe2): Change define into an extern int.
19930         (__have_dup3): Likewise.
19931         * socket/have_sock_cloexec.c: Include fcntl.h.
19932         (__have_pipe2): New variable.
19933         (__have_dup3): Likewise.
19935 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19937         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19939 2012-08-17  Marek Polacek  <polacek@redhat.com>
19941         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19942         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19944 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19946         * configure.in: Add AC_SUBST for sysheaders.
19947         * configure: Regenerated.
19948         * config.make.in (sysheaders): New substituted variable.
19950         * sysdeps/unix/mkfifo.c: Moved ...
19951         * sysdeps/posix/mkfifo.c: ... here.
19952         * sysdeps/unix/mkfifoat.c: Moved ...
19953         * sysdeps/posix/mkfifoat.c: ... here.
19955         * sysdeps/unix/utime.c: Moved ...
19956         * sysdeps/posix/utime.c: ... here.
19958         * sysdeps/unix/time.c: Moved ...
19959         * sysdeps/posix/time.c: ... here.
19960         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19961         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19963         * sysdeps/unix/nice.c: Moved ...
19964         * sysdeps/posix/nice.c: ... here.
19966         * sysdeps/unix/alarm.c: Moved ...
19967         * sysdeps/posix/alarm.c: ... here.
19969         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19971 2012-08-17  Jeff Law <law@redhat.com>
19973         * intl/Makefile (codeset_mo): New variable.
19974         ($(codeset_mo)): New target.
19975         (tst-codeset.out): Depend on that.  Remove explicit rule.
19976         (tst-gettext3.out, tst-gettext5.out): Likewise.
19977         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19978         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19979         * intl/tst-codeset.sh: Remove.
19980         * intl/tst-gettext3.sh: Likewise.
19981         * intl/tst-gettext5.sh: Likewise.
19983 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19985         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19986         * sysdeps/unix/syscalls.list: ... here.
19988         * sysdeps/posix/getaddrinfo.c
19989         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19990         (gaiconf_init, gaiconf_reload): Use them.
19991         [!_STATBUF_ST_NSEC]
19992         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19993         Define using time_t rather than struct timespec.
19995         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19996         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19997         Macros removed.
19998         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19999         [!NO_THREADS].
20000         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20001         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20002         Likewise.
20004         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20005         __libc_cleanup_push argument.
20007         * bits/param.h: New file.
20008         * misc/sys/param.h: New file.
20009         * include/sys/param.h: New file.
20010         * misc/Makefile (headers): Add bits/param.h.
20011         * sysdeps/generic/sys/param.h: File removed.
20012         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20013         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20014         * sysdeps/mach/hurd/bits/param.h: New file.
20015         * sysdeps/mach/hurd/sys/param.h: File removed.
20017         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20018         last change.
20020         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20021         [_IO_MTSAFE_IO].
20022         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20023         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20024         New macros.
20026         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20027         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20028         rather than -D_IO_MTSAFE_IO conditionally.
20029         * stdio-common/Makefile (CPPFLAGS): Likewise.
20030         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20031         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20032         Use $(libio-mtsafe).
20033         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20034         of -D_IO_MTSAFE_IO.
20035         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20036         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20037         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20038         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20039         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20040         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20041         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20042         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20043         (CFLAGS-fread_u_chk.c): Likewise.
20044         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20045         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20046         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20047         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20048         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20049         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20050         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20051         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20052         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20054         * libio/Makefile: Test [$(libc-reentrant) = yes]
20055         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20057         * Makeconfig
20058         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20059         * sysdeps/pthread/configure: File removed.
20060         * sysdeps/pthread/Makeconfig: New file.
20061         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20062         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20064 2012-08-16  Gary Benson  <gbenson@redhat.com>
20066         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20067         unmapping the first object in a namespace.
20069 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20071         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20072         (__internal_setnetgrent): ... this.  Add internal_function to
20073         definition.  Add libc_hidden_def.
20074         (setnetgrent): Update caller.
20075         (internal_endnetgrent): Renamed to ...
20076         (__internal_endnetgrent): ... this.  Add internal_function to
20077         definition.  Add libc_hidden_def.
20078         (endnetgrent): Update caller.
20079         (internal_getnetgrent_r): Renamed to ...
20080         (__internal_getnetgrent_r): ... this.  Add internal_function to
20081         definition.  Add libc_hidden_def.
20082         (__getnetgrent_r): Update caller.
20083         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20085 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20087         * stdlib/longlong.h: Update from GCC.
20089 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20091         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20092         on _QL, which is set by umul_ppmm but never used.
20093         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20094         variables, which are set by GMP macros but never used.
20095         * stdio-common/_itowa.c (_itowa): Likewise.
20096         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20097         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20099 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20101         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20102         struct La_sh_regs is not constant.
20103         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20104         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20105         and struct La_sparc64_regs are not constant.
20107 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20109         * sysdeps/unix/sysv/linux/kernel-features.h
20110         (__ASSUME_POSIX_TIMERS): Remove.
20111         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20113         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20114         Make code unconditional.
20115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20116         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20117         Make code unconditional.
20118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20119         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20120         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20121         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20122         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20123         Make code unconditional.
20124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20125         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20126         (__libc_missing_posix_timers): Remove.
20128 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20130         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20131         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20133         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20135         * elf/dl-sym.c: Include <stdlib.h>.
20137         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20138         constants, which avoids warnings in 32-bit builds.
20140         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20141         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20143         * misc/lseek.c: File moved to ...
20144         * io/lseek.c: ... here.
20146         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20148         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20149         shifting LEN more than 31 bits at once.
20151 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20153         [BZ #14195]
20154         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20155         segmentation fault for a case of two empty input strings.
20156         * string/test-strncasecmp.c (check1): Renamed to...
20157         (bz12205): ...this.
20158         (bz14195): Add new testcase for two empty input strings and N > 0.
20159         (test_main): Call new testcase, adapt for renamed function.
20161 2012-08-15  Andreas Jaeger  <aj@suse.de>
20163         [BZ #14090]
20164         * crypt/md5test2.c: New test, based on test supplied by Serge
20165         Belyshev <belyshev@depni.sinp.msu.ru>.
20166         * crypt/Makefile (xtests): Add md5test-giant..
20167         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20169 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20171         [BZ #14090]
20172         * crypt/md5.c (md5_process_block): Don't assume the buffer
20173         length is less than 2**32.
20174         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20175         length is less than 2**64.
20177 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20179         * string/str-two-way.h: Include <sys/param.h>.
20180         (MAX): Macro removed.
20182         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20183         Move #define and #undef of memmove to just before and after
20184         including <string.h>.
20186         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20187         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20188         and after including <string.h>.  Move declarations of
20189         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20190         to before #include "string/memmove.c".
20192         * include/dirent.h: Declare __getdirentries.
20194         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20195         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20197 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20199         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20200         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20201         * sysdeps/i386/configure: Regenerated.
20202         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20203         STABS_CURRENT_FILE, and STABS_FUN.
20204         (END): Remove call to STABS_FUN_END.
20205         (STABS_CURRENT_FILE1): Delete.
20206         (STABS_CURRENT_FILE): Likewise.
20207         (STABS_FUN): Likewise.
20208         (STABS_FUN_END): Likewise.
20209         (STABS_FUN2): Likewise.
20210         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20211         * sysdeps/x86_64/configure: Regenerated.
20213 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20215         * elf/dl-open.c: Include <atomic.h>.
20216         * elf/dl-lookup.c: Likewise.
20218 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20220         * sysdeps/unix/sysv/linux/kernel-features.h
20221         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20222         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20223         unconditionally.
20224         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20225         unconditionally.
20226         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20227         condition on __ASSUME_CLONE_THREAD_FLAGS.
20229 2012-08-14  Andreas Jaeger  <aj@suse.de>
20231         * sysdeps/i386/fpu/libm-test-ulps: Update.
20233 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20235         * include/atomic.h (atomic_exchange_and_add): Split into ...
20236         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20237         New atomic macros.
20239 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20243 2012-08-13  Jeff Law <law@redhat.com>
20245         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20246         null byte in the output string.
20248 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20250         * sysdeps/unix/sysv/linux/kernel-features.h
20251         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20252         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20253         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20254         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20255         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20256         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20257         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20259 2012-08-09  Jeff Law <law@redhat.com>
20261         [BZ #13939]
20262         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20263         When avoid_arena is set, don't retry in the that arena.  Pick the
20264         next one, whatever it might be.
20265         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20266         (arena_lock): Pass in new parameter to arena_get2.
20267         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20268         arena_get2.
20269         (__libc_malloc): Unify retrying after main arena failure with
20270         __libc_memalign version.
20271         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20273 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20275         [BZ #14166]
20276         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20277         to __redirect_strstr.
20278         (__strstr_sse42): Use typeof __redirect_strstr.
20279         (__strstr_ia32): Likewise.
20280         (__libc_strstr): New prototype.
20281         (strstr): Renamed to ...
20282         (__libc_strstr): This.
20283         (strstr): New strong alias of __libc_strstr.
20284         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20285         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20286         __redirect_time.
20287         Include <time.h>.
20288         (__libc_time): New prototype.
20289         (time_ifunc): Replace time with __libc_time.
20290         (time): New strong alias and hidden definition of __libc_time.
20291         (__GI_time): Remove strong alias.
20292         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20293         Include <stddef.h>.
20294         (memmove): Redefined to __redirect_memmove.
20295         (__memmove_sse2): Use typeof __redirect_memmove.
20296         (__memmove_ssse3): Likewise.
20297         (__memmove_ssse3_back): Likewise.
20298         (__libc_memmove): New prototype.
20299         (memmove): Renamed to ...
20300         (__libc_memmove): This.
20301         (memmove): New strong alias of __libc_memmove.
20303 2012-08-08  Mark Salter  <msalter@redhat.com>
20305         * elf/elf.h
20306         (R_MN10300_TLS_GD): Define.
20307         (R_MN10300_TLS_LD): Likewise.
20308         (R_MN10300_TLS_LDO): Likewise.
20309         (R_MN10300_TLS_GOTIE): Likewise.
20310         (R_MN10300_TLS_IE): Likewise.
20311         (R_MN10300_TLS_LE): Likewise.
20312         (R_MN10300_TLS_DTPMOD): Likewise.
20313         (R_MN10300_TLS_DTPOFF): Likewise.
20314         (R_MN10300_TLS_TPOFF): Likewise.
20315         (R_MN10300_SYM_DIFF): Likewise.
20316         (R_MN10300_ALIGN): Likewise.
20317         (R_MN10300_NUM): Update.
20319 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20322         Remove.
20324 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20326         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20328         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20329         sysdeps/unix -> sysdeps/posix move.
20330         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20332 2012-08-07      Allan McRae     <allan@archlinux.org>
20334         [BZ #14303]
20335         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20336         (SUNOS_CPP): Likewise.
20337         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20338         not found.
20339         (open_input): Call CPP using execvp.
20341 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20343         * sysdeps/unix/sysv/linux/kernel-features.h
20344         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20345         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20346         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20347         (__ASSUME_WAITID_SYSCALL): Likewise.
20348         * sysdeps/unix/sysv/linux/dl-execstack.c
20349         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20350         code unconditional.
20351         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20352         conditional code.
20353         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20354         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20355         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20356         code.
20357         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20358         unconditional.
20359         [__ASSUME_WAITID_SYSCALL]: Likewise.
20360         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20362 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20364         * sysdeps/unix/closedir.c: Renamed to ...
20365         * sysdeps/posix/closedir.c: ... here.
20366         * sysdeps/unix/dirfd.c: Renamed to ...
20367         * sysdeps/posix/dirfd.c: ... here.
20368         * sysdeps/unix/dirstream.h: Renamed to ...
20369         * sysdeps/posix/dirstream.h: ... here.
20370         * sysdeps/unix/fdopendir.c: Renamed to ...
20371         * sysdeps/posix/fdopendir.c: ... here.
20372         * sysdeps/unix/opendir.c: Renamed to ...
20373         * sysdeps/posix/opendir.c: ... here.
20374         * sysdeps/unix/readdir.c: Renamed to ...
20375         * sysdeps/posix/readdir.c: ... here.
20376         * sysdeps/unix/readdir_r.c: Renamed to ...
20377         * sysdeps/posix/readdir_r.c: ... here.
20378         * sysdeps/unix/rewinddir.c: Renamed to ...
20379         * sysdeps/posix/rewinddir.c: ... here.
20380         * sysdeps/unix/seekdir.c: Renamed to ...
20381         * sysdeps/posix/seekdir.c: ... here.
20382         * sysdeps/unix/telldir.c: Renamed to ...
20383         * sysdeps/posix/telldir.c: ... here.
20384         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20385         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20386         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20387         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20389         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20390         * bits/fcntl.h: ... here.
20392         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20393         not 0.
20394         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20395         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20396         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20397         (struct flock): Move l_start, l_len to the beginning.
20398         Use __pid_t for l_pid.
20399         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20400         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20401         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20402         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20403         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20404         [__USE_LARGEFILE64] (struct flock64): New type.
20405         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20407         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20408         * bits/dirent.h: ... here.
20410         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20411         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20413 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20415         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20416         Change from 2.6.0 to 2.6.16.
20417         * sysdeps/unix/sysv/linux/configure: Regenerated.
20418         * sysdeps/unix/sysv/linux/kernel-features.h
20419         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20420         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20421         version.
20422         (__ASSUME_UTIMES): Likewise.
20423         (__ASSUME_CLONE_STOPPED): Remove.
20424         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20425         architectures, not kernel version.
20426         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20427         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20428         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20429         (__ASSUME_WAITID_SYSCALL): Likewise.
20430         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20431         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20432         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20433         refer to older versions.
20435 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20437         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20438         Define alphasort64 as an alias.
20439         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20440         Define versionsort64 as an alias.
20441         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20442         Define scandir64 as an alias.
20443         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20444         Define scandirat64 as an alias.
20445         * dirent/alphasort64.c (alphasort64):
20446         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20447         * dirent/versionsort64.c: Likewise.
20448         * dirent/scandir64.c: Likewise.
20449         * dirent/scandirat64.c: Likewise.
20450         * sysdeps/wordsize-64/alphasort.c: File removed.
20451         * sysdeps/wordsize-64/alphasort64.c: File removed.
20452         * sysdeps/wordsize-64/scandir.c: File removed.
20453         * sysdeps/wordsize-64/scandir64.c: File removed.
20454         * sysdeps/wordsize-64/scandirat.c: File removed.
20455         * sysdeps/wordsize-64/scandirat64.c: File removed.
20456         * sysdeps/wordsize-64/versionsort.c: File removed.
20457         * sysdeps/wordsize-64/versionsort64.c: File removed.
20458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20459         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20460         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20461         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20462         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20463         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20464         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20465         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20467         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20468         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20469         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20470         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20471         [defined __arch64__ || defined __sparcv9]
20472         (__INO_T_MATCHES_INO64_T): New macro.
20473         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20474         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20475         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20476         * sysdeps/unix/sysv/linux/bits/dirent.h
20477         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20478         (_DIRENT_MATCHES_DIRENT64): New macro.
20480         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20481         Define lockf64 as an alias.
20482         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20483         Define fseeko64 as an alias.
20484         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20485         Define ftello64 as an alias.
20486         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20487         Define _IO_fgetpos64 and fgetpos64 as aliases.
20488         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20489         Define _IO_fsetpos64 and fsetpos64 as aliases.
20490         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20491         Conditionalize body on this.
20492         * libio/fseeko64.c: Likewise.
20493         * libio/ftello64.c: Likewise.
20494         * libio/iofgetpos64.c: Likewise.
20495         * libio/iofsetpos64.c: Likewise.
20496         * sysdeps/wordsize-64/lockf.c: File removed.
20497         * sysdeps/wordsize-64/lockf64.c: File removed.
20498         * sysdeps/wordsize-64/fseeko.c: File removed.
20499         * sysdeps/wordsize-64/fseeko64.c: File removed.
20500         * sysdeps/wordsize-64/ftello.c: File removed.
20501         * sysdeps/wordsize-64/ftello64.c: File removed.
20502         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20503         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20504         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20505         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20506         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20507         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20508         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20509         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20510         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20511         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20512         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20513         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20514         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20515         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20517         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20519         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20521         [defined __arch64__ || defined __sparcv9]
20522         (__OFF_T_MATCHES_OFF64_T): New macro.
20523         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20524         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20526         (__OFF_T_MATCHES_OFF64_T): New macro.
20528 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20530         * stdlib/secure-getenv.c (__secure_getenv): Replace
20531         GLIBC_2_16 with GLIBC_2_17.
20533 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20535         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20536         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20538 2012-08-03  David S. Miller  <davem@davemloft.net>
20540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20542 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20545         Remove.
20546         (__ASSUME_CORRECT_SI_PID): Likewise.
20547         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20548         (__ASSUME_TMPFS_NAME): Likewise.
20549         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20550         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20551         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20552         (HAVE_AUX_SECURE): Make definition unconditional.
20553         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20554         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20556 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20558         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20559         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20560         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20561         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20562         __eloop_threshold instead of SYMLOOP_MAX.
20564         * sysdeps/generic/eloop-threshold.h: New file.
20565         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20566         of MAXSYMLINKS.
20567         * elf/chroot_canon.c (chroot_canon): Likewise.
20569 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20571         [BZ #13717]
20572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20573         Change to 2.6.0 everywhere.
20574         * sysdeps/unix/sysv/linux/configure: Regenerated.
20575         * sysdeps/unix/sysv/linux/kernel-features.h
20576         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20577         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20578         kernel versions.
20579         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20580         (__ASSUME_FUTEX_REQUEUE): Remove.
20581         (__ASSUME_STATFS64): Define unconditionally.
20582         (__ASSUME_AT_SECURE): Likewise.
20583         (__ASSUME_CORRECT_SI_PID): Likewise.
20584         (__ASSUME_TGKILL): Define without depending on kernel version for
20585         i386.
20586         (__ASSUME_UTIMES): Likewise.
20587         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20588         kernel version.
20589         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20590         (__ASSUME_TMPFS_NAME): Likewise.
20591         * README: Update reference to Linux kernel versions.
20593 2012-08-02  Marek Polacek  <polacek@redhat.com>
20595         [BZ# 14150]
20596         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20597         libc_cv_asm_type_prefix with %.
20598         * configure: Regenerated.
20599         * include/libc-symbols.h: Remove comment about
20600         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20601         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20602         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20603         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20604         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20605         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20606         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20607         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20608         * elf/tst-unique2mod1.c: Likewise.
20609         * elf/tst-unique1mod2.c: Likewise.
20610         * elf/tst-unique1mod1.c: Likewise.
20611         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20612         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20613         Replace ASM_TYPE_DIRECTIVE with .type.
20614         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20615         * sysdeps/i386/sysdep.h: Likewise.
20616         * sysdeps/x86_64/sysdep.h: Likewise.
20617         * sysdeps/sh/sysdep.h: Likewise.
20618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20619         Do not define ASM_TYPE_DIRECTIVE.
20620         * sysdeps/powerpc/sysdep.h: Likewise.
20621         * sysdeps/powerpc/powerpc32/sysdep.h:
20622         Replace ASM_TYPE_DIRECTIVE with .type.
20623         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20624         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20625         * sysdeps/i386/fpu/e_powf.S: Likewise.
20626         * sysdeps/i386/fpu/e_expl.S: Likewise.
20627         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20628         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20629         * sysdeps/i386/fpu/e_pow.S: Likewise.
20630         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20631         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20632         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20633         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20634         * sysdeps/i386/fpu/e_log2.S: Likewise.
20635         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20636         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20637         * sysdeps/i386/fpu/e_powl.S: Likewise.
20638         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20639         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20640         * sysdeps/i386/fpu/e_logl.S: Likewise.
20641         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20642         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20643         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20644         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20645         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20646         * sysdeps/i386/fpu/e_log.S: Likewise.
20647         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20648         * sysdeps/i386/fpu/e_logf.S: Likewise.
20649         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20650         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20651         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20652         * sysdeps/i386/fpu/e_log10.S: Likewise.
20653         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20654         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20655         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20656         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20657         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20658         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20659         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20660         * sysdeps/i386/i686/strtok.S: Likewise.
20661         * sysdeps/i386/i386-mcount.S: Likewise.
20662         * sysdeps/i386/strtok.S: Likewise.
20663         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20664         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20665         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20666         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20667         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20668         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20669         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20670         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20671         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20672         * sysdeps/x86_64/_mcount.S: Likewise.
20673         * sysdeps/x86_64/strtok.S: Likewise.
20674         * sysdeps/sh/_mcount.S: Likewise.
20676 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20678         * libio/iofopen.c: Include <fcntl.h>.
20679         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20680         (_IO_fopen64, fopen64): Define as aliases.
20681         * libio/iofopen64.c: Include <fcntl.h>.
20682         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20683         Conditionalize body on this.
20684         * sysdeps/wordsize-64/iofopen.c: File removed.
20685         * sysdeps/wordsize-64/iofopen64.c: File removed.
20687 2012-08-01  Marek Polacek  <polacek@redhat.com>
20689         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20690         Use dlfcn directly instead of a variable.
20691         (binfmt-subdir): Do not define.
20692         (dlfcn): Likewise.
20694 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20697         Remove all definitions.
20698         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20699         <kernel-features.h>.
20700         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20701         (miss_F_GETOWN_EX): Remove all definitions.
20702         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20703         macro definition.
20704         [!__ASSUME_FCNTL64]: Remove conditional code.
20705         [__ASSUME_FCNTL64]: Make code unconditional.
20706         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20707         <kernel-features.h>.
20708         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20709         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20710         (lockf64) [__NR_fcntl64]: Make code unconditional.
20711         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20713         * sysdeps/unix/sysv/linux/kernel-features.h
20714         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20715         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20716         Make code unconditional.
20717         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20718         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20720         [__NR_vfork]: Make code unconditional.
20721         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20722         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20724         [__NR_vfork]: Make code unconditional.
20725         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20726         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20728 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20730         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20731         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20733         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20734         Define mkstemp64 as an alias.
20735         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20736         Define mkstemps64 as an alias.
20737         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20738         Define mkostemp64 as an alias.
20739         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20740         Define mkostemps64 as an alias.
20741         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20742         Conditionalize body on this.
20743         * misc/mkostemp64.c: Likewise.
20744         * misc/mkostemps64.c: Likewise.
20745         * misc/mkstemps64.c: Likewise.
20746         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20747         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20748         * sysdeps/wordsize-64/mkostemp.c: File removed.
20749         * sysdeps/wordsize-64/mkstemp.c: File removed.
20750         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20751         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20752         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20753         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20755         [BZ #14138]
20756         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20757         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20758         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20759         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20761         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20762         compat_symbol macros from <shlib-compat.h> rather than the underlying
20763         default_symbol_version and symbol_version macros, so that DEFAULT
20764         lines in shlib-versions are respected.
20765         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20767 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20769         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20770         Declare with warn_unused_result.
20771         (setgid, setregid, setegid, setresgid): Likewise.
20772         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20773         Likewise.
20774         * WUR-REPORT: Remove set*id functions.
20776 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20778         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20780 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20782         [BZ #10191]
20783         * include/sys/socket.h (__libc_accept, __libc_accept4):
20784         Add attribute_hidden.
20785         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20787         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20788         use of PTR_MANGLE.
20789         * inet/getnetgrent_r.c (setup): Likewise.
20791         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20793 2012-07-31  David S. Miller  <davem@davemloft.net>
20795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20797 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20799         [BZ #13629]
20800         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20801         value between 1.0 and 2.0 and smaller part has absolute value less
20802         than 1.0.
20803         * math/s_clog10.c (__clog10): Likewise.
20804         * math/s_clog10f.c (__clog10f): Likewise.
20805         * math/s_clog10l.c (__clog10l): Likewise.
20806         * math/s_clogf.c (__clogf): Likewise.
20807         * math/s_clogl.c (__clogl): Likewise.
20808         * math/libm-test.inc (clog_test): Add more tests.
20809         (clog10_test): Likewise.
20810         * sysdeps/i386/fpu/libm-test-ulps: Update.
20811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20813 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20815         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20816         Exit with zero in case no suitable GID is found, and write a
20817         message to standard error.
20819 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20821         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20822         rather than to 1.
20823         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20824         (MAXPATHLEN): Removed.
20825         (NOGROUP, NODEV): New macros.
20826         (setbit, clrbit, isset, isclr): New macros.
20827         (howmany, roundup, powerof2): New macros.
20828         (DEV_BSIZE): New macro.
20830         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20831         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20833         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20834         definition on [!__NO_LONG_DOUBLE_MATH].
20836         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20837         PTR_MANGLE and PTR_DEMANGLE.
20839         * socket/accept4.c (accept4): Rename to __libc_accept4.
20840         Define accept4 as a weak alias.
20842         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20843         on [_DIRENT_HAVE_D_TYPE].
20844         * io/ftw.c (ftw_dir): Likewise.
20846         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20848         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20850         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20851         Use the BSD numbers rather than the arbitrary ones we had.
20852         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20853         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20854         (SIGXCPU, SIGXFSZ): New macros.
20855         (_NSIG): Now 32.
20857         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20858         initializer on [_LIBC_REENTRANT].
20860         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20861         definitions inside [_POSIX_MAPPED_FILES].
20863         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20865         * dirent/opendir.c: Include <fcntl.h>.
20867         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20868         (__libc_getspecific): Likewise.
20869         (__libc_key_create): Likewise.
20871         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20872         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20873         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20874         (tmpfile64): Define as alias.
20875         * sysdeps/wordsize-64/tmpfile.c: File removed.
20876         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20877         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20878         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20880         * stdio-common/vfscanf.c: Include <stdbool.h>.
20881         * nss/makedb.c: Likewise.
20882         * stdio-common/_i18n_number.h: Likewise.
20883         * argp/argp-help.c: Likewise.
20884         * posix/wordexp.c: Likewise.
20885         * sysdeps/posix/spawni.c: Likewise.
20886         * nss/nss_files/files-initgroups.c: Likewise.
20887         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20888         * nss/nss_files/files-initgroups.c: Likewise.
20889         * nss/nss_db/db-netgrp.c: Likewise.
20890         * nss/nss_db/db-initgroups.c: Likewise.
20891         * io/fchmodat.c: Include <sys/stat.h>.
20893         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20894         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20896         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20897         [HAVE_MMAP].
20899         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20900         Add multiple inclusion protection.
20902 2012-07-27  David S. Miller  <davem@davemloft.net>
20904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20906 2012-07-27  Gary Benson  <gbenson@redhat.com>
20908         [BZ #14298]
20909         * elf/rtld.c: Include <stap-probe.h>.
20910         (dl_main): Added static probes "init_start" and "init_complete".
20911         * elf/dl-load.c: Include <stap-probe.h>.
20912         (lose): Take new parameter "nsid".
20913         Added static probe "map_failed".
20914         (_dl_map_object_from_fd): Pass namespace id to lose.
20915         Added static probe "map_start".
20916         (open_verify): Pass namespace id to lose.
20917         * elf/dl-open.c: Include <stap-probe.h>.
20918         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20919         and "reloc_complete".
20920         * elf/dl-close.c: Include <stap-probe.h>.
20921         (_dl_close_worker): Added static probes "unmap_start" and
20922         "unmap_complete".
20923         * elf/rtld-debugger-interface.txt: New file documenting the above.
20925 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20927         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20928         rather than a string variable.
20929         * sunrpc/rpc_main.c (h_output): Likewise.
20930         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20932 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20934         * inet/check_native.c: New file.
20936 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #13629]
20939         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20940         if larger part has absolute value 1.0.
20941         * math/s_clog10.c (__clog10): Likewise.
20942         * math/s_clog10f.c (__clog10f): Likewise.
20943         * math/s_clog10l.c (__clog10l): Likewise.
20944         * math/s_clogf.c (__clogf): Likewise.
20945         * math/s_clogl.c (__clogl): Likewise.
20946         * math/libm-test.inc (clog_test): Add more tests.
20947         (clog10_test): Likewise.
20948         * sysdeps/i386/fpu/libm-test-ulps: Update.
20949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20951         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20952         (pltexit): Likewise.
20953         (La_regs): Likewise.
20954         (La_retval): Likewise.
20955         (int_retval): Likewise.
20956         Update #error for removed macros to refer only to definitions in
20957         tst-audit.h.
20958         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20959         macro.
20960         (pltexit): Likewise.
20961         (La_regs): Likewise.
20962         (La_retval): Likewise.
20963         (int_retval): Likewise.
20964         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20965         macro.
20966         (pltexit): Likewise.
20967         (La_regs): Likewise.
20968         (La_retval): Likewise.
20969         (int_retval): Likewise.
20970         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20971         macro.
20972         (pltexit): Likewise.
20973         (La_regs): Likewise.
20974         (La_retval): Likewise.
20975         (int_retval): Likewise.
20976         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20977         macro.
20978         (pltexit): Likewise.
20979         (La_regs): Likewise.
20980         (La_retval): Likewise.
20981         (int_retval): Likewise.
20982         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20983         macro.
20984         (pltexit): Likewise.
20985         (La_regs): Likewise.
20986         (La_retval): Likewise.
20987         (int_retval): Likewise.
20988         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20989         macro.
20990         (pltexit): Likewise.
20991         (La_regs): Likewise.
20992         (La_retval): Likewise.
20993         (int_retval): Likewise.
20994         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20995         macro definitions in tst-audit.h.
20996         * sysdeps/i386/tst-audit.h: New file.
20997         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20998         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20999         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21000         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21001         * sysdeps/sh/tst-audit.h: Likewise.
21002         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21003         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21004         * sysdeps/x86_64/tst-audit.h: Likewise.
21006 2012-07-26  Andreas Jaeger  <aj@suse.de>
21008         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21009         ptrace.
21011         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21012         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21013         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21014         PTRACE_O_MASK.
21015         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21016         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21017         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21019         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21020         value.
21022         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21023         _sigsys.
21024         (si_call_addr, si_syscall, si_arch): Define new macro.
21025         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21026         _sigsys.
21027         (si_call_addr, si_syscall, si_arch): Define new marcro.
21028         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21029         _sigsys.
21030         (si_call_addr, si_syscall, si_arch): Define new macro.
21031         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21032         _sigsys.
21033         (si_call_addr, si_syscall, si_arch): Define new macro.
21035 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21037         [BZ #13717]
21038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21039         Change to 2.4.21 where previously 2.4.1.
21040         * sysdeps/unix/sysv/linux/configure: Regenerated.
21041         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21042         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21043         Linux kernel version.
21044         (__ASSUME_STD_AUXV): Remove.
21045         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21046         kernel version.
21047         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21048         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21049         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21050         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21051         (__ASSUME_NETLINK_SUPPORT): Likewise.
21052         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21053         (__no_netlink_support): Remove conditional definition.
21054         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21055         Remove.
21056         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21057         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21058         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21059         (if_nameindex_ioctl): Remove.
21060         (if_nameindex_netlink): Do not handle __no_netlink_support.
21061         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21062         code.
21063         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21064         Remove conditional code.
21065         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21066         code.
21067         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21068         unconditional.
21069         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21070         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21071         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21072         Remove.
21073         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21074         [!__ASSUME_STD_AUXV]: Remove conditional code.
21075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21076         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21077         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21079         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21080         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21081         code.
21082         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21084         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21085         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21086         conditional code.
21087         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21089         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21090         code.
21091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21092         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21093         conditional code.
21094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21095         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21096         code unconditional.
21097         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21098         conditional code.
21099         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21100         unconditional.
21101         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21102         conditional code.
21103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21104         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21105         unconditional.
21106         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21107         conditional code.
21108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21109         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21110         code unconditional.
21111         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21112         conditional code.
21113         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21114         unconditional.
21115         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21116         conditional code.
21117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21118         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21119         code unconditional.
21120         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21121         conditional code.
21122         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21123         unconditional.
21124         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21125         conditional code.
21127 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21129         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21130         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21131         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21132         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21133         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21134         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21135         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21136         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21137         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21138         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21139         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21140         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21141         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21142         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21143         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21144         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21145         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21147         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21149         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21150         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21153 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21155         * Versions.def: Add GLIBC_2.17.
21156         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21157         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21158         Introduce __libc_secure_getenv.
21159         * stdlib/Versions (2.17): Add secure_getenv
21160         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21161         * stdlib/secure-getenv.c: Rename __secure_getenv to
21162         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21163         symbol __secure_getenv for GLIBC_2.0.
21164         * stdlib/tst-secure-getenv.c: New.
21165         * stdlib/Makefile (tests): Add testcase.
21166         * manual/startup.texi (Environment Access): Document
21167         secure_getenv.
21168         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21169         __libc_secure_getenv.
21170         * inet/ruserpass.c (ruserpass): Likewise.
21171         * malloc/mtrace.c (mtrace): Likewise.
21172         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21173         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21174         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21175         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21176         HAVE_SECURE_GETENV.
21177         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21178         __secure_getenv to __libc_secure_getenv.
21179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21181         Likewise.
21182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21183         Likewise.
21184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21192 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21194         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21195         (struct La_i86_retval): Likewise.
21196         (struct La_x86_64_regs): Likewise.
21197         (struct La_x86_64_retval): Likewise.
21198         (struct La_x32_regs): Likewise.
21199         (struct La_x32_retval): Likewise.
21200         (struct La_ppc32_regs): Likewise.
21201         (struct La_ppc32_retval): Likewise.
21202         (struct La_ppc64_regs): Likewise.
21203         (struct La_ppc64_retval): Likewise.
21204         (struct La_sh_regs): Likewise.
21205         (struct La_sh_retval): Likewise.
21206         (struct La_s390_32_regs): Likewise.
21207         (struct La_s390_32_retval): Likewise.
21208         (struct La_s390_64_regs): Likewise.
21209         (struct La_s390_64_retval): Likewise.
21210         (struct La_sparc32_regs): Likewise.
21211         (struct La_sparc32_retval): Likewise.
21212         (struct La_sparc64_regs): Likewise.
21213         (struct La_sparc64_retval): Likewise.
21214         (struct audit_ifaces): Remove architecture-specific pltenter and
21215         pltexit members.
21216         * sysdeps/i386/ldsodefs.h: New file.
21217         * sysdeps/powerpc/ldsodefs.h: Likewise.
21218         * sysdeps/s390/ldsodefs.h: Likewise.
21219         * sysdeps/sh/ldsodefs.h: Likewise.
21220         * sysdeps/sparc/ldsodefs.h: Likewise.
21221         * sysdeps/x86_64/ldsodefs.h: Likewise.
21223 2012-07-25  Marek Polacek  <polacek@redhat.com>
21225         [BZ #6808]
21226         * math/libm-test.inc (yn_test): Add another test.
21227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21228         to ERANGE when the result is +-Inf.
21229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21230         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21231         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21232         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21234 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21236         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21237         equal to 0.
21238         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21239         clock_t.
21240         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21242 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21244         * configure.in <sysdeps resolving>: Correct printing
21245         Implies_before.
21246         * configure: Regenerate.
21248 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21250         * math/w_ilogb.c: Include <limits.h>.
21251         * math/w_ilogbl.c: Likewise.
21253 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21255         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21256         va_copy.  Document allowing for unavailable va_copy only as
21257         pre-C99 compatibility.
21258         * manual/string.texi (Copying and Concatenation): Use va_copy
21259         instead of __va_copy in concat example.
21261 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21263         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21264         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21265         it if not null.
21267         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21268         with O_NOLINK passed to __file_name_lookup.
21270         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21271         with O_NOLINK passed to __file_name_lookup.
21273         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21274         negative N or less than NGIDS.
21276         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21277         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21278         enough.  Use memcpy instead of strncpy.
21280 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21282         * elf/Makefile (check-data): Remove.
21283         (localplt.data): New vpath directive.
21284         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21285         instead of $(check-data).
21286         * scripts/data/localplt-generic.data: Move to ...
21287         * sysdeps/generic/localplt.data: ... here.
21288         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21289         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21290         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21292         ... here.
21293         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21295         ... here.
21296         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21298         ... here.
21299         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21301         ... here.
21302         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21304         ... here.
21305         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21307         ... here.
21309 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21311         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21312         PPC32 and PPC64 files.
21313         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21314         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21316 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21318         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21319         __makecontext_ret to ...
21320         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21321         ... here and call exit if uc_link is NULL.  New file.
21322         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21323         __makecontext_ret.S.
21324         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21325         __makecontext_ret to ...
21326         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21327         ... here and call exit if uc_link is NULL.  New file.
21328         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21329         __makecontext_ret.S.
21331 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21333         * elf/elf.h (R_390_IRELATIVE): New definition.
21334         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21335         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21336         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21337         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21338         (elf_machine_lazy_rel): Likewise.
21339         * sysdeps/s390/dl-irel.h: New file.
21340         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21341         * sysdeps/s390/s390-64/memset.S: New asm code.
21342         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21343         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21345         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21346         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21347         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21348         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21349         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21350         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21351         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21352         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21353         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21354         * sysdeps/s390/s390-32/memset.S: New asm code.
21355         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21357 2012-07-17  Marek Polacek  <polacek@redhat.com>
21359         [BZ #14349]
21360         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21361         * sysdeps/s390/s390-64/configure.in: Likewise.
21362         * sysdeps/sparc/configure.in: Likewise.
21363         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21364         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21365         * sysdeps/i386/configure.in: Likewise.
21366         * sysdeps/x86_64/configure.in: Likewise.
21367         * sysdeps/sh/configure.in: Likewise.
21368         * sysdeps/s390/s390-32/configure: Regenerated.
21369         * sysdeps/s390/s390-64/configure: Likewise.
21370         * sysdeps/x86_64/configure: Likewise.
21371         * sysdeps/sh/configure: Likewise.
21372         * sysdeps/powerpc/powerpc64/configure: Likewise.
21373         * sysdeps/powerpc/powerpc32/configure: Likewise.
21374         * sysdeps/sparc/configure: Likwise.
21375         * sysdeps/i386/configure: Likewise.
21377         * elf/dl-open.c: Comment fixes.
21379 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21381         * Makefile [CXX] (check-data): Remove.
21382         [CXX] (c++-types.data): New vpath directive.
21383         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21384         vpath.  Do not allow for C++ type data being missing.
21385         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21386         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21387         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21388         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21389         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21390         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21391         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21393         ... here.
21394         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21396         ... here.
21397         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21399         ... here.
21400         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21402         ... here.
21403         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21405         ... here.
21406         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21408         ... here.
21409         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21411         ... here.
21412         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21415         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21416         definitions to architecture-specific files.
21417         (TLS_IE): Likewise.
21418         (TLS_LD): Likewise.
21419         (TLS_GD): Likewise.
21420         * sysdeps/i386/tls-macros.h: New file.
21421         * sysdeps/powerpc/tls-macros.h: Likewise.
21422         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21423         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21424         * sysdeps/sh/tls-macros.h: Likewise.
21425         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21426         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21427         * sysdeps/x86_64/tls-macros.h: Likewise.
21429 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21431         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21432         zero value for regular exit case.
21434         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21435         (__start_context): Preserve zero value for regular exit case.
21437 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21438             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21440         * manual/setjmp.texi (setcontext): Clarify normal process
21441         termination when uc_link is the null pointer.
21442         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21443         exit call.
21445 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21447         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21448         preprocessor.  Test for each exception mask separately.
21450 2012-07-16  Andreas Jaeger  <aj@suse.de>
21452         * po/ru.po: Update from translation team.
21454 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21456         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21457         equal to 0.
21458         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21459         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21460         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21461         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21464 2012-07-13  Andreas Jaeger  <aj@suse.de>
21466         * po/fr.po: Update from translation team.
21468 2012-07-12  Marek Polacek  <polacek@redhat.com>
21470         [BZ #14173]
21471         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21472         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21473         loop condition.
21475 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21477         [BZ #13717]
21478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21479         Change to 2.4.1 where previously 2.4.0.
21480         * sysdeps/unix/sysv/linux/configure: Regenerated.
21481         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21482         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21483         version.
21484         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21485         (__ASSUME_AT_CLKTCK): Remove.
21486         (__ASSUME_AT_PAGESIZE): Likewise.
21487         (__ASSUME_AT_XID): Likewise.
21488         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21489         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21490         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21491         unconditionally.
21492         (HAVE_AUX_PAGESIZE): Likewise.
21493         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21494         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21495         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21497 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21499         [BZ #14307]
21500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21501         the temporary buffer used to invoke __gethostbyname2_r,
21502         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21503         host_data / struct gaih_addrtuple.
21504         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21505         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21506         header file nss/nsswitch.h.
21507         * nss/nsswitch.h (global scope): Add definition of implementation
21508         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21509         resolv/nss_dns/dns-host.c).
21511 2012-07-11  Andreas Jaeger  <aj@suse.de>
21513         * po/fr.po: Update from translation team.
21515         * po/sv.po: Update from translation team
21516         * po/fr.po: Another update from translation team.
21518 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21521         for subnormals or multiply small sinh result by itself.
21522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21525 2012-07-11  David S. Miller  <davem@davemloft.net>
21527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21529 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21531         [BZ #14347]
21532         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21533         (INTERNAL_MARK): Shift it here.
21535 2012-07-10  Marek Polacek  <polacek@redhat.com>
21537         [BZ #14151]
21538         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21539         libc_cv_asm_global_directive with .globl.
21540         * configure: Regenerated.
21541         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21542         with .globl.
21543         * sysdeps/i386/configure: Regenerated.
21544         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21545         with .globl.
21546         * sysdeps/x86_64/configure: Regenerated.
21547         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21548         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21549         * elf/tst-unique2mod2.c: Likewise.
21550         * elf/tst-unique2mod1.c: Likewise.
21551         * elf/tst-unique1mod2.c: Likewise.
21552         * elf/tst-unique1mod1.c: Likewise.
21553         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21554         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21556         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21557         * sysdeps/mach/sysdep.h: Likewise.
21558         * sysdeps/i386/sysdep.h: Likewise.
21559         * sysdeps/i386/i386-mcount.S: Likewise.
21560         * sysdeps/x86_64/_mcount.S: Likewise.
21561         * sysdeps/x86_64/sysdep.h: Likewise.
21562         * sysdeps/sh/_mcount.S: Likewise.
21563         * sysdeps/sh/sysdep.h: Likewise.
21564         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21565         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21566         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21567         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21568         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21569         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21570         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21571         * locale/localeinfo.h: Likewise.
21572         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21573         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21575 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21577         [BZ #14336]
21578         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21579         system".
21580         * manual/message.texi (The Uniforum approach): Likewise.
21581         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21582         (glibc iconv Implementation): Likewise.
21584 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21586         [BZ #14337]
21587         * math/s_clog.c (__clog): Avoid scaling a value down where that
21588         could result in underflow.
21589         * math/s_clog10.c (__clog10): Likewise.
21590         * math/s_clog10f.c (__clog10f): Likewise.
21591         * math/s_clog10l.c (__clog10l): Likewise.
21592         * math/s_clogf.c (__clogf): Likewise.
21593         * math/s_clogl.c (__clogl): Likewise.
21594         * math/libm-test.inc (clog_test): Add more tests.
21595         (clog10_test): Likewise.
21596         * sysdeps/i386/fpu/libm-test-ulps: Update.
21597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21601         [BZ #14283]
21602         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21603         by 7 not 8 to examine high bit of fractional part.
21605         [BZ #14042]
21606         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21607         for call to __mcount_internal.
21608         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21609         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21610         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21612 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21614         [BZ #14154]
21615         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21616         approximation for values within 0x1p-13f of an odd multiple of
21617         pi/4.
21618         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21619         exception.  Add more tests.
21620         * sysdeps/i386/fpu/libm-test-ulps: Update.
21622         [BZ #6778]
21623         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21624         inputs and return -1 for them.  Do not check for +Inf in case not
21625         reachable for +Inf.
21626         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21627         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21629         and return -1 for them.  Do not check for +Inf in case not
21630         reachable for +Inf.
21631         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21632         define.
21633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21634         and return -1 for them.  Do not check for +Inf in case not
21635         reachable for +Inf.
21636         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21637         spurious underflow.
21638         * sysdeps/i386/fpu/libm-test-ulps: Update.
21639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21641 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21643         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21645 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21647         [BZ #14157]
21648         [BZ #14331]
21649         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21650         could result in spurious underflow.  Scale down values above
21651         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21652         * math/s_csqrtf.c (__csqrtf): Likewise.
21653         * math/s_csqrtl.c (__csqrtl): Likewise.
21654         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21655         spurious underflow.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21661         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21662         xopen-msg.sed.
21663         * catgets/xopen-msg.awk: New file.
21664         * catgets/xopen-msg.sed: Removed.
21666         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21667         po2text.sed.
21668         * intl/po2test.awk: New file.
21669         * intl/po2test.sed: Removed.
21671 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21673         [BZ #14328]
21674         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21675         or multiply small sinh result by itself.
21676         * math/s_ctanf.c (__ctanf): Likewise.
21677         * math/s_ctanh.c (__ctanh): Likewise.
21678         * math/s_ctanhf.c (__ctanhf): Likewise.
21679         * math/s_ctanhl.c (__ctanhl): Likewise.
21680         * math/s_ctanl.c (__ctanl): Likewise.
21681         * math/libm-test.inc (ctan_test_tonearest): New function.
21682         (ctan_test_towardzero): Likewise.
21683         (ctan_test_downward): Likewise.
21684         (ctan_test_upward): Likewise.
21685         (ctanh_test_tonearest): Likewise.
21686         (ctanh_test_towardzero): Likewise.
21687         (ctanh_test_downward): Likewise.
21688         (ctanh_test_upward): Likewise.
21689         (main): Call these new functions.
21690         * sysdeps/i386/fpu/libm-test-ulps: Update.
21691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21693 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21695         * .gitignore: Delete /ports entry.
21697 2012-07-03  Andreas Jaeger  <aj@suse.de>
21699         * po/bg.po: Update from translation team.
21700         * po/cs.po: Likewise.
21701         * po/de.po: Likewise.
21702         * po/hr.po: Likewise.
21703         * po/nl.pl: Likewise.
21704         * po/pl.po: Likewise.
21705         * po/vi.po: Likewise.
21707 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21709         * Makeconfig [!+link] (+link-before-libc): New variable.
21710         [!+link] (+link-after-libc): Likewise.
21711         [!+link] (+link-tests): Likewise.
21712         [!+link] (+link): Define in terms of $(+link-before-libc) and
21713         $(+link-after-libc).
21714         [!+link-static] (+link-static-before-libc): New variable.
21715         [!+link-static] (+link-static-after-libc): Likewise.
21716         [!+link-static] (+link-static-tests): Likewise.
21717         [!+link-static] (+link-static): Define in terms of
21718         $(+link-static-before-libc) and $(+link-static-after-libc).
21719         [build-shared] (link-libc-before-gnulib): New variable.
21720         [build-shared] (link-libc-tests): Likewise.
21721         [build-shared] (link-libc): Define in terms of
21722         $(link-libc-before-gnulib).
21723         [!build-shared] (link-libc-tests): New variable.
21724         (link-libc-static-tests): New variable.
21725         [!gnulib] (gnulib-arch): New variable.
21726         [!gnulib] (gnulib-tests): Likewise.
21727         [!gnulib] (static-gnulib-arch): Likewise.
21728         [!gnulib] (static-gnulib-tests): Likewise.
21729         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21730         Define with "=" instead of ":=".
21731         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21732         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21733         * Rules (binaries-all-notests): New variable.
21734         (binaries-all-tests): Likewise.
21735         (binaries-static-notests): Likewise.
21736         (binaries-static-tests): Likewise.
21737         (binaries-all): Define using $(binaries-all-notests) and
21738         $(binaries-all-tests).
21739         (binaries-static): Define using $(binaries-static-notests) and
21740         $(binaries-static-tests).
21741         (binaries-shared-tests): New variable.
21742         (binaries-shared-notests): Likewise.
21743         (binaries-shared): Remove variable.
21744         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21745         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21746         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21747         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21748         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21749         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21750         * elf/Makefile (sln-modules): New variable.
21751         (extra-objs): Add $(sln-modules:=.o).
21752         (ldconfig-modules): Add static-stubs.
21753         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21754         * elf/static-stubs.c: New file.
21756         [BZ #14283]
21757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21758         by 7 not 8 to examine high bit of fractional part.  Use volatile
21759         variables when splitting into final array of floats if
21760         __FLT_EVAL_METHOD__ != 0.
21761         * math/libm-test.inc (cos_test): Add another test.
21762         (sin_test): Likewise.
21763         * sysdeps/i386/fpu/libm-test-ulps: Update.
21765         [BZ #14273]
21766         * math/libm-test.inc (cosh_test): Add more tests.
21768         * version.h (RELEASE): Set to "development".
21769         (VERSION): Set to "2.16.90".
21771 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21773         * NEWS: Update copyright. Remove last-updated date.
21774         Mention math library bug fixes and timezone data changes.
21775         * README: Mention GNU/Hurd, x32, and HPPA support status.
21777 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21779         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21781 2012-06-27  Andreas Jaeger  <aj@suse.de>
21783         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21785 2012-06-25  Andreas Jaeger  <aj@suse.de>
21787         * sysdeps/s390/fpu/libm-test-ulps: Update.
21789 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21790             Thomas Schwinge  <thomas@codesourcery.com>
21792         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21793         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21795         fanotify_mark.
21797 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21799         * sysdeps/mach/start.c: Remove file.
21800         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21801         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21802         * sysdeps/sh/init-first.c: Likewise.
21804         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21805         registers for frame unwinding purposes, add CFI directives.
21806         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21807         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21808         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21809         Likewise.
21811         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21812         __fortify_fail returning.
21813         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21815         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21816         sysdeps/sh/____longjmp_chk.S.
21817         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21818         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21819         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21820         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21822         * sysdeps/sh/abort-instr.h: New file.
21823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21824         process in case exit returns.
21826         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21827         initialize the GOT register before use.
21829         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21830         calculation of ARGC > 4.
21832         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21833         meaningful names to some local labels.
21835 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21836             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21838         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21839         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21840         (__arch_compare_and_exchange_val_16_acq): Likewise.
21841         (__arch_compare_and_exchange_val_32_acq): Likewise.
21842         (atomic_exchange_and_add): Fix gUSA sequence.
21843         (atomic_add): Likewise.
21844         (atomic_add_negative): Likewise.
21845         (atomic_add_zero): Likewise.
21846         (atomic_bit_test_set): Likewise.
21848 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21850         [BZ #13579]
21851         * include/link.h (struct link_map): Add l_free_initfini.
21852         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21853         l_initfini.
21854         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21855         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21856         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21857         set.
21859 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21861         * configure.in: Use AC_LANG_SOURCE.
21862         * configure: Regenerate.
21864 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21866         * configure.in (libc_cv_localstatedir): New substituted variable.
21867         * configure: Regenerated.
21868         * config.make.in (localstatedir): New variable, substituted from
21869         libc_cv_localstatedir.
21870         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21871         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21872         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21873         * sysdeps/gnu/configure: Regenerated.
21875 2012-06-21  Jeff Law  <law@redhat.com>
21877         [BZ #14277]
21878         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21879         free.  Simplify list management for _LIBC case.
21881 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21883         [BZ #14273]
21884         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21885         Clear sign bit of 64-bit integer value before comparing against
21886         overflow value.
21888         * sysdeps/mach/configure: Regenerated.
21890 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21892         [BZ #14278]
21893         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21895 2012-06-21  Jeff Law  <law@redhat.com>
21897         [BZ #13882]
21898         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21899         uint16_t for elements in the "seen" array to avoid char overflows.
21900         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21901         * elf/dl-open.c (dl_open_worker): Likewise.
21903 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21905         * scripts/list-sources.sh: Scan PORTS for translations.
21906         * po/libc.pot: Regenerated.
21908 2012-06-21  Andreas Jaeger  <aj@suse.de>
21910         [BZ #12194]
21911         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21912         warning.
21913         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21914         * bits/byteswap-16.h (__bswap_16): Likewise.
21915         * bits/byteswap.h (__bswap_constant_16): Likewise.
21917 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21919         [BZ #14117]
21920         * sysdeps/i386/fpu_control.h: Removed.
21921         * sysdeps/x86_64/fpu_control.h: Moved to ...
21922         * sysdeps/x86/fpu_control.h: Here.
21924         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21925         (_FPU_SETCW): Likewise.
21927 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21929         [BZ #14117]
21930         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21931         * sysdeps/x86/fpu/bits/mathinline.h: This.
21932         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21934         [BZ #14050]
21935         [BZ #14117]
21936         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21937         functions if __x86_64__ is defined.
21939 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21941         * string/endian.h: Add !__ASSEMBLER__ condition for including
21942         conversion interfaces.
21944 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21946         [BZ #14241]
21947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21948         of ABS(x) in calculating zero to negative powers other than odd
21949         integers.
21950         * math/libm-test.inc (pow_test): Add more tests.
21952 2012-06-15  Andreas Jaeger  <aj@suse.de>
21954         * manual/contrib.texi (Contributors): Update entry of Liubov
21955         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21956         Machado Filho.
21958 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21960         * string/string.h: Add __wur to GNU version of strerror_r.
21962 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21964         [BZ #14229]
21965         * string/Makefile (tests): Add tst-strtok_r.
21966         * string/tst-strtok_r.c: New file.
21967         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21968         RAX_LP/RDX_LP on SAVE_PTR.
21970 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21972         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21974 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21976         * libm_test.inc (csqrt_test): Allow more spurious underflow
21977         exceptions.
21978         (j0_test): Likewise.
21979         (j1_test): Likewise.
21980         (y0_test): Likewise.
21981         (y1_test): Likewise.
21983 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21985         * po/Makefile (libc.pot): Use UTF-8 charset.
21987 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21989         [BZ #14210]
21990         Suppress sign-conversion warning from FD_SET.
21991         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21992         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21993         not unsigned long int.
21994         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21996 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21998         [BZ #14050]
21999         [BZ #14117]
22000         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22001         __extern_always_inline instead of __extern_inline.
22002         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22003         (__signbit): Likewise.
22004         (__signbitl): Support C++ namespace.
22005         (lrintf): New inline function.
22006         (lrint): Likewise.
22007         (llrintf): Likewise.
22008         (llrint): Likewise.
22009         (fmaxf): Likewise.
22010         (fmax): Likewise.
22011         (fminf): Likewise.
22012         (fmin): Likewise.
22013         (rint): Likewise.
22014         (rintf): Likewise.
22015         (ceil): Likewise.
22016         (ceilf): Likewise.
22017         (floor): Likewise.
22018         (floorf): Likewise.
22019         (nearbyint): Likewise.
22020         (nearbyintf): Likewise.
22022 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22024         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22025         non-default versions.
22027 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22029         [BZ #14218]
22030         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22032 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22034         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22035         (FE_UPWARD, FE_DOWNWARD): Don't define.
22036         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22037         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22039         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22040         reading it.
22041         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22042         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22044 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22046         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22048         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22049         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22051 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22053         [BZ #14117]
22054         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22055         * sysdeps/i386/fpu/Implies: New file.
22056         * sysdeps/x86_64/fpu/Implies: Likewise.
22057         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22058         * sysdeps/x86/fpu/bits/fenv.h: This.
22060         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22061         __SSE_MATH__.
22063 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22065         [BZ #14134]
22066         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22067         character 0xffff that matches the last element of the
22068         conversion table.
22070 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22073         fmodl commit.
22075 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22077         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22078         values higher than 25.6283.
22080 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22083         subnormal exponent extraction and add some __builtin_expect.
22084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22085         Fix for subnormal mantissa calculation.
22087 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22089         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22090         cpu2 is -1 and errno is not ENOSYS.
22092 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22094         [BZ #14117]
22095         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22096         * sysdeps/x86/bits/string.h: This.
22097         * sysdeps/x86_64/bits/string.h: Removed.
22099         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22100         if not compiling for x86-64, but compiling for >= i486.
22102         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22103         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22105         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22106         New macro from Linux kernel 3.4.0.
22107         (FP_XSTATE_MAGIC2): Likewise.
22108         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22109         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22110         (struct _fpx_sw_bytes): New struct.
22111         (struct _xsave_hdr): Likewise.
22112         (struct _ymmh_state): Likewise.
22113         (struct _xstate): Likewise.
22115         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22116         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22117         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22118         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22119         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22120         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22122         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22123         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22124         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22125         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22126         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22127         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22129 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22131         [BZ #13743]
22132         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22133         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22134         (sysdep_headers): Include sys/platform/ppc.h.
22135         * sysdeps/powerpc/test-gettimebase.c: Test for
22136         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22137         * manual/Makefile (appendices): Include platform.texi.
22138         * manual/contrib.texi (Contributors): Update @node pointers.
22139         * manual/maint.texi (Maintenance): Likewise.
22140         (Platform): New node.
22141         * manual/platform.texi: New file.  Document the new features.
22143 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22144             Jakub Jelinek  <jakub@redhat.com>
22146         [BZ #14188]
22147         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22148         where __builtin_expect is unavailable.
22150 2012-06-03  David S. Miller  <davem@davemloft.net>
22152         * stdlib/longlong.h: Updated from GCC.
22154 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22156         [BZ #14042]
22157         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22158         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22159         __mcount_internal.
22160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22161         (GLIBC_2.16): Likewise.
22163 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22165         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22167 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22170         (default-abi): New variable.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22172         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22173         variable.
22174         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22175         Likewise.
22176         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22177         Likewise.
22178         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22179         Likewise.
22181         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22182         definition.  Document in comment.
22184 2012-06-01  David S. Miller  <davem@davemloft.net>
22186         * stdlib/longlong.h: Updated from GCC.
22188 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22190         [BZ #14117]
22191         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22192         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22193         sys/debugreg.h sys/io.h here.
22194         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22195         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22196         sys/io.h.
22197         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22198         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22199         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22200         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22201         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22202         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22204         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22205         Define only if __x86_64__ is defined.
22207 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22209         [BZ #14048]
22210         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22211         Use int64_t for variable i.
22212         * math/libm-test.inc (fmod_test): Add more tests.
22214         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22215         z computation is not scheduled after fetestexcept.
22216         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22217         Use math_force_eval instead of asm to ensure calculation scheduled
22218         before exception test.
22219         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22220         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22222 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22225         computation is not scheduled after fetestexcept.
22227 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22229         [BZ #14117]
22230         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22231         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22233 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22235         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22236         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22238 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22240         [BZ #14117]
22241         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22242         <bits/wordsize.h>.
22243         (__WCHAR_MIN): Support __WORDSIZE == 64.
22244         (__WCHAR_MAX): Likewise.
22246         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22247         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22249         [BZ #14183]
22250         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22251         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22253         [BZ #14117]
22254         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22257         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22258         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22260         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22261         Defined to 1 if __x86_64__ isn't defined.
22262         (_STAT_VER_LINUX_OLD): New.
22263         (st_atime): Remove duplicate.
22264         (st_mtime): Likewise.
22265         (st_ctime): Likewise.
22267 2012-05-31  David S. Miller  <davem@davemloft.net>
22269         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22270         entries.
22272 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22274         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22275         gen-libm-test.pl.
22277         [BZ #14132]
22278         * elf/dl-reloc.c: Include <_itoa.h>.
22279         (_dl_reloc_bad_type): Remove use of INTUSE.
22280         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22281         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22282         * stdio-common/psiginfo.c (psiginfo): Likewise.
22283         * stdio-common/psignal.c (psignal): Likewise.
22284         * string/strsignal.c (strsignal): Likewise.
22285         * include/signal.h (_sys_siglist): Declare hidden proto.
22286         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22287         INTVARDEF with libc_hidden_data_def.
22288         * stdio-common/itoa-udigits.c: Likewise.
22289         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22290         (_itoa_lower_digits_internal): Remove declaration.
22291         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22292         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22293         (_sys_sigabbrev_internal): Remove aliases.
22294         (_sys_siglist): Define hidden alias.
22296 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22299         bits/sysctl.h.
22301 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22303         [BZ #14117]
22304         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22305         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22307         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22308         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22309         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22310         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22312         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22314         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22315         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22316         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22318         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22319         with __addr.
22320         (insw): Likewise.
22321         (insl): Likewise.
22322         (outsb): Likewise.
22323         (outsw): Likewise.
22324         (outsl): Likewise.
22326         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22328         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22330         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22331         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22332         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22333         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22334         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22335         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22337         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22338         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22340         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22341         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22345         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22347         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22348         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22349         to ...
22350         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22352         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22353         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22354         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22356         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22357         for x86-64.
22358         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22360 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22362         * math/math.h (M_El): Use two more decimal places.
22363         (M_LOG2El): Likewise.
22364         (M_LOG10El): Likewise.
22365         (M_LN2l): Likewise.
22366         (M_LN10l): Likewise.
22367         (M_PIl): Likewise.
22368         (M_PI_2l): Likewise.
22369         (M_PI_4l): Likewise.
22370         (M_1_PIl): Likewise.
22371         (M_2_PIl): Likewise.
22372         (M_2_SQRTPIl): Likewise.
22373         (M_SQRT2l): Likewise.
22374         (M_SQRT1_2l): Likewise.
22376 2012-05-31  David S. Miller  <davem@davemloft.net>
22378         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22379         values between float registers.
22380         * sysdeps/sparc/sparc64/memset.S: Likewise.
22381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22383 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22385         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22386         -D_FORTIFY_SOURCE=1.
22387         (CPPFLAGS-tst-longjmp_chk.c): Define.
22388         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22389         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22390         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22391         CFLAGS-tst-wchar-h.c.
22393 2012-05-31  Marek Polacek  <polacek@redhat.com>
22395         [BZ #14132]
22396         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22397         __endmntent_internal): Remove declaration.
22398         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22399         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22400         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22402 2012-05-30  David S. Miller  <davem@davemloft.net>
22404         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22405         (___Q_simulate_exceptions): Use real FP ops rather than writing
22406         into the %fsr.
22407         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22408         Likewise.
22410 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22412         [BZ #14117]
22413         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22414         * sysdeps/x86/bits/xtitypes.h: This.
22416         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22417         * sysdeps/x86/bits/wordsize.h: This.
22419         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22420         * sysdeps/x86/bits/huge_vall.h: This.
22422         * sysdeps/i386/bits/select.h: Removed.
22423         * sysdeps/x86_64/bits/select.h: Renamed to ...
22424         * sysdeps/x86/bits/select.h: This.
22426         * sysdeps/i386/bits/setjmp.h: Removed.
22427         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22428         * sysdeps/x86/bits/setjmp.h: This.
22430         * sysdeps/i386/bits/mathdef.h: Removed.
22431         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22432         * sysdeps/x86/bits/mathdef.h: This.
22434 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22436         [BZ #14132]
22437         * include/sys/socket.h (__connect_internal)
22438         (__libc_sa_len_internal): Remove declaration.
22439         (__connect, __libc_sa_len): Declare hidden_proto.
22440         (SA_LEN): Remove use of INTUSE.
22441         * socket/connect.c: Add libc_hidden_def.
22442         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22443         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22444         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22445         alias.
22446         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22447         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22448         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22449         of adding _internal alias.
22451 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22453         [BZ #14117]
22454         * sysdeps/i386/bits/link.h: Removed.
22455         * sysdeps/i386/bits/linkmap.h: Likewise.
22456         * sysdeps/x86_64/bits/link.h: Renamed to ...
22457         * sysdeps/x86/bits/link.h: This.
22458         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22459         * sysdeps/x86/bits/linkmap.h: This.
22461         * sysdeps/i386/bits/endian.h: Removed.
22462         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22463         * sysdeps/x86/bits/endian.h: This.
22465         * sysdeps/i386/bits/byteswap.h: Removed.
22466         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22467         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22468         * sysdeps/x86/bits/byteswap.h: This.
22469         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22470         * sysdeps/x86/bits/byteswap-16.h: This.
22471         * sysdeps/i386/Implies: Add x86.
22472         * sysdeps/x86_64/Implies: Likewise.
22474 2012-05-30  David S. Miller  <davem@davemloft.net>
22476         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22477         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22478         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22479         (FP_TRAPPING_EXCEPTIONS): Define.
22480         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22481         (FP_TRAPPING_EXCEPTIONS): Define.
22482         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22483         subnormals only when inexact has been signalled or underflow
22484         exceptions are enabled.
22485         (_FP_PACK_CANONICAL): Likewise.
22487 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22489         [BZ #14183]
22490         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22491         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22493 2012-05-30  Richard Henderson  <rth@twiddle.net>
22495         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22496         with #ifndef NOT_IN_libc.
22498         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22499         marked to avoid plt entry.
22501 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22503         [BZ #14112]
22504         * Makeconfig (default-abi): New macro.
22505         (abi-includes): Likewise.
22506         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22507         $(abi-$(default-abi)-lib-soname) for soname if defined.
22508         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22509         abi-variants.
22510         * Makefile (installed-stubs): Likewise.
22511         * include/stubs-biarch.h: Removed.
22512         * scripts/lib-names.awk: Only handle one library at a time.
22513         * scripts/soversions.awk: Remove WORDSIZE support.
22514         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22515         entries.
22516         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22517         Removed.
22518         (syscall-list-default-condition): Likewise.
22519         (syscall-list-default-condition): Likewise.
22520         (syscall-list-includes): Likewise.
22521         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22522         syscall-list-* with abi-*.  Handle undefined abi-variants.
22523         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22524         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22525         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22526         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22527         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22528         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22529         Removed.
22530         (syscall-list-32-options): Likewise.
22531         (syscall-list-32-condition): Likewise.
22532         (syscall-list-64-options): Likewise.
22533         (syscall-list-64-condition): Likewise.
22534         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22535         macro.
22536         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22537         Renamed to ...
22538         (abi-*): This.
22539         (abi-64-ld-soname): New macro.
22540         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22541         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22542         Renamed to ...
22543         (abi-*): This.
22544         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22545         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22547 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22549         * sysdeps/unix/sysv/linux/kernel-features.h
22550         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22551         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22552         include <kernel-features.h>.
22553         [!__NR_ftruncate64]: Remove conditional code.
22554         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22555         [__NR_ftruncate64]: Make code unconditional.
22556         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22557         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22558         include <kernel-features.h>.
22559         [!__NR_ftruncate64]: Remove conditional code.
22560         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22561         [__NR_ftruncate64]: Make code unconditional.
22562         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22564         include <kernel-features.h>.
22565         [!__NR_ftruncate64]: Remove conditional code.
22566         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22567         [__NR_ftruncate64]: Make code unconditional.
22568         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22570         include <kernel-features.h>.
22571         [!__NR_ftruncate64]: Remove conditional code.
22572         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22573         [__NR_ftruncate64]: Make code unconditional.
22574         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22576         * configure.in (libc_cv_fpie): Weaken to a compile test using
22577         LIBC_TRY_CC_OPTION.
22578         * configure: Regenerated.
22580 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22586         Refreshed.
22587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22593         Refreshed.
22595 2012-05-27  David S. Miller  <davem@davemloft.net>
22597         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22598         (___Q_zero): New.
22599         (__Q_simulate_exceptions): Return void.  Change to simulate
22600         exceptions by writing into the %fsr.
22601         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22602         (__Qp_handle_exceptions): Likewise.
22603         (numbers): Delete.
22604         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22605         __Qp_handle_exceptions.
22606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22607         __Qp_handle_exceptions.
22608         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22609         as unused and give dummy FP_RND_NEAREST initializer.
22610         (FP_INHIBIT_RESULTS): Define.
22611         (___Q_simulate_exceptions): Update declaration.
22612         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22613         formatting.
22614         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22615         as unused and give dummy FP_RND_NEAREST initializer.
22616         (__Qp_handle_exceptions): Update declaration.
22617         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22618         formatting.
22620 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22622         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22623         the temporary FPU control word.
22624         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22625         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22626         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22627         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22628         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22629         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22630         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22631         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22632         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22633         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22634         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22636 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22638         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22639         fields.
22641 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22643         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22644         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22645         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22646         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22647         Likewise.
22648         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22649         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22650         Likewise.
22652 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22654         * po/h.po: Update from translation team.
22656 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22658         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22661         handling of denormals.
22662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22663         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22664         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22665         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22669         Likewise.
22671 2012-05-26  Marek Polacek  <polacek@redhat.com>
22673         [BZ #14152]
22674         * math/libm-test.inc (fma_test): Don't always expect underflow
22675         exception.
22677 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22679         [BZ #12416]
22680         * elf/tst-execstack.c: Include stackinfo.h.
22681         (do_test): Adjust test case to ensure that pthread_getattr_np
22682         behaviour remains the same after marking stack executable.
22684 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22686         * sysdeps/unix/sysv/linux/kernel-features.h
22687         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22688         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22689         kernel-features.h.
22690         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22691         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22692         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22693         kernel-features.h.
22694         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22695         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22697 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22699         * configure.in: Define the default includes to being none.
22700         * configure: Regenerated.
22702 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22704         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22705         * sysdeps/x86_64/setjmp.S: Likewise.
22706         * sysdeps/i386/bsd-setjmp.S: Likewise.
22707         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22708         * sysdeps/i386/setjmp.S: Likewise.
22709         * sysdeps/i386/__longjmp.S: Likewise.
22710         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22711         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22713         * include/stap-probe.h: New file.
22714         * configure.in: Handle --enable-systemtap.
22715         * configure: Regenerated.
22716         * config.h.in (USE_STAP_PROBE): New #undef.
22717         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22718         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22719         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22721 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22723         [BZ #13717]
22724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22725         to 2.4.0 where earlier.
22726         * sysdeps/unix/sysv/linux/configure: Regenerated.
22727         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22728         <kernel-features.h>.
22729         [__ASSUME_32BITUIDS]: Make code unconditional.
22730         [!__ASSUME_32BITUIDS]: Remove conditional code.
22731         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22732         <kernel-features.h>.
22733         [__ASSUME_32BITUIDS]: Make code unconditional.
22734         [!__ASSUME_32BITUIDS]: Remove conditional code.
22735         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22736         [__ASSUME_32BITUIDS]: Make code unconditional.
22737         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22738         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22739         <kernel-features.h>.
22740         [__ASSUME_32BITUIDS]: Make code unconditional.
22741         [!__ASSUME_32BITUIDS]: Remove conditional code.
22742         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22743         <kernel-features.h>.
22744         [__ASSUME_32BITUIDS]: Make code unconditional.
22745         [!__ASSUME_32BITUIDS]: Remove conditional code.
22746         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22747         <kernel-features.h>.
22748         [__ASSUME_32BITUIDS]: Make code unconditional.
22749         [!__ASSUME_32BITUIDS]: Remove conditional code.
22750         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22751         <kernel-features.h>.
22752         [__ASSUME_32BITUIDS]: Make code unconditional.
22753         [!__ASSUME_32BITUIDS]: Remove conditional code.
22754         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22755         <kernel-features.h>.
22756         [__ASSUME_32BITUIDS]: Make code unconditional.
22757         [!__ASSUME_32BITUIDS]: Remove conditional code.
22758         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22759         <kernel-features.h>.
22760         [__ASSUME_32BITUIDS]: Make code unconditional.
22761         [!__ASSUME_32BITUIDS]: Remove conditional code.
22762         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22763         <kernel-features.h>.
22764         [__ASSUME_32BITUIDS]: Make code unconditional.
22765         [!__ASSUME_32BITUIDS]: Remove conditional code.
22766         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22767         <kernel-features.h>.
22768         [__ASSUME_32BITUIDS]: Make code unconditional.
22769         [!__ASSUME_32BITUIDS]: Remove conditional code.
22770         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22771         <kernel-features.h>.
22772         [__ASSUME_32BITUIDS]: Make code unconditional.
22773         [!__ASSUME_32BITUIDS]: Remove conditional code.
22774         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22775         <kernel-features.h>.
22776         [__ASSUME_32BITUIDS]: Make code unconditional.
22777         [!__ASSUME_32BITUIDS]: Remove conditional code.
22778         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22779         <kernel-features.h>.
22780         [__NR_setresgid] (__setresgid): Do not declare.
22781         [__ASSUME_32BITUIDS]: Make code unconditional.
22782         [!__ASSUME_32BITUIDS]: Remove conditional code.
22783         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22784         <kernel-features.h>.
22785         [__NR_setresuid] (__setresuid): Do not declare.
22786         [__ASSUME_32BITUIDS]: Make code unconditional.
22787         [!__ASSUME_32BITUIDS]: Remove conditional code.
22788         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22789         <kernel-features.h>.
22790         [__ASSUME_32BITUIDS]: Make code unconditional.
22791         [!__ASSUME_32BITUIDS]: Remove conditional code.
22792         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22793         <kernel-features.h>.
22794         [__ASSUME_32BITUIDS]: Make code unconditional.
22795         [!__ASSUME_32BITUIDS]: Remove conditional code.
22796         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22797         <kernel-features.h>.
22798         [__ASSUME_32BITUIDS]: Make code unconditional.
22799         [!__ASSUME_32BITUIDS]: Remove conditional code.
22800         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22801         <kernel-features.h>.
22802         [__ASSUME_32BITUIDS]: Make code unconditional.
22803         [!__ASSUME_32BITUIDS]: Remove conditional code.
22804         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22805         <kernel-features.h>.
22806         [__ASSUME_32BITUIDS]: Make code unconditional.
22807         [!__ASSUME_32BITUIDS]: Remove conditional code.
22808         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22809         <kernel-features.h>.
22810         [__ASSUME_32BITUIDS]: Make code unconditional.
22811         [!__ASSUME_32BITUIDS]: Remove conditional code.
22812         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22813         <kernel-features.h>.
22814         [__ASSUME_32BITUIDS]: Make code unconditional.
22815         [!__ASSUME_32BITUIDS]: Remove conditional code.
22816         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22817         <kernel-features.h>.
22818         [__ASSUME_32BITUIDS]: Make code unconditional.
22819         [!__ASSUME_32BITUIDS]: Remove conditional code.
22820         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22821         <kernel-features.h>.
22822         [__ASSUME_32BITUIDS]: Make code unconditional.
22823         [!__ASSUME_32BITUIDS]: Remove conditional code.
22824         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22825         <kernel-features.h>.
22826         [__ASSUME_32BITUIDS]: Make code unconditional.
22827         [!__ASSUME_32BITUIDS]: Remove conditional code.
22828         * sysdeps/unix/sysv/linux/kernel-features.h
22829         (__ASSUME_SETRESUID_SYSCALL): Remove.
22830         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22831         (__ASSUME_32BITUIDS): Likewise.
22832         (__ASSUME_LDT_WORKS): Likewise.
22833         (__ASSUME_O_DIRECTORY): Likewise.
22834         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22835         architecture but not kernel version.
22836         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22837         (__ASSUME_MMAP2_SYSCALL): Likewise.
22838         (__ASSUME_STAT64_SYSCALL): Likewise.
22839         (__ASSUME_IPC64): Likewise.
22840         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22841         <kernel-features.h>.
22842         [__ASSUME_32BITUIDS]: Make code unconditional.
22843         [!__ASSUME_32BITUIDS]: Remove conditional code.
22844         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22845         <kernel-features.h>.
22846         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22847         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22848         132096]: Remove conditional code.
22849         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22850         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
22859         <kernel-features.h>.
22860         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22861         unconditional.
22862         (__setresgid): Do not declare.
22863         [__ASSUME_32BITUIDS]: Make code unconditional.
22864         [!__ASSUME_32BITUIDS]: Remove conditional code.
22865         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22866         <kernel-features.h>.
22867         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22868         unconditional.
22869         (__setresuid): Do not declare.
22870         [__ASSUME_32BITUIDS]: Make code unconditional.
22871         [!__ASSUME_32BITUIDS]: Remove conditional code.
22872         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22873         <kernel-features.h>.
22874         [__ASSUME_32BITUIDS]: Make code unconditional.
22875         [!__ASSUME_32BITUIDS]: Remove conditional code.
22876         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22877         <kernel-features.h>.
22878         [__ASSUME_32BITUIDS]: Make code unconditional.
22879         [!__ASSUME_32BITUIDS]: Remove conditional code.
22881 2012-05-25  Richard Henderson  <rth@twiddle.net>
22883         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22884         dl_hwcap to ifunc resolver.
22885         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22886         elf_ifunc_invoke.
22887         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22888         dl_hwcap to ifunc resolver.
22889         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22891 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22893         [BZ #14153]
22894         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22895         for |x| <= 2**-26, not 2**-57.
22896         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22897         exception.
22899 2012-05-24  Jeff Law  <law@redhat.com>
22901         * stdio-common/Makefile (tests): Add bug25.
22902         * stdio-common/bug25.c: New test.
22904 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22906         [BZ #13576]
22907         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22908         multiple of MALLOC_ALIGNMENT in size.
22909         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22911 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22913         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22914         Require >= 256.
22915         (FILENAME_MAX): Use macro-int-constant.
22916         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22917         (_IOFBF): Use macro-int-constant.
22918         (_IOLBF): Likewise.
22919         (_IONBF): Likewise.
22920         (SEEK_CUR): Likewise.
22921         (SEEK_END): Likewise.
22922         (SEEK_SET): Likewise.
22923         (TMP_MAX): Likewise.
22924         (EOF): Use macro-int-constant.  Require < 0.
22925         (NULL): Use macro-constant.  Require == 0.
22926         (stdin): Require type to be FILE *.
22927         (stdout): Likewise.
22928         (stderr): Likewise.
22929         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22930         macro-int-constant.
22931         (EXIT_SUCCESS): Likewise.
22932         (NULL): Use macro-constant.  Require == 0.
22933         (RAND_MAX): Use macro-int-constant.
22934         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22935         [C99-based standards] (strtof): Require function.
22936         [C99-based standards] (strtold): Likewise.
22937         [C99-based standards] (strtoll): Likewise.
22938         [C99-based standards] (strtoull): Likewise.
22939         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22940         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22941         [ISO || ISO99 || ISO11] (math.h): Likewise.
22942         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22943         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22946 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22948         [BZ #14132]
22949         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22950         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22951         * intl/dgettext.c (DCGETTEXT): Likewise.
22952         * intl/gettext.c (DCGETTEXT): Likewise.
22953         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22954         * posix/regex_internal.h (gettext): Likewise.
22955         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22956         Remove declaration.
22957         * include/argz.h (__argz_count_internal)
22958         (__argz_stringify_internal): Remove declaration.
22959         (__argz_count, __argz_stringify): Declare hidden proto.
22960         * intl/dcgettext.c: Remove use of INTDEF.
22961         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22962         * string/argz-stringify.c: Likewise.
22963         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22964         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22965         Declare hidden proto.
22966         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22967         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22968         Declare hidden proto.
22969         * include/stdio.h (__asprintf_internal): Don't declare.
22970         (__asprintf): Don't define as macro.  Declare hidden proto.
22971         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22972         (__fsetlocking): Declare hidden proto.
22973         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22974         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22975         hidden proto.
22976         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22977         (_IO_setlinebuf): Remove use of INTUSE.
22978         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22979         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22980         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22981         Remove declaration.
22982         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22983         (_IO_do_flush): Remove use of INTUSE.
22984         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22985         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22986         (_IO_adjust_column, _IO_least_wmarker)
22987         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22988         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22989         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22990         (_IO_default_doallocate, _IO_wdefault_doallocate)
22991         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22992         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22993         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22994         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22995         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22996         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22997         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22998         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22999         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23000         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23001         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23002         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23003         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23004         proto.
23005         (_IO_flush_all_internal, _IO_adjust_column_internal)
23006         (_IO_default_uflow_internal, _IO_default_finish_internal)
23007         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23008         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23009         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23010         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23011         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23012         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23013         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23014         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23015         (_IO_file_close_internal, _IO_file_close_it_internal)
23016         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23017         (_IO_file_init_internal, _IO_file_attach_internal)
23018         (_IO_file_fopen_internal, _IO_file_read_internal)
23019         (_IO_file_sync_internal, _IO_file_seek_internal)
23020         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23021         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23022         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23023         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23024         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23025         (_IO_list_all_internal, _IO_link_in_internal)
23026         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23027         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23028         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23029         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23030         (_IO_do_write_internal, _IO_padn_internal)
23031         (_IO_getline_info_internal, _IO_getline_internal)
23032         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23033         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23034         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23035         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23036         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23037         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23038         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23039         with libc_hidden_ver, remove use of INTUSE.
23040         * libio/genops.c: Likewise.
23041         * libio/freopen.c: Likewise.
23042         * libio/freopen64.c: Likewise.
23043         * libio/iofclose.c: Likewise.
23044         * libio/iofdopen.c: Likewise.
23045         * libio/iofflush.c: Likewise.
23046         * libio/iofflush_u.c: Likewise.
23047         * libio/iofgets.c: Likewise.
23048         * libio/iofgets_u.c: Likewise.
23049         * libio/iofopen.c: Likewise.
23050         * libio/iofopncook.c: Likewise.
23051         * libio/iofread.c: Likewise.
23052         * libio/iofread_u.c: Likewise.
23053         * libio/ioftell.c: Likewise.
23054         * libio/iofwrite.c: Likewise.
23055         * libio/iogetline.c: Likewise.
23056         * libio/iogets.c: Likewise.
23057         * libio/iogetwline.c: Likewise.
23058         * libio/iopadn.c: Likewise.
23059         * libio/iopopen.c: Likewise.
23060         * libio/ioseekoff.c: Likewise.
23061         * libio/ioseekpos.c: Likewise.
23062         * libio/iosetbuffer.c: Likewise.
23063         * libio/iosetvbuf.c: Likewise.
23064         * libio/ioungetc.c: Likewise.
23065         * libio/ioungetwc.c: Likewise.
23066         * libio/iovdprintf.c: Likewise.
23067         * libio/iovsprintf.c: Likewise.
23068         * libio/iovsscanf.c: Likewise.
23069         * libio/memstream.c: Likewise.
23070         * libio/obprintf.c: Likewise.
23071         * libio/oldfileops.c: Likewise.
23072         * libio/oldiofclose.c: Likewise.
23073         * libio/oldiofdopen.c: Likewise.
23074         * libio/oldiofopen.c: Likewise.
23075         * libio/oldiopopen.c: Likewise.
23076         * libio/oldstdfiles.c: Likewise.
23077         * libio/putc.c: Likewise.
23078         * libio/setbuf.c: Likewise.
23079         * libio/setlinebuf.c: Likewise.
23080         * libio/stdfiles.c: Likewise.
23081         * libio/strops.c: Likewise.
23082         * libio/vasprintf.c: Likewise.
23083         * libio/vscanf.c: Likewise.
23084         * libio/vsnprintf.c: Likewise.
23085         * libio/vswprintf.c: Likewise.
23086         * libio/wfiledoalloc.c: Likewise.
23087         * libio/wfileops.c: Likewise.
23088         * libio/wgenops.c: Likewise.
23089         * libio/wmemstream.c: Likewise.
23090         * libio/wstrops.c: Likewise.
23091         * libio/__fpurge.c: Likewise.
23092         * libio/__fsetlocking.c: Likewise.
23093         * assert/assert.c: Likewise.
23094         * debug/fgets_chk.c: Likewise.
23095         * debug/fgets_u_chk.c: Likewise.
23096         * debug/fread_chk.c: Likewise.
23097         * debug/fread_u_chk.c: Likewise.
23098         * debug/gets_chk.c: Likewise.
23099         * debug/obprintf_chk.c: Likewise.
23100         * debug/vasprintf_chk.c: Likewise.
23101         * debug/vdprintf_chk.c: Likewise.
23102         * debug/vsnprintf_chk.c: Likewise.
23103         * debug/vsprintf_chk.c: Likewise.
23104         * malloc/mtrace.c: Likewise.
23105         * misc/error.c: Likewise.
23106         * misc/syslog.c: Likewise.
23107         * stdio-common/asprintf.c: Likewise.
23108         * stdio-common/fxprintf.c: Likewise.
23109         * stdio-common/getw.c: Likewise.
23110         * stdio-common/isoc99_fscanf.c: Likewise.
23111         * stdio-common/isoc99_scanf.c: Likewise.
23112         * stdio-common/isoc99_vfscanf.c: Likewise.
23113         * stdio-common/isoc99_vscanf.c: Likewise.
23114         * stdio-common/isoc99_vsscanf.c: Likewise.
23115         * stdio-common/printf-prs.c: Likewise.
23116         * stdio-common/printf_fp.c: Likewise.
23117         * stdio-common/printf_fphex.c: Likewise.
23118         * stdio-common/printf_size.c: Likewise.
23119         * stdio-common/putw.c: Likewise.
23120         * stdio-common/scanf.c: Likewise.
23121         * stdio-common/sprintf.c: Likewise.
23122         * stdio-common/tmpfile.c: Likewise.
23123         * stdio-common/vfprintf.c: Likewise.
23124         * stdio-common/vfscanf.c: Likewise.
23125         * stdlib/strfmon_l.c: Likewise.
23126         * sunrpc/openchild.c: Likewise.
23127         * sunrpc/xdr_stdio.c: Likewise.
23128         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23129         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23131 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23133         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23135         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23136         in the third column, to generate for the shared library an IFUNC
23137         that uses _dl_vdso_vsym.
23138         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23139         * Makeconfig (object-suffixes-noshared): New variable.
23141         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23142         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23143         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23144         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23146         [BZ #14132]
23147         * include/sys/time.h (__gettimeofday): Remove macro.
23148         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23149         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23150         Remove INTDEF.
23151         (__gettimeofday): Add libc_hidden_def.
23152         (gettimeofday): Add libc_hidden_weak.
23153         * sysdeps/mach/gettimeofday.c: Likewise.
23154         * sysdeps/posix/gettimeofday.c: Likewise.
23155         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23156         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23158         (__gettimeofday_internal): Remove strong_alias.
23159         (__gettimeofday): Add libc_hidden_def.
23160         (gettimeofday): Add libc_hidden_weak.
23161         * sysdeps/unix/syscalls.list (gettimeofday):
23162         Remove __gettimeofday_internal alias.
23164 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23165             H.J. Lu  <hongjiu.lu@intel.com>
23167         [BZ #12495]
23168         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23169         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23170         (largebin_index_32_big): New.
23171         (largebin_index): Use it for 16-byte alignment.
23172         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23173         correction with front_misalign.
23175 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23179         Likewise.
23180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23181         Likewise.
23182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23183         Likewise.
23184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23185         Likewise.
23186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23187         Likewise.
23188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23189         Likewise.
23190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23191         Likewise.
23192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23193         Likewise.
23194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23195         Likewise.
23196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23197         Likewise.
23198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23199         Likewise.
23200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23201         Likewise.
23203         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23204         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23206 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23208         [BZ #10846]
23209         [BZ #14036]
23210         * math/libm-test.inc (exp_test): Add test from bug 14036.
23211         (pow_test): Add test from bug 10846.
23213         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23214         and other flags.
23215         (special_function): Do not include flags in test name.
23216         (parse_args): Likewise.
23217         * sysdeps/i386/fpu/libm-test-ulps: Update.
23218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23219         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23223         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23224         exceptions.
23225         * math/libm-test.inc ("Philosophy"): Update comment about
23226         exception testing.
23227         (UNDERFLOW_EXCEPTION): New macro.
23228         (UNDERFLOW_EXCEPTION_OK): Likewise.
23229         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23230         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23231         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23232         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23233         (INVALID_EXCEPTION_OK): Update value.
23234         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23235         (OVERFLOW_EXCEPTION_OK): Likewise.
23236         (IGNORE_ZERO_INF_SIGN): Likewise.
23237         (test_exceptions): Handle underflow exceptions.
23238         (acos_test): Update for underflow exception expectations.
23239         (cexp_test): Likewise.
23240         (clog_test): Likewise.
23241         (clog10_test): Likewise.
23242         (csqrt_test): Likewise.
23243         (ctan_test): Likewise.
23244         (ctanh_test): Likewise.
23245         (exp_test): Likewise.
23246         (exp10_test): Likewise.
23247         (exp2_test): Likewise.
23248         (expm1_test): Likewise.
23249         (fma_test): Likewise.
23250         (j0_test): Likewise.
23251         (jn_test): Likewise.
23252         (nexttoward_test): Likewise.
23253         (pow_test): Likewise.
23254         (scalbn_test): Likewise.
23255         (scalbln_test): Likewise.
23256         (tan_test): Likewise.
23257         (y1_test): Likewise.
23258         * sysdeps/i386/fpu/libm-test-ulps: Update.
23259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23261 2012-05-23  David S. Miller  <davem@davemloft.net>
23263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23264         (__libc_sigaction): Remove unused local variables.
23266 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23268         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23270 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23272         mktime: avoid signed integer overflow
23273         * time/mktime.c (__mktime_internal): Do not mishandle the case
23274         where diff == INT_MIN.
23276         mktime: simplify computation of average
23277         * time/mktime.c (ranged_convert): Use new time_t_avg function
23278         instead of rolling our own (probably-slower) code.
23280         mktime: do not assume signed right shift propagates sign bit
23281         * time/mktime.c (isdst_differ): New static function.
23282         (__mktime_internal): No need to normalize tm_isdst now.
23283         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23284         tm_isdst values.
23286         mktime: merge another wrapv change from gnulib
23287         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23288         from some compilers.
23290         mktime: remove incorrect attempt at unusual arithmetics
23291         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23292         The code didn't really work on such machines anyway.
23293         (TYPE_MINIMUM): Assume two's complement.
23294         (twos_complement_arithmetic): Verify that long_int and time_t
23295         are two's complement (or unsigned, in the latter case).
23297         mktime: check signed shifts on long_int and time_t, too
23298         * time/mktime.c (SHR): Check that shifts work as desired
23299         on the types long_int and time_t too, as SHR is used on
23300         such types.
23302         mktime: do not assume 'long' is wide enough
23303         * time/mktime.c (verify): Move decl up.
23304         (long_int): New type.
23305         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23306         to remove assumption in the code that 'long' is wide enough to
23307         store year values.  This assumption is not true on x32 and on
23308         some non-glibc platforms.
23310         mktime: merge wrapv change from gnulib
23311         * time/mktime.c (WRAPV): New macro.
23312         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23313         (guess_time_tm, __mktime_internal): Do not assume that signed
23314         integer overflow wraps around; modern compilers generate code
23315         where this assumption is no longer valid.
23317 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23319         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23320         Replace "jmp L(pseudo_end)" with "ret".
23321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23322         Likewise.
23324 2012-05-23  Andreas Jaeger  <aj@suse.de>
23326         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23327         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23329 2012-05-23  Andreas Jaeger  <aj@suse.de>
23330             Maximilian Attems  <max@stro.at>
23332         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23333         New macros.
23335 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23337         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23338         code so that pseudo_end is just ret and the stack pointer is
23339         correct also for static library in error case.
23341 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23343         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23344         move to syscalls.list.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23350         * manual/install.texi (Running make install): Do not mention Linux
23351         kernel version for which pt_chown is not needed.
23352         (Linux): Do not mention problems with nscd with 2.0 kernels.
23353         * INSTALL: Regenerated.
23355 2012-05-23  Andreas Jaeger  <aj@suse.de>
23357         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23358         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23359         macro.
23360         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23361         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23362         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23363         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23364         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23365         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23366         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23367         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23368         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23369         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23370         * sysdeps/unix/sysv/linux/bits/in.h
23371         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23373 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23375         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23376         (PREPARE_VERSION): Just use assert instead, it will be elided
23377         under [NDEBUG] anyway.
23379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23381         * sysdeps/unix/sysv/linux/Makefile: Include
23382         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23383         (sysdep_routines): Remove sysctl.
23384         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23385         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23386         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23387         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23388         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23390 2012-05-22  Andreas Jaeger  <aj@suse.de>
23392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23393         that pseudo_end is just ret and the stack pointer is correct also
23394         for static library in error case.
23396 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23398         [BZ #14122]
23399         * nss/nsswitch.c (defconfig_entries): New variable.
23400         (__nss_database_lookup): Don't leak defconfig entries.
23401         (nss_parse_service_list): Don't leak on error paths.
23402         (free_database_entries): New function.
23403         (free_defconfig): New function.
23404         (free_mem): Move common code to free_database_entries.
23406 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23408         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23409         Add arch_prctl.
23410         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23412         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23413         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23415         New macro.
23416         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23417         (INTERNAL_SYSCALL_TYPES): Likewise.
23418         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23419         (LOAD_REGS_TYPES_[1-6]): Likewise.
23420         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23421         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23423 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23425         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23426         copysignl for GLIBC_2_0.
23427         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23428         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23430         logbl for GLIBC_2_0.
23431         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23432         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23437         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23439         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23440         Use "neg %eax".
23442         * time/mktime.c: Update copyright years.
23444 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23446         mktime: merge comment-quoting-style change from gnulib
23447         * time/mktime.c: Quote 'like this' in comments.
23448         The GNU coding standards suggest that we no longer quote `like this',
23449         as "`" and "'" are typically rendered asymmetrically nowadays.
23450         The typical gnulib style is to quote 'like this' when quoting
23451         code, and "like this" when quoting English.
23453         * time/mktime.c (compile-command): Add "-I.".
23455         mktime: merge mktime-internal.h change from gnulib
23456         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23458         mktime: merge time_r change from gnulib
23459         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23461         mktime: merge DEBUG change from gnulib
23462         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23463         case system <time.h> has a #define.
23465         mktime: merge <sys/types.h> change from gnulib
23466         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23467         since <time.t> is now guaranteed to define time_t.
23469         mktime: merge HAVE_CONFIG_H change from gnulib
23470         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23475         Use "neg %eax".
23477         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23478         __rlim_t cast.
23479         (struct rusage): Use anonymous union to pad each field to
23480         __syscall_slong_t.
23482 2012-05-21  David S. Miller  <davem@davemloft.net>
23484         * Makefules (o-iterator): Remove .s cases.
23485         (compile-command.s): Delete.
23486         (COMPILE.s): Delete.
23487         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23489 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23491         * configure.in (libc_cv_predef_stack_protector): Only consider
23492         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23493         * configure: Regenerated.
23495 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23498         New macro.  Use R*LP on int and pointer.
23499         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23500         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23501         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23502         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23504         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23505         [__WORDSIZE_TIME64_COMPAT32] instead of
23506         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23507         (struct utmp): Likewise.
23508         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23509         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23510         Renamed to ...
23511         (__WORDSIZE_TIME64_COMPAT32): This.
23512         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23513         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23514         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23515         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23516         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23517         (__WORDSIZE_TIME64_COMPAT32): New macro.
23519 2012-05-21  Andreas Jaeger  <aj@suse.de>
23521         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23522         only if [SHARED]. Add prototype for __wcschr_ia32.
23524 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23526         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23527         of %rbp unmolested in the jmp_buf while mangling the low bits.
23528         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23529         unmolested high bits of %rbp while demangling the low bits.
23530         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23532 2012-05-21  Andreas Jaeger  <aj@suse.de>
23534         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23535         * sunrpc/svc_simple.c: Use it for registerrpc.
23536         * sunrpc/xcrypt.c: Use it for passwd2des.
23538         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23540 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23542         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23543         Don't define if [__SYSCALL_WORDSIZE != 32].
23544         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23545         New macro.
23547 2012-05-21  Bruno Haible  <bruno@clisp.org>
23548             Andreas Jaeger  <aj@suse.de>
23550         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23551         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23552         inptr and inend for must_buffer_ch.
23553         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23554         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23555         * stdio-common/Makefile (tests): Remove bug15.
23556         (bug15-ENV): Remove macro.
23557         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23558         anymore.
23560 2012-05-19  Andreas Jaeger  <aj@suse.de>
23561             Roland McGrath  <roland@hack.frob.com>
23563         * manual/contrib.texi: Completely rewritten. It contains now an
23564         alphabetical list of contributors and their contributions.
23566 2012-05-21  Richard Henderson  <rth@twiddle.net>
23568         * misc/getauxval.c (__getauxval): Use unsigned long int.
23569         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23570         (getauxval): Use unsigned long int.
23572 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23574         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23576 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23578         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23579         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23580         __alignof__ (long double).
23582 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23586 2012-05-20  Richard Henderson  <rth@twiddle.net>
23588         * misc/getauxval.c: New file.
23589         * misc/sys/auxv.h: New file.
23590         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23591         (routines): Add getauxval.
23592         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23593         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23594         * elf/dl-sysdep.c (_dl_auxv): Remove.
23595         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23596         * elf/dl-support.c (_dl_auxv): New variable.
23597         (_dl_aux_init): Initialize it.
23598         * manual/startup.texi (Auxiliary Vector): New node.
23599         * sysdeps/generic/bits/hwcap.h: New file.
23600         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23601         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23602         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23603         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23604         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23605         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23607         Update.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23611         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23617 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23621 2012-05-19  David S. Miller  <davem@davemloft.net>
23623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23625 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23627         [BZ #14123]
23628         * math/s_ccosh.c: Include <float.h>
23629         (__ccosh): Avoid internal overflow calculating sinh and cosh
23630         values before multiplying by sin and cos values.
23631         * math/s_ccoshf.c: Likewise.
23632         * math/s_ccoshl.c: Likewise.
23633         * math/s_csin.c: Likewise.
23634         * math/s_csinf.c: Likewise.
23635         * math/s_csinl.c: Likewise.
23636         * math/s_csinh.c: Likewise.
23637         * math/s_csinhf.c: Likewise.
23638         * math/s_csinhl.c: Likewise.
23639         * math/libm-test.inc (ccos_test): Add more tests.
23640         (ccosh_test): Likewise.
23641         (csin_test): Likewise.
23642         (csinh_test): Likewise.
23643         * sysdeps/i386/fpu/libm-test-ulps: Update.
23644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23646 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23648         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23649         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23651         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23653 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23655         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23656         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23657         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23658         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23659         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23660         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23661         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23662         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23663         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23664         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23665         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23666         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23667         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23668         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23669         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23670         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23671         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23672         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23673         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23674         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23675         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23676         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23677         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23678         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23679         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23680         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23681         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23682         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23683         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23684         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23685         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23687 2012-05-18  Andreas Jaeger  <aj@suse.de>
23689         * csu/.gitignore: Delete.
23691 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23693         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23694         (timex): Use __syscall_slong_t.
23696 2012-05-18  Andreas Jaeger  <aj@suse.de>
23697             Carlos O'Donell  <carlos_odonell@mentor.com>
23699         * manual/install.texi (Configuring and compiling): Update
23700         description about files modified in the source directory.
23701         * INSTALL: Regenerated.
23703 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23705         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23706         value.  Use "or" to set return value to -1.
23707         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23708         negate return value.
23710 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23712         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23713         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23714         failure if the compiler has Graphite support disabled.
23715         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23716         Likewise.
23717         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23718         CFLAGS-memmove.c): Likewise.
23719         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23720         Likewise.
23722 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23724         * sysdeps/x86_64/x32/_itoa.h: New file.
23726         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23727         getdents system call only if kernel and user dirents have the
23728         same d_ino and d_off.
23730         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23731         LLONG_MAX != LONG_MAX.
23732         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23733         (_fitoa_word): Likewise.
23735         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23736         years.
23737         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23738         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23739         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23741         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23742         include <bits/wordsize.h>.  Check __x86_64__ instead of
23743         __WORDSIZE.
23744         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23745         if __x86_64__ is defined.  Use anonymous union on fpstate.
23747         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23748         anonymous union.
23750 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23752         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23753         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23754         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23755         Refer to _rtld_local_ro instead of _rtld_global_ro.
23756         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23757         Likewise.
23758         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23759         Likewise.
23760         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23761         Likewise.
23762         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23763         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23764         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23766         * sysdeps/powerpc/powerpc32/dl-machine.c
23767         (__elf_machine_runtime_setup) [PROF]: Don't reference
23768         _dl_prof_resolve.
23770 2012-05-18  Andreas Jaeger  <aj@suse.de>
23772         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23773         function only available for GCCs before 3.4 since GCC 3.4
23774         introduced a builtin.
23775         (lrint): Likewise.
23776         (llrintf): Likewise.
23777         (llrint): Likewise.
23778         (fmaxf): Likewise.
23779         (fmax): Likewise.
23780         (fminf): Likewise.
23781         (fmin): Likewise.
23782         (rint): Likewise.
23783         (rintf): Likewise.
23784         (nearbyint): Likewise.
23785         (nearbyintf): Likewise.
23786         (ceil): Likewise.
23787         (ceilf): Likewise.
23788         (floor): Likewise.
23789         (floorf): Likewise.
23791 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23793         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23794         on both fields and cast pointer to __syscall_ulong_t.
23796         * bits/types.h (__fsword_t): New type.
23797         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23798         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23799         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23800         (__FSWORD_T_TYPE): Likewise.
23801         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23802         (__FSWORD_T_TYPE): Likewise.
23803         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23804         (__FSWORD_T_TYPE): Likewise.
23805         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23806         (__FSWORD_T_TYPE): Likewise.
23807         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23808         __SWORD_TYPE with __fsword_t.
23809         (statfs64): Likewise.
23811 2012-05-17  David S. Miller  <davem@davemloft.net>
23813         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23815 2012-05-17  Andreas Jaeger  <aj@suse.de>
23817         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23818         warning.
23820 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23822         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23824 2012-05-17  Andreas Jaeger  <aj@suse.de>
23826         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23827         when it is used.
23829 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23831         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23835         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23836         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23838 2012-05-17  Andreas Jaeger  <aj@suse.de>
23839             Carlos O'Donell  <carlos_odonell@mentor.com>
23841         [BZ #14059]
23842         * sysdeps/x86_64/multiarch/init-arch.h
23843         (bit_YMM_Usable): Rename to...
23844         (bit_AVX_Usable): ... this.
23845         (bit_FMA4_Usable): New macro.
23846         (bit_XMM_state): New macro.
23847         (bit_YMM_state): New macro.
23848         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23849         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23850         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23851         (CPUID_OSXSAVE): New macro.
23852         (CPUID_AVX): New macro.
23853         (CPUID_FMA4): New macro.
23854         (index_YMM_Usable): Rename to...
23855         (index_AVX_Usable): ... this.
23856         (HAS_AVX): Use HAS_ARCH_FEATURE.
23857         (HAS_FMA4): Likewise.
23858         (HAS_YMM_USABLE): Remove.
23859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23860         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23861         are present.
23862         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23863         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23864         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23865         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23866         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23868 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23870         * math/libm-test.c: Support platforms without multiple rounding modes.
23871         * math/bug-nextafter.c: Support platforms without FP exceptions.
23872         * math/bug-nexttoward.c: Likewise.
23873         * math/test-fenv.c: Likewise.
23874         * math/test-misc.c: Likewise.
23875         * stdlib/bug-getcontext.c: Likewise.
23877 2012-05-17  Andreas Jaeger  <aj@suse.de>
23879         * manual/examples/search.c (critter_cmp): Change signature to
23880         avoid warnings.
23881         * manual/string.texi (Collation Functions): Likewise.
23883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23885         * bits/types.h: Fold copyright years.
23886         * bits/typesizes.h: Likewise.
23887         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23890         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23891         * time/time.h: Likewise.
23893 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23895         [BZ #208]
23896         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23897         in instead of returning them.  Return void.
23898         (__libc_mallinfo): Accumulate over all arenas.
23899         (__malloc_stats): Adjust for change in int_mallinfo interface.
23901 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23903         [BZ #10375]
23904         * configure.in (NM): Add AC_CHECK_TOOL for it.
23905         (libc_extra_cflags): New substituted variable.
23906         Check for -fstack-protector being used implicitly.
23907         * configure: Regenerated.
23908         * config.make.in (config-extra-cflags): New variable,
23909         gets @libc_extra_cflags@.
23910         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23912         [BZ #10375]
23913         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23914         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23915         * configure: Regenerated.
23916         * config.make.in (CPPUNDEFS): New substituted variable.
23917         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23918         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23919         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23923         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23924         (mq_attr): Use __syscall_slong_t.
23926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23928         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23929         Check __x86_64__ instead of __WORDSIZE.
23930         (_STAT_VER_LINUX): Likewise.
23931         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23932         __syscall_ulong_t and __syscall_slong_t.
23933         (stat64): Likewise.
23935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23937         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23941         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23943 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23945         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23946         __syscall_ulong_t.
23948         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23949         include <bits/wordsize.h>.  Check __x86_64__ instead of
23950         __WORDSIZE.
23951         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23952         defined.
23953         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23955         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23956         include <bits/wordsize.h>.  Check __x86_64__ instead of
23957         __WORDSIZE.
23958         (user_regs_struct): Use "__extension__ unsigned long long"
23959         instead of "unsigned long" if __x86_64__ is defined.
23960         (user): Likewise.  Pad after pointer field if __ILP32__ is
23961         defined.
23963 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23965         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23966         versions 5 to 9.
23967         * configure: Regenerated.
23968         * manual/install.texi (texinfo): Increase version requirement to
23969         4.5 or later.
23970         * INSTALL: Regenerated.
23972         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23976         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23978         * sysdeps/x86_64/x32/ffs.c: New file.
23980         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23981         __syscall_ulong_t.
23982         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23983         defined.  Use __syscall_ulong_t.
23984         (shminfo): Use __syscall_ulong_t.
23985         (shm_info): Likewise.
23987         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23988         __syscall_ulong_t.
23990         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23991         <bits/wordsize.h>.
23992         (msgqnum_t): Use __syscall_ulong_t.
23993         (msglen_t): Likewise.
23994         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23995         __syscall_ulong_t.
23997         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23998         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24000         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24002         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24003         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24005         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24006         __syscall_slong_t.
24008         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24009         include <bits/wordsize.h>.  Check __x86_64__ instead of
24010         __WORDSIZE.
24012         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24013         "unsigned long long int" if __x86_64__ is defined.
24014         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24016         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24017         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24018         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24020         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24021         <stdint.h>.
24022         (GET_PC): Cast to uintptr_t first.
24023         (GET_FRAME): Likewise.
24024         (GET_STACK): Likewise.
24026         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24028         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24030         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24032         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24033         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24034         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24035         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24037         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24040         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24041         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24044         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24045         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24046         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24047         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24049         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24051         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24053         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24054         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24056 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24058         * Makerules (+depfiles): Also collect depfiles from .oS in
24059         $(extra-objs).
24060         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24061         .oS, $(libnldbl-routines)).
24063         * Makerules (native-compile-mkdep-flags): Define.
24064         * sunrpc/Makefile (extra-objs): Add $(addprefix
24065         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24066         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24067         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24068         calling $(make-target-directory).
24070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24072         * bits/types.h (__snseconds_t): Removed.
24073         * time/time.h (struct timespec): Replace __snseconds_t with
24074         __syscall_slong_t.
24075         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24076         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24077         Likewise.
24078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24079         (__SNSECONDS_T_TYPE): Likewise.
24080         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24081         (__SNSECONDS_T_TYPE): Likewise.
24082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24083         (__SNSECONDS_T_TYPE): Likewise.
24085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24087         * sysdeps/mach/hurd/bits/typesizes.h
24088         (__SYSCALL_SLONG_TYPE): New macro.
24089         (__SYSCALL_ULONG_TYPE): Likewise.
24091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24093         * bits/types.h (__syscall_slong_t): New type.
24094         (__syscall_ulong_t): Likewise.
24096         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24097         (__SYSCALL_ULONG_TYPE): Likewise.
24098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24099         (__SYSCALL_SLONG_TYPE): Likewise.
24100         (__SYSCALL_ULONG_TYPE): Likewise.
24101         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24102         (__SYSCALL_SLONG_TYPE): Likewise.
24103         (__SYSCALL_ULONG_TYPE): Likewise.
24104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24105         (__SYSCALL_SLONG_TYPE): Likewise.
24106         (__SYSCALL_ULONG_TYPE): Likewise.
24108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24110         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24111         Add sigaltstack-offsets.sym.
24112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24113         <sigaltstack-offsets.h>.
24114         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24115         longjmp_msg pointer.
24116         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24117         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24118         signal stack.
24119         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24121 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24123         * elf/stackguard-macros.h: Remove file.
24124         * sysdeps/generic/stackguard-macros.h: New file.
24125         * sysdeps/i386/stackguard-macros.h: Likewise.
24126         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24127         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24129         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24130         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24131         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24132         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24133         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24134         <elf/stackguard-macros.h>.
24136         [BZ #14109]
24137         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24138         __aligned__ in attribute.
24139         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24140         (gregset_t): Likewise.
24142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24144         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24145         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24146         * sysdeps/x86_64/x32/Implies-after: New file.
24148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24150         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24151         and access return value for _dl_profile_fixup.  Use R10_LP to
24152         load frame size.
24154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24156         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24160         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24161         * sysdeps/x86_64/x32/sysdep.h: New file.
24163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24165         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24166         * sysdeps/x86_64/setjmp.S: Likewise.
24168 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24170         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24171         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24172         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24173         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24174         remove unused global constant.
24176 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24178         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24179         include of <not-cancel.h>.
24181 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24183         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24185 2012-05-15  Jeff Law  <law@redhat.com>
24186             Andreas Jaeger  <aj@suse.de>
24188         [BZ #13594]
24189         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24190         out from...
24191         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24192         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24193         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24194         code changing __hst_map_handle.map.
24196 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24198         * configure.in (sysnames): Look for Implies-before and Implies-after
24199         files.
24200         * configure: Regenerated.
24202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24204         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24205         8-byte data alignment with LP_SIZE alignment.
24207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24209         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24210         into R10_LP.
24212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24214         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24218         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24219         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24220         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24221         Likewise.
24222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24226         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24227         (stackinfo_sub_sp): Likewise.
24229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24231         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24232         RAX_LP.
24234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24236         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24237         into R*_LP.
24239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24241         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24242         sizes into R*_LP.
24244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24246         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24250         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24251         into R11_LP and load __x86_64_shared_cache_size_half into
24252         R8_LP.
24254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24256         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24257         R8_LP.
24259 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24262         logb for POWER7.
24263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24264         logbf for POWER7.
24265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24266         logbl for POWER7.
24267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24268         powerpc32/power7/fpu/s_logb.c via #include.
24269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24270         powerpc32/power7/fpu/s_logbf.c via #include.
24271         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24272         powerpc32/power7/fpu/s_logbl.c via #include.
24274 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24276         * README.libm: Remove file.
24278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24280         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24281         count for x32.  Use R*_LP and omit operand-size suffix.
24283 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24285         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24286         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24287         * sysdeps/x86_64/x32/shlib-versions: New file.
24289 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24291         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24292         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24293         Use _dl_fatal_printf instead.
24295 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24297         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24298         set if not set by the user.  Do not allow for being unset.
24299         * sysdeps/unix/sysv/linux/configure: Regenerated.
24301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24303         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24304         the `q' suffix from lea and replace .quad with ASM_ADDR.
24306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24309         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24310         instead of $17.
24311         (PTR_DEMANGLE): Likewise.
24313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24315         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24316         (LP_OP): Likewise.
24317         (ASM_ADDR): Likewise.
24318         (RAX_LP): Likewise.
24319         (RBP_LP): Likewise.
24320         (RBX_LP): Likewise.
24321         (RCX_LP): Likewise.
24322         (RDI_LP): Likewise.
24323         (RSI_LP): Likewise.
24324         (RSP_LP): Likewise.
24325         (R8_LP): Likewise.
24326         (R9_LP): Likewise.
24327         (R10_LP): Likewise.
24328         (R10_LP): Likewise.
24329         (R11_LP): Likewise.
24330         (R12_LP): Likewise.
24331         (R13_LP): Likewise.
24332         (R14_LP): Likewise.
24333         (R15_LP): Likewise.
24335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24337         * sysdeps/x86_64/x32/dl-machine.h: New file.
24339 2012-05-14  Andreas Jaeger  <aj@suse.de>
24341         * manual/Makefile (subdir): Remove export of subdir.
24342         (all): Remove target.
24343         (.PHONY): Remove all from list.
24344         (mkinstalldirs): Remove.
24345         (.PHONY): Remove installdirs from list.
24346         ($(inst_infodir)/libc.info): Use make-target-directory.
24347         (installdirs): Remove.
24348         (subdir_%): Remove.
24349         (glibc-targets): Remove.
24350         (lib): Remove.
24351         (stubs): Remove.
24352         ($(objpfx)stubs ../po/manual.pot): Remove.
24353         ($(objpfx)stamp%): Remove.
24354         (make-target-directory): Remove.
24355         (subdir_install): Remove.
24356         (routines): Remove.
24357         (aux): Remove.
24358         (sources): Remove.
24359         (objects): Remove.
24360         (headers): Remove.
24362         [BZ #13750]
24363         * manual/.gitignore: Remove, it's not needed anymore.
24364         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24365         all files in it.
24366         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24367         directory.
24368         (texis): Renamed to $(objpfx)texis.
24369         (texis-path): New, contains path to generated files.
24370         (chapters.%): Use texis-path for complete path, add extra argument
24371         libc-texinfo.sh.
24372         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24373         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24374         (summary,texi, stamp-summary): Use complete path of
24375         files. Generate files in build dir.
24376         (dir-add.texi): Build in build dir.
24377         (libm-err.texi,stamp-libm-err): Likewise.
24378         (version.texi, stamp-version): Likewise.
24379         (.%c.texi): Likewise.
24380         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24381         (mostlyclean): Remove target.
24382         (realclean): Remove target.
24383         (generated): Add new variable with contents from mostlyclean and
24384         realclean, remove entries duplicated in common-mostlyclean, add
24385         stamp-libm-err and stamp-version.
24386         (generated-dirs): Add libc directory.
24387         ($(inst_infodir)/libc.info): Install files from build dir.
24389         * manual/install.texi (Configuring and compiling): Adjust since
24390         the info files are not part of the tar ball anymore.
24392 2012-05-14  Andreas Jaeger  <aj@suse.de>
24394         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24395         variable.
24397 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24399         [BZ #13717]
24400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24401         to 2.2.0 where earlier.
24402         * sysdeps/unix/sysv/linux/configure: Regenerated.
24403         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24404         Remove conditional code.
24405         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24406         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24407         Remove conditional code.
24408         [!__NR_lchown]: Likewise.
24409         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24410         [__NR_lchown]: Likewise.
24411         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24412         comment referencing __ASSUME_LCHOWN_SYSCALL.
24413         * sysdeps/unix/sysv/linux/i386/sigaction.c
24414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24416         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24417         Remove conditional code.
24418         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24419         (__protocol_available): Remove #if 0 code.
24420         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24421         conditional code.
24422         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24423         * sysdeps/unix/sysv/linux/kernel-features.h
24424         (__ASSUME_GETCWD_SYSCALL): Don't define.
24425         (__ASSUME_REALTIME_SIGNALS): Likewise.
24426         (__ASSUME_PREAD_SYSCALL): Likewise.
24427         (__ASSUME_PWRITE_SYSCALL): Likewise.
24428         (__ASSUME_POLL_SYSCALL): Likewise.
24429         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24430         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24431         non-SPARC.
24432         (__ASSUME_SIOCGIFNAME): Don't define.
24433         (__ASSUME_MSG_NOSIGNAL): Likewise.
24434         (__ASSUME_SENDFILE): Define unconditionally.
24435         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24436         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24437         conditional code.
24438         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24439         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24440         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24441         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24442         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24443         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24444         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24446         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24449         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24452         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24458         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24461         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24467         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24469         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24470         Remove conditional code.
24471         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24472         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24473         Remove conditional code.
24474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24475         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24476         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24477         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24478         Remove conditional code.
24479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24480         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24481         Remove conditional code.
24482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24483         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24484         Remove conditional code.
24485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24486         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24487         Remove conditional code.
24488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24489         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24490         Remove conditional code.
24491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24492         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24495         * sysdeps/unix/sysv/linux/sigaction.c
24496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24498         * sysdeps/unix/sysv/linux/sigpending.c
24499         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24500         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24501         * sysdeps/unix/sysv/linux/sigprocmask.c
24502         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24503         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24504         * sysdeps/unix/sysv/linux/sigsuspend.c
24505         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24506         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24507         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24508         (__libc_missing_rt_sigs): Remove.
24509         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24510         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24511         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24512         Remove conditional code.
24513         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24514         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24515         return 1.
24516         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24517         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24518         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24519         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24521 2012-05-14  Andreas Jaeger  <aj@suse.de>
24523         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24524         it's not used in glibc.
24525         (__coshm1): Likewise.
24526         (__acosh1p): Likewise.
24527         (__sgn): Likewise.
24529         * manual/string.texi (Copying and Concatenation): Add missing
24530         variable in concat example.
24531         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24535         [BZ #14103]
24536         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24537         __builtin_clzl with __builtin_clzll.
24539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24541         [BZ #14104]
24542         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24543         libc_freeres_ptr.
24545 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24547         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24548         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24549         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24550         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24552 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24554         * NEWS: Update ia64 info.
24556 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24558         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24559         used as bcopy.
24561 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24563         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24564         * sysdeps/unix/syscalls.list (dup3): Likewise.
24565         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24566         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24568 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24570         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24571         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24573 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24575         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24576         thread pointer.
24577         (TLS_IE): Use mov/add instead of movq/addq to load thread
24578         pointer.
24579         (TLS_GD_PREFIX): New.
24580         (TLS_GD): Use it.
24582 2012-05-11  David S. Miller  <davem@davemloft.net>
24584         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24585         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24586         (_FPU_SETCW): Likewise.
24588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24590         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24591         is 32-byte aligned.
24593 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24595         [BZ #11837]
24596         * iconvdata/gb18030.c: Update tables.
24597         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24598         characters specially.
24599         (BODY for TO_LOOP): Add encoding of missing ranges.
24601 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24603         [BZ #13673]
24604         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24605         * sysdeps/mach/hurd/dup3.c: Likewise.
24606         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24607         * sysdeps/powerpc/memmove.c:: Likewise.
24609 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24612         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24614 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24616         * elf/elf.h (R_X86_64_RELATIVE64): New.
24617         (R_X86_64_NUM): Updated.
24618         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24619         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24620         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24621         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24622         tst-quad1pie tst-quad2pie
24623         (modules-names): Add tst-quadmod1 tst-quadmod2.
24624         ($(objpfx)tst-quad1): New dependency.
24625         ($(objpfx)tst-quad2): Likewise.
24626         ($(objpfx)tst-quad1pie): Likewise.
24627         ($(objpfx)tst-quad2pie): Likewise.
24628         * sysdeps/x86_64/tst-quad1.c: New file.
24629         * sysdeps/x86_64/tst-quad1pie.c: New file.
24630         * sysdeps/x86_64/tst-quad2.c: Likewise.
24631         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24632         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24633         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24634         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24635         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24639         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24640         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24641         * streams/stropts.h (t_scalar_t): Define type.
24643         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24644         (_PATH_PRESERVE): Set to "/var/lib".
24645         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24647         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24648         instead of int.
24650         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24651         if __dir_mkfile succeeded.
24653         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24654         checking for _hurd_dtablesize.  Unlock it right after having
24655         finished _hurd_dtable allocation.
24657 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24659         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24660         * sysdeps/mach/hurd/configure: Regenerated.
24661         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24662         special-casing to...
24663         * sysdeps/gnu/configure.in: ... this new file.
24664         * sysdeps/unix/sysv/linux/configure: Regenerated.
24665         * sysdeps/gnu/configure: New generated file.
24667         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24668         for Linux: use nsec instead of usec, as well as:
24669         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24670         members of type struct timespec.
24671         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24672         New macros.
24673         (struct stat64): Likewise.
24674         (_STATBUF_ST_NSEC): New macro.
24675         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24677         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24678         __strtoul_internal rather than strtoul.
24680 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24682         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24683         and reject them.
24685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24687         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24688         which preserves existing values.
24689         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24691 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24693         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24694         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24695         greater than FD_SETSIZE.
24697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24699         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24700         allocated, call __vm_protect to finish enabling the existing space, and
24701         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24702         allocate the remainder.
24704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24706         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24707         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24709 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24711         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24712         sysdeps/mach/hurd/readlink.c.
24714         * posix/tst-sysconf.c (posix_options): Only use
24715         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24716         _POSIX_SYNCHRONIZED_IO when they are defined
24717         * sysdeps/mach/hurd/bits/posix_opt.h:
24718         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24719         (_XOPEN_REALTIME): Undefine macro.
24720         (_XOPEN_REALTIME_THREADS): Undefine macro.
24721         (_XOPEN_SHM): Undefine macro.
24722         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24723         macro to -1.
24724         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24725         macro to -1.
24726         (_POSIX_ASYNC_IO): Undefine macro.
24727         (_POSIX_PRIORITIZED_IO): Undefine macro.
24728         (_POSIX_SPIN_LOCKS): Define macro to -1.
24730         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24731         SA_NODEFER, SA_RESETHAND.
24732         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24733         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24734         F_DUPFD_CLOEXEC.
24736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24738         * elf/Makefile (pldd-modules): Define unconditionally.
24740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24742         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24746         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24747         Return ENOENT when name is empty.
24748         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24752         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24754         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24758         Fix mlock in all cases except non-readable pages.
24759         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24760         instead of VM_PROT_ALL as parameter to __vm_wire function.
24762         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24763         (__mkdir): When path is `/', just fail with EEXIST.
24764         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24768         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24769         <sys/uio.h> (for writev).
24770         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24771         and <sys/param.h> (for MIN).
24773 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24775         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24776         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24777         if interrupted.
24779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24781         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24782         Depend on against $(link-rpcuserlibs).
24784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24786         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24787         (__libc_stack_end): Do not use attribute_relro.
24788         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24789         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24790         to libthread-provided value.
24791         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24792         attribute_relro.
24794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24796         [BZ #3748]
24797         * bits/libc-lock.h (__libc_once_get): New macro.
24798         * sysdeps/mach/bits/libc-lock.h: Likewise.
24799         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24801         instead of using implementation details.
24803         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24804         * libio/freopen.c: Likewise.
24805         * libio/freopen64.c: Likewise.
24806         * misc/syslog.c: Likewise.
24807         * nscd/connections.c: Likewise.
24808         * nscd/netgroupcache.c: Likewise.
24809         * sysdeps/posix/getcwd.c: Likewise.
24811 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24813         * math/w_ilogbf.c: Add #include <limits.h>.
24815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24817         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24818         path instead of returning without unlocking.
24820         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24821         immediate-write ioctls.
24822         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24826         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24827         __builtin_frame_address instead of making assumptions about the
24828         location of the return address relative to DATA.  Force early load of
24829         the return address.
24830         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24831         __builtin_frame_address.
24833         dup3 for GNU Hurd.
24834         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24835         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24836         implement dup3 and do some further code clean-ups.
24837         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24838         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24842         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24844         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24845         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24846         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24847         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24848         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24849         d->port.lock.
24851         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24852         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24853         when handler == SIG_ERR, not when handler != SIG_ERR.
24855 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24857         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24858         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24859         definitions.
24861         accept4 for GNU Hurd.
24862         * include/sys/socket.h (__libc_accept4): New prototype.
24863         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24864         to implement __libc_accept4.
24865         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24866         __libc_accept4.
24867         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24870         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24871         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24872         signal-defines.sym.
24874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24876         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24880         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24881         assertion on O_CLOEXEC flag.
24882         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24883         * hurd/intern-fd.c: Likewise.
24884         * hurd/port2fd.c: Likewise.
24886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24888         [BZ #3906]
24889         * bits/in.h (IPV6_PKTINFO): Define new macro.
24890         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24892 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24894         [BZ #13954]
24895         [BZ #13955]
24896         [BZ #13956]
24897         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24899         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24900         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24902         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24903         * math/libm-test.inc (logb_test) : Additional logb tests.
24905 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24906             Andreas Jaeger  <aj@suse.de>
24908         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24909         * configure: Regenerated.
24910         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24911         * config.make.in (link-obsolete-rpc): New substituted variable.
24912         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24913         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24914         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24915         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24916         so that libc.a contains the symbols.
24917         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24918         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24919         * sunrpc/auth_none.c: Likewise.
24920         * sunrpc/auth_unix.c: Likewise.
24921         * sunrpc/authdes_prot.c: Likewise.
24922         * sunrpc/authuxprot.c: Likewise.
24923         * sunrpc/clnt_gen.c: Likewise.
24924         * sunrpc/clnt_perr.c: Likewise.
24925         * sunrpc/clnt_raw.c: Likewise.
24926         * sunrpc/clnt_simp.c: Likewise.
24927         * sunrpc/clnt_tcp.c: Likewise.
24928         * sunrpc/clnt_udp.c: Likewise.
24929         * sunrpc/clnt_unix.c: Likewise.
24930         * sunrpc/des_crypt.c: Likewise.
24931         * sunrpc/des_soft.c: Likewise.
24932         * sunrpc/get_myaddr.c: Likewise.
24933         * sunrpc/key_call.c: Likewise.
24934         * sunrpc/key_prot.c: Likewise.
24935         * sunrpc/netname.c: Likewise.
24936         * sunrpc/pm_getmaps.c: Likewise.
24937         * sunrpc/pm_getport.c: Likewise.
24938         * sunrpc/pmap_clnt.c: Likewise.
24939         * sunrpc/pmap_prot.c: Likewise.
24940         * sunrpc/pmap_prot2.c: Likewise.
24941         * sunrpc/pmap_rmt.c: Likewise.
24942         * sunrpc/publickey.c: Likewise.
24943         * sunrpc/rpc_cmsg.c: Likewise.
24944         * sunrpc/rpc_common.c: Likewise.
24945         * sunrpc/rpc_dtable.c: Likewise.
24946         * sunrpc/rpc_prot.c: Likewise.
24947         * sunrpc/rpc_thread.c: Likewise.
24948         * sunrpc/rtime.c: Likewise.
24949         * sunrpc/svc.c: Likewise.
24950         * sunrpc/svc_auth.c: Likewise.
24951         * sunrpc/svc_raw.c: Likewise.
24952         * sunrpc/svc_run.c: Likewise.
24953         * sunrpc/svc_tcp.c: Likewise.
24954         * sunrpc/svc_udp.c: Likewise.
24955         * sunrpc/svc_unix.c: Likewise.
24956         * sunrpc/svcauth_des.c: Likewise.
24957         * sunrpc/xcrypt.c: Likewise.
24958         * sunrpc/xdr.c: Likewise.
24959         * sunrpc/xdr_array.c: Likewise.
24960         * sunrpc/xdr_float.c: Likewise.
24961         * sunrpc/xdr_intXX_t.c: Likewise.
24962         * sunrpc/xdr_mem.c: Likewise.
24963         * sunrpc/xdr_rec.c: Likewise.
24964         * sunrpc/xdr_ref.c: Likewise.
24965         * sunrpc/xdr_sizeof.c: Likewise.
24966         * sunrpc/xdr_stdio.c: Likewise.
24968 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24970         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24971         change.  Update copyright years.
24973 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24975         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24977 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24978             Joseph Myers  <joseph@codesourcery.com>
24979             Paul Pluzhnikov  <ppluzhnikov@google.com>
24981         [BZ #14012]
24982         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24983         requiring rpcgen.
24984         [cross-compiling] (extra-libs): Likewise.
24985         [cross-compiling] (extra-libs-others): Likewise.
24986         [cross-compiling] (librpcsvc-routines): Likewise.
24987         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24988         [cross-compiling] (omit-deps): Likewise.
24989         (sunrpc-CPPFLAGS): New variable.
24990         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24991         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24992         (cross-rpcgen-objs): New variable.
24993         (extra-objs): Append $(cross-rpcgen-objs).
24994         ($(cross-rpcgen-objs)): New rule.
24995         ($(objpfx)cross-rpcgen): Likewise.
24996         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24997         comment.
24998         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24999         ($(objpfx)x%.stmp): Likewise.
25000         * sunrpc/proto.h [IS_IN_build] (_): Define.
25001         [IS_IN_build] (_libc_intl_domainname): Likewise.
25003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25006         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25007         and R_X86_64_TPOFF64.
25009 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25011         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25012         sysdeps/unix/sysv/syscalls.list.
25013         (stime): Likewise.
25014         (utime): Likewise.
25015         * sysdeps/unix/sysv/syscalls.list: Remove file.
25017 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25019         [BZ #3440]
25020         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25021         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25022         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25023         (__LC_IDENTIFICATION): Make these macros useful in #if
25024         expressions, as required by C99.
25026 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25028         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25029         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25030         after this.
25032 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25034         * stdlib/longlong.h: Updated from GCC.
25036 2012-05-09  Andreas Jaeger  <aj@suse.de>
25038         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25039         default is first entry.
25040         (run_mode): Set type.
25041         (main): Remove informal message about syslog.
25042         (options): Fix typo.
25044         [BZ #14053]
25045         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25046         to asm.
25047         (lrint): Likewise.
25048         (llrintf): Likewise.
25049         (llrint): Likewise.
25050         (rint): Likewise.
25051         (rintf): Likewise.
25052         (nearbyint): Likewise.
25053         (nearbyintf): Likewise.
25055 2012-05-09  Andreas Jaeger  <aj@suse.de>
25056             Pedro Alves  <palves@redhat.com>
25058         * nscd/nscd.c (run_mode): Use enum.
25059         (main): Cleanup coding style issue.
25061 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25062             Andreas Jaeger  <aj@suse.de>
25064         * nscd/nscd.c (go_background): Replaced with...
25065         (run_mode): ... this.
25066         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25067         (options): Add -F --foreground.
25068         (main): Implement it.
25069         (parse_opt): Parse it.
25071 2012-05-09  Andreas Jaeger  <aj@suse.de>
25073         [BZ #14083]
25074         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25075         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25076         -Wconversion warning.
25077         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25078         Likewise.
25080 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25082         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25083         == 0.
25084         (LC_ALL): Use macro-int-constant.
25085         (LC_COLLATE): Likewise.
25086         (LC_CTYPE): Likewise.
25087         (LC_MESSAGES): Likewise.
25088         (LC_MONETARY): Likewise.
25089         (LC_NUMERIC): Likewise.
25090         (LC_TIME): Likewise.
25091         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25092         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25093         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25094         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25095         Specify type.
25096         [C99-based standards] (float_t): Expect type.
25097         [C99-based standards] (double_t): Expect type.
25098         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25099         type.
25100         [C99-based standards] (HUGE_VALL): Likewise.
25101         [C99-based standards] (INFINITY): Likewise.
25102         [C99-based standards] (NAN): Likewise.
25103         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25104         [C99-based standards] (FP_NAN): Likewise.
25105         [C99-based standards] (FP_NORMAL): Likewise.
25106         [C99-based standards] (FP_SUBNORMAL): Likewise.
25107         [C99-based standards] (FP_ZERO): Likewise.
25108         [C99-based standards] (FP_FAST_FMA): Use
25109         optional-macro-int-constant.  Specify type.  Require == 1.
25110         [C99-based standards] (FP_FAST_FMAF): Likewise.
25111         [C99-based standards] (FP_FAST_FMAL): Likewise.
25112         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25113         [C99-based standards] (FP_ILOGBNAN): Likewise.
25114         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25115         Specify type.
25116         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25117         [C99-based standards] (math_errhandling): Specify type.
25118         [ISO99 || ISO11] (signgam): Do not allow.
25119         [non-C99-based standards] (copysignf): Do not allow.
25120         [non-C99-based standards] (exp2f): Likewise.
25121         [non-C99-based standards] (log2f): Likewise.
25122         [non-C99-based standards] (modff): Allow.
25123         [non-C99-based standards] (erff): Do not allow.
25124         [non-C99-based standards] (erfcf): Likewise.
25125         [non-C99-based standards] (gammaf): Likewise.
25126         [non-C99-based standards] (hypotf): Likewise.
25127         [non-C99-based standards] (j0f): Likewise.
25128         [non-C99-based standards] (j1f): Likewise.
25129         [non-C99-based standards] (jnf): Likewise.
25130         [non-C99-based standards] (lgammaf): Likewise.
25131         [non-C99-based standards] (tgammaf): Likewise.
25132         [non-C99-based standards] (y0f): Likewise.
25133         [non-C99-based standards] (y1f): Likewise.
25134         [non-C99-based standards] (ynf): Likewise.
25135         [non-C99-based standards] (isnanf): Likewise.
25136         [non-C99-based standards] (acoshf): Likewise.
25137         [non-C99-based standards] (asinhf): Likewise.
25138         [non-C99-based standards] (atanhf): Likewise.
25139         [non-C99-based standards] (cbrtf): Likewise.
25140         [non-C99-based standards] (expm1f): Likewise.
25141         [non-C99-based standards] (ilogbf): Likewise.
25142         [non-C99-based standards] (log1pf): Likewise.
25143         [non-C99-based standards] (logbf): Likewise.
25144         [non-C99-based standards] (nextafterf): Likewise.
25145         [non-C99-based standards] (remainderf): Likewise.
25146         [non-C99-based standards] (rintf): Likewise.
25147         [non-C99-based standards] (scalbf): Likewise.
25148         [non-C99-based standards] (copysignl): Likewise.
25149         [non-C99-based standards] (exp2l): Likewise.
25150         [non-C99-based standards] (log2l): Likewise.
25151         [non-C99-based standards] (modfl): Allow.
25152         [non-C99-based standards] (erfl): Do not allow.
25153         [non-C99-based standards] (erfcl): Likewise.
25154         [non-C99-based standards] (gammal): Likewise.
25155         [non-C99-based standards] (hypotl): Likewise.
25156         [non-C99-based standards] (j0l): Likewise.
25157         [non-C99-based standards] (j1l): Likewise.
25158         [non-C99-based standards] (jnl): Likewise.
25159         [non-C99-based standards] (lgammal): Likewise.
25160         [non-C99-based standards] (tgammal): Likewise.
25161         [non-C99-based standards] (y0l): Likewise.
25162         [non-C99-based standards] (y1l): Likewise.
25163         [non-C99-based standards] (ynl): Likewise.
25164         [non-C99-based standards] (isnanl): Likewise.
25165         [non-C99-based standards] (acoshl): Likewise.
25166         [non-C99-based standards] (asinhl): Likewise.
25167         [non-C99-based standards] (atanhl): Likewise.
25168         [non-C99-based standards] (cbrtl): Likewise.
25169         [non-C99-based standards] (expm1l): Likewise.
25170         [non-C99-based standards] (ilogbl): Likewise.
25171         [non-C99-based standards] (log1pl): Likewise.
25172         [non-C99-based standards] (logbl): Likewise.
25173         [non-C99-based standards] (nextafterl): Likewise.
25174         [non-C99-based standards] (remainderl): Likewise.
25175         [non-C99-based standards] (rintl): Likewise.
25176         [non-C99-based standards] (scalbl): Likewise.
25177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25178         [non-C99-based standards] (FP_*): Do not allow.
25179         [C99-based standards] (FP_*): Change to
25180         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25181         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25182         allow.
25183         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25184         (SIG_ERR): Likewise.
25185         [X/Open-based standards] (SIG_HOLD): Likewise.
25186         (SIG_IGN): Likewise.
25187         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25188         positive value.
25189         (SIGFPE): Likewise.
25190         (SIGILL): Likewise.
25191         (SIGINT): Likewise.
25192         (SIGSEGV): Likewise.
25193         (SIGTER): Likewise.
25194         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25195         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25196         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25197         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25198         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25199         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25200         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25201         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25202         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25203         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25204         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25205         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25206         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25207         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25208         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25209         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25210         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25211         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25212         [X/Open-based standards] (SIGTRAP): Likewise.
25213         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25214         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25215         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25216         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25217         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25218         allow.
25220 2012-05-08  Ian Wienand  <ianw@vmware.com>
25222         [BZ #14080]
25223         * time/tzset.c (__tzset_parse_tz): Update default rules for
25224         daylight time changes in the Energy Policy Act of 2005.
25226 2012-05-09  Andreas Jaeger  <aj@suse.de>
25228         [BZ #13983]
25229         * elf/ldconfig.c (parse_conf): Change string to make clear that
25230         ldconfig only issued a warning if ld.so.conf does not exist.
25232 2012-05-08  David S. Miller  <davem@davemloft.net>
25234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25235         movxtod instead of popping the value on the stack.
25237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25239 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25241         * config.h.in: Add HAVE_ARM_PCS_VFP.
25243 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25245         [BZ #13979]
25246         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25247         checking but the checks are disabled for any reason.
25249 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25251         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25252         and ELF64_R_TYPE with ELFW(R_TYPE).
25254 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25256         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25257         (ulimit): Likewise.
25259         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25260         (settimeofday): Likewise.
25262 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25264         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25265         a struct th_u2 inside the union, and move tu_block/tu_code into
25266         a new th_u3 union of tu_block/tu_code inside of that.  Move
25267         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25268         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25269         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25270         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25271         (th_stuff): Change to th_u1.tu_stuff.
25272         (th_data): Define.
25273         (th_msg): Change to th_u1.th_u2.tu_data.
25275 2012-05-07  David S. Miller  <davem@davemloft.net>
25277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25279         [BZ #14074]
25280         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25281         (SETUP_PIC_REG): Use it.
25282         (SETUP_PIC_REG_LEAF): Use it.
25284 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25286         [BZ #13885]
25287         [BZ #13923]
25288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25289         USE_AS_EXPM1L.
25290         (EXPL_FINITE): Likewise.
25291         (FLDLOG): Likewise.
25292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25293         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25294         e_expl.S.
25295         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25296         USE_AS_EXPM1L.
25297         (EXPL_FINITE): Likewise.
25298         (FLDLOG): Likewise.
25299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25300         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25301         e_expl.S.
25302         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25303         test of -max_value argument for long double.
25304         * sysdeps/i386/fpu/libm-test-ulps: Update.
25305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25307 2012-05-06  David S. Miller  <davem@davemloft.net>
25309         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25310         quad soft-float symbols whose references which are compiler
25311         generated.
25312         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25314 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25316         [BZ #13884]
25317         [BZ #13914]
25318         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25319         USE_AS_EXP10L.
25320         (EXPL_FINITE): Likewise.
25321         (FLDLOG): Likewise.
25322         (c0): Likewise.
25323         (c1): Likewise.
25324         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25325         Adjust comments for base varying.
25326         (__expl_finite): Change alias to EXPL_FINITE.
25327         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25328         e_expl.S.
25329         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25330         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25331         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25332         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25334         USE_AS_EXP10L.
25335         (EXPL_FINITE): Likewise.
25336         (FLDLOG): Likewise.
25337         (c0): Likewise.
25338         (c1): Likewise.
25339         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25340         Adjust comments for base varying.
25341         (__expl_finite): Change alias to EXPL_FINITE.
25342         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25343         tests for bugs.
25344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25346         [BZ #14064]
25347         * math/libm-test.inc (check_float_internal): Correct ulp
25348         calculation for subnormal expected results.
25350 2012-05-06  Andreas Jaeger  <aj@suse.de>
25352         * Makeconfig (+math-flags): New, set to -frounding-math.
25353         (+cflags): Add +math-flags so that all of glibc gets compiled with
25354         it.
25356         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25358 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25360         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25361         Disable one test.
25363         [BZ #13787]
25364         [BZ #13922]
25365         [BZ #14036]
25366         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25367         (__ieee754_expl): Allow for and saturate large arguments.
25368         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25369         (u_threshold): Likewise.
25370         (__exp): Call __ieee754_exp before checking for overflow and
25371         underflow.
25372         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25373         (u_threshold): Likewise.
25374         (__expf): Call __ieee754_expf before checking for overflow and
25375         underflow.
25376         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25377         (u_threshold): Likewise.
25378         (__expl): Call __ieee754_expl before checking for overflow and
25379         underflow.
25380         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25381         (__ieee754_expl): Allow for and saturate large arguments.
25382         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25383         missing overflow exception on overflow.
25384         (expm1_test): Do not allow missing overflow exception on overflow.
25386         * sysdeps/i386/fpu/e_expl.c: Move to ...
25387         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25388         rather than using inline asm.
25389         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25390         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25391         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25393         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25394         (nice): Likewise.
25395         (poll): Likewise.
25396         (signal): Likewise.
25397         (time): Likewise.
25398         (times): Likewise.
25400 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25402         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25403         sysdeps/unix/common/syscalls.list.
25404         (fchmod): Likewise.
25405         (fchown): Likewise.
25406         (ftruncate): Likewise.
25407         (getrusage): Likewise.
25408         (gettimeofday): Likewise.
25409         (setpgid): Likewise.
25410         (setregid): Likewise.
25411         (setreuid): Likewise.
25412         (sigaction): Likewise.
25413         (truncate): Likewise.
25414         (vhangup): Likewise.
25415         * sysdeps/unix/common/syscalls.list: Remove file.
25416         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25417         * sysdeps/unix/sysv/linux/Implies: Likewise.
25419 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25421         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25423         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25424         Moved to ...
25425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25426         Here.
25427         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25428         to ...
25429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25430         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25431         to ...
25432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25433         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25434         to ...
25435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25436         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25437         to ...
25438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25439         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25440         to ...
25441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25442         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25443         to ...
25444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25445         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25446         to ...
25447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25448         Here.
25449         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25450         to ...
25451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25452         Here.
25453         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25454         to ...
25455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25456         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25457         Moved to ...
25458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25459         Here.
25460         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25461         to ...
25462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25464 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25466         * sysdeps/unix/common/bits/dirent.h: Remove file.
25467         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25469         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25470         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25471         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25472         * sysdeps/unix/bsd/isatty.c: Likewise.
25473         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25474         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25475         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25477 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25479         [BZ #13563]
25480         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25481         long double comparison inaccuracies.
25482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25485 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25487         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25488         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25490 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25492         [BZ #14049]
25493         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25494         nonzero digits before rounding a hex value.
25495         * stdlib/tst-strtod.c (tests): Add another test.
25497 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25499         * sysdeps/s390/fpu/libm-test-ulps: Update.
25501 2012-05-03  Andreas Jaeger  <aj@suse.de>
25503         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25504         does not get optimized out.
25505         (malloc_opt_barrier): New.
25507 2012-05-03  Andreas Jaeger  <aj@suse.de>
25508             Roland McGrath  <roland@hack.frob.com>
25510         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25511         intermediate file deletion.
25512         (generated): Add .symlist files.
25514 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25516         [BZ #13775]
25517         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25518         Redirect under this condition.
25519         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25520         [__USE_GNU] (__dprintf_chk): Not under this condition.
25521         [__USE_GNU] (__vdprintf_chk): Likewise.
25522         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25523         under this condition.
25524         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25525         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25526         [__USE_XOPEN2K8] (vdprintf): Likewise.
25527         [__USE_GNU] (__dprintf_chk): Not under this condition.
25528         [__USE_GNU] (__vdprintf_chk): Likewise.
25529         [__USE_GNU] (dprintf): Likewise.
25530         [__USE_GNU] (vdprintf): Likewise.
25532 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25534         * elf/Makefile (common-generated): Set this instead of generated for
25535         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25536         $(all-built-dso)-derived lists.
25538 2012-05-03  Andreas Jaeger  <aj@suse.de>
25540         * sysdeps/i386/fpu/libm-test-ulps: Update.
25542         * FAQ: Removed.
25543         * FAQ.in: Likewise.
25544         * scripts/gen-FAQ.pl: Likewise.
25545         * manual/install.texi (Installation): Point to online location of
25546         FAQ.
25547         * Makefile (files-for-dist): Remove FAQ.
25548         (FAQ): Remove.
25550 2012-05-02  Allan McRae  <allan@archlinux.org>
25552         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25553         (LDFLAGS-reldepmod5.so): Likewise.
25554         (LDFLAGS-reldep6mod1.so): Likewise.
25555         (LDFLAGS-reldep6mod4.so): Likewise.
25556         (LDFLAGS-reldep8mod3.so): Likewise.
25557         (LDFLAGS-unload4mod1.so): Likewise.
25558         (LDFLAGS-unload4mod2.so): Likewise.
25559         (LDFLAGS-tst-initorder): Likewise.
25560         (LDFLAGS-tst-initordera2.so): Likewise.
25561         (LDFLAGS-tst-initordera3.so): Likewise.
25562         (LDFLAGS-tst-initordera4.so): Likewise.
25563         (LDFLAGS-tst-initorderb2.so): Likewise.
25564         (LDFLAGS-noload): Likewise.
25565         (LDFLAGS-next): Likewise.
25566         (LDFLAGS-order2mod1.so): Likewise.
25567         (LDFLAGS-order2mod2.so): Likewise.
25568         (LDFLAGS-tst-initorder2): Likewise.
25569         (LDFLAGS-tst-initorder2a.so): Likewise.
25570         (LDFLAGS-tst-initorder2b.so): Likewise.
25571         (LDFLAGS-tst-initorder2c.so): Likewise.
25572         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25574 2012-05-02  David S. Miller  <davem@davemloft.net>
25576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25578 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25580         [BZ #14055]
25581         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25583 2012-05-02  Andreas Jaeger  <aj@suse.de>
25585         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25586         since we manipulate rounding mode.
25587         (CPPFLAGS-test-idouble.c): Likewise.
25588         (CPPFLAGS-test-ifloat.c): Likewise.
25589         (CFLAGS-test-ldouble.c): Likewise.
25590         (CFLAGS-test-double.c): Likewise.
25591         (CFLAGS-test-float.c): Likewise.
25592         (CFLAGS-test-misc.c): Likewise.
25593         (CFLAGS-test-test-fenv.c): Likewise.
25595 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25597         [BZ #2550]
25598         [BZ #2570]
25599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25600         comparisons to determine direction to adjust input.
25602 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25604         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25605         output to the target.
25607         * scripts/localplt.awk: New file.
25608         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25609         (check-localplt-CFLAGS): Variable removed.
25610         ($(all-built-dso:=.jmprel)): New static pattern rule.
25611         (generated): Add those targets.
25612         (localplt-built-dso): New variable.
25613         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25615         * elf/check-localplt.c: File removed.
25617         * scripts/check-execstack.awk: New file.
25618         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25619         (check-execstack-CFLAGS): Variable removed.
25620         ($(objpfx)check-execstack.h): Target removed.
25621         ($(objpfx)execstack-default): New target.
25622         (generated): Add that instead of check-execstack.h.
25623         ($(all-built-dso:=.phdr)): New static pattern rule.
25624         (generated): Add those targets.
25625         * elf/check-execstack.c: File removed.
25627         * scripts/check-textrel.awk: New file.
25628         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25629         (check-textrel-CFLAGS): Variable removed.
25630         (all-built-dso): Use := to define.o
25631         ($(all-built-dso:=.dyn)): New static pattern rule.
25632         (generated): Add those targets.
25633         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25634         * config.make.in (READELF): New substituted variable.
25635         * elf/check-textrel.c: File removed.
25637 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25639         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25640         allow.
25641         * conform/data/ctype.h-data [C99-based standards] (isblank):
25642         Expect function.
25643         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25644         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25646         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25647         Specify type.  Require positive value.
25648         (EILSEQ): Likewise.
25649         (ERANGE): Likewise.
25650         [ISO || POSIX] (EILSEQ): Do not expect.
25651         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25652         Specify type.  Require positive value.
25653         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25654         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25655         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25656         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25657         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25658         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25659         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25660         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25661         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25662         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25663         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25664         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25665         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25666         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25667         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25668         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25669         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25670         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25671         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25672         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25673         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25674         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25675         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25676         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25677         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25678         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25679         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25680         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25681         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25682         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25683         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25684         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25685         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25686         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25687         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25688         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25689         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25690         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25691         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25692         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25693         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25694         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25695         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25696         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25697         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25698         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25699         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25700         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25701         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25702         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25703         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25704         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25705         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25706         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25707         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25708         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25709         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25710         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25711         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25712         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25713         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25714         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25715         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25716         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25717         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25718         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25719         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25720         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25721         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25722         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25723         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25724         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25725         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25726         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25727         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25728         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25729         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25730         Require >= 2.
25731         (FLT_ROUNDS): Expect as macro, not constant.
25732         (FLT_MANT_DIG): Use macro-int-constant.
25733         (DBL_MANT_DIG): Likewise.
25734         (LDBL_MANT_DIG): Likewise.
25735         (FLT_DIG): Likewise.
25736         (DBL_DIG): Likewise.
25737         (LDBL_DIG): Likewise.
25738         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25739         (DBL_MIN_EXP): Likewise.
25740         (LDBL_MIN_EXP): Likewise.
25741         (FLT_MAX_EXP): Use macro-int-constant.
25742         (DBL_MAX_EXP): Likewise.
25743         (LDBL_MAX_EXP): Likewise.
25744         (FLT_MAX_10_EXP): Likewise.
25745         (DBL_MAX_10_EXP): Likewise.
25746         (LDBL_MAX_10_EXP): Likewise.
25747         (FLT_MAX): Use macro-constant.
25748         (DBL_MAX): Likewise.
25749         (LDBL_MAX): Likewise.
25750         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25751         (DBL_EPSILON): Likewise.
25752         (LDBL_EPSILON): Likewise.
25753         (FLT_MIN): Likewise.
25754         (DBL_MIN): Likewise.
25755         (LDBL_MIN): Likewise.
25756         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25757         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25758         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25759         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25760         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25761         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25762         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25763         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25764         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25765         [ISO11] (FLT_TRUE_MIN): Likewise.
25766         [ISO11] (LDBL_TRUE_MIN): Likewise.
25767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25768         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25769         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25770         (SCHAR_MAX): Likewise.
25771         (UCHAR_MAX): Likewise.
25772         (CHAR_MIN): Likewise.
25773         (CHAR_MAX): Likewise.
25774         (MB_LEN_MAX): Use macro-int-constant.
25775         (SHRT_MIN): Use macro-int-constant.  Specify type.
25776         (SHRT_MAX): Likewise.
25777         (USHRT_MAX): Likewise.
25778         (INT_MAX): Likewise.
25779         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25780         bound negative.
25781         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25782         bound with "U".
25783         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25784         bound with "L".
25785         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25786         bound negative.  Suffix upper bound with "L".
25787         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25788         bound with "UL".
25789         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25790         Specify type.
25791         [C99-based standards] (LLONG_MAX): Likewise.
25792         [C99-based standards] (ULLONG_MAX): Likewise.
25793         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25794         == 0.
25795         [ISO11] (max_align_t): Require type.
25796         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25798         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25799         from $CFLAGS, without defining away __attribute__ calls.
25800         (checknamespace): Use $CFLAGS_namespace.
25802         * conform/conformtest.pl (@keywords): Only include C99 keywords
25803         for standards based on C99 or C11.
25805         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25806         Disable tests.
25807         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25808         UNIX98]: Likewise.
25810         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25811         usability of symbols in #if.
25813         * conform/conformtest.pl: If macro or constant types start
25814         "promoted:", expect the symbol to be of the following type
25815         promoted by the integer promotions.
25817         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25818         in one place.  Also handle "macro-constant".
25820         * conform/conformtest.pl: Only accept expected macro values with
25821         "==".  Parse all "macro" lines in one place.
25822         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25824         * conform/conformtest.pl: Handle braced types on "constant" lines
25825         instead of handling "typed-constant".
25826         * conform/data/signal.h-data: Use "constant" instead of
25827         "typed-constant".
25829         * conform/conformtest.pl: Handle "optional-" at start of lines in
25830         one place rather than duplicating several cases.  Handle each
25831         format of "macro" line with initial "optional-".
25833         * conform/conformtest.pl: Only accept expected constant or
25834         optional-constant values with "==".  Parse all "constant" lines in
25835         one place.  Parse all "optional-constant" lines in one place.
25836         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25837         * conform/data/fmtmsg.h-data: Likewise.
25838         * conform/data/netinet/in.h-data: Likewise.
25839         * conform/data/tar.h-data: Likewise.
25840         * conform/data/limits.h-data: Use "==" form on "constant" and
25841         "optional-constant" lines.
25843         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25844         Use -std=c99 for XOPEN2K.
25845         (@knownproblems): Remove.
25846         (newtoken): Don't check %isknown.
25848         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25849         Do not expect macro.
25850         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25851         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25852         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25853         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25854         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25855         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25856         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25857         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25858         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25859         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25860         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25861         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25862         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25863         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25864         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25865         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25866         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25867         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25868         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25869         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25870         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25871         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25872         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25874         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25875         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25876         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25877         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25878         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25879         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25880         [XPG3] (acosh): Likewise.
25881         [XPG3] (asinh): Likewise.
25882         [XPG3] (atanh): Likewise.
25883         [XPG3] (cbrt): Likewise.
25884         [XPG3] (expm1): Likewise.
25885         [XPG3] (ilogb): Likewise.
25886         [XPG3] (log1p): Likewise.
25887         [XPG3] (logb): Likewise.
25888         [XPG3] (nextafter): Likewise.
25889         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25890         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25891         [XPG3] (remainder): Likewise.
25892         [XPG3] (rint): Likewise.
25893         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25894         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25895         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25896         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25897         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25898         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25899         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25900         [UNIX98 || XOPEN2K] (scalb): Expect.
25901         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25902         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25903         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25904         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25905         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25906         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25907         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25908         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25909         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25910         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25911         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25912         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25913         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25914         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25915         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25916         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25917         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25918         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25919         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25920         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25921         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25922         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25923         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25924         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25925         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25926         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25927         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25928         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25929         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25930         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25931         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25932         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25933         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25934         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25935         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25936         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25937         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25938         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25939         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25940         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25941         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25942         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25944         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25945         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25946         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25947         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25948         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25950         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25951         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25953         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25954         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25955         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25956         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25957         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25958         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25959         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25960         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25961         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25962         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25963         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25964         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25965         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25966         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25967         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25968         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25969         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25970         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25971         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25972         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25973         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25974         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25975         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25976         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25977         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25978         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25979         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25980         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25981         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25982         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25983         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25984         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25985         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25986         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25987         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25988         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25989         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25990         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25991         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25992         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25993         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25994         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25995         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25996         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25997         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25998         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25999         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26000         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26001         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26002         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26003         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26004         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26005         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26006         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26007         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26008         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26009         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26010         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26011         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26012         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26013         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26014         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26015         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26016         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26017         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26018         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26019         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26020         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26021         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26022         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26023         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26024         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26025         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26026         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26027         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26028         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26029         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26030         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26031         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26032         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26033         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26034         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26035         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26036         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26037         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26039         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26040         _XOPEN_SOURCE_EXTENDED for XPG4.
26042         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26044         * Makeconfig (localtime): Remove variable.
26045         (inst_localtime-file): Likewise.
26047 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26050         Update.
26051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26052         Update.
26053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26054         Update.
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26056         Update.
26057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26058         Update.
26059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26060         Update.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26062         Update.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26064         Update.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26066         Update.
26068 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26070         [BZ #2550]
26071         [BZ #2570]
26072         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26073         comparisons to determine direction to adjust input.
26074         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26075         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26077         Likewise.
26078         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26079         Likewise.
26080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26081         Likewise.
26082         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26083         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26084         Likewise.
26085         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26086         Likewise.
26087         * math/libm-test.inc (nexttoward_test): Add more tests.
26089 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26091         [BZ #14040]
26092         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26093         in version GLIBC_2.1, not GLIBC_2.0.
26094         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26095         Likewise.
26097 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26099         [BZ #13942]
26100         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26101         (1 - x) * (1 + x).
26102         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26103         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26104         * math/libm-test.inc (acos_test): Add more tests.
26105         (asin_test): Likewise.
26106         * sysdeps/i386/fpu/libm-test-ulps: Update.
26107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26109         [BZ #14034]
26110         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26111         of square root.
26112         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26113         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26114         * math/libm-test.inc (acos_test_tonearest): New function.
26115         (acos_test_towardzero): Likewise.
26116         (acos_test_downward): Likewise.
26117         (acos_test_upward): Likewise.
26118         (asin_test_tonearest): Likewise.
26119         (asin_test_towardzero): Likewise.
26120         (asin_test_downward): Likewise.
26121         (asin_test_upward): Likewise.
26122         (main): Call the new functions.
26123         * sysdeps/i386/fpu/libm-test-ulps: Update.
26124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26126         [BZ #13884]
26127         [BZ #13924]
26128         * math/e_exp10.c: Include <float.h>.
26129         (__ieee754_exp10): Handle underflow here rather than multiplying
26130         large negative argument by M_LN10.
26131         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26132         of __ieee754_expf.
26133         * math/e_exp10l.c: Include <float.h>.
26134         (__ieee754_exp10l): Handle underflow here rather than multiplying
26135         large negative argument by M_LN10l.
26136         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26137         spurious overflow exception on underflow.
26139 2012-04-29  Marek Polacek  <polacek@redhat.com>
26141         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26142         (__fortify_function): New macro.
26143         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26144         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26145         __extern_always_inline.
26146         * libio/bits/stdio2.h: Likewise.
26147         * libio/bits/stdio.h: Likewise.
26148         * string/string.h: Likewise.
26149         * string/bits/string3.h: Likewise.
26150         * include/stdio.h: Likewise.
26151         * stdlib/bits/stdlib.h: Likewise.
26152         * stdlib/stdlib.h: Likewise.
26153         * rt/bits/mqueue2.h: Likewise.
26154         * rt/mqueue.h: Likewise.
26155         * posix/bits/unistd.h: Likewise.
26156         * posix/unistd.h: Likewise.
26157         * io/bits/poll2.h: Likewise.
26158         * io/bits/fcntl2.h: Likewise.
26159         * io/fcntl.h: Likewise.
26160         * io/sys/poll.h: Likewise.
26161         * misc/bits/syslog.h: Likewise.
26162         * misc/bits/syslog-ldbl.h: Likewise.
26163         * misc/sys/syslog.h: Likewise.
26164         * socket/bits/socket2.h: Likewise.
26165         * socket/sys/socket.h: Likewise.
26166         * debug/tst-chk1.c: Likewise.
26167         * wcsmbs/bits/wchar2.h: Likewise.
26168         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26169         * wcsmbs/wchar.h: Likewise.
26171 2012-04-29  Andreas Jaeger  <aj@suse.de>
26173         * Makerules (tests): Remove enable-check-abi protection.
26174         (check-abi-warn): Remove.
26175         (check-abi-%): Remove check-abi-warn usage.
26177         * configure.in: Remove check-abi configure option.
26178         * configure: Regenerated.
26179         * config.make.in (enable-check-abi): Remove.
26181 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26183         [BZ #14033]
26184         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26185         double functions to double *_finite functions.
26187         [BZ #13941]
26188         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26189         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26190         LDBL_MIN_EXP.
26191         * stdio-common/Makefile (tests): Add tst-sprintf3.
26192         * stdio-common/tst-sprintf3.c: New file.
26194         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26195         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26197 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26199         * conform/conformtest.pl: Remove duplicate typed-constant
26200         handling.
26202 2012-04-28  David S. Miller  <davem@davemloft.net>
26204         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26205         (check-abi-%): Remove AWK script prerequisite and explicit
26206         abilist directory.
26207         (check-abi): Rewrite to just diff the symlist with the abilist.
26208         (config-tls, config-abi-config): Delete, no longer used.
26209         (update-abi-%): Remove AWK script and explicit abilist directory.
26210         (update-abi): Rewrite to simply compare and conditionally copy the
26211         symlist and the sysdep abilist file.  Remove update-abi-config
26212         checks.
26213         * abilist/ld.abilist: Remove.
26214         * abilist/libBrokenLocale.abilist: Remove.
26215         * abilist/libanl.abilist: Remove.
26216         * abilist/libcrypt.abilist: Remove.
26217         * abilist/libdl.abilist: Remove.
26218         * abilist/librt.abilist: Remove.
26219         * abilist/libthread_db.abilist: Remove.
26220         * abilist/libutil.abilist: Remove.
26221         * scripts/extract-abilist.awk: Remove.
26222         * scripts/merge-abilist.awk: Remove.
26223         * sysdeps/generic/libcidn.abilist: New file.
26224         * sysdeps/generic/libnss_compat.abilist: New file.
26225         * sysdeps/generic/libnss_db.abilist: New file.
26226         * sysdeps/generic/libnss_dns.abilist: New file.
26227         * sysdeps/generic/libnss_files.abilist: New file.
26228         * sysdeps/generic/libnss_hesiod.abilist: New file.
26229         * sysdeps/generic/libnss_nis.abilist: New file.
26230         * sysdeps/generic/libnss_nisplus.abilist: New file.
26231         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26232         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26233         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26234         file.
26235         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26236         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26237         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26238         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26239         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26240         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26241         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26242         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26243         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26244         file.
26245         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26246         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26247         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26248         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26249         file.
26250         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26251         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26252         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26253         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26254         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26255         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26256         file.
26257         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26259         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26260         file.
26261         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26263         New file.
26264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26265         New file.
26266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26267         New file.
26268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26269         New file.
26270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26271         New file.
26272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26273         New file.
26274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26275         New file.
26276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26277         New file.
26278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26279         New file.
26280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26281         New file.
26282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26283         New file.
26284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26285         New file.
26286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26287         New file.
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26289         file.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26291         New file.
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26293         New file.
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26295         file.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26297         New file.
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26299         New file.
26300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26301         file.
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26303         New file.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26305         New file.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26307         New file.
26308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26309         New file.
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26311         New file.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26313         New file.
26314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26316         file.
26317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26318         New file.
26319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26320         file.
26321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26322         file.
26323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26324         file.
26325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26326         file.
26327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26328         file.
26329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26330         New file.
26331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26332         file.
26333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26334         file.
26335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26336         New file.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26338         file.
26339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26341         file.
26342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26343         New file.
26344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26345         file.
26346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26347         file.
26348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26349         file.
26350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26351         file.
26352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26353         file.
26354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26355         New file.
26356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26357         file.
26358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26359         file.
26360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26361         New file.
26362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26363         file.
26364         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26365         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26366         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26367         file.
26368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26369         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26370         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26371         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26372         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26373         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26374         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26375         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26376         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26377         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26380         file.
26381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26382         New file.
26383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26384         file.
26385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26386         file.
26387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26388         file.
26389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26390         file.
26391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26392         file.
26393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26394         New file.
26395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26396         New file.
26397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26398         file.
26399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26400         New file.
26401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26402         file.
26403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26405         file.
26406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26407         New file.
26408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26409         file.
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26411         file.
26412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26413         file.
26414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26415         file.
26416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26417         file.
26418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26419         New file.
26420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26421         New file.
26422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26423         file.
26424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26425         New file.
26426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26427         file.
26429 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26431         * conform/conformtest.pl: Fix typo in handling typed-constant from
26432         allow-header.
26434 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26436         * README: Cut down references to pre-2.6 Linux kernels and
26437         Linuxthreads.  Update lists of configurations in libc and ports
26438         and sort alphabetically.  Say "or newer" with Linux kernel version
26439         requirements.
26441         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26443 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26445         [BZ #887]
26446         * math/libm-test.inc (logb_test_downward): New test to expose
26447         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26448         rounding mode.
26450 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26452         [BZ #14027]
26453         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26454         to be done.
26455         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26456         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26458 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26460         * sysdeps/unix/i386/brk.S: Remove file.
26461         * sysdeps/unix/i386/dl-brk.S: Likewise.
26462         * sysdeps/unix/i386/pipe.S: Likewise.
26463         * sysdeps/unix/i386/sigreturn.S: Likewise.
26464         * sysdeps/unix/i386/syscall.S: Likewise.
26465         * sysdeps/unix/i386/vfork.S: Likewise.
26466         * sysdeps/unix/i386/wait.S: Likewise.
26468         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26469         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26471         * configure.in (arm*-none*): Do not allow without
26472         --enable-hacker-mode.
26473         (netbsd*): Remove case setting base_os.
26474         (386bsd*): Likewise.
26475         (freebsd*): Likewise.
26476         (bsdi*): Likewise.
26477         (osf*): Likewise.
26478         (sunos*): Likewise.
26479         (ultrix*): Likewise.
26480         (newsos*): Likewise.
26481         (dynix*): Likewise.
26482         (*bsd*): Likewise.
26483         (sysv*): Likewise.
26484         (isc*): Likewise.
26485         (esix*): Likewise.
26486         (sco*): Likewise.
26487         (minix*): Likewise.
26488         (irix4*): Likewise.
26489         (irix6*): Likewise.
26490         (solaris[2-9]*): Likewise.
26491         (none): Likewise.
26492         * configure: Regenerated.
26494 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26496         [BZ #11521]
26497         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26498         overflow or cancellation in calculating denominator.
26499         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26501         down expression to avoid unexpected rounding in newer GCCs.
26502         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26504 2012-04-26  David S. Miller  <davem@davemloft.net>
26506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26507         long-double compat symbols.
26508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26522 2012-04-25  David S. Miller  <davem@davemloft.net>
26524         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26525         HWCAP_* values only after the memory barriers have been defined.
26526         (atomic_full_barrier): Define.
26527         (atomic_read_barrier): Define.
26528         (atomic_write_barrier): Define.
26530 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26532         * shlib-versions: Add libgcc_s version information.
26533         * sysdeps/generic/libgcc_s.h: Remove.
26534         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26535         libgcc_s.h.
26536         * sysdeps/gnu/unwind-resume.c: Likewise.
26537         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26539 2012-04-25  David S. Miller  <davem@davemloft.net>
26541         * sysdeps/unix/sparc/brk.S: Delete.
26542         * sysdeps/unix/sparc/dl-brk.S: Delete.
26543         * sysdeps/unix/sparc/pipe.S: Delete.
26544         * sysdeps/unix/sparc/sysdep.S: Delete.
26545         * sysdeps/unix/sparc/sysdep.h: Delete.
26546         * sysdeps/unix/sparc/vfork.S: Delete.
26547         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26548         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26549         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26550         ret_ERRVAL, r0, r1, MOVE): Define.
26551         (JUMPTARGET): Remove.
26552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26553         sysdeps/unix/sparc/sysdep.h
26554         (ENTRY, END): Remove.
26555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26557 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26559         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26560         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26561         -DIS_IN_build.
26563         * timezone/README: Update upstream location and email address for
26564         tzcode and tzdata.
26565         * timezone/zdump.c: Update from tzcode 2012b.
26566         * timezone/zic.c: Likewise.
26568         * configure.in (libc_cv_as_needed): Remove test.
26569         * configure: Regenerated.
26570         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26571         conditional definition.
26572         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26573         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26574         * config.make.in (have-as-needed): Remove variable.
26576 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577             Paul Pluzhnikov  <ppluzhnikov@google.com>
26579         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26580         strings correctly.
26582 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26584         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26585         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26586         * sysdeps/sh/strlen.S: Likewise.
26588 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26590         * sysdeps/unix/fork.S: Remove file.
26591         * sysdeps/unix/i386/fork.S: Likewise.
26592         * sysdeps/unix/sparc/fork.S: Likewise.
26594         * sysdeps/unix/system.c: Remove file.
26595         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26597         * sysdeps/unix/getegid.S: Remove file.
26598         * sysdeps/unix/geteuid.S: Likewise.
26600 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26602         * scripts/check-localplt.awk: New file.
26603         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26604         of diff.
26605         * scripts/data/localplt-generic.data: Add a comment.
26607         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26608         NODE when __dir_mkfile failed.
26609         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26610         Reported by Ludovic Courtès <ludo@gnu.org>.
26612 2012-04-24  Andreas Jaeger  <aj@suse.de>
26614         * Makerules (common-clean): Also remove gen-as-const-headers
26615         files.
26617 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26619         * Makerules (native-compile): Do not change working directory for
26620         build.  Use $(OUTPUT_OPTION) in command.
26621         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26623 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26625         [BZ #13886]
26626         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26627         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26628         * math/libm-test.inc (floor_test): Add more tests.
26629         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26631 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26633         * sysdeps/unix/getdents.c: Remove file.
26634         * sysdeps/unix/sysv/getdents.c: Likewise.
26635         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26637         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26638         sysdeps/unix/mman/syscalls.list.
26639         (mmap): Likewise.
26640         (mprotect): Likewise.
26641         (msync): Likewise.
26642         (munmap): Likewise.
26643         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26644         * sysdeps/unix/mman/syscalls.list: Remove.
26645         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26647         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26648         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26649         * configure: Regenerated.
26650         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26651         $(libgcc_s_suffix).
26652         * config.make.in (libgcc_s_suffix): Remove variable.
26654 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26656         * sysdeps/unix/sysv/gethostname.c: Move to ...
26657         * sysdeps/posix/gethostname.c: ... here.
26659         * sysdeps/unix/execve.S: Remove file.
26661         * sysdeps/unix/_exit.S: Remove file.
26663 2012-04-23  Andreas Jaeger  <aj@suse.de>
26665         [BZ #13739]
26666         * manual/Makefile: Remove make dist support, there's no
26667         need for a stand-alone documentation tar ball.
26668         (TEXI2DVI): Define always, it's not in Makeconfig.
26669         (dist): Removed.
26670         (tar-it): Removed.
26671         (edition): Removed.
26672         (glibc-doc-$(edition).tar): Removed
26673         (%.Z): Removed.
26674         (%.gz): Removed.
26675         (%.uu): Removed.
26676         (ETAGS): Remove, it's in Makeconfig.
26677         (move-if-change): Remove, it's in Makeconfig.
26679 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26681         [BZ #13970]
26682         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26683         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26684         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26685         (strtod_l, strtof_l, strtold_l): Remove __wur.
26686         It is not necessarily an error to ignore strtol's return value.
26687         One can reliably look at the stored endptr to decide whether
26688         the number had valid syntax.
26690 2012-04-21  Andreas Jaeger  <aj@suse.de>
26692         [BZ #13739]
26693         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26695 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26697         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26698         * sysdeps/unix/sysv/Versions: Remove file.
26700 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26702         [BZ #13927]
26703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26705 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26707         [BZ #7064]
26708         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26709         version from __vm86.
26711 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26713         * sysdeps/unix/common/lxstat.c: Remove file.
26714         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26716         * sysdeps/unix/sysv/Makefile: Remove file.
26718         * sysdeps/unix/sysv/direct.h: Remove file.
26720         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26721         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26722         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26723         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26724         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26725         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26726         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26728         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26730         * sysdeps/unix/xmknod.c: Remove file.
26731         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26733         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26735         * sysdeps/unix/sysv/i386/time.S: Remove file.
26737         * sysdeps/unix/fxstat.c: Remove file.
26738         * sysdeps/unix/xstat.c: Likewise.
26739         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26741         * sysdeps/unix/sysv/sigaction.c: Remove file.
26743         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26744         (sysdep_headers): Remove variable.
26745         [termio.h not in sysdep_headers] (generated): Likewise.
26746         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26747         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26748         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26749         * sysdeps/unix/sysv/tcflow.c: Likewise.
26750         * sysdeps/unix/sysv/tcflush.c: Likewise.
26751         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26752         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26753         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26754         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26755         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26757         * sysdeps/unix/siglist.c: Remove file.
26759         * sysdeps/unix/getppid.S: Remove file.
26761         * sysdeps/unix/mkdir.c: Remove file.
26762         * sysdeps/unix/rmdir.c: Likewise.
26764 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26766         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26767         ERR_MAX value.
26768         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26769         errlist-compat value.
26771 2012-04-18  David S. Miller  <davem@davemloft.net>
26773         * sysdeps/generic/memcopy.h (reg_char): Delete.
26774         * debug/strcat_chk.c: Use char, not reg_char.
26775         * debug/strcpy_chk.c: Likewise.
26776         * debug/strncat_chk.c: Likewise.
26777         * debug/strncpy_chk.c: Likewise.
26778         * string/memchr.c: Likewise.
26779         * string/memrchr.c: Likewise.
26780         * string/rawmemchr.c: Likewise.
26781         * string/strcat.c: Likewise.
26782         * string/strchr.c: Likewise.
26783         * string/strchrnul.c: Likewise.
26784         * string/strcmp.c: Likewise.
26785         * string/strcpy.c: Likewise.
26786         * string/strncat.c: Likewise.
26787         * string/strncmp.c: Likewise.
26788         * string/strncpy.c: Likewise.
26790 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26792         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26793         __builtin_memcopy is called when src and dest ranges are known to not
26794         overlap.
26796 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26799         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26800         fwd_align_merge macro call.
26801         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26802         bwd_align_merge macro call.
26803         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26805 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26807         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26808         bwd_align_merge macros.
26809         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26810         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26811         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26813 2012-04-18  David S. Miller  <davem@davemloft.net>
26815         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26817 2012-04-18  Andreas Jaeger  <aj@suse.de>
26819         [BZ# 6794]
26820         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26821         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26822         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26824         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26825         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26826         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26828         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26829         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26830         Adjust for changed ldbl-128 files.
26832         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26833         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26834         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26836 2012-04-17  David S. Miller  <davem@davemloft.net>
26838         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26840 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26842         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26843         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26844         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26845         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26846         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26847         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26849 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26851         [BZ #6794]
26852         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26853         * math/libm-test.inc: Add ilogb errno and exception tests.
26854         * math/w_ilogb.c: New file: ilogb wrapper.
26855         * math/w_ilogbf.c: New file: ilogbf wrapper.
26856         * math/w_ilogbl.c: New file: ilogbl wrapper.
26857         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26858         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26859         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26860         exception being thrown with 0.0 as argument.
26861         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26862         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26863         exception being thrown with 0.0 as argument.
26864         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26865         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26866         exception being thrown with 0.0 as argument.
26867         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26868         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26869         exception being thrown with 0.0 as argument.
26870         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26871         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26872         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26873         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26875         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26876         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26877         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26878         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26880 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26882         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26883         with altivec.
26885 2012-04-16  Marek Polacek  <polacek@redhat.com>
26887         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26889 2012-04-16  Marek Polacek  <polacek@redhat.com>
26891         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26892         operands of fdivp instruction.
26894 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26896         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26897         * elf/tst-auditmod3b.c: Likewise.
26898         * elf/tst-auditmod4b.c: Likewise.
26899         * elf/tst-auditmod5b.c: Likewise.
26900         * elf/tst-auditmod6b.c: Likewise.
26901         * elf/tst-auditmod6c.c: Likewise.
26902         * elf/tst-auditmod7b.c: Likewise.
26903         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26904         * sysdeps/x86_64/preconfigure.in: Likewise.
26905         * sysdeps/x86_64/preconfigure: Regenerated.
26907 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26909         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26910         __ILP32__.
26912 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26915         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26917 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26919         [BZ #13973]
26920         * locale/iso-639.def: Fix gl language name. Spotted by
26921         Yaron Shahrabani.
26923 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26925         [BZ #2074]
26926         * libio/libio.h (__io_write_fn): Update comment.
26928 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26930         [BZ #2074]
26931         * stdio.texi (Hook Functions): The user provided writer function
26932         is not allowed to return -1.
26934 2012-04-11  David S. Miller  <davem@davemloft.net>
26936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26938 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26940         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26941         Add a leading slash to rtkaio.
26943 2012-04-11  Jim Meyering  <meyering@redhat.com>
26945         [BZ #11959]
26946         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26947         It is not necessarily an error to ignore fwrite's return
26948         value.  One can reliably use ferror to test for errors after
26949         the fact.
26951 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26953         * bits/types.h (__snseconds_t): New type.
26954         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26956         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26958         (__SNSECONDS_T_TYPE): Likewise.
26959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26960         (__SNSECONDS_T_TYPE): Likewise.
26961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26962         (__SNSECONDS_T_TYPE): Likewise.
26964 2012-04-10  Andreas Jaeger  <aj@suse.de>
26966         [BZ #2636]
26967         * manual/time.texi (Processor Time): Return type of times is
26968         elapsed real time since an arbitrary point in the past.
26969         (CPU Time): Move CLK_TCK from here...
26970         (Processor Time): ...to here.  Correct description.
26971         * manual/conf.texi (Constants for Sysconf): Correct description of
26972         _SC_CLK_TCK.
26974 2012-04-10  David S. Miller  <davem@davemloft.net>
26976         [BZ #13967]
26977         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26978         where the is a gap between DT_REL(A) and DT_JMPREL.
26980 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26982         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26983         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26984         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26986 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26988         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26989         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26990         (dl_main): Handle --inhibit-cache.
26991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26992         _dl_inhibit_cache.
26993         * elf/dl-load.c (_dl_map_object): Use it.
26994         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26996 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26998         [BZ #13872]
26999         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27000         (__ieee754_powl): Saturate large exponents rather than testing for
27001         overflow of y*log2(x).
27002         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27003         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27004         exceptions.
27006         [BZ #11521]
27007         * math/s_ctan.c: Include <float.h>.
27008         (__ctan): Avoid internal overflow or cancellation in calculating
27009         denominator.
27010         * math/s_ctanf.c: Likewise.
27011         * math/s_ctanl.c: Likewise.
27012         * math/s_ctanh.c: Likewise.
27013         * math/s_ctanhf.c: Likewise.
27014         * math/s_ctanhl.c: Likewise.
27015         * math/libm-test.inc (ctan_test): Add more tests.
27016         (ctanh_test): Likewise.
27017         * sysdeps/i386/fpu/libm-test-ulps: Update.
27018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27020 2012-04-09  Andreas Jaeger  <aj@suse.de>
27022         [BZ #6894]
27023         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27024         is an optional BSD extension.
27026         [BZ #10254]
27027         * manual/stdio.texi (Opening Streams): Document additional fopen
27028         parameters.
27030 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27032         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27033         %eax without telling the compiler.
27035 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27037         [BZ # 13963]
27038         * manual/install.texi: Use sourceware.org.
27040 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27042         [BZ #13873]
27043         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27044         (__ieee754_pow): Generate overflow and underflow using huge*huge
27045         and tiny*tiny rather than just returning constant infinity or zero
27046         for large exponents.
27047         * math/libm-test.inc (pow_test): Require overflow exceptions for
27048         applicable cases of large exponents.
27050         [BZ #706]
27051         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27052         (__ieee754_pow): Use iterative multiplication algorithm only for
27053         integer exponents with absolute value below 1024.  Check for odd
27054         integer exponents when using algorithm for real exponents.
27055         * math/libm-test.inc (pow_test): Add more tests.
27056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27058 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27060         [BZ #13705]
27061         * math/libm-test.inc (exp_test): Do not allow overflow exception
27062         on underflow test.
27064 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27066         [BZ #13705]
27067         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27068         instead of __kernel_standard_f.
27070 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27072         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27073         * sysdeps/x86_64/memset_chk.S: Likewise.
27075 2012-04-08  Andreas Jaeger  <aj@suse.de>
27077         [BZ #10153]
27078         * manual/startup.texi (Environment Access): Describe return value
27079         for putenv and setenv.
27081         [BZ #6895]
27082         * manual/filesys.texi (Directory Entries): Add description for
27083         DT_LNK.
27085         [BZ #6890]
27086         * manual/filesys.texi (Directory Entries): Clarify that it's file
27087         system not operating system in the description of DT_UNKNOWN.
27089         [BZ #6578]
27090         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27092 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27094         [BZ #6649]
27095         * manual/llio.texi (Opening and Closing Files): Add cross
27096         reference to explain mode argument.
27098 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27100         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27101         * sysdeps/x86_64/memset_chk.S: Likewise.
27103 2012-04-07  David S. Miller  <davem@davemloft.net>
27105         * elf/elf.h (R_SPARC_WDISP10): Define.
27106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27107         R_SPARC_SIZE32.
27108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27109         R_SPARC_SIZE64 and R_SPARC_H34.
27111 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27113         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27114         conditions and remove no longer applicable assertion.
27116 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27118         * bits/byteswap.h: Include <features.h>.
27119         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27120         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27122 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27124         * bits/byteswap.h (__bswap_16): Removed.
27125         Include <bits/byteswap-16.h> to get __bswap_16.
27126         * sysdeps/i386/bits/byteswap.h: Likewise.
27127         * sysdeps/s390/bits/byteswap.h: Likewise.
27128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27129         * bits/byteswap-16.h: New file.
27130         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27131         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27132         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27133         * string/Makefile (headers): Add bits/byteswap-16.h.
27135 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27137         [BZ #13895]
27138         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27139         extra indirection.
27140         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27141         * nss/tst-nss-static.c: New.
27143 2012-04-06  Robert Millan  <rmh@gnu.org>
27145         [BZ #6486]
27146         * manual/llio.texi (File Position Primitive): lseek
27147         refers to WHENCE when it really means OFFSET.
27149 2012-04-06  Andreas Jaeger  <aj@suse.de>
27151         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27152         strncmp declarations.
27154         * abilist/libc.abilist: Add __poll and __ppoll.
27156 2012-04-05  David S. Miller  <davem@davemloft.net>
27158         * scripts/check-local-headers.sh: Accept a host triplet in the
27159         path matched by the exclude regexp.
27161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27162         definition.
27163         * sysdeps/powerpc/powerpc32/dl-machine.h
27164         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27165         * sysdeps/s390/s390-32/dl-machine.h
27166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27167         * sysdeps/sparc/sparc32/dl-machine.h
27168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27169         * sysdeps/sparc/sparc64/dl-machine.h
27170         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27172         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27173         lazy binding.
27174         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27175         undefined symbol errors.
27177         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27178         DT_NEEDED entries.
27180 2012-04-05  Michael Matz  <matz@suse.de>
27182         [BZ #13592]
27183         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27185 2012-04-05  Andreas Jaeger  <aj@suse.de>
27187         [BZ #13908]
27188         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27189         comment.
27191 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27193         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27194         which ROUND is no valid rounding mode.
27196 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27198         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27199         read again.
27200         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27202 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27204         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27205         an exception using FPU order intentionally.
27207 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27209         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27210         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27211         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27212         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27214 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27216         [BZ #12340]
27217         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27218         EINVAL when BUFLEN is too smal.
27220 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27222         [BZ #13553]
27223         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27224         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27226 2012-04-03  Andreas Jaeger  <aj@suse.de>
27228         [BZ #13938]
27229         * manual/setjmp.texi (System V contexts): Fix sentence.
27231         [BZ #13926]
27232         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27233         New macro for this case.
27234         [!__GNUC__] (__bswap_64): New inline function for this case.
27235         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27236         * bits/byteswap.h: Likewise.
27237         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27238         ull, guard with __GLIBC_HAVE_LONG_LONG.
27240         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27241         __GLIBC_HAVE_LONG_LONG.
27243         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27244         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27246 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27248         [BZ #13691]
27249         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27250         inptr and inend, rather than using last_ch.
27252 2012-04-02  David S. Miller  <davem@davemloft.net>
27254         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27255         * stdio-common/printf-parse.h (read_int): Change return type to
27256         'int', return -1 on INT_MAX overflow.
27257         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27258         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27259         overflows INT_MAX.  Check for overflow of in-format-string precision
27260         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27261         SIZE_MAX not INT_MAX for integer overflow test.
27262         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27263         skip the construct in the format string but do not record anything.
27264         * stdio-common/bug22.c: Adjust to test both width/prevision
27265         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27266         explicitly for proper errno values.
27268 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27270         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27271         CHAR_MAX.
27272         * string/test-strcmp.c [! WIDE]: Likewise.
27273         * time/tst-mktime2.c: Likewise for INT_MAX.
27274         * string/test-string.h: #include <sys/param.h> for MIN.
27276         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27277         * sysdeps/i386/init-first.c (init): Likewise.
27278         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27279         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27280         * sysdeps/sh/init-first.c (init): Likewise.
27282 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27284         * po/ru.po: Update from translation team.
27285         * po/vi.po: Likewise.
27287 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27289         * resolv/nss_dns/dns-host.c: Merge copyright years.
27291 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27294         Optimize memcpy with prefetch if
27295         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27296         src, dst pointers have unequal 16 byte alignments.
27298 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27300         [BZ #13928]
27301         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27302         from a CNAME entry and return the minimum ttl for the query.
27303         (gaih_getanswer_slice): Likewise.
27305 2012-03-30  Jeff Law  <law@redhat.com>
27307         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27308         due to long keys.
27309         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27310         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27312         * resolv/nss_dns/dns-host.c: Update copyright year.
27314 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27316         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27317         requests to save a system call.  Fix check that all bytes are sent.
27319         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27320         comments for sendmmsg.
27322 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27324         [BZ #13691]
27325         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27326         with only 1 character between 0x0041 and 0x01b0.
27327         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27328         * wcsmbs/tst-mbsnrtowcs.c: New file.
27330 2012-03-29  David S. Miller  <davem@davemloft.net>
27332         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27333         small copies by hand.
27335 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27337         [BZ #13761]
27338         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27339         _nss_compat_initgroups_dyn): Fall back to malloc/free
27340         for large group memberships.
27342 2012-03-28  David S. Miller  <davem@davemloft.net>
27344         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27345         that branches into memcpy.
27346         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27349         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27351         bits.
27352         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27353         implementation too.
27354         * sysdeps/sparc/mempcpy.S: New file.
27356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27357         the IFUNC routine in the libc case.
27358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27360         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27361         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27362         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27363         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27364         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27365         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27366         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27367         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27369         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27370         loop to 256 bytes instead of 64 bytes and fix test signedness.
27372         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27373         * sysdeps/sparc/sparc32/Makefile: rather than here...
27374         * sysdeps/sparc/sparc64/Makefile: and here.
27376 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27378         * malloc/mallocbug.c: Avoid warnings about unused variables.
27380 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27382         [BZ #13760]
27383         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27384         in the right place. Discard and retry query if response is
27385         larger than input buffer size.
27387 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27389         [BZ #369]
27390         [BZ #2678]
27391         [BZ #3866]
27392         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27393         x for large integer exponent.
27394         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27395         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27396         sign of result as needed afterwards.
27397         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27398         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27399         result for underflowing pow the same as for overflow.
27400         (__kernel_standard_l): Handle powl overflow and underflow here
27401         rather than calling __kernel_standard.
27402         * math/libm-test.inc (pow_test): Add more tests.
27404         [BZ #3868]
27405         [BZ #13879]
27406         [BZ #13910]
27407         [BZ #13911]
27408         [BZ #13912]
27409         [BZ #13913]
27410         [BZ #13915]
27411         [BZ #13916]
27412         [BZ #13917]
27413         [BZ #13918]
27414         [BZ #13919]
27415         [BZ #13920]
27416         [BZ #13921]
27417         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27418         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27419         (__kernel_standard_l): New function.
27420         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27421         __kernel_standard.
27422         * math/w_acosl.c (__acosl): Likewise.
27423         * math/w_asinl.c (__asinl): Likewise.
27424         * math/w_atan2l.c (__atan2l): Likewise.
27425         * math/w_atanhl.c (__atanhl): Likewise.
27426         * math/w_coshl.c (__coshl): Likewise.
27427         * math/w_exp10l.c (__exp10l): Likewise.
27428         * math/w_exp2l.c (__exp2l): Likewise.
27429         * math/w_fmodl.c (__fmodl): Likewise.
27430         * math/w_hypotl.c (__hypotl): Likewise.
27431         * math/w_j0l.c (__j0l, __y0l): Likewise.
27432         * math/w_j1l.c (__j1l, __y1l): Likewise.
27433         * math/w_jnl.c (__jnl, __ynl): Likewise.
27434         * math/w_lgammal.c (__lgammal): Likewise.
27435         * math/w_log10l.c (__log10l): Likewise.
27436         * math/w_log2l.c (__log2l): Likewise.
27437         * math/w_logl.c (__logl): Likewise.
27438         * math/w_powl.c (__powl): Likewise.
27439         * math/w_remainderl.c (__remainderl): Likewise.
27440         * math/w_scalbl.c (sysv_scalbl): Likewise.
27441         * math/w_sinhl.c (__sinhl): Likewise.
27442         * math/w_sqrtl.c (__sqrtl): Likewise.
27443         * math/w_tgammal.c (__tgammal): Likewise.
27444         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27445         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27446         * math/libm-test.inc (acos_test): Add more tests.
27447         (acosh_test): Likewise.
27448         (asin_test): Likewise.
27449         (atanh_test): Likewise.
27450         (exp_test): Likewise.
27451         (exp10_test): Likewise.
27452         (exp2_test): Likewise.
27453         (expm1_test): Likewise.
27454         (lgamma_test): Likewise.
27455         (log_test): Likewise.
27456         (log10_test): Likewise.
27457         (log1p_test): Likewise.
27458         (log2_test): Likewise.
27459         (pow_test): Do not allow some spurious overflow exceptions.
27460         (sqrt_test): Add more tests.
27461         (tgamma_test): Likewise.
27462         (y0_test): Likewise.
27463         (y1_test): Likewise.
27464         (yn_test): Likewise.
27466 2012-03-27  Anton Blanchard  <anton@samba.org>
27468         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27469         MAP_HUGETLB.
27470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27474 2012-03-27  David S. Miller  <davem@davemloft.net>
27476         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27478         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27479         have-as-vis3 check.
27481 2012-03-27  Andreas Jaeger  <aj@suse.de>
27483         * sysdeps/x86_64/elf/configure.in: Moved to ...
27484         * sysdeps/x86_64/configure.in: ... here.
27485         * sysdeps/x86_64/elf/start.S: Moved to ...
27486         * sysdeps/x86_64/start.S: ... here.
27487         * sysdeps/x86_64/elf/configure: Delete.
27489         * sysdeps/x86_64/configure.in: Merge contents from
27490         sysdeps/i386/configure.in (without i686 check).
27492         * sysdeps/i386/elf/Versions: Merge into ...
27493         * sysdeps/i386/Versions: ... this.
27494         * sysdeps/i386/elf/Versions: Delete file.
27495         * sysdeps/i386/elf/start.S: Moved to ...
27496         * sysdeps/i386/start.S: ...here.
27497         * sysdeps/i386/elf/configure.in: Merge into...
27498         * sysdeps/i386/configure.in: ...here.
27499         * sysdeps/i386/elf/configure.in: Delete file.
27500         * sysdeps/i386/elf/configure: Delete file.
27502         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27503         * debug/backtracesyms.c: ... here.
27504         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27505         * debug/backtracesymsfd.c: ... here.
27506         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27507         * sysdeps/generic/ifunc-sel.h: ... here.
27509         * sysdeps/unix/i386/start.c: Delete file.
27510         * sysdeps/unix/sparc/start.c: Delete file.
27511         * sysdeps/unix/start.c: Delete file.
27513         * sysdeps/sh/elf/configure.in: Moved to ...
27514         * sysdeps/sh/configure.in: ... here.
27515         * sysdeps/sh/elf/start.S: Moved to ...
27516         * sysdeps/sh/start.S: ... here.
27517         * sysdeps/sh/elf/configure: Delete file.
27519         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27520         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27521         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27522         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27523         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27524         * sysdeps/powerpc/powerpc64/start.S: here.
27525         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27526         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27527         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27528         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27529         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27531         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27532         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27533         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27534         * sysdeps/powerpc/powerpc32/start.S: ... here.
27535         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27536         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27537         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27539         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27540         * sysdeps/powerpc/ifunc-sel.h: ... here.
27541         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27542         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27544         * sysdeps/sparc/elf/configure.in: Moved to ...
27545         * sysdeps/sparc/configure.in: ... here.
27546         * sysdeps/sparc/elf/configure: Delete file.
27547         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27548         * sysdeps/sparc/sparc32/start.S: ... here.
27549         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27550         * sysdeps/sparc/sparc64/start.S: ... here.
27551         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27552         * sysdeps/sparc/sparc32/Makefile: ... this.
27553         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27554         * sysdeps/sparc/sparc64/Makefile: ... this.
27556         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27557         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27558         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27559         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27560         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27561         * sysdeps/s390/s390-32/setjmp.S: ... here.
27562         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27563         * sysdeps/s390/s390-32/configure.in: ... here.
27564         * sysdeps/s390/s390-32/elf/configure: Delete file.
27565         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27566         * sysdeps/s390/s390-32/start.S: ... here.
27568         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27569         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27570         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27571         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27572         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27573         * sysdeps/s390/s390-64/setjmp.S: ... here.
27574         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27575         * sysdeps/s390/s390-64/configure.in: ... here
27576         * sysdeps/s390/s390-64/elf/configure: Delete file.
27577         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27578         * sysdeps/s390/s390-64/start.S: ... here.
27579         * sysdeps/s390/s390-64/elf/configure: Delete.
27581         * configure.in: Remove support for elf directories in sysdeps.
27583         * configure: Regenerated.
27584         * sysdeps/i386/configure: Regenerated.
27585         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27586         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27587         * sysdeps/s390/s390-32/configure: Regenerated.
27588         * sysdeps/s390/s390-64/configure: Regenerated.
27589         * sysdeps/sh/configure: Regenerated.
27590         * sysdeps/sparc/configure: Regenerated.
27591         * sysdeps/x86_64/configure: Regenerated.
27593 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27598         denormal result into account.
27600 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27602         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27603         Reported by Allan McRae <allan@archlinux.org>.
27605 2012-03-23  Jeff Law  <law@redhat.com>
27607         * nss/getnssent.c (__nss_getent): Fix typo.
27609 2012-03-23  David S. Miller  <davem@davemloft.net>
27611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27613 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27615         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27616         to pad to uint64_t for each field.
27617         (dl_tls_index): Replace unsigned long with uint64_t.
27619 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27620         Paul Pluzhnikov  <ppluzhnikov@google.com>
27622         [BZ #6528]
27623         * grp/Makefile (otherlibs): Don't set it.
27624         * inet/Makefile (otherlibs): Likewise.
27625         * login/Makefile (otherlibs): Likewise.
27626         * nscd/Makefile (otherlibs): Likewise.
27627         * posix/Makefile (otherlibs): Likewise.
27628         * pwd/Makefile (otherlibs): Likewise.
27629         * rt/Makefile (otherlibs): Likewise.
27630         * sunrpc/Makefile (otherlibs): Likewise.
27631         * nss/Makefile (otherlibs): Likewise.
27632         Add libnss_files to routines and static-only-routines.
27633         ($(objpfx)getent): Remove rule.
27634         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27635         static-only-routines.
27637 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27639         [BZ #13892]
27640         * math/s_cexp.c: Include <float.h>.
27641         (__cexp): Handle exp result overflowing not necessarily
27642         overflowing both real and imaginary parts of result.
27643         * math/s_cexpf.c: Likewise.
27644         * math/s_cexpl.c: Likewise.
27645         * math/libm-test.inc (cexp_test): Add more tests.
27646         * sysdeps/i386/fpu/libm-test-ulps: Update.
27647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27649 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27651         * include/link.h (ELFW): New macro.
27652         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27653         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27655 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27657         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27658         with uint64_t.
27660 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27662         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27663         declaration.
27664         (struct La_x32_retval): Likewise.
27666 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27668         * sysdeps/x86_64/preconfigure.in: New file.
27669         * sysdeps/x86_64/preconfigure: New generated file.
27671 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #13824]
27674         * math/e_exp2l.c: Include <float.h>.
27675         (__ieee754_exp2l): Handle overflow and underflow cases
27676         separately.  Only pass fractional part of argument to
27677         __ieee754_expl.
27678         * math/libm-test.inc (exp2_test): Add more tests.
27680         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27681         negating x to take absolute value.
27682         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27683         Likewise.
27684         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27685         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27686         Likewise.
27687         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27688         computing low part if x was negated.
27689         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27691 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27693         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27694         la_x32_gnu_pltexit.
27695         (pltexit): Cast int_retval to ptrdiff_t.
27696         * elf/tst-auditmod3b.c: Likewise.
27697         * elf/tst-auditmod4b.c: Likewise.
27698         * elf/tst-auditmod5b.c: Likewise.
27699         * elf/tst-auditmod6b.c: Likewise.
27700         * elf/tst-auditmod6c.c: Likewise.
27701         * elf/tst-auditmod7b.c: Likewise.
27703         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27704         and x32_gnu_pltexit.
27706         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27707         __ELF_NATIVE_CLASS.
27708         (La_x32_regs): New macro.
27709         (La_x32_retval): Likewise.
27710         (la_x32_gnu_pltenter): New function prototype.
27711         (la_x32_gnu_pltexit): Likewise.
27713 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27716         exponent.
27718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27720         * configure.in (libc_cv_cc_nofma): Check for option to disable
27721         generation of FMA instructions.
27722         * configure: Regenerate.
27723         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27724         * sysdeps/ieee754/dbl-64/Makefile: New file.
27725         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27726         Remove brandred-fma4.
27727         (CFLAGS-brandred-fma4.c): Remove.
27728         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27729         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27730         define.
27731         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27732         define.
27734 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27736         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27737         LLONG_MAX != LONG_MAX.
27738         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27739         (_fitoa_word): Likewise.
27740         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27741         LLONG_MAX != LONG_MAX.
27742         * stdio-common/_itowa.h: Include <_itoa.h>.
27743         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27744         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27745         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27746         only if not defined.
27747         (_ITOA_WORD_TYPE): Likewise.
27748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27749         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27751 2012-03-21  David S. Miller  <davem@davemloft.net>
27753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27755 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27757         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27758         of x86_64 when setting libc_cv_slibdir, libdir and
27759         libc_cv_localedir.
27760         * sysdeps/unix/sysv/linux/configure: Regenerated.
27762 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27764         * manual/lang.texi (Old Varargs): Remove section.
27765         (How Variadic): Update menu.
27766         (va_start): Do not mention varargs.h.
27768 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27769             Joseph Myers  <joseph@codesourcery.com>
27771         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27772         link test.
27773         * configure: Regenerated.
27775 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27777         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27778         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27779         conformtest.pl
27781 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27783         * NOTES: Remove.
27784         * Makefile (files-for-dist): Remove NOTES.
27785         (NOTES): Remove rule.
27786         * README: Don't refer to NOTES.
27787         * manual/creature.texi: Don't include macros.texi.
27788         * manual/intro.texi (creature.texi): Remove comment referring to
27789         NOTES.
27791         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27792         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27793         * configure: Regenerated.
27794         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27795         LIBC_TRY_CC_OPTION.
27796         (libc_cv_as_i686): Likewise.
27797         (libc_cv_cc_avx): Likewise.
27798         (libc_cv_cc_sse2avx): Likewise.
27799         (libc_cv_cc_fma4): Likewise.
27800         (libc_cv_cc_novzeroupper): Likewise.
27801         * sysdeps/i386/configure: Regenerated.
27803         [BZ #13883]
27804         * sysdeps/i386/fpu/s_cexp.S: Remove.
27805         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27806         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27807         * math/libm-test.inc (cexp_test): Add more tests.
27808         * sysdeps/i386/fpu/libm-test-ulps: Update.
27809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811 2012-03-21  Allan McRae  <allan@archlinux.org>
27813         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27815 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27817         [BZ #13871]
27818         * math/w_exp2.c: Do not include <float.h>.
27819         (o_threshold, u_threshold): Remove.
27820         (__exp2): Calculate result before checking finiteness and calling
27821         __kernel_standard.
27822         * math/w_exp2f.c: Likewise.
27823         * math/w_exp2l.c: Likewise.
27824         * math/libm-test.inc (exp2_test): Require overflow exception for
27825         1e6 input.
27827         [BZ #3866]
27828         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27829         range of signed 64-bit integers before using fistpll.  Remove
27830         checks for whether integers fit in mantissa bits.
27831         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27832         the range of signed 32-bit integers before using fistpl.  Remove
27833         checks for whether integers fit in mantissa bits.
27834         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27835         (__ieee754_powl): Test for y outside the range of signed 64-bit
27836         integers before using fistpll.  Reduce 64-bit values to 63-bit
27837         ones as needed.
27838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27839         divide-by-zero is raised for zero to large negative powers.
27840         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27841         (__ieee754_powl): Test for y outside the range of signed 64-bit
27842         integers before using fistpll.  Reduce 64-bit values to 63-bit
27843         ones as needed.
27844         * math/libm-test.inc (pow_test): Add more tests.
27846 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27848         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27849         <stdio-common/_itoa.h>.
27850         * debug/segfault.c: Likewise.
27851         * elf/dl-cache.c: Likewise.
27852         * elf/dl-minimal.c: Likewise.
27853         * elf/dl-misc.c: Likewise.
27854         * elf/dl-sysdep.c: Likewise.
27855         * elf/dl-version.c: Likewise.
27856         * elf/rtld.c: Likewise.
27857         * hurd/hurdsock.c: Likewise.
27858         * hurd/lookup-retry.c: Likewise.
27859         * malloc/malloc.c: Likewise.
27860         * malloc/mtrace.c: Likewise.
27861         * nscd/nscd_getgr_r.c: Likewise.
27862         * nscd/nscd_getpw_r.c: Likewise.
27863         * nscd/nscd_getserv_r.c: Likewise.
27864         * posix/getopt_init.c: Likewise.
27865         * posix/wordexp.c: Likewise.
27866         * stdio-common/_itoa.c: Likewise.
27867         * stdio-common/printf_fphex.c: Likewise.
27868         * stdio-common/vfprintf.c: Likewise.
27869         * string/_strerror.c: Likewise.
27870         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27871         * sysdeps/i386/i686/hp-timing.h: Likewise.
27872         * sysdeps/mach/_strerror.c: Likewise.
27873         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27874         * sysdeps/mach/hurd/sethostid.c: Likewise.
27875         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27876         * sysdeps/mach/xpg-strerror.c: Likewise.
27877         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27879         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27880         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27881         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27882         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27883         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27884         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27885         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27886         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27887         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27888         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27889         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27890         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27891         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27892         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27893         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27894         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27895         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27896         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27897         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27899         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27901         * stdio-common/_itoa.h: Moved to ...
27902         * sysdeps/generic/_itoa.h: Here.
27904         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27906         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27907         instead of "_itoa.h" and "_itowa.h".
27908         * stdio-common/vfprintf.: Likewise.
27910 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27912         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27913         <bits/wordsize.h>.
27914         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27915         (__signbit): Likwise.
27916         (llrintf): Likwise.
27917         (llrint): Likwise.
27919 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27921         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27922         __WORDSIZE != 64.
27924 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27926         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27927         OVERFLOW_EXCEPTION_OK.
27928         * math/libm-test.inc ("Philosophy"): Update comment about
27929         exception testing.
27930         (OVERFLOW_EXCEPTION): Define.
27931         (OVERFLOW_EXCEPTION_OK): Likewise.
27932         (INVALID_EXCEPTION_OK): Renumber.
27933         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27934         (IGNORE_ZERO_INF_SIGN): Likewise.
27935         (test_exceptions): Handle FE_OVERFLOW.
27936         (exp10_test): Expect overflow exceptions.
27937         (exp2_test): Likewise.
27938         (expm1_test): Likewise.
27939         (nextafter_test): Likewise.
27940         (pow_test): Likewise.
27941         (scalbn_test): Likewise.
27942         (scalbln_test): Likewise.
27944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27946         * sysdeps/x86_64/bits/atomic.h
27947         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27948         64bit integer.
27949         (atomic_exchange_acq): Likewise.
27950         (__arch_exchange_and_add_body): Likewise.
27951         (__arch_add_body): Likewise.
27952         (atomic_add_negative): Likewise.
27953         (atomic_add_zero): Likewise.
27955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27957         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27958         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27960 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27962         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27963         Check __x86_64__ instead of __WORDSIZE.
27965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27967         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27969 2012-03-19  David S. Miller  <davem@davemloft.net>
27971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27973         * sysdeps/sparc/fpu/fenv_private.h: New file.
27974         * sysdeps/sparc/fpu/math_private.h: Use it.
27975         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27976         Remove.
27977         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27978         (libc_feholdexcept_setroundl): Remove.
27979         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27980         Remove.
27981         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27982         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27986         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27987         int64_t instead of long int.
27988         (INSERT_WORDS64): Likwise.
27990 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27992         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27993         _Unwind_GetCFA return to _Unwind_Ptr first.
27995 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27997         [BZ #13629]
27998         * math/s_clog.c: Include <float.h>.
27999         (__clog): Scale large or subnormal inputs.
28000         * math/s_clogf.c: Likewise.
28001         * math/s_clogl.c: Likewise.
28002         * math/s_clog10.c: Include <float.h>.
28003         (M_LOG10_2): Define.
28004         (__clog10): Scale large or subnormal inputs.
28005         * math/s_clog10f.c: Likewise.
28006         * math/s_clog10l.c: Likewise.
28007         * math/libm-test.inc (clog_test): Add more tests.
28008         (clog10_test): Likewise.
28009         * sysdeps/i386/fpu/libm-test-ulps: Update.
28010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28012         [BZ #11451]
28013         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28014         x and y.
28015         * math/libm-test.inc (atan2_test): Add another test.
28017         * Makerules (common-objdir-compile): Remove.
28018         * sysdeps/unix/Makefile (config-generated): Do not add
28019         $(unix-generated) to variable.
28020         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28021         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28022         Remove rule.
28023         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28024         Likewise.
28025         [generic bits/local_lim.h] (before-compile): Do not append to
28026         variable.
28027         [generic bits/local_lim.h] (common-generated): Likewise.
28028         [generic sys/param.h] (before-compile): Do not append to variable.
28029         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28030         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28031         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28032         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28033         include.
28034         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28035         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28036         [generic sys/param.h] ($(addprefix
28037         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28038         [generic sys/param.h] (common-generated): Do not append to
28039         variable.
28040         [generic sys/param.h] (sysdep_headers): Likewise.
28041         [generic bits/errno.h] (before-compile): Do not append to
28042         variable.
28043         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28044         rule.
28045         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28046         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28047         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28048         [generic bits/errno.h] (common-generated): Do not append to
28049         variable.
28050         [generic bits/ioctls.h] (before-compile): Do not append to
28051         variable.
28052         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28053         rule.
28054         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28055         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28056         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28057         rule.
28058         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28059         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28060         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28061         [generic bits/ioctls.h] (common-generated): Do not append to
28062         variable.
28063         [generic sys/syscall.h] (syscall.h): Remove variable.
28064         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28065         rule.
28066         [generic sys/syscall.h] (before-compile): Do not append to
28067         variable.
28068         [generic sys/syscall.h] (common-generated): Likewise.
28069         * sysdeps/unix/errnos-tmpl.c: Remove file.
28070         * sysdeps/unix/errnos.awk: Likewise.
28071         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28072         * sysdeps/unix/ioctls.awk: Likewise.
28073         * sysdeps/unix/mk-local_lim.c: Likewise.
28074         * sysdeps/unix/snarf-ioctls: Likewise.
28076 2012-03-19  Richard Henderson  <rth@twiddle.net>
28078         * sysdeps/i386/fpu/fenv_private.h: New file.
28079         * sysdeps/i386/fpu/math_private.h: Use it.
28080         (math_opt_barrier, math_force_eval): Remove.
28081         (libc_feholdexcept_setround_53bit): Remove.
28082         (libc_feupdateenv_53bit): Remove.
28083         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28084         (math_opt_barrier, math_force_eval): Remove.
28085         (libc_feholdexcept): Remove.
28086         (libc_feholdexcept_setround): Remove.
28087         (libc_fetestexcept, libc_fesetenv): Remove.
28088         (libc_feupdateenv_test): Remove.
28089         (libc_feupdateenv, libc_feholdsetround): Remove.
28090         (libc_feresetround): Remove.
28092         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28093         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28095         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28096         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28097         (libc_feupdateenv_testl): New.
28098         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28099         (libc_feupdateenv_testf): New.
28100         (libc_feupdateenv): Use libc_feupdateenv_test.
28101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28102         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28104         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28105         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28106         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28107         (libc_feresetround_noex): New.
28108         (libc_feresetround_noexf): New.
28109         (libc_feresetround_noexl): New.
28110         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28111         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28112         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28113         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28114         SET_RESTORE_ROUND.
28115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28117         (__cos): Likewise.
28118         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28119         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28120         SET_RESTORE_ROUND_NOEX.
28121         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28122         SET_RESTORE_ROUND_NOEXF.
28123         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28124         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28125         (libc_feholdsetroundf): New.
28126         (libc_feresetround, libc_feresetroundf): New.
28128         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28129         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28130         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28132         * sysdeps/generic/math_private.h: Include <fenv.h>.
28133         (default_libc_feholdexcept): New.
28134         (default_libc_feholdexcept_setround): New.
28135         (default_libc_fesetenv, default_libc_feupdateenv): New.
28136         (libc_feholdexcept): Only define if undefined.
28137         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28138         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28139         (libc_feholdexcept_setroundl): Likewise.
28140         (libc_feholdexcept_setround_53bit): Likewise.
28141         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28142         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28143         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28144         (libc_feupdateenv_53bit): Likewise.
28145         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28146         (libc_feholdexcept): Convert from macro to inline function.
28147         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28148         (libc_fesetenv, libc_feupdateenv): Likewise.
28150         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28151         not previously defined.
28152         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28153         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28154         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28155         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28156         * sysdeps/ieee754/flt-32/math_private.h: New file.
28157         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28158         math_private.h below SET_FLOAT_WORD.
28159         (__isnan, __isinf_ns, __finite): Remove.
28160         (__isnanf, __isinf_nsf, __finitef): Remove.
28162 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28166 2012-03-17  David S. Miller  <davem@davemloft.net>
28168         [BZ #6471]
28169         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28170         for 2.16.
28172 2012-03-16  David S. Miller  <davem@davemloft.net>
28174         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28175         warnings.
28177         [BZ #6471]
28178         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28179         properly.
28180         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28181         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28182         sysdep_routines when subdir is sysvipc.
28183         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28184         __getshmlba helper.
28186         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28188 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28190         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28191         [__LP64__].
28193 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28195         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28196         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28197         (__lround): Renamed to ...
28198         (__llround): This.  Replace long int with long long int.
28199         Define lround functions as aliases of llround functions.
28200         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28204         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28205         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28206         adresses to uintptr_t.  Replace "long int" and "unsigned long
28207         int" with "greg_t" on va_arg.
28209 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28211         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28212         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28214         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28215         Move e_machine check before EI_CLASS check.  Handle x32
28216         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28217         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28218         SKIP_EM_IA_64 and include
28219         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28221         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28222         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28223         (add_system_dir): New macro.
28225         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28226         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28230         [BZ #2551]
28231         [BZ #2552]
28232         [BZ #2553]
28233         [BZ #2554]
28234         [BZ #2562]
28235         [BZ #2563]
28236         [BZ #2565]
28237         [BZ #2566]
28238         [BZ #2576]
28239         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28240         (y0): Likewise.
28241         * math/w_j0f.c (j0f): Likewise.
28242         (y0f): Likewise.
28243         * math/w_j0l.c (__j0l): Likewise.
28244         (__y0l): Likewise.
28245         * math/w_j1.c (j1): Likewise.
28246         (y1): Likewise.
28247         * math/w_j1f.c (j1f): Likewise.
28248         (y1f): Likewise.
28249         * math/w_j1l.c (__j1l): Likewise.
28250         (__y1l): Likewise.
28251         * math/w_jn.c (jn): Likewise.
28252         (yn): Likewise.
28253         * math/w_jnf.c (jnf): Likewise.
28254         (ynf): Likewise.
28255         * math/w_jnl.c (__jnl): Likewise.
28256         (__ynl): Likewise.
28257         * math/libm-test.inc (j0_test): Add more tests.
28258         (j1_test): Likewise.
28259         (jn_test): Likewise.  Add trailing semicolon to existing test.
28260         (y0_test): Likewise.
28261         (y1_test): Likewise.
28262         * sysdeps/i386/fpu/libm-test-ulps: Update.
28263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28265         [BZ #13851]
28266         [BZ #13854]
28267         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28268         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28269         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28270         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28271         (__tanl): Set errno for infinite argument.
28272         * sysdeps/i386/fpu/mptan.c: Remove.
28273         * sysdeps/i386/fpu/s_tan.S: Likewise.
28274         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28275         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28276         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28277         * math/libm-test.inc (tan_test): Add more tests and enable more
28278         tests for double and long double.
28279         * sysdeps/i386/fpu/libm-test-ulps: Update.
28280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28282 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28284         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28285         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28287 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28289         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28290         * configure.in: Use it for both main tree and add-ons.
28291         * configure: Regenerated.
28293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28295         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28297 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28299         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28300         in comment.
28302         [BZ #13851]
28303         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28304         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28305         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28306         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28307         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28308         infinite argument.
28309         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28311         != 0 for prec == 2.
28312         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28313         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28314         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28315         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28316         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28317         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28318         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28319         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28320         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28321         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28322         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28323         * math/libm-test.inc (cos_test): Add more tests and enable more
28324         tests for long double.
28325         (sin_test): Likewise.
28326         (sincos_test): Likewise.
28327         * sysdeps/i386/fpu/libm-test-ulps: Update.
28328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28330 2012-03-16  David S. Miller  <davem@davemloft.net>
28332         * sysdeps/sparc/fpu/math_private.h: New file.
28334 2012-03-15  David S. Miller  <davem@davemloft.net>
28336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28337         file.
28338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28340         file.
28341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28346         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28347         sysdep routines.
28348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28350         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28351         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28353         * sysdeps/sparc/sparc-ifunc.h: New file.
28354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28355         sparc-ifunc.h
28356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28358         Likewise.
28359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28360         Likewise.
28361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28365         Likewise.
28366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28371         Likewise.
28372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28373         Likewise.
28374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28380         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28392         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28393         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28399 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28401         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28402         scaling.
28403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28405 2012-03-15  Andreas Jaeger  <aj@suse.de>
28407         [BZ #13852]
28408         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28409         ieee754/flt-32 implementation for sin, cos and sincos.
28410         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28411         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28412         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28413         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28414         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28415         ieee754/flt-32 implementation for tan.
28417         * math/libm-test.inc (cos_test): Enable some large input tests for
28418         float as well
28419         (sin_test): Likewise.
28420         (sincos_test): Likewise.
28421         (tan_test): Add tests for large input.
28423         * sysdeps/i386/fpu/libm-test-ulps: Update.
28425 2012-03-15  Andreas Jaeger  <aj@suse.de>
28427         [BZ #13658]
28428         * math/libm-test.inc (cos_test): Add more test cases.
28429         (sin_test): Likewise.
28430         (sincos_test): Likewise.
28432 2012-03-15  Andreas Jaeger  <aj@suse.de>
28434         [BZ #13837]
28435         * math/libm-test.inc (cos_test): Add a test case for large input
28436         value.
28437         (sin_test): Likewise.
28438         (sincos_test): Likewise.
28440 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28441         Joseph Myers  <joseph@codesourcery.com>
28443         [BZ #13658]
28444         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28445         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28446         * sysdeps/i386/fpu/branred.c: Likewise.
28447         * sysdeps/i386/fpu/dosincos.c: Likewise.
28448         * sysdeps/i386/fpu/mpa.c: Likewise.
28449         * sysdeps/i386/fpu/s_cos.S: Likewise.
28450         * sysdeps/i386/fpu/s_sin.S: Likewise.
28451         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28452         * sysdeps/i386/fpu/sincos32.c: Likewise.
28454         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28455         Define.
28456         (libc_feupdateenv_53bit): Define.
28457         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28458         Define.
28459         (libc_feupdateenv_53bit): Define.
28461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28462         53 bit (without extend i386 double precision).
28464         * math/libm-test.inc (sincos_test): Add tests for large input.
28465         (sin): Likewise.
28466         (cos): Likewise.
28468         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28470 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28474 2012-03-15  David S. Miller  <davem@davemloft.net>
28476         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28477         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28478         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28479         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28492         file.
28493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28495         file.
28496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28498         file.
28499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28501         file.
28502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28503         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28504         fmin/fmax sysdep routines.
28505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28507 2012-03-14  David S. Miller  <davem@davemloft.net>
28509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28513         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28538         routines.
28539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28540         file.
28541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28543         file.
28544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28546         file.
28547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28549         file.
28550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28552         file.
28553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28555         file.
28556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28557         file.
28558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28559         file.
28560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28561         file.
28562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28563         New file.
28564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28565         file.
28566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28567         file.
28568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28570         file.
28571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28573         file.
28574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28576         file.
28577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28579         VIS3 routines.
28581         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28582         New file.
28584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28586         * sysdeps/sparc/configure.in: New file.
28587         * sysdeps/sparc/configure: Generate.
28588         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28589         * configure: Regenerate.
28590         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28591         * config.make.in (have-as-vis3): New.
28592         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28593         available use -Av9d instead of -Av9a.
28594         * sysdeps/sparc/sparc64/Makefile: Likewise.
28595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28597         New file.
28598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28599         file.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28601         New file.
28602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28603         file.
28604         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28610         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28611         fzeros/fnegs to load 0x80000000 into a float register instead of
28612         using the stack.
28613         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28615 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28618         bits/syscall.h.
28619         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28620         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28621         ($(inst_includedir)/bits/syscall.h): Remove rule.
28622         ($(objpfx)bits/syscall.d): Include instead of
28623         $(objpfx)syscall-list.d.
28624         (generated): Change syscall-list.h and syscall-list.d to
28625         bits/syscall.h and bits/syscall.d.
28627 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28629         [BZ #13846]
28630         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28632 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28634         [BZ #13841]
28635         * math/s_csqrt.c: Include <float.h>.
28636         (__csqrt): Scale large or subnormal inputs.
28637         * math/s_csqrtf.c: Likewise.
28638         * math/s_csqrtl.c: Likewise.
28639         * math/libm-test.inc (csqrt_test): Add more tests.
28640         * sysdeps/i386/fpu/libm-test-ulps: Update.
28641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28643         [BZ #13840]
28644         * math/libm-test.inc (hypot_test): Add more tests.
28646 2012-03-13  David S. Miller  <davem@davemloft.net>
28648         [BZ #13840]
28649         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28650         double-precision for the calculation instead of scaling.
28652 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28654         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28655         manipulate bits before adding and subtracting TWO52[sx].
28656         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28657         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28658         Likewise.
28659         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28661 2012-03-13  David S. Miller  <davem@davemloft.net>
28663         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28664         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28666         rtld-global-offsets.h
28667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28669         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28670         large parameters.
28672         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28674         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28675         'err' in the ifdef scope in which it is actually used.
28677         * nss/nss_db/db-init.c: Include string.h
28679 2012-03-12  David S. Miller  <davem@davemloft.net>
28681         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28682         masking out of the most significant byte of random value used.
28683         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28684         Fix coding style in previous change.
28686         * sysdeps/unix/sysv/linux/kernel-features.h
28687         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28688         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28689         expression.
28690         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28691         later.
28693 2012-03-11  David S. Miller  <davem@davemloft.net>
28695         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28696         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28698         for 'resultvar' otherwise things get truncated on 64-bit.
28700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28701         Fix masking out of the most significant byte of random value used.
28703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28705 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28709 2012-03-09  David S. Miller  <davem@davemloft.net>
28711         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28712         variables with appropriate CPP guards.
28713         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28714         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28715         on resulting framesize and the management of the outregs buffer for pltexit.
28716         Preserve floating point return values across _dl_call_pltexit call.
28717         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28718         framesize and the management of the outregs buffer for pltexit.
28719         Preserve floating point return values across _dl_call_pltexit
28720         call.
28721         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28722         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28723         (print_exit): Fix format string for return register value.
28725 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28727         * sunrpc/Makefile (others): Add rpcgen.
28728         ($(objpfx)rpcgen): Remove special build rule and dependency on
28729         libc.
28730         * sunrpc/rpcgen.c: New file.
28732 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28734         [BZ #13673]
28735         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28736         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28737         * sysdeps/i386/crti.S: Likewise.
28738         * sysdeps/i386/crtn.S: Likewise.
28739         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28740         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28741         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28742         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28743         * sysdeps/sh/crti.S: Likewise.
28744         * sysdeps/sh/crtn.S: Likewise.
28745         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28747         [BZ #13673]
28748         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28749         with URL.
28750         * locale/programs/locfile-kw.gperf: Likewise.
28751         * locale/programs/charmap-kw.h: Regenerated.
28752         * locale/programs/locfile-kw.h: Likewise.
28754         [BZ #13673]
28755         * intl/plural.y: Replace FSF snail mail address with URL.
28756         * intl/plural.c: Regenerated.
28758 2012-03-09  Richard Henderson  <rth@twiddle.net>
28760         * include/math_private.h: Remove file.
28761         * math/math_private.h: Move file ...
28762         * sysdeps/generic/math_private.h: ... here.
28764         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28765         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28766         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28768         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28769         and <math_private.h>.
28770         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28771         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28772         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28773         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28774         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28775         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28776         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28778         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28779         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28782         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28784         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28785         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28786         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28787         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28788         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28789         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28791         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28792         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28793         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28794         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28795         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28796         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28797         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28800         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28802         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28803         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28805         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28806         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28810         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28811         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28812         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28813         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28814         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28815         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28816         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28817         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28818         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28819         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28820         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28821         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28822         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28823         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28824         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28825         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28826         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28827         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28828         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28829         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28830         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28831         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28833         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28834         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28838         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28839         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28840         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28842         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28844         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28849         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28850         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28851         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28852         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28853         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28857         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28858         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28861         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28862         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28863         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28864         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28865         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28866         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28867         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28868         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28870         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28871         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28872         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28873         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28874         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28875         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28876         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28877         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28878         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28880         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28881         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28882         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28883         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28884         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28886         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28887         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28888         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28889         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28890         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28891         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28892         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28893         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28894         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28895         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28896         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28897         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28898         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28899         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28900         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28901         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28902         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28903         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28904         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28905         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28906         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28907         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28908         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28909         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28910         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28911         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28912         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28913         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28914         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28915         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28916         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28917         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28918         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28919         * sysdeps/ieee754/k_standard.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28930         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28939         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28941         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28942         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28943         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28944         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28945         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28947         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28948         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28951         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28952         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28953         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28956         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28957         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28958         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28959         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28960         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28962         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28972         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28980         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28981         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28987         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28993         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28997         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29002         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29005         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29006         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29008         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29010         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29011         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29012         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29013         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29018         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29019         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29024         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29028         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29036         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29037         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29038         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29039         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29042         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29043         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29045         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29047         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29048         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29049         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29053         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29054         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29055         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29057         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29059         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29060         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29061         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29062         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29063         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29064         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29065         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29066         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29067         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29068         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29069         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29071         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29073         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29074         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29075         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29076         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29077         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29078         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29079         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29080         * sysdeps/ieee754/s_lib_version.c: Likewise.
29081         * sysdeps/ieee754/s_matherr.c: Likewise.
29082         * sysdeps/ieee754/s_signgam.c: Likewise.
29083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29085         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29086         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29087         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29088         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29089         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29090         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29091         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29092         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29093         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29094         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29097         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29098         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29099         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29100         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29101         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29105 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29107         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29108         * sunrpc/rpc_main.c: Likewise.
29109         * sunrpc/rpc_svcout.c: Likewise.
29111 2012-03-09  David S. Miller  <davem@davemloft.net>
29113         * include/math_private.h: New file.
29115 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29117         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29118         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29119         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29120         from <bits/socket_type.h>.
29121         (enum __socket_type): Don't define here.
29122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29124         bits/socket_type.h.
29126         [BZ #13566]
29127         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29128         checking __USE_GNU.
29130         * Makerules ($(inst_includedir)/%.h): New rule.
29131         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29132         (install-others): Remove variable setting.
29133         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29135 2012-03-08  Richard Henderson  <rth@twiddle.net>
29137         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29138         from macro to inline function; merge with the
29139         !__LIBC_INTERNAL_MATH_INLINES version.
29140         (__ieee754_sqrtf): Likewise.
29142         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29143         to inline function.
29144         (__rintf, __floor, __floorf): Likewise.
29146         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29147         macro to inline function.
29148         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29150         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29151         not <math/math_private.h>.
29153 2012-03-08  David S. Miller  <davem@davemloft.net>
29155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29156         copyright year.
29157         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29159 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29161         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29162         normalization.
29163         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29164         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29166 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29168         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29169         be defined individually, they must be defined as a block.  Define
29170         S for printing a string instead of hidint the different by using a
29171         macro for adding the 'l'.
29172         * stdio-common/tst-fphex-wide.c: Adjust.
29174 2012-03-07  Marek Polacek  <polacek@redhat.com>
29176         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29178 2012-03-08  Marek Polacek  <polacek@redhat.com>
29180         [BZ #13806]
29181         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29182         * stdio-common/tst-fphex.c: Define a few macros to make the
29183         test reusable.  Use them.
29184         * stdio-common/tst-fphex-wide.c: New file.
29186 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29188         [BZ #6911]
29189         * manual/macros.texi (gnusystems): New macro.
29190         (nongnusystems): Likewise.
29191         (gnulinuxhurdsystems): Likewise.
29192         (gnuhurdsystems): Likewise..
29193         (gnulinuxsystems): Likewise.
29194         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29195         variants of the GNU system, not "GNU system".
29196         * manual/conf.texi: Likewise.
29197         * manual/errno.texi: Likewise.  Update example of errno macro
29198         expansion.
29199         * manual/filesys.texi: Likewise.
29200         (getumask): Document as specific to GNU/Hurd.
29201         * manual/install.texi: Likewise.  Reword some references to
29202         GNU/Linux.
29203         * manual/intro.texi: Likewise.
29204         * manual/io.texi: Likewise.
29205         (File Name Portability): Detail which constraints are inapplicable
29206         to all GNU systems and which are only inapplicable to GNU/Hurd.
29207         * manual/job.texi: Likewise.
29208         * manual/llio.texi: Likewise.
29209         (O_NOCTTY): Document as present on GNU/Linux.
29210         * manual/maint.texi: Likewise.
29211         * manual/memory.texi: Likewise.
29212         * manual/pattern.texi: Likewise.
29213         * manual/pipe.texi: Likewise.
29214         * manual/process.texi: Likewise.
29215         * manual/resource.texi: Likewise.
29216         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29217         child on GNU/Hurd.
29218         * manual/setjmp.texi: Likewise.
29219         * manual/signal.texi: Likewise.
29220         * manual/startup.texi: Likewise.
29221         * manual/stdio.texi: Likewise.
29222         * manual/terminal.texi: Likewise.
29223         (ONLCR): Document as POSIX.
29224         (OXTABS): Document availability on GNU/Linux as XTABS.
29225         (ONOEOT): Document availability separately from other bits.
29226         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29227         * manual/time.texi: Likewise.
29228         * manual/users.texi: Likewise.
29229         * INSTALL: Regenerated.
29230         * sysdeps/gnu/errlist.c: Regenerated.
29232         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29233         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29234         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29235         puts.
29236         * configure: Regenerated.
29238 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29240         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29241         default includes instead of AC_HEADER_CHECK.
29242         * sysdeps/i386/configure: Regenerated.
29244         [BZ #10716]
29245         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29246         * math/s_cacoshf.c (__cacoshf): Likewise.
29247         * math/s_cacoshl.c (__cacoshl): Likewise.
29248         * math/s_casinh.c (__casinh): Set signs of result from argument.
29249         * math/s_casinhf.c (__casinhf): Likewise.
29250         * math/s_casinhl.c (__casinhl): Likewise.
29251         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29252         (casinh_test): Add more tests.
29253         * sysdeps/i386/fpu/libm-test-ulps: Update.
29254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29256 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29258         * po/zh_TW.po: Update from translation team.
29260         * login/Makefile (distribute): Remove variable.
29261         * catgets/Makefile: Likewise.
29262         * mach/Makefile: Likewise.
29263         * malloc/Makefile: Likewise.
29264         * misc/Makefile: Likewise.
29265         * iconv/Makefile: Likewise.
29266         * nscd/Makefile: Likewise.
29267         * hurd/Makefile: Likewise.
29268         * manual/Makefile: Likewise.
29269         * locale/Makefile: Likewise.
29270         * intl/Makefile: Likewise.
29271         * conform/Makefile: Likewise.
29272         * nss/Makefile: Likewise.
29273         * time/Makefile: Likewise.
29274         * soft-fp/Makefile: Likewise.
29275         * dirent/Makefile: Likewise.
29276         * gmon/Makefile: Likewise.
29277         * po/Makefile: Likewise.
29278         * rt/Makefile: Likewise.
29279         * socket/Makefile: Likewise.
29280         * math/Makefile: Likewise.
29281         * signal/Makefile: Likewise.
29282         * debug/Makefile: Likewise.
29283         * elf/Makefile: Likewise.
29284         * timezone/Makefile: Likewise.
29285         * stdlib/Makefile: Likewise.
29286         * iconvdata/Makefile: Likewise.
29287         * sunrpc/Makefile: Likewise.
29288         * io/Makefile: Likewise.
29289         * argp/Makefile: Likewise.
29290         * inet/Makefile: Likewise.
29291         * hesiod/Makefile: Likewise.
29292         * grp/Makefile: Likewise.
29293         * csu/Makefile: Likewise.
29294         * wctype/Makefile: Likewise.
29295         * crypt/Makefile: Likewise.
29296         * libio/Makefile: Likewise.
29297         * string/Makefile: Likewise.
29298         * nis/Makefile: Likewise.
29299         * resolv/Makefile: Likewise.
29300         * stdio-common/Makefile: Likewise.
29301         * wcsmbs/Makefile: Likewise.
29302         * dlfcn/Makefile: Likewise.
29303         * posix/Makefile: Likewise.
29305         [BZ #6959]
29306         * timezone/Makefile: Don't install timezone files, just the programs
29307         and scripts.
29309 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29311         * nss/databases.def: Add missing gshadow entry.
29313         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29315 2012-03-06  Marek Polacek  <polacek@redhat.com>
29317         [BZ #13726]
29318         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29319         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29320         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29321         * stdio-common/tst-long-dbl-fphex.c: New file.
29323 2012-03-06  David S. Miller  <davem@davemloft.net>
29325         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29326         (set_obp_int): New function.
29327         (get_obp_int): New function.
29328         (__get_clockfreq_via_dev_openprom): Likewise.
29329         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29330         Avoid unused variable warnings on 'val' and use builtin_expect.
29331         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29332         __builtin_expect.
29333         (INLINE_CLONE_SYSCALL): Likewise.
29335 2012-03-05  David S. Miller  <davem@davemloft.net>
29337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29339 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29344         only for |x| >= 40.
29345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29347 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29350         Replace gettimeofday with __vdso_gettimeofday.
29352         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29353         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29354         __vdso_clock_gettime and __vdso_getcpu.
29356         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29357         time with __vdso_time.
29359 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29361         * manual/lang.texi (size_t): Note types to which size_t may be
29362         equivalent with the GNU C Library, but do not describe when
29363         differences between them are significant.
29365 2012-03-05  Andreas Jaeger  <aj@suse.de>
29367         * sysdeps/i386/fpu/libm-test-ulps: Update.
29369 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29371         [BZ #3976]
29372         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29373         (__ieee754_pow): Save and restore rounding mode and use
29374         round-to-nearest for main computations.
29375         * math/libm-test.inc (pow_test_tonearest): New function.
29376         (pow_test_towardzero): Likewise.
29377         (pow_test_downward): Likewise.
29378         (pow_test_upward): Likewise.
29379         (main): Call the new functions.
29380         * sysdeps/i386/fpu/libm-test-ulps: Update.
29381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29383         [BZ #3976]
29384         * math/libm-test.inc (cosh_test_tonearest): New function.
29385         (cosh_test_towardzero): Likewise.
29386         (cosh_test_downward): Likewise.
29387         (cosh_test_upward): Likewise.
29388         (sinh_test_tonearest): Likewise.
29389         (sinh_test_towardzero): Likewise.
29390         (sinh_test_downward): Likewise.
29391         (sinh_test_upward): Likewise.
29392         (main): Call the new functions.
29393         * sysdeps/i386/fpu/libm-test-ulps: Update.
29394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29396 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29398         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29399         default stack guard is set in last bytes.
29400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29402 2012-03-05  Kees Cook  <keescook@chromium.org>
29404         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29406         [BZ #13656]
29407         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29408         possibly allocate from heap instead of stack.
29409         * stdio-common/bug-vfprintf-nargs.c: New file.
29410         * stdio-common/Makefile (tests): Add nargs overflow test.
29412 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29416 2012-03-03  Marek Polacek  <polacek@redhat.com>
29418         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29419         * math/math_private.h: Likewise.
29420         * stdlib/tst-strtod.c: Likewise.
29421         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29422         * sysdeps/x86_64/bits/atomic.h: Likewise.
29424 2012-03-02  David S. Miller  <davem@davemloft.net>
29426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29430         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29431         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29432         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29433         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29435 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29437         [BZ #13792]
29438         * manual/examples/README: New file, says the example source files
29439         can be used under GPL>=2.
29440         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29441         line containing just "*/".
29442         * manual/examples/add.c: Add copyright header (GPL>=2).
29443         * manual/examples/argp-ex1.c: Likewise.
29444         * manual/examples/argp-ex2.c: Likewise.
29445         * manual/examples/argp-ex3.c: Likewise.
29446         * manual/examples/argp-ex4.c: Likewise.
29447         * manual/examples/atexit.c: Likewise.
29448         * manual/examples/db.c: Likewise.
29449         * manual/examples/dir.c: Likewise.
29450         * manual/examples/dir2.c: Likewise.
29451         * manual/examples/execinfo.c: Likewise.
29452         * manual/examples/filecli.c: Likewise.
29453         * manual/examples/filesrv.c: Likewise.
29454         * manual/examples/fmtmsgexpl.c: Likewise.
29455         * manual/examples/genpass.c: Likewise.
29456         * manual/examples/inetcli.c: Likewise.
29457         * manual/examples/inetsrv.c: Likewise.
29458         * manual/examples/isockad.c: Likewise.
29459         * manual/examples/longopt.c: Likewise.
29460         * manual/examples/memopen.c: Likewise.
29461         * manual/examples/memstrm.c: Likewise.
29462         * manual/examples/mkfsock.c: Likewise.
29463         * manual/examples/mkisock.c: Likewise.
29464         * manual/examples/mygetpass.c: Likewise.
29465         * manual/examples/pipe.c: Likewise.
29466         * manual/examples/popen.c: Likewise.
29467         * manual/examples/rprintf.c: Likewise.
29468         * manual/examples/search.c: Likewise.
29469         * manual/examples/select.c: Likewise.
29470         * manual/examples/setjmp.c: Likewise.
29471         * manual/examples/sigh1.c: Likewise.
29472         * manual/examples/sigusr.c: Likewise.
29473         * manual/examples/stpcpy.c: Likewise.
29474         * manual/examples/strdupa.c: Likewise.
29475         * manual/examples/strftim.c: Likewise.
29476         * manual/examples/strncat.c: Likewise.
29477         * manual/examples/subopt.c: Likewise.
29478         * manual/examples/swapcontext.c: Likewise.
29479         * manual/examples/termios.c: Likewise.
29480         * manual/examples/testopt.c: Likewise.
29481         * manual/examples/testpass.c: Likewise.
29482         * manual/examples/timeval_subtract.c: Likewise.
29484         [BZ #13792]
29485         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29486         function to ...
29487         * manual/timeval_subtract.c.texi: ... here, new file.
29489 2012-03-02  David S. Miller  <davem@davemloft.net>
29491         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29493 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29495         [BZ #3976]
29496         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29497         (__sin): Save and restore rounding mode and use round-to-nearest
29498         for all computations.
29499         (__cos): Save and restore rounding mode and use round-to-nearest
29500         for all computations.
29501         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29502         <fenv.h>.
29503         (tan): Save and restore rounding mode and use round-to-nearest for
29504         all computations.
29505         * math/libm-test.inc (cos_test_tonearest): New function.
29506         (cos_test_towardzero): Likewise.
29507         (cos_test_downward): Likewise.
29508         (cos_test_upward): Likewise.
29509         (sin_test_tonearest): Likewise.
29510         (sin_test_towardzero): Likewise.
29511         (sin_test_downward): Likewise.
29512         (sin_test_upward): Likewise.
29513         (tan_test_tonearest): Likewise.
29514         (tan_test_towardzero): Likewise.
29515         (tan_test_downward): Likewise.
29516         (tan_test_upward): Likewise.
29517         (main): Call the new functions.
29518         * sysdeps/i386/fpu/libm-test-ulps: Update.
29519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29521         [BZ #10135]
29522         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29523         small n, then large n, before computing and testing k+n.
29524         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29526         Likewise.
29527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29528         Likewise.
29529         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29530         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29531         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29532         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29535         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29537         * math/libm-test.inc (scalbn_test): Add more tests.
29538         (scalbln_test): Likewise.
29540         * manual/filesys.texi (mode_t): Describe constraints on size and
29541         signedness, not exact equivalence to a particular type.
29542         (ino_t): Likewise.
29543         (ino64_t): Likewise.
29544         (dev_t): Likewise.
29545         (nlink_t): Likewise.
29546         (blkcnt_t): Likewise.
29547         (blkcnt64_t): Likewise.
29548         * manual/llio.texi (off_t): Likewise.
29550         [BZ #3976]
29551         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29552         (__ieee754_exp): Save and restore rounding mode and use
29553         round-to-nearest for all computations.
29554         * math/libm-test.inc (exp_test_tonearest): New function.
29555         (exp_test_towardzero): Likewise.
29556         (exp_test_downward): Likewise.
29557         (exp_test_upward): Likewise.
29558         (main): Call the new functions.
29559         * sysdeps/i386/fpu/libm-test-ulps: Update.
29560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29562 2012-03-01  Chris Demetriou  <cgd@google.com>
29564         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29565         have predictable order.
29567 2012-03-01  David S. Miller  <davem@davemloft.net>
29569         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29571         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29572         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29573         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29574         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29576         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29577         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29578         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29580         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29581         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29582         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29583         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29584         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29588         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29589         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29590         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29592         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29593         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29594         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29595         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29596         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29597         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29599         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29600         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29601         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29602         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29603         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29605         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29606         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29608         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29609         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29610         * sysdeps/sparc/elf/configure: Regenerated.
29612 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29614         * configure.in (AS, LD): Require binutils 2.20 or later.
29615         * configure: Regenerated.
29616         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29617         as required minimum version.
29618         * INSTALL: Regenerated.
29620         [BZ #2541]
29621         [BZ #4108]
29622         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29623         before squaring exponent.
29624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29625         bottom long double and 27 bits of top long double before squaring
29626         exponent.
29627         * math/libm-test.inc (erfc_test): Add more tests.
29628         * sysdeps/i386/fpu/libm-test-ulps: Update.
29629         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29632 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29634         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29635         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29636         containing bit-fields.
29637         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29638         * soft-fp/single.h (_FP_UNION_S): Likewise.
29639         * soft-fp/double.h (_FP_UNION_D): Likewise.
29641 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29643         [BZ #13786]
29644         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29645         not include ../strcmp.S.
29646         [USE_AS_STRNCASECMP_L]: Likewise.
29647         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29648         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29649         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29650         (__strncasecmp_l_ia32): Define as alias to
29651         __strncasecmp_l_nonascii.
29653         [BZ #5794]
29654         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29655         * sysdeps/i386/fpu/libm-test-ulps: Update.
29656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29658         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29661 2012-02-29  Jeff Law  <law@redhat.com>
29663         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29664         out of bounds read.
29666 2012-02-29  Marek Polacek  <polacek@redhat.com>
29668         [BZ #13706]
29669         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29670         * elf/Makefile: Add rules to run tst-unused-dep.out.
29672 2012-02-28  David S. Miller  <davem@davemloft.net>
29674         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29675         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29681 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29683         * math/libm-test.inc (llround_test): Move one test from
29684         lround_test.  Use TEST_f_L in moved test.
29685         (lround_test): Move misplaced test to llround_test.  Add testcase
29686         from bug 2561.
29688 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29690         * sysdeps/x86_64/fpu/e_expf.S: New file.
29691         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29693 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29695         [BZ #13637]
29696         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29697         of remain_len that may cause incomplete multi-byte character and
29698         false match.
29699         * posix/bug-regex33.c: New file.
29700         * posix/Makefile (tests): Add bug-regex33.
29702 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29704         * manual/macros.texi: New file.
29705         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29706         * manual/libc.texinfo: Include macros.texi.
29707         * manual/creatute.texi: Likewise.
29708         * manual/install.texi: Likewise.
29709         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29710         @glibcadj{} in references to the GNU C Library.
29711         * manual/charset.texi: Likewise.
29712         * manual/conf.texi: Likewise.
29713         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29714         when not using those macros.
29715         * manual/creature.texi: Likewise.
29716         * manual/crypt.texi: Likewise.
29717         * manual/errno.texi: Likewise.
29718         * manual/filesys.texi: Likewise.
29719         * manual/header.texi: Likewise.
29720         * manual/install.texi: Likewise.
29721         * manual/intro.texi: Likewise.
29722         * manual/io.texi: Likewise.
29723         * manual/job.texi: Likewise.
29724         * manual/lang.texi: Likewise.
29725         * manual/libc.texiinfo: Likewise.
29726         * manual/llio.texi: Likewise.
29727         * manual/locale.texi: Likewise.
29728         * manual/maint.texi: Likewise.
29729         * manual/math.texi: Likewise.
29730         * manual/memory.texi: Likewise.
29731         * manual/message.texi: Likewise.
29732         * manual/nss.texi: Likewise.
29733         * manual/pattern.texi: Likewise.
29734         * manual/process.texi: Likewise.
29735         * manual/resource.texi: Likewise.
29736         * manual/search.texi: Likewise.
29737         * manual/setjmp.texi: Likewise.
29738         * manual/signal.texi: Likewise.
29739         * manual/socket.texi: Likewise.
29740         * manual/startup.texi: Likewise.
29741         * manual/stdio.texi: Likewise.
29742         * manual/string.texi: Likewise.
29743         * manual/sysinfo.texi: Likewise.
29744         * manual/syslog.texi: Likewise.
29745         * manual/terminal.texi: Likewise.
29746         * manual/time.texi: Likewise.
29747         * manual/users.texi: Likewise.
29748         * INSTALL: Regenerated.
29749         * NOTES: Regenerated.
29750         * sysdeps/gnu/errlist.c: Regenerated.
29752 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29754         * include/dirent.h: Include <dirstream.h> before
29755         <dirent/dirent.h>.
29757 2012-02-28  David S. Miller  <davem@davemloft.net>
29759         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29760         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29761         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29762         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29764 2012-02-27  David S. Miller  <davem@davemloft.net>
29766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29768         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29769         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29772         frame pointer instead of stack pointer relative arg slot.
29773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29774         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29775         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29777 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29779         [BZ #3992]
29780         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29782 2012-02-27  David S. Miller  <davem@davemloft.net>
29784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29788         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29789         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29790         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29791         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29795         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29796         later.  Allow versions 5-9.
29797         * configure: Regenerated.
29798         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29799         required minimum version and 4.6 as recommended version.  Do not
29800         mention bugs in GCC 2.7 and 2.8.
29801         * INSTALL: Regenerated.
29803 2012-02-27  David S. Miller  <davem@davemloft.net>
29805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29811         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29812         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29815         manipulate bits before adding and subtracting TWO112[sx].
29816         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29818 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29820         [BZ #13775]
29821         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29822         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29823         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29824         being in POSIX, because they are in 1003.1-2008.
29826         * rt/tst-aio.c: Include <fcntl.h>.
29827         * rt/tst-aio7.c: Likewise.
29828         * rt/tst-aio64.c: Likewise.
29830         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29832 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29834         * manual/install.texi (--with-headers): Describe headers as
29835         interface headers, not private headers.
29836         (Specific advice for GNU/Linux systems): Describe use of headers
29837         from "make headers_install", not private headers from older
29838         kernels.
29839         * INSTALL: Regenerated.
29840         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29841         Change to 2.6.19.
29842         * sysdeps/unix/sysv/linux/configure: Regenerated.
29844         * manual/llio.texi (fclean): Remove documentation.
29846         * manual/Makefile (libc-texi-generated): New variable.  Include
29847         version.texi.
29848         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29849         $(libc-texi-generated), not duplicated list of files.
29850         (version.texi, stamp-version): New rules.
29851         (realclean): Remove $(libc-texi-generated), not individual files
29852         from that list.  Do not remove dir-add.texinfo.
29853         * manual/libc.texinfo: Comment out uses of edition numbers and
29854         references to printed manual.  Remove last-updated dates.
29855         (EDITION): Comment out.
29856         (ISBN): Likewise.
29857         (VERSION, UPDATED): Remove.
29858         (version.texi): Include.
29860 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29862         * sysdeps/posix/spawni.c: Include <signal.h>.
29863         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29864         * sysdeps/pthread/aio_fsync.c: Likewise.
29866 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29868         * conform/Makefile (tests): Run only when not cross-compiling and
29869         when fast-check is not defined.
29871         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29872         * conform/data/limits.h-data: Fixes for POSIX2008.
29873         * conform/run-conformtest.sh: Run all tests.
29874         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29875         headers.
29876         * include/bits/dlfcn.h: Likewise.
29877         * include/langinfo.h: Likewise.
29878         * include/monetary.h: Likewise.
29879         * include/sys/poll.h: Likewise.
29881         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29882         for __USE_GNU.
29883         * posix/spawn.h: Define __need_sigset_t.
29884         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29885         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29886         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29887         to get sigevent_t only.
29888         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29889         only for __USE_GNU.
29890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29891         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29892         process_vm_writev only for __USE_GNU.
29893         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29895         * conform/Makefile: For now ignore errors from run-conformtest.
29896         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29897         POSIX to avoid namespace pollution.  Don't prepend headers.
29898         * conform/data/aio.h-data: Fixes for POSIX testing.
29899         * conform/data/fcntl.h-data: Likewise.
29900         * conform/data/glob.h-data: Likewise.
29901         * conform/data/grp.h-data: Likewise.
29902         * conform/data/pthread.h-data: Likewise.
29903         * conform/data/pwd.h-data: Likewise.
29904         * conform/data/signal.h-data: Likewise.
29905         * conform/data/spawn.h-data: Likewise.
29906         * conform/data/stdio.h-data: Likewise.
29907         * conform/data/stdlib.h-data: Likewise.
29908         * conform/data/stropts.h-data: Likewise.
29909         * conform/data/sys/mman.h-data: Likewise.
29910         * conform/data/sys/stat.h-data: Likewise.
29911         * conform/data/sys/types.h-data: Likewise.
29912         * conform/data/sys/wait.h-data: Likewise.
29913         * conform/data/time.h-data: Likewise.
29914         * conform/data/unistd.h-data: Likewise.
29915         * conform/data/utime.h-data: Likewise.
29917         * io/sys/stat.h: fchmod was always in POSIX.
29918         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29919         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29920         * rt/aio.h: Define __need_timespec before including <time.h>.
29921         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29922         struct.  Add forward declaration of pthread_attr_t and use it in
29923         sigevent.
29924         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29926         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29927         always remove CLK_TCK definition.
29929 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29931         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29933 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29935         * conform/run-conformtest.sh: New file.
29936         * conform/Makefile: Run run-conformtest for tests.
29937         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29938         support.
29940         * conform/data/uchar.h-data: New file.
29941         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29942         * conform/data/arpa/inet.h-data: Likewise.
29943         * conform/data/assert.h-data: Likewise.
29944         * conform/data/complex.h-data: Likewise.
29945         * conform/data/cpio.h-data: Likewise.
29946         * conform/data/ctype.h-data: Likewise.
29947         * conform/data/dirent.h-data: Likewise.
29948         * conform/data/dlfcn.h-data: Likewise.
29949         * conform/data/errno.h-data: Likewise.
29950         * conform/data/fcntl.h-data: Likewise.
29951         * conform/data/float.h-data: Likewise.
29952         * conform/data/fmtmsg.h-data: Likewise.
29953         * conform/data/fnmatch.h-data: Likewise.
29954         * conform/data/ftw.h-data: Likewise.
29955         * conform/data/glob.h-data: Likewise.
29956         * conform/data/grp.h-data: Likewise.
29957         * conform/data/iconv.h-data: Likewise.
29958         * conform/data/inttypes.h-data: Likewise.
29959         * conform/data/langinfo.h-data: Likewise.
29960         * conform/data/libgen.h-data: Likewise.
29961         * conform/data/limits.h-data: Likewise.
29962         * conform/data/locale.h-data: Likewise.
29963         * conform/data/math.h-data: Likewise.
29964         * conform/data/monetary.h-data: Likewise.
29965         * conform/data/mqueue.h-data: Likewise.
29966         * conform/data/ndbm.h-data: Likewise.
29967         * conform/data/net/if.h-data: Likewise.
29968         * conform/data/netdb.h-data: Likewise.
29969         * conform/data/netinet/in.h-data: Likewise.
29970         * conform/data/nl_types.h-data: Likewise.
29971         * conform/data/poll.h-data: Likewise.
29972         * conform/data/pthread.h-data: Likewise.
29973         * conform/data/pwd.h-data: Likewise.
29974         * conform/data/regex.h-data: Likewise.
29975         * conform/data/sched.h-data: Likewise.
29976         * conform/data/search.h-data: Likewise.
29977         * conform/data/semaphore.h-data: Likewise.
29978         * conform/data/setjmp.h-data: Likewise.
29979         * conform/data/signal.h-data: Likewise.
29980         * conform/data/spawn.h-data: Likewise.
29981         * conform/data/stdarg.h-data: Likewise.
29982         * conform/data/stdio.h-data: Likewise.
29983         * conform/data/stdlib.h-data: Likewise.
29984         * conform/data/string.h-data: Likewise.
29985         * conform/data/strings.h-data: Likewise.
29986         * conform/data/stropts.h-data: Likewise.
29987         * conform/data/sys/ipc.h-data: Likewise.
29988         * conform/data/sys/mman.h-data: Likewise.
29989         * conform/data/sys/msg.h-data: Likewise.
29990         * conform/data/sys/resource.h-data: Likewise.
29991         * conform/data/sys/select.h-data: Likewise.
29992         * conform/data/sys/sem.h-data: Likewise.
29993         * conform/data/sys/shm.h-data: Likewise.
29994         * conform/data/sys/socket.h-data: Likewise.
29995         * conform/data/sys/stat.h-data: Likewise.
29996         * conform/data/sys/statvfs.h-data: Likewise.
29997         * conform/data/sys/time.h-data: Likewise.
29998         * conform/data/sys/timeb.h-data: Likewise.
29999         * conform/data/sys/times.h-data: Likewise.
30000         * conform/data/sys/types.h-data: Likewise.
30001         * conform/data/sys/uio.h-data: Likewise.
30002         * conform/data/sys/un.h-data: Likewise.
30003         * conform/data/sys/utsname.h-data: Likewise.
30004         * conform/data/sys/wait.h-data: Likewise.
30005         * conform/data/syslog.h-data: Likewise.
30006         * conform/data/tar.h-data: Likewise.
30007         * conform/data/termios.h-data: Likewise.
30008         * conform/data/utime.h-data: Likewise.
30009         * conform/data/utmpx.h-data: Likewise.
30010         * conform/data/varargs.h-data: Likewise.
30011         * conform/data/wchar.h-data: Likewise.
30012         * conform/data/wctype.h-data: Likewise.
30013         * conform/data/wordexp.h-data: Likewise.
30015         * include/stropts.h: New file.
30016         * include/uchar.h: New file.
30017         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30018         * include/assert.h: Likewise.
30019         * include/ctype.h: Likewise.
30020         * include/dirent.h: Likewise.
30021         * include/dlfcn.h: Likewise.
30022         * include/fcntl.h: Likewise.
30023         * include/fnmatch.h: Likewise.
30024         * include/glob.h: Likewise.
30025         * include/grp.h: Likewise.
30026         * include/libio.h: Likewise.
30027         * include/locale.h: Likewise.
30028         * include/math.h: Likewise.
30029         * include/net/if.h: Likewise.
30030         * include/netdb.h: Likewise.
30031         * include/netinet/in.h: Likewise.
30032         * include/pthread.h: Likewise.
30033         * include/pwd.h: Likewise.
30034         * include/regex.h: Likewise.
30035         * include/sched.h: Likewise.
30036         * include/search.h: Likewise.
30037         * include/setjmp.h: Likewise.
30038         * include/signal.h: Likewise.
30039         * include/stdio.h: Likewise.
30040         * include/stdlib.h: Likewise.
30041         * include/string.h: Likewise.
30042         * include/sys/cdefs.h: Likewise.
30043         * include/sys/mman.h: Likewise.
30044         * include/sys/msg.h: Likewise.
30045         * include/sys/resource.h: Likewise.
30046         * include/sys/select.h: Likewise.
30047         * include/sys/socket.h: Likewise.
30048         * include/sys/stat.h: Likewise.
30049         * include/sys/statvfs.h: Likewise.
30050         * include/sys/time.h: Likewise.
30051         * include/sys/times.h: Likewise.
30052         * include/sys/uio.h: Likewise.
30053         * include/sys/utsname.h: Likewise.
30054         * include/sys/wait.h: Likewise.
30055         * include/termios.h: Likewise.
30056         * include/time.h: Likewise.
30057         * include/ulimit.h: Likewise.
30058         * include/unistd.h: Likewise.
30059         * include/utime.h: Likewise.
30060         * include/wchar.h: Likewise.
30061         * include/wctype.h: Likewise.
30062         * include/wordexp.h: Likewise.
30064         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30066         * time/time.h: TIME_UTC must be a macro.
30067         Make timespec_get available for ISO C11 only as well.
30069 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30071         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30072         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30074 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30076         * configure.in: Use -o not -a in test for unsupported multi-arch.
30078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30080         * manual/texinfo.tex: Update to version 2012-01-19.16.
30082 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30084         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30086 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30088         [BZ #13738]
30089         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30090         * manual/fdl-1.3.texi: New file.
30091         * manual/fdl-1.1.texi: File removed.
30093         [BZ #13738]
30094         * manual/libc.texinfo (FDL_VERSION): New @set.
30095         Use it for mention of FDL in cover text.
30096         (Documentation License): Use it in @include file name.
30098 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30099             Roland McGrath  <roland@hack.frob.com>
30101         [BZ #5461]
30102         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30103         not LONG_LONG_MAX and LONG_LONG_MIN.
30104         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30105         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30106         name.
30107         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30109 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30111         [BZ #2547]
30112         [BZ #11365]
30113         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30114         manipulate bits before adding and subtracting TWO23[sx].
30115         * math/libm-test.inc (nearbyint_test): Add more tests.
30117 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30119         [BZ #2548]
30120         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30121         bits before adding and subtracting TWO23[sx].
30122         * math/libm-test.inc (rint_test): Add more tests.
30123         (rint_test_tonearest): Likewise.
30124         (rint_test_towardzero): Likewise.
30125         (rint_test_downward): Likewise.
30126         (rint_test_upward: Likewise.
30128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30130         [BZ #10110]
30131         * include/stdc-predef.h: New file.  Extracted from features.h.
30132         * include/features.h: Include stdc-predef.h.
30133         * Makefile (headers): Add stdc-predef.h.
30134         * CONFORMANCE (Compiler limitations): Update.
30136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30138         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30140 2012-02-21  David S. Miller  <davem@davemloft.net>
30142         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30143         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30145 2012-02-20  David S. Miller  <davem@davemloft.net>
30147         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30148         using a normal save/restore sequence, rather than allocating a
30149         dummy stack frame just to store a frame pointer and restore.
30150         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30152 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30154         * manual/install.texi: Fix stray word in line-wrapped comment.
30156 2012-02-20  David S. Miller  <davem@davemloft.net>
30158         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30159         both binutils and gcc support GOTDATA.
30161         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30162         "rd %pc" in the PIC register setup sequences.
30164         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30165         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30166         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30167         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30168         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30171         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30173         (SYSCALL_ERROR_HANDLER): Likewise.
30174         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30175         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30177         (SYSCALL_ERROR_HANDLER): Likewise.
30179         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30180         (HAVE_GCC_GOTDATA): New.
30181         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30182         relocation support in both binutils and gcc.
30183         * sysdeps/sparc/elf/configure: Regenerate.
30185         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30186         * sysdeps/sparc/sparc32/elf/configure: Delete.
30187         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30188         * sysdeps/sparc/sparc64/elf/configure: Delete.
30189         * sysdeps/sparc/elf/configure.in: New file.
30190         * sysdeps/sparc/elf/configure: Generate.
30192         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30193         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30194         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30195         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30196         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30200         * manual/install.texi: Do not mention specific glibc version
30201         numbers.
30202         * manual/libc.texinfo (VERSION, UPDATED): Update.
30203         (@copying): Use @copyright{} and range of years.
30205 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30207         [BZ #13695]
30208         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30209         [crti.S not in sysdirs] (generated): Do not append.
30210         [crti.S not in sysdirs] (omit-deps): Likewise.
30211         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30212         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30213         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30214         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30215         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30216         Likewise.
30217         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30218         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30219         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30220         * csu/defs.awk: Remove file.
30221         * sysdeps/generic/initfini.c: Likewise.
30222         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30223         variable.
30224         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30225         Likewise.
30227 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30229         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30230         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30231         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30232         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30233         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30234         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30235         <bits/epoll.h>.
30236         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30237         (__EPOLL_PACKED): Define to empty if not defined by
30238         <bits/epoll.h>.
30239         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30241         bits/epoll.h.
30243 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30245         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30246         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30247         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30248         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30249         <bits/timerfd.h>.
30250         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30252         bits/timerfd.h.
30254 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30256         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30257         in C locale.
30258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30263 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30265         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30266         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30268 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30270         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30271         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30272         defined.
30273         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30274         Likewise.
30275         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30276         entry for 2.16.
30278 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30280         * math/w_acos.c: Use non-signaling floating-point comparisons.
30281         * math/w_acosf.c: Likewise.
30282         * math/w_acosh.c: Likewise.
30283         * math/w_acoshf.c: Likewise.
30284         * math/w_acoshl.c: Likewise.
30285         * math/w_acosl.c: Likewise.
30286         * math/w_asin.c: Likewise.
30287         * math/w_asinf.c: Likewise.
30288         * math/w_asinl.c: Likewise.
30289         * math/w_atanh.c: Likewise.
30290         * math/w_atanhf.c: Likewise.
30291         * math/w_atanhl.c: Likewise.
30292         * math/w_exp2.c: Likewise.
30293         * math/w_exp2f.c: Likewise.
30294         * math/w_exp2l.c: Likewise.
30295         * math/w_j0.c: Likewise.
30296         * math/w_j0f.c: Likewise.
30297         * math/w_j0l.c: Likewise.
30298         * math/w_j1.c: Likewise.
30299         * math/w_j1f.c: Likewise.
30300         * math/w_j1l.c: Likewise.
30301         * math/w_jn.c: Likewise.
30302         * math/w_jnf.c: Likewise.
30303         * math/w_log.c: Likewise.
30304         * math/w_log10.c: Likewise.
30305         * math/w_log10f.c: Likewise.
30306         * math/w_log10l.c: Likewise.
30307         * math/w_log2.c: Likewise.
30308         * math/w_log2f.c: Likewise.
30309         * math/w_log2l.c: Likewise.
30310         * math/w_logf.c: Likewise.
30311         * math/w_logl.c: Likewise.
30312         * math/w_sqrt.c: Likewise.
30313         * math/w_sqrtf.c: Likewise.
30314         * math/w_sqrtl.c: Likewise.
30315         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30316         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30318         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30319         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30321 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30323         [BZ #9739]
30324         * manual/string.texi (strnlen): Use correct parameter name in
30325         equivalent expression.
30327 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #11174]
30330         * manual/users.texi (seteuid): Consistently use neweuid for
30331         argument name.
30333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30335         [BZ #13704]
30336         * manual/nss.texi (Services in the NSS configuration): Correct
30337         list of services in example configuration file.
30339 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30341         [BZ #11322]
30342         * manual/arith.texi: Remove statements about negative zero
30343         behaving identically to zero.
30345 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30347         [BZ #5993]
30348         * manual/install.texi: Do not document upgrading from libc5.
30350 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30352         [BZ #4596]
30353         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30355 2012-02-18  David S. Miller  <davem@davemloft.net>
30357         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30358         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30359         %o7 across the call.
30360         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30361         instead.
30362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30363         SETUP_PIC_REG_LEAF.
30364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30365         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30366         * sysdeps/sparc/crtn.S: Likewise.
30368 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30370         * aout/Makefile: Remove.
30372 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30374         [BZ #13058]
30375         * manual/examples/argp-ex1.c (main): Format definition in GNU
30376         style.
30377         * manual/examples/argp-ex2.c (main): Likewise.
30378         * manual/examples/argp-ex3.c (main): Likewise.
30379         * manual/examples/argp-ex4.c (main): Likewise.
30380         * manual/examples/longopt.c (main): Use new-style prototype
30381         definition.
30382         * manual/examples/strncat.c (main): Specify return type and use
30383         (void) for arguments.
30384         * manual/examples/subopt.c (main): Use char **argv argument.
30386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30388         [BZ #5077]
30389         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30390         rounding modes.
30392 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30394         [BZ #6907]
30395         * manual/string.texi (strchr): Change when strchrnul is
30396         recommended.
30398 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30400         [BZ #174]
30401         * manual/locale.texi (setlocale): Document LOCPATH.
30403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #10210]
30406         * manual/process.texi (execle): Move @dots{} before last argument.
30408 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30410         [BZ #12047]
30411         * manual/charset.texi (Generic Charset Conversion): Fix typo
30412         (LC_TYPE -> LC_CTYPE).
30414 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30416         [BZ #5805]
30417         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30418         (scalbnf): Likewise.
30419         (scalbnl): Likewise.
30420         (scalbln): Likewise.
30421         (scalblnf): Likewise.
30422         (scalblnl): Likewise.
30423         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30424         (vwarnx): Likewise.
30425         (verr): Likewise.
30426         (verrx): Likewise.
30427         * manual/filesys.texi (telldir): Use braces around return type.
30428         * manual/llio.texi (mmap): Add space after comma.
30429         (mmap64): Likewise.
30430         * manual/math.texi (jn): Use @var{} on parameter names.
30431         (jnf): Likewise.
30432         (jnl): Likewise.
30433         (yn): Likewise.
30434         (ynf): Likewise.
30435         (ynl): Likewise.
30436         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30437         line.
30438         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30439         "...".
30440         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30441         (sched_get_priority_max): Likewise.
30442         * manual/signal.texi (sigvec): Add space after comma.
30443         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30444         names.
30445         (if_indextoname): Likewise.
30446         (if_freenameindex): Likewise.
30447         (sendto): Use ',' instead of '.' in prototype.
30448         * manual/startup.texi (syscall): Use @dots{} instead of literal
30449         "...".
30450         * manual/stdio.texi (__fpending): Separate initial words of
30451         paragraph from @deftypefun line.
30452         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30453         "...".
30454         (vsyslog): Use @var{} on parameter names.
30455         * manual/terminal.texi (stty): Use @var{} on parameter names.
30456         * manual/users.texi (getutmp): Use @var{} on parameter names.
30457         (getutmpx): Likewise.
30459 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30461         [BZ #6884]
30462         * manual/stdio.texi (fopen): Fix typos in description of
30463         ",ccs=STRING".
30465 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30467         [BZ #4026]
30468         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30469         get clock_id definition.
30471 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30473         [BZ #4822]
30474         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30475         (madvise): Cast every argument to void on its own.
30477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #9902]
30480         * manual/startup.texi (Exit Status): Fix typo.
30482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30484         [BZ #10140]
30485         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30486         * manual/examples/argp-ex2.c: Likewise.
30487         * manual/examples/argp-ex3.c: Likewise.
30489 2012-02-16  Richard Henderson  <rth@redhat.com>
30491         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30492         * sysdeps/s390/s390-32/initfini.c: Remove.
30493         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30494         * sysdeps/s390/s390-64/initfini.c: Remove.
30496 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30498         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30499         compiler output for sysdeps/generic/initfini.c.
30500         * sysdeps/sh/elf/initfini.c: Remove file.
30502 2012-02-16  David S. Miller  <davem@davemloft.net>
30504         [BZ #11494]
30505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30507         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30508         * sysdeps/sparc/crti.S: New file.
30509         * sysdeps/sparc/crtn.S: New file.
30510         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30511         * sysdeps/sparc/sparc64/Makefile: Likewise.
30513 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30515         [BZ #3335]
30516         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30518 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30520         [BZ #4822]
30521         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30523         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30524         (write, read, close): Likewise.
30525         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30527 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30529         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30530         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30531         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30532         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30533         <bits/signalfd.h>.
30534         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30536         bits/signalfd.h.
30538 2012-02-14  Marek Polacek  <polacek@redhat.com>
30540         * sysdeps/x86_64/crti.S: New file.
30541         * sysdeps/x86_64/crtn.S: New file.
30542         * sysdeps/x86_64/elf/initfini.c: Remove file.
30544 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30546         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30547         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30548         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30549         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30550         <bits/inotify.h>.
30551         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30553         bits/inotify.h.
30555 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30557         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30558         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30559         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30560         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30561         <bits/eventfd.h>.
30562         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30564         bits/eventfd.h.
30566 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30568         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30569         __feraiseexcept instead of feraiseexcept.
30571         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30572         nanosleep invocations.
30573         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30574         strings, and add error checking for a nanosleep invocations.
30576 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30578         Replace FSF snail mail address with URLs, as per GNU coding standards.
30579         Most of the snail mail addresses were wrong anyway, and omitting
30580         them makes the source code easier to maintain.  Almost all of the
30581         changes are to license notices and to locale LC_IDENTIFICATION
30582         addresses, except for this one:
30583         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30584         not its snail mail address.
30586 2012-02-09  Richard Henderson  <rth@twiddle.net>
30588         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30589         of kernel-features.h.
30591         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30593 2012-02-08  Marek Polacek  <polacek@redhat.com>
30595         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30596         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30597         * sysdeps/gnu/_G_config.h: Likewise.
30598         * sysdeps/generic/_G_config.h: Likewise.
30600 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30602         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30603         tests.
30604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30606         * sysdeps/powerpc/powerpc32/crti.S: New file.
30607         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30608         * sysdeps/powerpc/powerpc64/crti.S: New file.
30609         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30611         * Makeconfig (have-initfini): Don't set.
30612         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30613         * configure.in (nopic_initfini): Don't substitute.
30614         * config.h.in (HAVE_INITFINI): Don't #undef.
30615         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30616         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30618 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30620         Support crti.S and crtn.S provided directly by architectures.
30621         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30622         [crti.S in sysdirs] (omit-deps): Likewise.
30623         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30624         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30625         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30626         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30627         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30628         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30629         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30630         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30631         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30632         compiler output for sysdeps/generic/initfini.c.
30633         * sysdeps/i386/elf/Makefile: Remove file.
30634         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30636 2012-02-07  Marek Polacek  <polacek@redhat.com>
30638         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30639         * sysdeps/gnu/_G_config.h: Likewise.
30640         * sysdeps/mach/hurd/_G_config.h: Likewise.
30642 2012-02-07  Marek Polacek  <polacek@redhat.com>
30644         * math/Makefile (tests): Add tst-CMPLX2.
30645         * math/tst-CMPLX2.c: New file.
30647 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30649         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30651         * math/libm-test.inc (jn_test): Add missing L suffix.
30653 2012-02-06  Marek Polacek  <polacek@redhat.com>
30655         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30656         * sysdeps/i386/fpu/e_powf.S: Likewise.
30657         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30658         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30660         * sysdeps/i386/fpu/e_pow.S: Likewise.
30661         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30662         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30663         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30664         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30665         * sysdeps/i386/fpu/e_log2.S: Likewise.
30666         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30667         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30668         * sysdeps/i386/fpu/e_powl.S: Likewise.
30669         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30670         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30671         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30672         * sysdeps/i386/fpu/e_logl.S: Likewise.
30673         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30674         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30675         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30676         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30677         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30678         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30679         * sysdeps/i386/fpu/e_log.S: Likewise.
30680         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30681         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30682         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30683         * sysdeps/i386/fpu/e_logf.S: Likewise.
30684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30686         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30687         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30688         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30689         * sysdeps/i386/fpu/e_log10.S: Likewise.
30690         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30692         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30693         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30695         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30696         * sysdeps/i386/asm-syntax.h: Likewise.
30697         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30698         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30699         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30700         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30701         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30702         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30703         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30704         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30705         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30706         * sysdeps/powerpc/sysdep.h: Likewise.
30707         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30708         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30710 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30712         [BZ #411]
30713         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30715 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30717         * sysdeps/i386/sysdep.h: Include <features.h>.
30718         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30719         version.
30721 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30723         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30724         Define.
30725         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30726         LOAD_PIC_REG_STR.
30728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30730         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30731         (SETUP_PIC_REG): Use GET_PC_THUNK.
30732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30733         macro.
30735 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30737         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30738         for non-PIC compilation.
30739         (SETUP_PIC_REG): Add .p2align directive.
30740         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30741         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30742         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30743         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30744         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30746         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30748         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30749         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30750         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30751         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30752         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30753         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30754         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30755         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30756         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30761         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30762         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30763         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30766         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30767         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30768         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30769         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30770         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30771         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30772         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30773         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30774         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30775         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30776         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30777         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30778         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30779         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30780         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30782 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30784         * math/tst-CMPLX.c: Include <stdio.h>.
30786 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30788         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30789         float.
30790         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30791         * sysdeps/sparc/bits/mathdef.h: Likewise.
30793 2012-01-31  Marek Polacek  <polacek@redhat.com>
30795         * libio/libio.h: Don't define _PARAMS.
30796         * locale/programs/config.h: Don't define PARAMS.
30797         * stdlib/strtol_l.c: Likewise.
30798         (__strtol_l): Remove PARAMS from the prototype.
30800 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30802         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30803         names.  Just use the correct names.  Remove unnecessary wrapper
30804         functions.
30805         * malloc/arena.c: Likewise.
30806         * malloc/hooks.c: Likewise.
30808         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30809         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30810         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30812 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30814         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30815         into tail calls.
30816         (update_get_addr): New function.
30817         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30818         GET_ADDR_MODULE parameter.
30820 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30822         * crypt/cert.c: Remove __STDC__ conditionals.
30823         * crypt/crypt-entry.c: Likewise.
30824         * crypt/crypt_util.c: Likewise.
30825         * libio/filedoalloc.c: Likewise.
30826         * libio/fileops.c: Likewise.
30827         * libio/genops.c: Likewise.
30828         * libio/iofclose.c: Likewise.
30829         * libio/iofdopen.c: Likewise.
30830         * libio/iofopen.c: Likewise.
30831         * libio/iofopen64.c: Likewise.
30832         * libio/iogetdelim.c: Likewise.
30833         * libio/iopopen.c: Likewise.
30834         * libio/obprintf.c: Likewise.
30835         * libio/oldfileops.c: Likewise.
30836         * libio/oldiofclose.c: Likewise.
30837         * libio/oldiofdopen.c: Likewise.
30838         * libio/oldiofopen.c: Likewise.
30839         * libio/oldiopopen.c: Likewise.
30840         * libio/wfiledoalloc.c: Likewise.
30841         * libio/wgenops.c: Likewise.
30842         * locale/programs/xmalloc.c: Likewise.
30843         * misc/syslog.c: Likewise.
30844         * stdio-common/xbug.c: Likewise.
30845         * string/memchr.c: Likewise.
30846         * string/memcmp.c: Likewise.
30847         * string/memrchr.c: Likewise.
30848         * string/rawmemchr.c: Likewise.
30849         * sysdeps/posix/getcwd.c: Likewise.
30850         * time/strftime_l.c: Likewise.
30852 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30854         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30855         * config.make.in (config-cflags-sse2avx): Define.
30856         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30857         Fix typo.
30859 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30861         * scripts/config.guess: Update from upstream config git repository.
30862         * scripts/config.sub: Likewise.
30864 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30866         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30867         (EM_NUM): Update.
30868         (R_TILEPRO_*, R_TILEGX_*): New macros.
30870         * scripts/firstversions.awk: Fix bug in version range handling.
30872         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30874         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30876         * include/sys/epoll.h: New file.
30877         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30878         libc_hidden_def.
30880 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30882         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30883         Avoid unnecessary __WORDSIZE == 64 test.
30884         (fmaxf): Use VEX format if possible.
30885         (fmax): Likewise.
30886         (fminf): Likewise.
30887         (fmin): Likewise.
30889         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30890         * math/math_private.h: Remove libc_fegetround* and
30891         libc_fesetround*.
30892         * sysdeps/i386/configure.in: Check for -msse2avx.
30893         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30894         also if SSE2AVX is defined.
30895         Remove libc_fegetround* and libc_fesetround*.
30896         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30897         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30899         of HAS_YMM_USABLE.
30900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30901         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30902         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30903         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30906         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30908 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30911         size is not set.
30912         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30914 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30916         [BZ #13618]
30917         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30918         relocation.
30919         * Makeconfig (libm): Define.
30920         * elf/Makefile: Add rules to build and run tst-relsort1.
30921         * elf/tst-relsort1.c: New file.
30922         * elf/tst-relsort1mod1.c: New file.
30923         * elf/tst-relsort1mod2.c: New file.
30925 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30927         * math/s_ldexp.c: Remove __STDC__ conditionals.
30928         * math/s_ldexpf.c: Likewise.
30929         * math/s_ldexpl.c: Likewise.
30930         * math/s_nextafter.c: Likewise.
30931         * math/s_nexttowardf.c: Likewise.
30932         * math/s_significand.c: Likewise.
30933         * math/s_significandf.c: Likewise.
30934         * math/s_significandl.c: Likewise.
30935         * math/w_jnl.c: Likewise.
30936         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30937         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30938         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30939         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30940         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30942         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30943         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30944         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30945         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30946         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30947         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30948         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30949         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30951         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30952         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30953         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30955         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30956         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30957         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30966         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30967         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30968         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30970         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30971         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30973         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30974         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30975         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30976         * sysdeps/ieee754/k_standard.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30979         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30980         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30981         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30982         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30985         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30986         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30988         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30989         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30990         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30991         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30993         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30996         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30999         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31001         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31002         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31007         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31008         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31009         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31010         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31012         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31013         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31016         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31017         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31019         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31020         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31026         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31027         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31030         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31032         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31034         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31036         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31038         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31039         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31041         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31042         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31043         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31044         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31046         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31047         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31048         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31049         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31052         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31053         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31054         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31056         * sysdeps/ieee754/s_matherr.c: Likewise.
31057         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31058         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31062 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31064         * crypt/md5.h: Remove __STDC__ conditionals.
31065         * libio/libioP.h: Likewise.
31066         * locale/programs/config.h: Likewise.
31067         * sysdeps/generic/sysdep.h: Likewise.
31068         * sysdeps/i386/asm-syntax.h: Likewise.
31069         * sysdeps/s390/asm-syntax.h: Likewise.
31070         * sysdeps/unix/sysdep.h: Likewise.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31076         * libio/libio.h: Remove __STDC__ conditionals.
31077         * malloc/obstack.h: Likewise.
31078         * math/complex.h: Likewise.
31079         * math/math.h: Likewise.
31080         * sysdeps/generic/_G_config.h: Likewise.
31081         * sysdeps/gnu/_G_config.h: Likewise.
31082         * sysdeps/mach/hurd/_G_config.h: Likewise.
31083         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31085         * sysdeps/sparc/bits/mathdef.h: Likewise.
31087 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31089         [BZ #13583]
31090         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31091         Clean up HAS_* macros.
31092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31093         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31094         possible.
31095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31096         HAS_AVX.
31097         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31098         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31099         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31100         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31101         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31103 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31105         * elf/tst-unique3.cc (gets): Remove declaration.
31106         * elf/tst-unique3lib.cc (gets): Likewise.
31107         * elf/tst-unique3lib2.cc (gets): Likewise.
31108         * elf/tst-unique4.cc (gets): Likewise.
31110 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31112         * include/stdio.h: Add C++ protection.  Add gets declarations and
31113         definitions.
31114         * debug/tst-chk1.c: Don't declare gets here.
31115         * stdio-common/tst-gets.c: Likewise.
31117 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31119         * posix/glob: Remove directory.
31121 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31123         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31125 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31127         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31128         of the non-standard EPFNOSUPPORT.
31130 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31132         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31133         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31134         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31136 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31138         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31140 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31142         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31143         transient errors.
31144         * nscd/grpcache.c (cache_addgr): Likewise.
31145         * nscd/hstcache.c (cache_addhst): Likewise.
31146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31147         * nscd/pwdcache.c (cache_addpw): Likewise.
31148         * nscd/servicescache.c (cache_addserv): Likewise.
31150 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31152         * malloc/malloc.c: Various cleanups.
31153         * malloc/hooks.c: Likewise.
31155         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31156         * stdlib/bug-fmtmsg1.c: New file.
31158         * stdlib/fmtmsg.c (init): Add missing unlock.
31159         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31161 2012-01-12  Marek Polacek  <polacek@redhat.com>
31163         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31164         and _GNU_SOURCE.
31166 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31168         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31169         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31170         macro to ensure uniqueness of label name.
31171         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31172         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31174 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31176         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31178         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31179         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31183 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31185         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31187         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31188         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31189         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31191         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31193         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31194         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31195         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31198         * math/bits/math-finite.h: Add ldexp support.
31200 2012-01-10  Marek Polacek  <polacek@redhat.com>
31202         * locale/programs/localedef.h (show_archive_content): Add noreturn
31203         attribute.
31205 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31207         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31209 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31211         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31213         * io/Makefile (headers): Add bits/poll2.h.
31215 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31218         typo #include statement.
31220 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31222         * include/sys/cdefs.h: Define __attribute_alloc_size.
31223         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31224         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31225         * elf/pldd.c: Likewise.
31226         * iconv/iconv_charmap.c: Likewise.
31227         * iconv/iconvconfig.c: Likewise.
31228         * iconv/strtab.c: Likewise.
31229         * locale/programs/locale.c: Likewise.
31230         * locale/programs/localedef.h: Likewise.
31231         * locale/programs/simple-hash.c: Likewise.
31232         * nscd/nscd.h: Likewise.
31233         * nss/makedb.c: Likewise.
31234         * sysdeps/generic/ldconfig.h: Likewise.
31235         * locale/programs/localedef.c: Remove xmalloc prototype.
31236         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31238 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31241         appropriate.
31243 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31245         * math/Makefile (tests): Add tst-CMPLX.
31246         * math/tst-CMPLX.c: New file.
31248         * math/complex.h (CMPLXL): Fix typo.
31250         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31251         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31252         GLIBC_2.16.
31253         * debug/tst-chk1.c: Add poll and ppoll tests.
31254         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31255         * include/sys/poll.h: Add hidden proto for ppoll.
31256         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31257         * sysdeps/mach/hurd/ppoll.c: Likewise.
31258         * io/ppoll.c: Likewise.
31259         * debug/poll_chk.c: New file.
31260         * debug/ppoll_chk.c: New file.
31261         * include/bits/poll2.h: New file.
31262         * io/bits/poll2.h: New file.
31264         [BZ #1350]
31265         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31267         * configure.in: static is always set to yes.  Remove.
31268         * config.make.in: Don't set build-static.
31269         * Makeconfig: Remove use of build-static.
31270         * dlfcn/Makefile: Likewise.
31271         * elf/Makefile: Likewise.
31272         * math/Makefile: Likewise.
31273         * misc/Makefile: Likewise.
31274         * nptl/Makefile: Likewise.
31275         * sysdeps/mach/hurd/Makefile: Likewise.
31277         * configure.in: PWD_P is not used anymore.
31278         * config.make.in: Remove PWD_P entry.
31280         * configure.in: Remove last remnants of RANLIB.
31281         No need to check for signed size_t anymore.
31282         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31283         and IA-64.
31284         Remove __builtin_expect test because we require at least gcc 3.4.
31285         * aclocal.m4: Likewise.
31287         * wcsmbs/mbrtoc16.c: Implement using towc function.
31288         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31289         * wcsmbs/wcsmbsload.c: Likewise.
31290         * iconv/gconv_simple.c: Likewise.
31291         * iconv/gconv_int.h: Likewise.
31292         * iconv/gconv_builtin.h: Likewise.
31293         * iconv/iconv_prog.c: Remove CHAR16 handling.
31295         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31297         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31299         * configure.in: Remove --with-elf and --enable-bounded options.
31300         Dont set base_machine for ia64.  More non-ELF conditions removed.
31301         Remove testing and setting of leading underscore information.
31302         * config.make.in (build-bounded): Set to no.
31303         * config.h.in: Remove NO_UNDERSCORES entry.
31304         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31305         them.
31306         * csu/start.c: Remove !NO_UNDERSCORE code.
31307         * locale/localeinfo.h: Likewise.
31308         * sysdeps/generic/machine-gmon.h: Likewise.
31309         * sysdeps/generic/sysdep.h: Likewise.
31310         * sysdeps/i386/sysdep.h: Likewise.
31311         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31312         * sysdeps/mach/sysdep.h: Likewise.
31313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31315         * sysdeps/sh/sysdep.h: Likewise.
31316         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31317         * sysdeps/unix/i386/sysdep.S: Likewise.
31318         * sysdeps/unix/sparc/start.c: Likewise.
31319         * sysdeps/unix/sparc/sysdep.S: Likewise.
31320         * sysdeps/unix/sparc/sysdep.h: Likewise.
31321         * sysdeps/unix/start.c: Likewise.
31322         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31323         * sysdeps/x86_64/sysdep.h: Likewise.
31325 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31327         [BZ #13553]
31328         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31329         for non-gcc.
31330         * argp/argp-fmtstream.h: Use const instead __const.
31331         * argp/argp.h: Likewise.
31332         * assert/assert.h: Likewise.
31333         * bits/fenv.h: Likewise.
31334         * bits/sched.h: Likewise.
31335         * bits/sigset.h: Likewise.
31336         * bits/sigthread.h: Likewise.
31337         * catgets/nl_types.h: Likewise.
31338         * conform/data/pthread.h-data: Likewise.
31339         * crypt/crypt-private.h: Likewise.
31340         * crypt/crypt.h: Likewise.
31341         * crypt/crypt_util.c: Likewise.
31342         * ctype/ctype.h: Likewise.
31343         * debug/execinfo.h: Likewise.
31344         * debug/mbsnrtowcs_chk.c: Likewise.
31345         * debug/mbsrtowcs_chk.c: Likewise.
31346         * debug/wcsnrtombs_chk.c: Likewise.
31347         * debug/wcsrtombs_chk.c: Likewise.
31348         * debug/wcstombs_chk.c: Likewise.
31349         * dirent/dirent.h: Likewise.
31350         * dlfcn/dlfcn.h: Likewise.
31351         * elf/neededtest4.c: Likewise.
31352         * grp/grp.h: Likewise.
31353         * gshadow/gshadow.h: Likewise.
31354         * iconv/gconv.h: Likewise.
31355         * iconv/gconv_int.h: Likewise.
31356         * iconv/gconv_simple.c: Likewise.
31357         * iconv/iconv.h: Likewise.
31358         * iconv/loop.c: Likewise.
31359         * iconv/skeleton.c: Likewise.
31360         * include/aio.h: Likewise.
31361         * include/aliases.h: Likewise.
31362         * include/argz.h: Likewise.
31363         * include/arpa/inet.h: Likewise.
31364         * include/assert.h: Likewise.
31365         * include/dirent.h: Likewise.
31366         * include/dlfcn.h: Likewise.
31367         * include/execinfo.h: Likewise.
31368         * include/fcntl.h: Likewise.
31369         * include/fenv.h: Likewise.
31370         * include/glob.h: Likewise.
31371         * include/grp.h: Likewise.
31372         * include/libintl.h: Likewise.
31373         * include/mntent.h: Likewise.
31374         * include/netdb.h: Likewise.
31375         * include/pwd.h: Likewise.
31376         * include/rpc/netdb.h: Likewise.
31377         * include/sched.h: Likewise.
31378         * include/search.h: Likewise.
31379         * include/shadow.h: Likewise.
31380         * include/signal.h: Likewise.
31381         * include/stdio.h: Likewise.
31382         * include/stdlib.h: Likewise.
31383         * include/string.h: Likewise.
31384         * include/sys/socket.h: Likewise.
31385         * include/sys/stat.h: Likewise.
31386         * include/sys/statfs.h: Likewise.
31387         * include/sys/statvfs.h: Likewise.
31388         * include/sys/syslog.h: Likewise.
31389         * include/sys/time.h: Likewise.
31390         * include/sys/uio.h: Likewise.
31391         * include/time.h: Likewise.
31392         * include/unistd.h: Likewise.
31393         * include/utmp.h: Likewise.
31394         * include/wchar.h: Likewise.
31395         * include/wctype.h: Likewise.
31396         * inet/aliases.h: Likewise.
31397         * inet/arpa/inet.h: Likewise.
31398         * inet/netinet/ether.h: Likewise.
31399         * inet/netinet/in.h: Likewise.
31400         * intl/libintl.h: Likewise.
31401         * io/bits/fcntl2.h: Likewise.
31402         * io/fcntl.h: Likewise.
31403         * io/ftw.h: Likewise.
31404         * io/sys/poll.h: Likewise.
31405         * io/sys/stat.h: Likewise.
31406         * io/sys/statfs.h: Likewise.
31407         * io/sys/statvfs.h: Likewise.
31408         * io/utime.h: Likewise.
31409         * libio/bits/stdio.h: Likewise.
31410         * libio/bits/stdio2.h: Likewise.
31411         * libio/libio.h: Likewise.
31412         * libio/libioP.h: Likewise.
31413         * libio/stdio.h: Likewise.
31414         * locale/lc-ctype.c: Likewise.
31415         * locale/locale.h: Likewise.
31416         * login/utmp.h: Likewise.
31417         * malloc/arena.c: Likewise.
31418         * malloc/malloc.c: Likewise.
31419         * malloc/malloc.h: Likewise.
31420         * malloc/mcheck.c: Likewise.
31421         * malloc/mtrace.c: Likewise.
31422         * math/bits/mathcalls.h: Likewise.
31423         * math/fenv.h: Likewise.
31424         * math/math_private.h: Likewise.
31425         * misc/bits/error.h: Likewise.
31426         * misc/bits/syslog.h: Likewise.
31427         * misc/err.h: Likewise.
31428         * misc/error.h: Likewise.
31429         * misc/fstab.h: Likewise.
31430         * misc/mntent.h: Likewise.
31431         * misc/regexp.h: Likewise.
31432         * misc/search.h: Likewise.
31433         * misc/sgtty.h: Likewise.
31434         * misc/sys/mman.h: Likewise.
31435         * misc/sys/syslog.h: Likewise.
31436         * misc/sys/uio.h: Likewise.
31437         * misc/sys/xattr.h: Likewise.
31438         * misc/ttyent.h: Likewise.
31439         * nis/rpcsvc/ypclnt.h: Likewise.
31440         * nss/nss.h: Likewise.
31441         * posix/bits/unistd.h: Likewise.
31442         * posix/fnmatch.h: Likewise.
31443         * posix/glob.h: Likewise.
31444         * posix/sched.h: Likewise.
31445         * posix/spawn.h: Likewise.
31446         * posix/sys/wait.h: Likewise.
31447         * posix/unistd.h: Likewise.
31448         * posix/wordexp.h: Likewise.
31449         * pwd/pwd.h: Likewise.
31450         * resolv/netdb.h: Likewise.
31451         * resource/sys/resource.h: Likewise.
31452         * rt/aio.h: Likewise.
31453         * rt/bits/mqueue2.h: Likewise.
31454         * rt/mqueue.h: Likewise.
31455         * shadow/shadow.h: Likewise.
31456         * signal/signal.h: Likewise.
31457         * socket/send.c: Likewise.
31458         * socket/sendto.c: Likewise.
31459         * socket/sys/socket.h: Likewise.
31460         * stdio-common/printf.h: Likewise.
31461         * stdlib/bits/stdlib.h: Likewise.
31462         * stdlib/fmtmsg.h: Likewise.
31463         * stdlib/monetary.h: Likewise.
31464         * stdlib/stdlib.h: Likewise.
31465         * stdlib/ucontext.h: Likewise.
31466         * streams/stropts.h: Likewise.
31467         * string/argz.h: Likewise.
31468         * string/bits/string2.h: Likewise.
31469         * string/string.h: Likewise.
31470         * string/strings.h: Likewise.
31471         * sunrpc/rpc/auth.h: Likewise.
31472         * sunrpc/rpc/auth_des.h: Likewise.
31473         * sunrpc/rpc/clnt.h: Likewise.
31474         * sunrpc/rpc/netdb.h: Likewise.
31475         * sunrpc/rpc/pmap_clnt.h: Likewise.
31476         * sunrpc/rpc/xdr.h: Likewise.
31477         * sysdeps/generic/inttypes.h: Likewise.
31478         * sysdeps/generic/net/if.h: Likewise.
31479         * sysdeps/generic/sys/swap.h: Likewise.
31480         * sysdeps/gnu/net/if.h: Likewise.
31481         * sysdeps/gnu/utmpx.h: Likewise.
31482         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31483         * sysdeps/i386/i486/bits/string.h: Likewise.
31484         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31485         * sysdeps/s390/bits/string.h: Likewise.
31486         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31487         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31488         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31489         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31490         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31491         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31492         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31493         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31494         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31495         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31496         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31498         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31499         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31500         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31501         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31502         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31505         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31507         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31508         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31509         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31510         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31511         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31512         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31513         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31514         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31515         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31516         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31517         * sysvipc/sys/ipc.h: Likewise.
31518         * sysvipc/sys/msg.h: Likewise.
31519         * sysvipc/sys/sem.h: Likewise.
31520         * sysvipc/sys/shm.h: Likewise.
31521         * termios/termios.h: Likewise.
31522         * time/sys/time.h: Likewise.
31523         * time/time.h: Likewise.
31524         * wcsmbs/bits/wchar2.h: Likewise.
31525         * wcsmbs/uchar.h: Likewise.
31526         * wcsmbs/wchar.h: Likewise.
31527         * wctype/wctype.h: Likewise.
31529         [BZ #13551]
31530         * Makeconfig: Remove all but ELF support including AIX support.
31531         * Makerules: Likewise.
31532         * config.h.in: Likewise.
31533         * config.make.in: Likewise.
31534         * configure: Likewise.
31535         * configure.in: Likewise.
31536         * csu/Makefile: Likewise.
31537         * csu/version.c: Likewise.
31538         * debug/Makefile: Likewise.
31539         * dlfcn/Makefile: Likewise.
31540         * elf/Makefile: Likewise.
31541         * extra-lib.mk: Likewise.
31542         * iconv/Makefile: Likewise.
31543         * include/libc-symbols.h: Likewise.
31544         * include/shlib-compat.h: Likewise.
31545         * resolv/Makefile: Likewise.
31546         * resolv/res_libc.c: Likewise.
31547         * rt/Makefile: Likewise.
31548         * sysdeps/i386/asm-syntax.h: Likewise.
31549         * sysdeps/i386/sysdep.h: Likewise.
31550         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31551         * sysdeps/mach/sysdep.h: Likewise.
31552         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31553         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31554         * sysdeps/s390/asm-syntax.h: Likewise.
31555         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31557         * sysdeps/sh/sysdep.h: Likewise.
31558         * sysdeps/unix/sparc/sysdep.h: Likewise.
31559         * sysdeps/wordsize-32/divdi3.c: Likewise.
31560         * sysdeps/x86_64/sysdep.h: Likewise.
31562         * argp/Versions: Remove _argp_unlock_xxx.
31564         [BZ #13559]
31565         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31566         * abilist/libBrokenLocale.abilist: Likewise.
31567         * abilist/libanl.abilist: Likewise.
31568         * abilist/libc.abilist: Likewise.
31569         * abilist/libcrypt.abilist: Likewise.
31570         * abilist/libdl.abilist: Likewise.
31571         * abilist/libm.abilist: Likewise.
31572         * abilist/libnsl.abilist: Likewise.
31573         * abilist/libpthread.abilist: Likewise.
31574         * abilist/libresolv.abilist: Likewise.
31575         * abilist/librt.abilist: Likewise.
31576         * abilist/libthread_db.abilist: Likewise.
31577         * abilist/libutil.abilist: Likewise.
31578         * abilist/libnss_db.abilist: New file.
31580         * scripts/abilist.awk: Add support for indirect functions.
31582         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31584         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31586         * shlib-versions: Remove entries for ports architectures.
31588         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31589         files in ports.
31590         * elf/stackguard-macros.h: Remove support for IA-64.
31591         * elf/tst-auditmod1.c: Likewise.
31592         * sysdeps/generic/ldsodefs.h: Likewise.
31594         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31595         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31596         configure files.
31598         [BZ #13552]
31599         * configure.in: Remove --enable-omitfp support.
31600         * FAQ.in: Adjust.
31601         * config.make.in: Likewise.
31602         * Makeconfig: Likewise.
31603         * manual/install.texi: Likewise.
31605         In case anyone cares, the IA-64 architecture could move to ports.
31606         * sysdeps/ia64/*: Removed.
31607         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31608         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31610         [BZ #13555]
31611         * configure.in: Remove entries for unsupported architectures.
31613         [BZ #13533]
31614         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31615         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31616         routines.
31617         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31618         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31619         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31620         fall back to using wcrtomb.
31621         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31622         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31623         renaming.
31624         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31625         * wcsmbs/tst-c16c32-1.c: New file.
31627         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31628         local variable.
31630         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31632         * elf/tst-unique3.cc: Add explicit declaration of gets.
31633         * elf/tst-unique3lib.cc: Likewise.
31634         * elf/tst-unique3lib2.cc: Likewise.
31635         * elf/tst-unique4.cc: Likewise.
31637         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31639 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31641         [BZ #13566]
31642         * assert/assert.h (static_assert): Don't define for C++.
31643         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31644         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31646 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31648         * iconv/loop.c (single loop): Fix assertion in storing of
31649         remaining bytes.
31651         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31653 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31655         * posix/getconf.c: Update copyright year.
31656         * nss/getent.c: Likewise.
31657         * nss/makedb.c: Likewise.
31658         * iconv/iconvconfig.c: Likewise.
31659         * iconv/iconv_prog.c: Likewise.
31660         * elf/ldconfig.c: Likewise.
31661         * elf/pldd.c: Likewise.
31662         * elf/sotruss.ksh: Likewise.
31663         * catgets/gencat.c: Likewise.
31664         * csu/version.c: Likewise.
31665         * elf/ldd.bash.in: Likewise.
31666         * elf/sprof.c (print_version): Likewise.
31667         * locale/programs/locale.c: Likewise.
31668         * locale/programs/localedef.c: Likewise.
31669         * login/programs/pt_chown.c: Likewise.
31670         * nscd/nscd.c (print_version): Likewise.
31671         * debug/xtrace.sh: Likewise.
31672         * malloc/memusage.sh: Likewise.
31673         * malloc/mtrace.pl: Likewise.
31674         * debug/catchsegv.sh: Likewise.
31676 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31678         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31679         pure attribute.
31681 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31683         [BZ #13533]
31684         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31685         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31686         transformations.
31687         * iconv/gconv_int.h: Likewise.
31688         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31689         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31690         from libc for GLIBC_2.16.
31691         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31692         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31693         * wcsmbs/uchar.h: Really define mbstate_t.
31694         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31695         * wcsmbs/c16rtomb.c: New file.
31696         * wcsmbs/mbrtoc16.c: New file.
31697         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31698         for C/POSIX locale.
31699         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31700         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31702         * wcsmbs/wchar.h: Add missing __restrict.
31704 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31706         [BZ #13532]
31707         * time/Makefile (routines): Add timespec_get.
31708         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31709         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31710         timespec for ISO C11.
31711         * time/timespec_get.c: New file.
31712         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31713         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31715         [BZ #13531]
31716         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31717         * stdlib/stdlib.h: Declare aligned_alloc.
31718         * Versions.def: Add GLIBC_2.16 for libc.
31719         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31721         [BZ 13527]
31722         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31723         ISO C11.
31725         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31726         code.
31728         [BZ #13528]
31729         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31731         [BZ #13529]
31732         * assert/assert.h (static_assert): Define.
31734         * version.h: Update for 2.16 development version.
31736         [BZ #13526]
31737         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31738         _ISOC11_SOURCE.
31740         * version.h (RELEASE): Bump for 2.15 release.
31741         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31743         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31744         Patch by Marek Polacek <mpolacek@redhat.com>.
31746         * bits/byteswap.h: Protect long long constants with __extension__.
31747         * sysdeps/i386/bits/byteswap.h: Likewise.
31748         * sysdeps/ia64/bits/byteswap.h: Likewise.
31749         * sysdeps/s390/bits/byteswap.h: Likewise.
31750         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31754         [BZ #13540]
31755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31756         destination buffer.
31757         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31759 2011-12-23  Marek Polacek  <polacek@redhat.com>
31761         * elf/dl-addr.c (determine_info): Add inline keyword.
31762         * elf/tst-auditmod4b.c (check_avx): Likewise.
31763         * elf/tst-auditmod6b.c (check_avx): Likewise.
31764         * elf/tst-auditmod6c.c (check_avx): Likewise.
31765         * elf/tst-auditmod7b.c (check_avx): Likewise.
31767 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31769         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31770         !__SSE_MATH__.
31772 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31774         [BZ #13540]
31775         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31776         processing for last bytes.
31778 2011-08-06  Bruno Haible  <bruno@clisp.org>
31780         [BZ #13061]
31781         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31782         U+0385, not to U+1FEE.
31784         [BZ #13062]
31785         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31786         entry for U+00A5 U+0301.
31788 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31790         [BZ #13166]
31791         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31792         buffer for the output is too small.
31794         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31795         optimization.
31797         [BZ #13185]
31798         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31799         SSE flags if possible.
31801 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31803         [BZ #13540]
31804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31805         processing for last bytes.
31807 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31809         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31810         (syscall-list-default-options, syscall-list-default-condition)
31811         (syscall-list-includes): Define.
31812         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31813         list of ABIs and options and #if conditions for each ABI.  Do not
31814         handle common syscalls between ABIs specially.
31815         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31816         Remove.
31817         (syscall-list-variants, syscall-list-32bit-options)
31818         (syscall-list-32bit-condition, syscall-list-64bit-options)
31819         (syscall-list-64bit-condition): Define.
31820         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31821         (syscall-list-variants, syscall-list-32bit-options)
31822         (syscall-list-32bit-condition, syscall-list-64bit-options)
31823         (syscall-list-64bit-condition): Define.
31824         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31825         Remove.
31826         (syscall-list-variants, syscall-list-32bit-options)
31827         (syscall-list-32bit-condition, syscall-list-64bit-options)
31828         (syscall-list-64bit-condition): Define.
31829         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31830         Remove.
31831         (syscall-list-variants, syscall-list-32bit-options)
31832         (syscall-list-32bit-condition, syscall-list-64bit-options)
31833         (syscall-list-64bit-condition): Define.
31835 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31837         * locale/iso-639.def: Add brx entry.
31839         [BZ #13328]
31840         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31841         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31843         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31844         __feraiseexcept_renamed.
31846 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31848         [BZ #13538]
31849         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31850         EPOLLET with unsigned values.
31851         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31852         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31854         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31855         to large cancellation.
31856         * math/s_cacoshf.c: Likewise.
31857         * math/s_cacoshl.c: Likewise.
31859 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31861         [BZ #13305]
31862         [BZ #12786]
31863         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31864         * math/s_cacoshf.c: Likewise.
31865         * math/s_cacoshl.c: Likewise.
31867 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31869         [BZ #13439]
31870         * iconv/gconv.h: Define __GCONV_SWAP.
31871         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31872         * iconvdata/utf-16.c: Likewise.
31873         * iconvdata/utf-32.c: Likewise.
31875 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31877         [BZ #13524]
31878         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31879         numerator after shifting it by one limb.
31881 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31883         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31884         under [__USE_EXTERN_INLINES].
31886 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31888         [BZ #13446]
31889         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31891 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31893         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31894         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31895         optimized code.
31896         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31897         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31898         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31899         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31900         for strncasecmp/strncasecmp_l compilation.
31901         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31902         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31904 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31906         [BZ #13484]
31907         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31908         of __asm__.
31910 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31912         [BZ #13506]
31913         * time/tzfile.c (__tzfile_read): Check values from file header.
31915 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31917         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31918         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31919         * powerpc/powerpc32/dl-start.S: Likewise.
31920         * powerpc/powerpc32/elf/start.S: Likewise.
31921         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31922         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31923         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31924         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31925         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31926         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31927         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31928         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31929         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31930         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31931         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31932         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31933         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31934         * powerpc/powerpc32/memset.S: Likewise.
31935         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31936         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31937         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31938         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31939         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31940         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31941         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31942         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31943         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31944         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31945         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31946         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31947         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31949 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31951         * math/libm-test.inc: Added more nearbyint tests.
31952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31953         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31955         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31957 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31959         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31960         FD_CLOEXEC.
31962 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31964         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31965         Add wcscpy-ssse3 wcscpy-c.
31966         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31967         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31968         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31969         * sysdeps/x86_64/wcschr.S: New file.
31970         * sysdeps/x86_64/wcsrchr.S: New file.
31971         * string/test-strcmp.c: Remove checking of wcscmp function for
31972         wrong alignments.
31973         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31974         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31975         wcsrchr-sse2 wcsrchr-c.
31976         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31977         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31978         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31979         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31980         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31981         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31982         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31983         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31984         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31985         * wcsmbc/wcschr.c (WCSCHR): New macro.
31987 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31989         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31990         * wcsmbs/test-wcsrchr.c: New file.
31991         * string/test-strrchr.c: Add wcsrchr support.
31992         (WIDE): New macro.
31993         * wcsmbs/test-wcscpy.c: New file.
31994         * string/test-strcpy.c: Add wcscpy support.
31995         (WIDE): New macro.
31997 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32000         the inner loop.
32002 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32004         [BZ #13472]
32005         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32007 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32009         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32010         Minor optimizations.
32012         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32013         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32014         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32016 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32018         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32019         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32020         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32021         for gcc to avoid warnings.
32022         * inet/Makefile (tests): Add tst-checks.
32023         * inet/tst-checks.c: New file.
32025         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32026         warning.
32028         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32029         __wmemcmp_sse2.
32031         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32032         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32034         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32036 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32038         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32039         problem.
32041         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32043 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32045         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32046         conditional on GCC version.
32047         (__arch_compare_and_exchange_val_8_acq)
32048         (__arch_compare_and_exchange_val_16_acq)
32049         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32050         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32051         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32053 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32055         * sysdeps/sh/backtrace.c: New file.
32057 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32059         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32060         parenthesis.
32062 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32064         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32065         falling back to utime.
32067 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32069         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32070         expectations for float.
32072 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32074         * locale/weight.h (findidx): Add parameter len.
32075         * locale/weightwc.h (findidx): Likewise.
32076         * posix/fnmatch_loop.c (FCT): Adjust caller.
32077         * posix/regcomp.c (build_equiv_class): Likewise.
32078         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32079         * posix/regexec.c (check_node_accept_bytes): Likewise.
32080         * string/strcoll_l.c (STRCOLL): Likewise.
32081         * string/strxfrm_l.c (STRXFRM): Likewise.
32083 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32085         * Makefile.in: Remove CVSOPT handling.
32086         * configure.in: Remove use of AC_REVISION.
32087         * iconvdata/Makefile (distribute): No need to filter out CVS.
32088         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32089         handling.
32091 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32094         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32095         [USE_AS_STRNCASECMP_L]: Likewise.
32096         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32097         NO_TLS_DIRECT_SEG_REFS.
32098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32099         Fix argument offsets for non-PIC.
32100         [USE_AS_STRNCASECMP_L]: Likewise.
32101         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32102         NO_TLS_DIRECT_SEG_REFS.
32104 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32106         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32107         O_CLOEXEC.
32108         * locale/loadlocale.c (_nl_load_locale): Likewise.
32110 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32113         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32114         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32115         (SYSCALL_GETTIME): Set errno on error.
32117         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32118         count references to noai6ai_cached.
32120 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32122         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32124         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32125         FD_CLOEXEC for /proc/self/maps.
32127         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32128         FD_CLOEXEC for /proc/meminfo.
32130         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32131         gai.conf.
32133         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32134         FD_CLOEXEC for given file.
32136         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32138         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32139         FD_CLOEXEC for /etc/hosts.
32140         (_gethtent): Likewise.
32142         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32144         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32145         cancellation and set FD_CLOEXEC for /etc/netgroup.
32147         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32148         reading /etc/publickey.
32150         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32151         allow cancellation when reading /etc/group.
32153         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32154         cancellation.
32155         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32157         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32158         when using data file.
32160         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32162         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32163         (write_nis_obj): Use "c" and "e" in fopen.
32165         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32167         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32169         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32171         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32173         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32174         locale.alias.
32176         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32178         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32180         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32182         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32183         file parsing and set FD_CLOEXEC.
32185 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32187         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32189 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32191         * malloc/arena.c (arena_get2): Don't call reused_arena when
32192         _int_new_arena failed.
32194 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32196         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32197         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32198         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32200         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32202         to compile strcasecmp and strncasecmp.
32203         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32204         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32208 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32210         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32211         locale-defines.sym to gen-as-const-headers.
32212         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32213         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32215         to compile strcasecmp and strncasecmp.
32216         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32217         strcasecmp_l and strncasecmp_l.
32218         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32219         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32220         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32221         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32222         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32223         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32224         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32225         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32226         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32227         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32228         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32230 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32232         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32233         result of SYSDEP_GETTIME_CPU to retval.
32234         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32235         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32237         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32238         variable.
32240         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32241         mantissa words.
32242         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32244         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32245         from unused variable.
32247         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32248         DWARF definitions.
32249         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32250         for assembling.
32252         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32253         over namespaces.
32255         * sunrpc/rpc_prot.c (rejected): Fix case value.
32257         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32258         unsigned long long int to avoid warnings in shift.
32260         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32261         of use of trans.
32262         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32263         variable tmp.
32265         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32266         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32267         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32269         * nis/nis_table.c (nis_list): Use variable of correct type for
32270         result of __follow_path call.
32272 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32274         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32275         of math functions ceil, trunc, floor, round, and sqrt, when
32276         avaliable on the platform.
32277         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32278         name clash.
32279         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32280         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32281         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32283 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32285         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32286         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32288 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32290         * include/unistd.h: Fix __readlink return type.
32291         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32293 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32295         * stdlib/ucontext.h: Undo last change for makecontext.
32297 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32299         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32301         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32302         * setjmp/setjmp.h: Mark functions as non-leaf.
32303         * setjmp/bits/setjmp2.h: Likewise.
32304         * stdlib/ucontext.h: Likewise.
32306 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32308         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32309         (reused_arena): Don't check arena limit.
32310         (arena_get2): Atomically check arena limit.
32312 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32314         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32315         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32318         instructions.
32320 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32322         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32323         handler when locking.
32325         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32326         Fix size of allocated buffer.
32328 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32330         [BZ #10103]
32331         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32332         declarations for long double functions.
32333         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32335         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32337 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32339         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32340         installed.
32342         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32343         is disabled.
32345 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32347         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32349 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32351         * include/alloca.h (stackinfo_alloca_round): Define.
32352         (extend_alloca): Use it.
32353         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32354         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32355         here.
32357         * scripts/check-local-headers.sh: Ignore libaudit.h.
32359         * nscd/Makefile (extra-objs): Make recursively expanded.
32361 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32363         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32364         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32366         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32367         * posix/tst-rfc3484-2.c: Likewise.
32368         * posix/tst-rfc3484-3.c: Likewise.
32370         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32371         process_vm_writev.
32372         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32373         process_vm_writev.
32374         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32375         process_vm_writev from libc using GLIBC_2.15 version.
32377         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32379 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32381         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32382         stack usage.
32384 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32386         [BZ #13367]
32387         * nss/getent.c (initgroups_keys): Show error message in case no group
32388         names are given.
32390         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32391         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32392         __bump_nl_timestamp.
32393         * nscd/connections (nscd_init): When host database is served open
32394         netlink socket and request notification about configuration changes.
32395         (main_loop_poll): Track netlink file descriptor and bump timestamp
32396         in case data becomes available.
32397         (main_loop_epoll): Likewise.
32398         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32399         (database_pers_head): Add extra_data fileds.
32400         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32402         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32403         Adjust caller.
32404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32405         in6ai data, call __free_in6ai.
32406         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32407         Add -DHAVE_NETLINK.
32408         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32409         interface information.  Reuse previous data if netlink timestamp
32410         is not changed.
32411         (__bump_nl_timestamp): New function.
32412         (__free_in6ai): New function.
32414 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32417         close_not_cancel_no_status here.
32418         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32420 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32422         [BZ #13276]
32423         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32424         return value.
32426         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32427         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32428         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32430 2011-07-03  Andreas Jaeger  <aj@suse.de>
32432         [BZ #10709]
32433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32434         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32435         * math/libm-test.inc (sin_test): Add test case.
32437 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32439         [BZ #13337]
32440         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32441         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32443         * elf/chroot_canon.c (chroot_canon): Cleanups.
32445         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32447         [BZ #13335]
32448         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32449         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32451         * string/test-strchr.c: Make usable for strchrnul testing.
32452         * string/test-strchrnul.c: New file.
32453         * string/Makefile (strop-tests): Add strchrnul.
32455         * po/it.po: Update from translation team.
32456         * po/es.po: Likewise.
32458 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32460         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32461         the three constants needed as parameters.  Drop the others.
32462         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32463         __m128i_strloadu_tolower.
32464         Create and initialize variable zero and use it in all the places
32465         where _mm_setzero_si128 was used.
32467         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32468         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32469         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32471         anymore.
32472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32473         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32474         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32475         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32476         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32477         __mpranred, __mptan.
32478         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32479         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32480         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32481         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32482         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32483         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32484         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32485         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32486         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32488 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32490         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32491         redefine if SHARED.
32492         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32495         wide char related routines to wcsmbs subdir.
32497 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32499         [BZ #13344]
32500         * misc/sys/cdefs.h (__THROWNL): Define.
32501         * posix/unistd.h: Use __THREADNL instead of __THREAD
32502         for memory synchronization functions.
32504 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32506         [BZ #13349]
32507         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32508         doesn't exist.
32509         * manual/stdio.texi (Obstack Streams): Node removed.
32511 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32513         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32514         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32517         * math/math_private.h (math_force_eval): Allow non-addressable
32518         arguments.
32519         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32521 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32523         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32524         file is not needed.
32526         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32528         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32529         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32530         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32533         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32534         Add AVX variants.
32535         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32536         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32537         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32538         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32539         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32540         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32541         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32542         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32543         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32544         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32545         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32546         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32548         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32549         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32550         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32551         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32552         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32553         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32555         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32556         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32559         place.  Use VEX encoding when compiling for AVX.
32561 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32563         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32564         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32566         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32568 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32570         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32571         useless if() expression.
32572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32578         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32580         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32581         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32582         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32583         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32584         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32585         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32586         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32587         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32588         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32590         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32592         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32594 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32596         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32597         condition.
32598         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32600 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32602         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32603         .text section.  Avoid duplicate constants.
32604         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32606         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32613         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32616         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32617         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32620         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32621         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32622         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32624         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32625         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32626         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32627         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32628         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32629         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32630         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32631         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32632         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32633         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32634         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32635         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32636         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32637         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32638         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32639         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32640         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32641         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32642         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32643         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32644         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32645         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32646         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32647         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32648         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32650 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32652         * sysdeps/x86_64/dla.h: Move to ...
32653         * sysdeps/x86_64/fpu/dla.h: ...here.
32654         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32655         situations.  Use __builtin_fma only for gcc 4.6 and up.
32657         * config.make.in: Add have-mfma4 entry.
32658         * configure.in: Substitute libc_cv_cc_fma4.
32659         * math/Makefile (dbl-only-routines): Add sincostab.
32660         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32661         Use __sincostab not sincos.
32662         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32663         name is a macro.
32664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32668         using __copysign.
32669         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32670         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32671         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32672         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32673         and __inv.
32674         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32675         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32676         __copysign.
32677         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32678         define aliases when function name is a macro.
32679         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32680         sysdeps/ieee754/dbl-64/sincos.tbl.
32681         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32682         fma4-enabled routines.
32683         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32684         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32685         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32686         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32687         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32688         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32690         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32692         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32693         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32694         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32695         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32696         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32697         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32698         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32699         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32700         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32701         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32703         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32704         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32706         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32707         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32708         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32710         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32711         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32712         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32714         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32715         rename.
32716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32721         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32722         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32723         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32725 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32727         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32729 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32733         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32734         prediction.
32735         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32737         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32738         Remove unused variable magic_bits.
32739         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32741         * string/strnlen.c: Define and use STRNLEN macro.
32742         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32743         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32745         * wcsmbs/wcslen.c: Define and use WCSLEN.
32746         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32747         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32748         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32749         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32750         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32751         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32752         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32754 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32757         strnlen-sse2-no-bsf.
32758         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32760         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32761         Add strnlen support.
32762         (USE_AS_STRNLEN): New macro.
32763         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32764         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32765         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32766         * sysdeps/x86_64/wcslen.S: New file.
32768 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32771         XMM-moves are used for copying on small sizes.
32773 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32775         * wcsmbs/Makefile (strop-tests): Add wcschr.
32776         * wcsmbs/test-wcschr.c: New file.
32777         * string/test-strchr.c: Update.
32778         Add wcschr support.
32779         (WIDE): New macro.
32781 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32783         * wcsmbs/Makefile (strop-tests): Add wcslen.
32784         * wcsmbs/test-wcslen.c: New file.
32785         * string/test-strlen.c: Update.
32786         Add wcslen support.
32787         (WIDE): New macro.
32789 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32791         * po/it.po: Update from translation team.
32793 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32795         * sysdeps/x86_64/wcscmp.S: Update.
32796         Fix wrong comparison semantics.
32797         wcscmp shall use signed comparison not unsigned.
32798         Don't use substraction to avoid overflow bug.
32799         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32800         * wcsmbc/wcscmp.c: Likewise.
32801         * string/test-strcmp.c: Likewise.
32802         Add new tests to check cases with negative values.
32804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32806         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32807         * sysdeps/x86_64/dla.h: ...here.  New file.
32808         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32818 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32821         __ynl_finite aliases.
32823 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32827         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32828         define DLA_FMA.
32829         [DLA_FMA] (EMULV): Use DLA_FMA.
32830         [DLA_FMA] (MUL12): Use EMULV.
32831         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32832         that are not needed.
32833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32841 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32843         * math/s_nan.c: Undef __nan.
32844         * math/s_nanf.c: Undef __nanf.
32845         * math/s_nanl.c: Undef __nanl.
32846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32847         "math_private.h".
32849 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32851         * math/s_catan.c: Add branch predictions.
32852         * math/s_catanf.c: Likewise.
32853         * math/s_catanh.c: Likewise.
32854         * math/s_catanhf.c: Likewise.
32855         * math/s_catanhl.c: Likewise.
32856         * math/s_catanl.c: Likewise.
32857         * math/s_cexp.c: Likewise.
32858         * math/s_cexpf.c: Likewise.
32859         * math/s_cexpl.c: Likewise.
32860         * math/s_clog.c: Likewise.
32861         * math/s_clog10.c: Likewise.
32862         * math/s_clog10f.c: Likewise.
32863         * math/s_clog10l.c: Likewise.
32864         * math/s_clogf.c: Likewise.
32865         * math/s_clogl.c: Likewise.
32866         * math/s_csqrt.c: Likewise.
32867         * math/s_csqrtf.c: Likewise.
32868         * math/s_csqrtl.c: Likewise.
32869         * math/s_ctanf.c: Likewise.
32870         * math/s_ctanh.c: Likewise.
32871         * math/s_ctanhf.c: Likewise.
32872         * math/s_ctanhl.c: Likewise.
32873         * math/s_ctanl.c: Likewise.
32875         * math/math_private.h: Define __nan, __nanf, __nanl.
32876         * math/s_cacosh.c: Include <math_private.h>.
32877         * math/s_cacoshl.c: Likewise.
32878         * math/s_casinh.c: Likewise.
32879         * math/s_casinhf.c: Likewise.
32880         * math/s_casinhl.c: Likewise.
32881         * math/s_ccos.c: Rely entire on ccosh.
32882         * math/s_ccosf.c: Rely entire on ccoshf.
32883         * math/s_ccosl.c: Rely entirely on ccoshl.
32884         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32885         Remove tests for FE_INVALID.
32886         * math/s_ccoshf.c: Likewise.
32887         * math/s_ccoshl.c: Likewise.
32888         * math/s_csin.c: Likewise.
32889         * math/s_csinf.c: Likewise.
32890         * math/s_csinh.c Likewise.
32891         * math/s_csinhf.c: Likewise.
32892         * math/s_csinhl.c: Likewise.
32893         * math/s_csinl.c: Likewise.
32894         * math/s_ctan.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32896         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32897         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32899 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32902         compilation problems.
32904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32905         __builtin_expect.
32907 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32909         * sysdeps/i386/configure.in: Test for -mfma4 option.
32910         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32911         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32912         COMMON_CPUID_INDEX_80000001.
32913         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32914         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32915         use it if FMA3 is not supported.
32916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32918         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32919         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32921 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32923         [BZ #12892]
32924         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32925         it would create a cycle with a link time dependency.
32927 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32929         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32930         instruction.
32931         * string/Makefile (strop-tests): Add rawmemchr.
32932         * string/test-rawmemchr.c: New file.
32934         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32936         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32937         when compiling str{,n}casecmp and when AVX is available.  Hook up
32938         new optimized code in initializers.
32940 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32942         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32943         __feraiseexcept instead of feraiseexcept.
32945 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32947         * math/math_private.h: Define defaults for libc_fetestexcept and
32948         libc_feupdateenv.
32949         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32950         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32951         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32952         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32953         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32954         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32955         libc_fetestexcept and libc_feupdateenv.
32957         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32958         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32959         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32960         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32961         libc_feholdexcept_setround.
32963         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32964         Add s_nearbyint-c and s_nearbyintf-c.
32965         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32966         nearbyintf inlines.
32967         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32968         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32969         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32970         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32972         * math/math_private.h: Define defaults for libc_fegetround,
32973         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32974         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32975         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32976         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32977         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32978         standard functions.
32979         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32980         Remove comments and hacks for old compiler versions.
32981         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32982         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32983         libc_feholdexceptl.
32985 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32987         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32988         (__feraiseexcept_renamed): Add __NTH.
32989         (feraiseexcept): Add __NTH.  Rename local variables to fix
32990         namespace violations.
32992 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32994         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32996         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32998         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32999         recently added interfaces.
33000         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33002         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33003         about macro parameter expansion.
33005         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33006         __NO_MATH_INLINES is defined.  Cleanups.
33008         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33009         and __floorf is target has SSE4.1.
33010         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33011         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33012         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33015         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33016         name.
33017         (floorf): Likewise.
33019         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33021 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33023         * misc/sys/cdefs.h: Fix last change.
33025         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33026         database lookup.
33028 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33030         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33032         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33034         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33035         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33037         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33038         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33039         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33040         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33041         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33042         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33043         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33044         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33045         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33046         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33047         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33048         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33049         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33051         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33052         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33053         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33055         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33056         ceil, ceilf, floor, floorf.
33058         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33059         Perform IRELATIVE relocations last.
33061         * elf/do-rel.h: Add another parameter nrelative, replacing the
33062         local variable with the same name.  Change name of the function
33063         to end in Rel or Rela (uppercase).
33064         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33065         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33066         elf_dynamic_do_##reloc function.
33068 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33070         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33071         is sufficient, at least on modern CPUs.
33073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33075         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33078         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33079         __expl_finite.
33080         * math/bits/math-finite.h: Add entries for exp.
33081         * math/e_expl.c: Add __*_finite alias.
33082         * sysdeps/i386/fpu/e_exp.S: Likewise.
33083         * sysdeps/i386/fpu/e_expf.S: Likewise.
33084         * sysdeps/i386/fpu/e_expl.c: Likewise.
33085         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33086         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33089         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33090         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33091         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33093         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33094         is sufficient, at least on modern CPUs.
33096         * ctype/ctype-info.c (__ctype_init): Define.
33097         * include/ctype.h (__ctype_init): Declare.
33098         (__ctype_b_loc): The variable is always initialized.
33099         (__ctype_toupper_loc): Likewise.
33100         (__ctype_tolower_loc): Likewise.
33101         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33102         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33104 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33106         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33108         * configure.in: Also look in $cxxmachine/include for C++ system
33109         headers.
33111 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33113         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33114         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33115         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33116         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33117         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33118         (USE_AS_WMEMCMP): New macro.
33119         Fixing indents.
33120         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33121         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33122         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33123         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33125         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33126         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33127         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33128         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33129         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33130         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33131         (USE_AS_WMEMCMP): New macro.
33132         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33133         * sysdeps/string/test-memcmp.c: Update.
33134         Fix simple_wmemcmp.
33135         Add new tests.
33136         * wcsmbs/wmemcmp.c: Update.
33137         (WMEMCMP): New macro.
33138         Fix overflow bug.
33140 2011-10-12  Andreas Jaeger  <aj@suse.de>
33142         [BZ #13268]
33143         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33147         * libio/iofwide.c (do_length): Avoid warning.
33149         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33151 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33153         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33155         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33156         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33157         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33158         * sysdeps/i386/i686/fpu/e_log.S: New file.
33159         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33160         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33162         * ctype/ctype.h: Add support for inlined isXXX functions when
33163         compiling C++ code.
33165 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33167         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33169         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33171 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33173         [BZ #13291]
33174         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33176 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33178         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33179         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33180         feraiseexcept.
33182         * sysdeps/x86_64/memrchr.S: Check for zero size.
33184         * string/stratcliff.c: Add memrchr tests.
33186 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33189         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33190         rawmemchr-sse2 rawmemchr-sse2-bsf.
33191         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33192         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33193         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33194         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33195         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33196         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33197         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33198         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33199         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33200         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33201         * string/memrchr.c (MEMRCHR): New macro.
33203 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33205         Add integration with gcc's -ffinite-math-only and optimize wrapper
33206         functions in libm.
33207         * Versions.def: Define GLIBC_2.15 version for libm.
33208         * math/Makefile (headers): Add bits/math-finite.h.
33209         * math/bits/math-finite.h: New file.
33210         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33211         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33212         * math/e_acoshl.c: Add __*_finite alias.
33213         * math/e_acosl.c: Likewise.
33214         * math/e_asinl.c: Likewise.
33215         * math/e_atan2l.c: Likewise.
33216         * math/e_atanhl.c: Likewise.
33217         * math/e_coshl.c: Likewise.
33218         * math/e_exp10.c: Likewise.
33219         * math/e_exp10f.c: Likewise.
33220         * math/e_exp10l.c: Likewise.
33221         * math/e_exp2l.c: Likewise.
33222         * math/e_fmodl.c: Likewise.
33223         * math/e_gammal_r.c: Likewise.
33224         * math/e_hypotl.c: Likewise.
33225         * math/e_j0l.c: Likewise.
33226         * math/e_j1l.c: Likewise.
33227         * math/e_jnl.c: Likewise.
33228         * math/e_lgammal_r.c: Likewise.
33229         * math/e_log10l.c: Likewise.
33230         * math/e_log2l.c: Likewise.
33231         * math/e_logl.c: Likewise.
33232         * math/e_powl.c: Likewise.
33233         * math/e_sinhl.c: Likewise.
33234         * math/e_sqrtl.c: Likewise.
33235         * math/e_scalb.c: Completely rewritten and optimized.
33236         * math/e_scalbf.c: Likewise.
33237         * math/e_scalbl.c: Likewise.
33238         * math/w_acos.c: Likewise.
33239         * math/w_acosf.c: Likewise.
33240         * math/w_acosl.c: Likewise.
33241         * math/w_acosh.c: Likewise.
33242         * math/w_acoshf.c: Likewise.
33243         * math/w_acoshl.c: Likewise.
33244         * math/w_asin.c: Likewise.
33245         * math/w_asinf.c: Likewise.
33246         * math/w_asinl.c: Likewise.
33247         * math/w_atan2.c: Likewise.
33248         * math/w_atan2f.c: Likewise.
33249         * math/w_atan2l.c: Likewise.
33250         * math/w_atanh.c: Likewise.
33251         * math/w_atanhf.c: Likewise.
33252         * math/w_atanhl.c: Likewise.
33253         * math/w_exp10.c: Likewise.
33254         * math/w_exp10f.c: Likewise.
33255         * math/w_exp10l.c: Likewise.
33256         * math/w_fmod.c: Likewise.
33257         * math/w_fmodf.c: Likewise.
33258         * math/w_fmodl.c: Likewise.
33259         * math/w_j0.c: Likewise.
33260         * math/w_j0f.c: Likewise.
33261         * math/w_j0l.c: Likewise.
33262         * math/w_j1.c: Likewise.
33263         * math/w_j1f.c: Likewise.
33264         * math/w_j1l.c: Likewise.
33265         * math/w_jn.c: Likewise.
33266         * math/w_jnf.c: Likewise.
33267         * math/w_log.c: Likewise.
33268         * math/w_logf.c: Likewise.
33269         * math/w_logl.c: Likewise.
33270         * math/w_log10.c: Likewise.
33271         * math/w_log10f.c: Likewise.
33272         * math/w_log10l.c: Likewise.
33273         * math/w_log2.c: Likewise.
33274         * math/w_log2f.c: Likewise.
33275         * math/w_log2l.c: Likewise.
33276         * math/w_pow.c: Likewise.
33277         * math/w_powf.c: Likewise.
33278         * math/w_powl.c: Likewise.
33279         * math/w_remainder.c: Likewise.
33280         * math/w_remainderf.c: Likewise.
33281         * math/w_remainderl.c: Likewise.
33282         * math/w_scalb.c: Likewise.
33283         * math/w_scalbf.c: Likewise.
33284         * math/w_scalbl.c: Likewise.
33285         * math/w_sqrt.c: Likewise.
33286         * math/w_sqrtf.c: Likewise.
33287         * math/w_sqrtl.c: Likewise.
33288         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33289         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33290         used.
33291         * math/math_private.h: Declare __kernel_standard_f.
33292         * math/w_cosh.c: Remove cruft and optimize a bit.
33293         * math/w_coshf.c: Likewise.
33294         * math/w_coshl.c: Likewise.
33295         * math/w_exp2.c: Likewise.
33296         * math/w_exp2f.c: Likewise.
33297         * math/w_exp2l.c: Likewise.
33298         * math/w_hypot.c: Likewise.
33299         * math/w_hypotf.c: Likewise.
33300         * math/w_hypotl.c: Likewise.
33301         * math/w_lgamma.c: Likewise.
33302         * math/w_lgamma_r.c: Likewise.
33303         * math/w_lgammaf.c: Likewise.
33304         * math/w_lgammaf_r.c: Likewise.
33305         * math/w_lgammal.c: Likewise.
33306         * math/w_lgammal_r.c: Likewise.
33307         * math/w_sinh.c: Likewise.
33308         * math/w_sinhf.c: Likewise.
33309         * math/w_sinhl.c: Likewise.
33310         * math/w_tgamma.c: Likewise.
33311         * math/w_tgammaf.c: Likewise.
33312         * math/w_tgammal.c: Likewise.
33313         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33314         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33315         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33316         Minor optimizations.  Pretty printing.  Remove cruft.
33317         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33318         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33319         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33320         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33321         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33322         * sysdeps/i386/fpu/e_asin.S: Likewise.
33323         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33324         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33325         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33326         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33327         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33330         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33331         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33332         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33333         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33334         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33335         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33336         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33337         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33338         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33339         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33340         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33341         * sysdeps/i386/fpu/e_log.S: Likewise.
33342         * sysdeps/i386/fpu/e_log10.S: Likewise.
33343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33344         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33345         * sysdeps/i386/fpu/e_log2.S: Likewise.
33346         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33347         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33348         * sysdeps/i386/fpu/e_logf.S: Likewise.
33349         * sysdeps/i386/fpu/e_logl.S: Likewise.
33350         * sysdeps/i386/fpu/e_pow.S: Likewise.
33351         * sysdeps/i386/fpu/e_powf.S: Likewise.
33352         * sysdeps/i386/fpu/e_powl.S: Likewise.
33353         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33354         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33355         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33357         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33358         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33359         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33360         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33361         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33362         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33363         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33365         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33366         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33367         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33368         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33369         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33370         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33371         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33372         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33375         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33376         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33378         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33379         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33382         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33383         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33384         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33385         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33386         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33387         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33388         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33389         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33390         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33400         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33401         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33402         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33403         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33404         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33405         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33406         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33407         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33408         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33409         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33410         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33412         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33413         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33417         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33418         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33419         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33420         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33421         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33422         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33423         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33424         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33429         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33430         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33432         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33433         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33434         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33436         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33438         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33439         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33440         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33441         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33442         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33443         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33444         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33445         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33446         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33447         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33449         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33450         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33451         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33452         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33453         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33455         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33456         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33457         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33458         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33459         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33460         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33461         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33462         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33463         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33464         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33465         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33466         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33468         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33470         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33472         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33473         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33474         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33475         (__isnanf): Likewise.
33476         (__isinf_ns): Likewise.
33477         (__isinf_nsf): Likewise.
33478         (__finite): Likewise.
33479         (__finitef): Likewise.
33480         (__ieee754_sqrt): Define as macro.
33481         (__ieee754_sqrtf): Define as macro.
33482         (__ieee754_sqrtl): Define as macro.
33483         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33484         inlined copy.
33485         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33486         __FINITE_MATH_ONLY__ consistent.
33487         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33489 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33491         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33492         of rawmemchr.
33494         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33496 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33498         * po/ja.po: Update from translation team.
33500 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33502         * locale/programs/locarchive.c (prepare_address_space): New function.
33503         (create_archive, enlarge_archive, open_archive): Use it.
33505         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33506         inside [SHARED], where it is used.
33508         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33510         * nss/getent.c (netgroup_keys): Remove unused variable.
33511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33513 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33515         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33516         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33518         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33519         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33520         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33521         * math/Makefile (libm-calls): Add s_isinf_ns.
33522         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33523         * math/multc3.c: Likewise.
33524         * math/s_casin.c: Likewise.
33525         * math/s_casinf.c: Likewise.
33526         * math/s_casinl.c: Likewise.
33527         * math/s_ccos.c: Likewise.
33528         * math/s_ccosf.c: Likewise.
33529         * math/s_ccosl.c: Likewise.
33530         * math/s_ctan.c: Likewise.
33531         * math/s_ctanf.c: Likewise.
33532         * math/s_ctanh.c: Likewise.
33533         * math/s_ctanhf.c: Likewise.
33534         * math/s_ctanhl.c: Likewise.
33535         * math/s_ctanl.c: Likewise.
33536         * math/w_fmod.c: Likewise.
33537         * math/w_fmodf.c: Likewise.
33538         * math/w_fmodl.c: Likewise.
33539         * math/w_remainder.c: Likewise.
33540         * math/w_remainderf.c: Likewise.
33541         * math/w_remainderl.c: Likewise.
33542         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33543         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33546         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33547         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33548         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33549         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33551         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33552         of the number.
33553         * stdio-common/printf_fphex.c: Likewise.
33554         * stdio-common/printf_size.c: Likewise.
33556         * math/e_exp10.c: Include math_private.h using <...> not "...".
33557         * math/e_exp10f.c: Likewise.
33558         * math/e_exp10l.c: Likewise.
33559         * math/e_exp2l.c: Likewise.
33560         * math/e_j0l.c: Likewise.
33561         * math/e_j1l.c: Likewise.
33562         * math/e_jnl.c: Likewise.
33563         * math/e_lgammal_r.c: Likewise.
33564         * math/e_rem_pio2l.c: Likewise.
33565         * math/e_scalb.c: Likewise.
33566         * math/e_scalbf.c: Likewise.
33567         * math/e_scalbl.c: Likewise.
33568         * math/k_cosl.c: Likewise.
33569         * math/k_sinl.c: Likewise.
33570         * math/k_tanl.c: Likewise.
33571         * math/s_cacoshf.c: Likewise.
33572         * math/s_catan.c: Likewise.
33573         * math/s_catanf.c: Likewise.
33574         * math/s_catanh.c: Likewise.
33575         * math/s_catanhf.c: Likewise.
33576         * math/s_catanhl.c: Likewise.
33577         * math/s_catanl.c: Likewise.
33578         * math/s_ccosh.c: Likewise.
33579         * math/s_ccoshf.c: Likewise.
33580         * math/s_ccoshl.c: Likewise.
33581         * math/s_cexp.c: Likewise.
33582         * math/s_cexpf.c: Likewise.
33583         * math/s_cexpl.c: Likewise.
33584         * math/s_clog.c: Likewise.
33585         * math/s_clog10.c: Likewise.
33586         * math/s_clog10f.c: Likewise.
33587         * math/s_clog10l.c: Likewise.
33588         * math/s_clogf.c: Likewise.
33589         * math/s_clogl.c: Likewise.
33590         * math/s_csin.c: Likewise.
33591         * math/s_csinf.c: Likewise.
33592         * math/s_csinh.c: Likewise.
33593         * math/s_csinhf.c: Likewise.
33594         * math/s_csinhl.c: Likewise.
33595         * math/s_csinl.c: Likewise.
33596         * math/s_csqrt.c: Likewise.
33597         * math/s_csqrtf.c: Likewise.
33598         * math/s_csqrtl.c: Likewise.
33599         * math/s_ctan.c: Likewise.
33600         * math/s_ctanf.c: Likewise.
33601         * math/s_ctanh.c: Likewise.
33602         * math/s_ctanhf.c: Likewise.
33603         * math/s_ctanhl.c: Likewise.
33604         * math/s_ctanl.c: Likewise.
33605         * math/s_ldexp.c: Likewise.
33606         * math/s_ldexpf.c: Likewise.
33607         * math/s_ldexpl.c: Likewise.
33608         * math/s_significand.c: Likewise.
33609         * math/s_significandf.c: Likewise.
33610         * math/s_significandl.c: Likewise.
33611         * math/w_acos.c: Likewise.
33612         * math/w_acosf.c: Likewise.
33613         * math/w_acosh.c: Likewise.
33614         * math/w_acoshf.c: Likewise.
33615         * math/w_acoshl.c: Likewise.
33616         * math/w_acosl.c: Likewise.
33617         * math/w_asin.c: Likewise.
33618         * math/w_asinf.c: Likewise.
33619         * math/w_asinl.c: Likewise.
33620         * math/w_atan2.c: Likewise.
33621         * math/w_atan2f.c: Likewise.
33622         * math/w_atan2l.c: Likewise.
33623         * math/w_atanh.c: Likewise.
33624         * math/w_atanhf.c: Likewise.
33625         * math/w_atanhl.c: Likewise.
33626         * math/w_cosh.c: Likewise.
33627         * math/w_coshf.c: Likewise.
33628         * math/w_coshl.c: Likewise.
33629         * math/w_dremf.c: Likewise.
33630         * math/w_exp10.c: Likewise.
33631         * math/w_exp10f.c: Likewise.
33632         * math/w_exp10l.c: Likewise.
33633         * math/w_exp2.c: Likewise.
33634         * math/w_exp2f.c: Likewise.
33635         * math/w_fmod.c: Likewise.
33636         * math/w_fmodf.c: Likewise.
33637         * math/w_fmodl.c: Likewise.
33638         * math/w_hypot.c: Likewise.
33639         * math/w_hypotf.c: Likewise.
33640         * math/w_hypotl.c: Likewise.
33641         * math/w_j0.c: Likewise.
33642         * math/w_j0f.c: Likewise.
33643         * math/w_j0l.c: Likewise.
33644         * math/w_j1.c: Likewise.
33645         * math/w_j1f.c: Likewise.
33646         * math/w_j1l.c: Likewise.
33647         * math/w_jn.c: Likewise.
33648         * math/w_jnf.c: Likewise.
33649         * math/w_jnl.c: Likewise.
33650         * math/w_lgamma.c: Likewise.
33651         * math/w_lgamma_r.c: Likewise.
33652         * math/w_lgammaf.c: Likewise.
33653         * math/w_lgammaf_r.c: Likewise.
33654         * math/w_lgammal.c: Likewise.
33655         * math/w_lgammal_r.c: Likewise.
33656         * math/w_log.c: Likewise.
33657         * math/w_log10.c: Likewise.
33658         * math/w_log10f.c: Likewise.
33659         * math/w_log10l.c: Likewise.
33660         * math/w_log2.c: Likewise.
33661         * math/w_log2f.c: Likewise.
33662         * math/w_log2l.c: Likewise.
33663         * math/w_logf.c: Likewise.
33664         * math/w_logl.c: Likewise.
33665         * math/w_pow.c: Likewise.
33666         * math/w_powf.c: Likewise.
33667         * math/w_powl.c: Likewise.
33668         * math/w_remainder.c: Likewise.
33669         * math/w_remainderf.c: Likewise.
33670         * math/w_remainderl.c: Likewise.
33671         * math/w_scalb.c: Likewise.
33672         * math/w_scalbf.c: Likewise.
33673         * math/w_scalbl.c: Likewise.
33674         * math/w_sinh.c: Likewise.
33675         * math/w_sinhf.c: Likewise.
33676         * math/w_sinhl.c: Likewise.
33677         * math/w_sqrt.c: Likewise.
33678         * math/w_sqrtf.c: Likewise.
33679         * math/w_sqrtl.c: Likewise.
33680         * math/w_tgamma.c: Likewise.
33681         * math/w_tgammaf.c: Likewise.
33682         * math/w_tgammal.c: Likewise.
33684         * po/ja.po: Update from translation team.
33686 2011-09-29  Andreas Jaeger  <aj@suse.de>
33688         [BZ #13179]
33689         * sunrpc/netname.c (netname2host): Fix logic.
33691         [BZ #6779]
33692         [BZ #6783]
33693         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33694         correctly.
33695         * math/w_remainder.c (__remainder): Likewise.
33696         * math/w_remainderf.c (__remainderf): Likewise.
33697         * math/libm-test.inc (remainder_test): Add test cases.
33699 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33701         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33702         sdiv_qrnnd.
33704 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33706         * string/test-memcmp.c: Avoid unncessary #defines.
33707         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33709 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33711         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33712         Use new sse2 version for core i3 - i7 as it's faster
33713         than sse42 version.
33714         (bit_Prefer_PMINUB_for_stringop): New.
33715         * sysdeps/x86_64/rawmemchr.S: Update.
33716         Replace with faster SSE2 version.
33717         * sysdeps/x86_64/memrchr.S: New file.
33718         * sysdeps/x86_64/memchr.S: Update.
33719         Replace with faster SSE2 version.
33721 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33723         * elf/dl-load.c (lose): Add cast to avoid warning.
33725 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33727         * po/ca.po: Update from translation team.
33729         * inet/getnetgrent_r.c: Hook up nscd.
33730         * nscd/Makefile (routines): Add nscd_netgroup.
33731         (nscd-modules): Add netgroupcache.
33732         (CFLAGS-netgroupcache.c): Define.
33733         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33734         (cache_search): Add const to second parameter.
33735         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33736         INNETGR.
33737         (dbs): Add netgrdb entry.
33738         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33739         (verify_persistent_db): Handle netgrdb.
33740         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33741         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33742         GETFDNETGR.
33743         (netgroup_response_header): Define.
33744         (innetgroup_response_header): Define.
33745         (datahead): Add netgroup_response_header and innetgroup_response_header
33746         elements.
33747         * nscd/nscd.conf: Add entries for netgroup cache.
33748         * nscd/nscd.h (dbtype): Add netgrdb.
33749         (_PATH_NSCD_NETGROUP_DB): Define.
33750         (netgroup_iov_disabled): Declare.
33751         (xmalloc, xcalloc, xrealloc): Move declarations here.
33752         (cache_search): Adjust prototype.
33753         Add netgroup-related prototypes.
33754         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33755         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33756         (__nscd_innetgr): Declare.
33757         * nscd/selinux.c (perms): Use access_vector_t as element type and
33758         add netgroup-related initializers.
33759         * nscd/netgroupcache.c: New file.
33760         * nscd/nscd_netgroup.c: New file.
33761         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33762         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33763         For four parameters use innetgr.
33764         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33765         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33766         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33767         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33769         * nscd/connections.c (register_traced_file): Don't register file
33770         for disabled databases.
33772 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33774         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33776         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33777         from tree and freeing node.
33779 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33781         * nss/nsswitch.c (__nss_database_lookup): Handle
33782         nss_parse_service_list out of memory case.
33784 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33786         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33787         out of memory case.
33789 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33791         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33792         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33793         pass it down.
33794         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33795         elf_machine_rela, elf_machine_lazy_rel.
33796         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33797         (ELF_DYNAMIC_DO_REL): Likewise.
33798         (ELF_DYNAMIC_DO_RELA): Likewise.
33799         (ELF_DYNAMIC_RELOCATE): Likewise.
33800         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33801         to ELF_DYNAMIC_DO_REL.
33802         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33803         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33804         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33805         elf_machine_rela.
33806         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33807         skip_ifunc, don't call ifunc function if non-zero.
33808         (elf_machine_rela): Likewise.
33809         (elf_machine_lazy_rel): Likewise.
33810         (elf_machine_lazy_rela): Likewise.
33811         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33812         (elf_machine_lazy_rel): Likewise.
33813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33814         Likewise.
33815         (elf_machine_lazy_rel): Likewise.
33816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33817         Likewise.
33818         (elf_machine_lazy_rel): Likewise.
33819         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33820         (elf_machine_lazy_rel): Likewise.
33821         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33822         (elf_machine_lazy_rel): Likewise.
33823         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33824         (elf_machine_lazy_rel): Likewise.
33825         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33826         (elf_machine_lazy_rel): Likewise.
33827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33828         (elf_machine_lazy_rel): Likewise.
33829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33830         (elf_machine_lazy_rel): Likewise.
33832 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33834         * nss/nss_files/files-init.c (_nss_files_init): Use static
33835         initialization for all the *_traced_file variables.
33837 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33839         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33841 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33843         [BZ #13226]
33844         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33846 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33848         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33849         Reread the line before reparsing it.
33851 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33853         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33855 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33856             Maxim Kuvyrkov  <maxim@codesourcery.com>
33857             Joseph Myers  <joseph@codesourcery.com>
33859         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33860         if needed for __stack_chk_guard.
33862 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33864         * sysdeps/posix/spawni.c (script_execute): Always define it.
33865         It will be optimized away if unused.
33866         (maybe_script_execute): New function.
33867         (__spawni): Call it.
33869         * Makerules: Don't include tls.make.
33870         (config-tls): Always set to thread.
33871         * tls.make.c: File removed.
33873 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33875         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33876         * config.make.in (CPPFLAGS-config): New substituted variable.
33878 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33882         [BZ #13192]
33883         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33884         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33886 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33888         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33889         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33891         (CALL_FAIL): Likewise.
33892         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33893         (CALL_FAIL): Macro removed.
33894         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33896 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33898         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33899         for __FINITE_MATH_ONLY__ == 1.
33901 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33903         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33904         __ieee754_sqrt instead of sqrt.
33905         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33906         __ieee754_sqrtf instead of sqrtf.
33907         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33908         __floorf instead of floorf.
33909         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33910         __floorf, __truncf instead of floorf, truncf.
33912 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33914         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33916         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33917         __extern_always_inline.
33918         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33919         32-bit.
33921 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33923         * elf/rtld.c (dl_main): Also relocate in dependency order when
33924         doing symbol dependency testing.
33926 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33929         Always define `refsym'.
33931 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33933         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33934         (__FD_ELT): Renamed from __FDELT.
33935         * misc/bits/select2.h (__FD_ELT): Likewise.
33936         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33937         __FD_MASK instead of __FDELT, __FDMASK.
33938         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33939         Likewise.
33940         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33941         Likewise.
33943         * elf/Makefile (gen-ldd): Fix pattern.
33945         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33946         (init_tls): Likewise.
33948 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33952 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33954         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33955         `struct cmsghdr *' instead of `void *'.
33956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33957         Likewise.
33959 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33961         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33962         if non-absolute.
33963         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33964         ldd_rewrite_script.
33966 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33968         * configure.in: Remove --with-tls option.
33969         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33970         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33971         out in case it is missing.
33972         * sysdeps/ia64/elf/configure.in: Likewise.
33973         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33974         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33975         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33976         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33977         * sysdeps/sh/elf/configure.in: Likewise.
33978         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33979         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33980         * sysdeps/x86_64/elf/configure.in: Likewise.
33981         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33982         * sysdeps/mach/hurd/tls.h: Likewise.
33984         [BZ #13067]
33985         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33987         [BZ #13090]
33988         * configure.in: Fix use of AC_INIT.
33990         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33992 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33994         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33995         __set_errno.
33996         * malloc/hooks.c: Likewise.
33998         [BZ #11929]
33999         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34000         variables statically.
34001         (narenas): Initialize.
34002         (list_lock): Initialize.
34003         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34004         initializtion of main_arena and list_lock.  Small cleanups.
34005         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34006         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34007         Add initializers to main_arena and mp_.
34008         (malloc_state): Remove pagesize member.  Change all users to use
34009         GLRO(dl_pagesize).
34011         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34012         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34013         is always initialized.
34015         * malloc/malloc.c: Removed unused configurations and dead code.
34016         * malloc/arena.c: Likewise.
34017         * malloc/hooks.c: Likewise.
34018         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34020         * include/tls.h: Removed.  USE___THREAD must always be defined.
34021         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34022         * elf/dl-libc.c: Likewise.
34023         * elf/dl-tsd.c: Likewise.
34024         * include/errno.h: Likewise.
34025         * include/netdb.h: Likewise.
34026         * include/resolv.h: Likewise.
34027         * inet/herrno-loc.c: Likewise.
34028         * inet/herrno.c: Likewise.
34029         * malloc/arena.c: Likewise.
34030         * malloc/hooks.c: Likewise.
34031         * malloc/malloc.c: Likewise.
34032         * resolv/res-state.c: Likewise.
34033         * resolv/res_libc.c: Likewise.
34034         * sysdeps/i386/dl-machine.h: Likewise.
34035         * sysdeps/ia64/dl-machine.h: Likewise.
34036         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34037         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34038         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34040         * sysdeps/sh/dl-machine.h: Likewise.
34041         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34042         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34043         * sysdeps/unix/i386/sysdep.S: Likewise.
34044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34045         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34050         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34054         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34055         * sysdeps/x86_64/dl-machine.h: Likewise.
34056         * tls.make.c: Likewise.
34058         * configure.in: Remove --with-__thread option.  Make tests for
34059         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34060         tls_model attribute fail if no support is available.  Remove
34061         USE_IN_LIBIO.
34062         * Makeconfig: Adjust for dropped configure option.  All features are
34063         now mandatory.
34064         * Makerules: Likewise.
34065         * Versions.def: Likewise.
34066         * argp/argp-fmtstream.c: Likewise.
34067         * argp/argp-fmtstream.h: Likewise.
34068         * argp/argp-help.c: Likewise.
34069         * assert/assert.c: Likewise.
34070         * config.h.in: Likewise.
34071         * config.make.in: Likewise.
34072         * configure: Likewise.
34073         * configure.in: Likewise.
34074         * csu/Versions: Likewise.
34075         * csu/init.c: Likewise.
34076         * elf/tst-audit2.c: Likewise.
34077         * elf/tst-tls10.c: Likewise.
34078         * elf/tst-tls10.h: Likewise.
34079         * elf/tst-tls11.c: Likewise.
34080         * elf/tst-tls12.c: Likewise.
34081         * elf/tst-tls14.c: Likewise.
34082         * elf/tst-tlsmod11.c: Likewise.
34083         * elf/tst-tlsmod12.c: Likewise.
34084         * elf/tst-tlsmod13.c: Likewise.
34085         * elf/tst-tlsmod13a.c: Likewise.
34086         * elf/tst-tlsmod14a.c: Likewise.
34087         * elf/tst-tlsmod15b.c: Likewise.
34088         * elf/tst-tlsmod16a.c: Likewise.
34089         * elf/tst-tlsmod16b.c: Likewise.
34090         * elf/tst-tlsmod7.c: Likewise.
34091         * elf/tst-tlsmod8.c: Likewise.
34092         * elf/tst-tlsmod9.c: Likewise.
34093         * gmon/gmon.c: Likewise.
34094         * grp/fgetgrent_r.c: Likewise.
34095         * grp/putgrent.c: Likewise.
34096         * hurd/fopenport.c: Likewise.
34097         * include/libc-symbols.h: Likewise.
34098         * include/tls.h: Likewise.
34099         * intl/gettextP.h: Likewise.
34100         * intl/loadinfo.h: Likewise.
34101         * locale/global-locale.c: Likewise.
34102         * locale/localeinfo.h: Likewise.
34103         * mach/devstream.c: Likewise.
34104         * malloc/arena.c: Likewise.
34105         * malloc/set-freeres.c: Likewise.
34106         * misc/err.c: Likewise.
34107         * misc/getttyent.c: Likewise.
34108         * misc/mntent_r.c: Likewise.
34109         * posix/getopt.c: Likewise.
34110         * posix/wordexp.c: Likewise.
34111         * pwd/fgetpwent_r.c: Likewise.
34112         * resolv/Versions: Likewise.
34113         * resolv/res_hconf.c: Likewise.
34114         * shadow/fgetspent_r.c: Likewise.
34115         * shadow/putspent.c: Likewise.
34116         * stdio-common/printf_fphex.c: Likewise.
34117         * stdio-common/tmpfile.c: Likewise.
34118         * stdlib/abort.c: Likewise.
34119         * stdlib/fmtmsg.c: Likewise.
34120         * sunrpc/auth_unix.c: Likewise.
34121         * sunrpc/clnt_perr.c: Likewise.
34122         * sunrpc/clnt_tcp.c: Likewise.
34123         * sunrpc/clnt_udp.c: Likewise.
34124         * sunrpc/clnt_unix.c: Likewise.
34125         * sunrpc/openchild.c: Likewise.
34126         * sunrpc/svc_simple.c: Likewise.
34127         * sunrpc/svc_tcp.c: Likewise.
34128         * sunrpc/svc_udp.c: Likewise.
34129         * sunrpc/svc_unix.c: Likewise.
34130         * sunrpc/xdr.c: Likewise.
34131         * sunrpc/xdr_array.c: Likewise.
34132         * sunrpc/xdr_rec.c: Likewise.
34133         * sunrpc/xdr_ref.c: Likewise.
34134         * sunrpc/xdr_stdio.c: Likewise.
34136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34138         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34140 2011-07-03  Andreas Jaeger  <aj@suse.de>
34142         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34143         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34144         regenerate with gen-libm-tests.pl.
34146 2010-05-12  Petr Baudis  <pasky@suse.cz>
34148         [BZ #11589]
34149         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34150         around j0() zero points by switching to j1().
34151         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34152         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34154         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34156 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34158         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34159         instead of 0.
34160         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34161         instead of 0.
34162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34163         Patch in part by Pavel Roskin <proski@gnu.org>.
34165         [BZ #13138]
34166         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34167         realloc.
34168         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34169         Free memory block if necessary.
34171         [BZ #12847]
34172         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34173         be NULL.  Don't lock in this case.
34175 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34177         * elf/elf.h (ELFOSABI_GNU): New macro.
34178         (ELFOSABI_LINUX): Define to that.
34180 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34182         * string/strncat.c (strncat): Undef the symbol in case it has been
34183         defined in bits/string.h.
34185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34187         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34189         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34190         link map.
34192 2011-08-17  Andreas Jaeger  <aj@suse.de>
34194         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34196 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34197             Ian Lance Taylor  <iant@google.com>
34199         * math/libm-test.inc (lround_test): New testcase.
34200         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34202 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34204         * Makefile: Remove support for automatic cvs check-ins.
34205         * Makerules: Likewise.
34206         * config.make.in: Likewise.
34207         * configure.in: Likewise.
34208         * intl/Makefile: Likewise.
34209         * locale/Makefile: Likewise.
34210         * po/Makefile: Likewise.
34211         * posix/Makefile: Likewise.
34212         * sysdeps/gnu/Makefile: Likewise.
34213         * sysdeps/mach/hurd/Makefile: Likewise.
34214         * sysdeps/sparc/sparc32/Makefile: Likewise.
34216         [BZ #13118]
34217         * posix/Makefile (bug-regex32-ENV): Define.
34218         Patch by John Stanley <jpsinthemix@verizon.net>.
34220         * misc/Makefile (headers): Add bits/select2.h.
34221         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34222         * misc/bits/select2.h: New file.
34223         * include/bits/select2.h: New file.
34224         * debug/Makefile (routines): Add fdelt_chk.
34225         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34226         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34227         FD_ISSET.
34228         * debug/fdelt_chk.c: New file.
34230         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34231         * wcsmbs/test-wmemcmp.c: Likewise.
34232         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34233         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34235 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34237         * string/Makefile (strop-tests): Add memcmp.
34238         * string/test-wmemcmp.c: New file.
34239         * string/test-memcmp.c: Add wmemcmp support.
34241 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34243         [BZ #13153]
34244         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34245         2011-07-19 change.
34247         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34248         garbage value in a __mach_port_mod_refs call in the cases of the
34249         task-self and thread-self ports.
34251 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34253         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34255 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34257         * elf/dl-load.c (lose): Check for non-null L.
34259 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34261         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34263         * elf/dl-libc.c (dlerror_run): Pass back error code from
34264         dl_catch_error.
34266         [BZ #13123]
34267         * elf/dl-load.c (lose): Free l_origin if it is valid.
34269         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34270         names.
34271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34272         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34273         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34275         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34276         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34278 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34280         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34281         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34282         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34283         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34284         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34285         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34286         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34287         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34288         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34289         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34291 2011-08-15  Alan Modra  <amodra@gmail.com>
34293         [BZ #13092]
34294         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34295         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34296         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34297         ppc_mcount to static-only-routines.
34298         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34299         __mcount_internal.
34300         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34301         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34303 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34305         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34306         for finite and infinity parameters.
34308 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34311         and add nop instructions for throughput optimization.
34312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34314 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34317         aligned copy for power7 with vector-scalar instructions.
34318         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34320 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34323         AVX check.
34325 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34327         [BZ #13144]
34328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34329         last change.
34331 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34333         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34334         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34335         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34336         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34337         clock_gettime.
34339 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34341         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34342         Forgot to demangle the pointer.
34344         * sysdeps/i386/sysdep.h: Define atom_text_section.
34345         * sysdeps/x86_64/sysdep.h: Likewise.
34346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34347         section with atom_text_section.
34348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34349         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34350         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34352         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34354         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34355         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34356         already be defined.  Change to take two parameters and don't assign
34357         result to variable.  Adjust all users.
34358         Define INTERNAL_GETTIME if not already defined.
34359         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34360         call.
34361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34362         HAVE_CLOCK_GETTIME_VSYSCALL.
34363         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34365         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34366         gettimeofday vsyscall, just use time.
34368 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34371         <errno.h>.
34373 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34375         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34376         syscall on x86-64.
34377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34378         syscall.
34379         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34380         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34381         syscall if possible.
34383 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34385         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34386         e_ident.  Don't pass to find_mapsXX.
34387         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34389 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34392         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34393         * sysdeps/x86_64/multiarch/strchr.S: Update.
34394         Check bit_slow_BSF bit.
34395         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34397         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34399 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34401         [BZ #13134]
34402         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34403         before glibc 2.15.
34404         (tryshell): Define.
34405         (__spawni): Change last parameter to be flag.  Test
34406         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34407         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34408         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34409         * posix/spawni.c: Likewise.
34410         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34411         * posix/spawnp.c: Likewise.  Change normal version to use
34412         SPAWN_XFLAGS_USE_PATH.
34413         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34414         SPAWN_XFLAGS_TRY_SHELL.
34416         [BZ #13150]
34417         * posix/glob.h: Remove gcc 1.x support.
34419         [BZ #13068]
34420         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34422 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34425         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34426         strrchr-sse2-bsf
34427         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34428         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34429         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34430         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34431         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34432         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34434 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34436         * sysdeps/x86_64/wcscmp.S: New file.
34438         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34439         wcscmp-c wcscmp-sse2
34440         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34441         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34443         * wcsmbs/wcscmp.c: Allow renaming.
34445 2011-09-05  David S. Miller  <davem@davemloft.net>
34447         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34448         stack slot, rather than the struct return pointer slot.
34449         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34450         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34452         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34454 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34456         * po/ja.po: Update from translation team.
34458         [BZ #13144]
34459         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34460         kernel in 64-bit binaries.
34462 2011-09-01  David S. Miller  <davem@davemloft.net>
34464         * elf/elf.h (HWCAP_SPARC_*): Move to..
34465         * sysdeps/sparc/sysdep.h: this new file and add new values.
34466         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34467         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34468         _DL_HWCAP_COUNT to 24.
34469         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34470         entries.
34471         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34472         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34473         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34475         instead of magic constants.
34476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34478 2011-08-31  David S. Miller  <davem@davemloft.net>
34480         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34482         Reimplement to do errno handling inline.
34483         (SYSCALL_ERROR_HANDLER): New macro.
34484         (__SYSCALL_STRING): Do not do errno handling in asm.
34485         (__CLONE_SYSCALL_STRING): Delete.
34486         (__INTERNAL_SYSCALL_STRING): Delete.
34487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34488         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34489         (PSEUDO): Reimplement to do errno handling inline.
34490         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34491         (SYSCALL_ERROR_HANDLER): New macro.
34492         (__SYSCALL_STRING): Do not do errno handling in asm.
34493         (__CLONE_SYSCALL_STRING): Delete.
34494         (__INTERNAL_SYSCALL_STRING): Delete.
34495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34496         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34497         i386.
34498         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34499         (inline_syscall*): Add 'err' argument.
34500         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34501         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34502         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34503         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34505         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34506         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34508 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34510         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34512 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34514         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34515         directive.
34517 2011-08-24  David S. Miller  <davem@davemloft.net>
34519         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34521 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34523         * elf/Makefile: Add rules to build and run unload8 test.
34524         * elf/unload8.c: New file.
34525         * elf/unload8mod1.c: New file.
34526         * elf/unload8mod1x.c: New file.
34527         * elf/unload8mod2.c: New file.
34528         * elf/unload8mod3.c: New file.
34530         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34531         it wasn't used.
34533 2011-08-23  David S. Miller  <davem@davemloft.net>
34535         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34536         subtract stack bias.
34537         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34538         %sp not %fp in calculations.
34539         (_JMPBUF_UNWINDS_ADJ): Likewise.
34541         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34542         (aio_suspend): Call it to force an exception region around the
34543         AIO_MISC_WAIT() invocation.
34545 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34547         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34548         backslash.
34550 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34552         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34553         protection macro.
34554         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34555         and <dl-machine.h>.
34556         (Elf64_FuncDesc): Remove.
34558 2011-08-22  David S. Miller  <davem@davemloft.net>
34560         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34561         sigaltstack check, add missing cfi directives.
34562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34563         missing cfi directives, and sigaltstack handling.
34565 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34567         [BZ #11724]
34568         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34569         object is seen twice.
34570         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34572         * elf/Makefile (distribute): Add tst-initorder2.c.
34573         (tests): Add tst-initorder2.
34574         (modules-names): Add tst-initorder2a tst-initorder2b
34575         tst-initorder2c tst-initorder2d.  Add rules to build them.
34576         ($(objpfx)tst-initorder2.out): New rule.
34577         * elf/tst-initorder2.c: New file.
34578         * elf/tst-initorder2.exp: New file.
34580 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34584         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34585         dependencies back to end of function.
34587         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34588         $(elfobjdir)/ld.so.
34590 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34593         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34595         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34596         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34597         of __vdso_gettimeofday.
34598         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34599         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34600         attribute_hidden.
34601         (_libc_vdso_platform_setup): Remove initialization of
34602         __vdso_gettimeofday and __vdso_time.
34604 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34606         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34607         and fgetc_unlocked.
34608         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34609         getc_unlocked.
34611         * elf/dl-open.c (add_to_global): Report additions to the global scope
34612         for LD_DEBUG=scopes.
34613         (dl_open_worker): Also print scope of newly loaded dependencies.
34614         (_dl_show_scope): Indicate if there is no scope.
34616         [BZ #13114]
34617         * stdio-common/Makefile (tests): Add bug24.
34618         * stdio-common/bug24.c: New file.
34620 2011-08-19  Andreas Jaeger  <aj@suse.de>
34622         [BZ #13114]
34623         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34624         non-existant file when using close-on-exec mode.
34626 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34629         the very first instruction.
34631         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34632         the CFI state in the end.
34633         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34634         inclusion of dl-trampoline.h.
34635         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34637 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34639         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34640         expectations for long double.
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34643         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34645 2011-08-14  David S. Miller  <davem@davemloft.net>
34647         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34648         artificual limit depends upon the system page size.
34650 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34652         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34653         * resolv/Makefile: Define CFLAGS-libresolv.
34655 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34657         * nss/makedb.c (compute_tables): Make variables used in nested
34658         function static.
34660 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34662         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34663         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34664         if buffer was too small.
34666         * elf/pldd.c (main): Attach to all threads in the process.
34667         Rewrite /proc handling to use *at functions.
34669 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34671         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34672         specifies first scope to show.
34673         (dl_open_worker): Update callers.  Move printing scope of new
34674         object to before the relocation.
34675         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34676         * sysdeps/generic/ldsodefs.h: Update declaration.
34678         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34679         string for the scope number.
34681 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34683         * nscd/servicescache.c (cache_addserv): Make sure written is always
34684         initialized.
34686 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34688         * sysdeps/i386/i486/bits/atomic.h
34689         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34690         statement expression, so as to suppress "set but not used" warning.
34691         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34693         * string/strncat.c (STRNCAT): Use prototype definition.
34695         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34696         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34697         -Iprograms here.
34698         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34699         (localedef-modules): Add localedef.
34700         (locale-modules): Add locale.
34702         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34703         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34704         to avoid a warning.
34706 2011-08-14  David S. Miller  <davem@davemloft.net>
34708         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34709         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34711 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34713         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34714         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34715         * elf/rtld.c (dl_main): Set l_name of vDSO.
34716         Call _dl_show_scope when DL_DEBUG_SCOPES.
34717         (process_dl_debug): Recognize scopes flag and also set it for all.
34718         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34719         Declare _dl_show_scope.
34721         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34722         (do_dlopen): Pass caller_dlopen to dl_open.
34723         (__libc_dlopen_mode): Initialize caller_dlopen.
34725         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34726         of libc.  Make tolower call locale-independent.  Optimize a bit by
34727         using isdigit instead of isalnum.
34728         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34730 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34732         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34733         was a dependency or dynamically loaded.
34735 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34737         * intl/l10nflist.c: Allow architecture-specific pop function.
34738         * sysdeps/x86_64/l10nflist.c: New file.
34740         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34741         classification.
34743 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34745         * include/dirent.h: Add libc_hidden_proto for scandirat and
34746         scandirat64.  Don't declare __scandirat64.
34747         * dirent/scandirat.c: Add libc_hidden_def.
34748         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34749         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34751 2011-08-10  David S. Miller  <davem@davemloft.net>
34753         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34754         enum.
34755         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34759 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34761         * Versions.def [libc]: Add GLIBC_2.15.
34762         * dirent/Makefile (routines): Add scandirat and scandirat64.
34763         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34764         GLIBC_2.15.
34765         * dirent/dirent.h: Declare scandirat and scandirat64.
34766         * dirent/scandirat.c: New file.
34767         * dirent/scandirat64.c: New file.
34768         * sysdeps/wordsize-64/scandirat.c: New file.
34769         * sysdeps/wordsize-64/scandirat64.c: New file.
34770         * dirent/opendir.c: Define opendirat.
34771         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34772         using scandirat.
34773         * dirent/scandir64.c: Adjust for scandir.c change.
34774         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34775         __scandirat64, and __scandir_cancel_handler.
34776         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34777         additional parameter and use openat instead of open (outside of ld.so).
34778         Add new __opendir as wrapper around __opendirat.
34779         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34780         here without requiring old scandirat implementation.
34782 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34784         * dirent/scandir.c (cancel_handler): Renamed to
34785         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34786         defined.  Adjust users.
34787         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34788         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34790 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34792         * string/test-string.h (IMPL): Use __STRING to expand name and then
34793         stringify it.
34795         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34796         of cleanups.
34798 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34800         * string/Makefile: Update.
34801         (strop-tests): Append strncat.
34802         * string/test-wcscmp.c: New file.
34803         New comprehensive test for wcscmp.
34804         * string/test-strcmp.c: Update.
34805         (WIDE): New define.
34807 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34809         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34810         line.
34812 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34815         encoding to ACE if AI_IDN.
34817 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34820         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34822 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34824         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34825         Fix overflow bug in strncat.
34826         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34828         * string/test-strncat.c: Update.
34829         Add new tests for checking overflow bugs.
34831 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34834         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34835         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34836         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34838         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34839         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34840         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34841         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34843         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34844         (USE_AS_STRCAT): Define.
34845         Add strcat and strncat support.
34846         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34848 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34850         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34851         __n bigger than INT_MAX+1.
34852         (__strncmp_g): Likewise.
34854 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34856         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34857         * libio/stido.h: Likewise.
34859         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34860         (AF_NFC): Define.
34861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34862         (AF_NFC): Define.
34864         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34866         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34867         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34868         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34870         [BZ #13021]
34871         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34872         installed.
34874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34875         typo.
34876         (_dl_x86_64_save_sse): Likewise.
34878 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34881         OSXSAVE.
34882         (_dl_x86_64_save_sse): Likewise.
34884         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34886         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34888 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34891         change.
34892         (_dl_x86_64_save_sse): Use correct AVX check.
34894 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34897         bug in strncpy/strncat.
34898         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34900 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34902         * string/tester.c (test_strcat): Add tests for different alignments
34903         of source and destination.
34904         (test_strncat): Likewise.
34906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34908         [BZ #12852]
34909         * posix/glob.c (glob): Check passed in values before using them in
34910         expressions to avoid some overflows.
34911         (glob_in_dir): Likewise.
34913         [BZ #13007]
34914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34915         check for AVX enablement so that we don't crash with old kernels and
34916         new hardware.
34917         * elf/tst-audit4.c: Add same checks here.
34918         * elf/tst-audit6.c: Likewise.
34920         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34922 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34924         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34926 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34928         * po/cs.po: Update from translation team.
34929         * po/bg.po: Likewise.
34931 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34933         * misc/sys/cdefs.h: Add support for const attribute.
34934         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34935         to gnu_dev_{major,minor,makedev} functions.
34937 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34939         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34941 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34943         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34944         strlen results.
34946 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34949         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34950         register in order to avoid conflicts with the soft frame pointer
34951         being held in r11 when necessary.
34952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34953         (INTERNAL_VSYSCALL_NCS): Likewise.
34955 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34957         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34958         * elf/dl-fini.c (_dl_fini): Adjust caller.
34959         * elf/dl-close.c (_dl_close_worker): Likewise.
34960         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34962 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34964         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34965         "aux_cache->nlibs < 0".
34967         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34968         in the reload-count case.
34970 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34973         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34974         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34975         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34976         * sysdeps/x86_64/multiarch/strcat.S: New file.
34977         * sysdeps/x86_64/multiarch/strncat.S: New file.
34978         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34979         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34980         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34981         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34983         (USE_AS_STRCAT): Define.
34984         Add strcat and strncat support.
34985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34986         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34987         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34988         * string/strncat.c: Update.
34989         (USE_AS_STRNCAT): Define.
34990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34991         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34992         and i7.
34993         * sysdeps/x86_64/multiarch/init-arch.h
34994         (bit_Prefer_PMINUB_for_stringop): New.
34995         (index_Prefer_PMINUB_for_stringop): Likewise.
34996         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34997         bit_Prefer_PMINUB_for_stringop.
34999 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35001         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35002         buffer64.
35003         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35004         of casting of buffer.
35005         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35006         buffer32 and buffer64.
35007         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35008         writes instead of casting of buffer.
35009         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35010         buffer32.
35011         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35012         casting of buffer.
35014 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35016         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35018 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35020         * nscd/nscd.c (termination_handler): Don't do anything for a database
35021         if it has not yet been initialized.
35023 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35025         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35029         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35031 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35033         * po/nl.po: Update from translation team.
35034         * po/sv.po: Likewise.
35036 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35038         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35039         now disallowed by GCC.
35041         * configure.in (use-default-link): Default to yes if a test -shared
35042         link meets our qualifications.
35043         * configure: Regenerated.
35045         * config.make.in (output-format): New variable.
35046         * configure.in: Check for ld --print-output-format support.
35047         * configure: Regenerated.
35048         * Makerules ($(common-objpfx)format.lds)
35049         [$(output-format) != unknown]: Just use $(output-format),
35050         instead of the linker-script munging.
35052 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35054         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35055         of $(common-objpfx)shlib.lds.
35056         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35058         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35059         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35061         * configure.in (-z relro check): Adjust test code to add a large
35062         writable data section after it.
35063         * configure: Regenerated.
35065 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35067         * configure.in (-z relro check): Fix test code to make the variable
35068         truly const.
35069         * configure: Regenerated.
35071 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35073         * nscd/nscd.h (struct traced_file): Define.
35074         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35075         elements.  Add traced_files.
35076         (inotify_fd): Declare.
35077         (register_traced_file): Declare.
35078         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35079         (inotify_fd): Export.
35080         (resolv_conf_descr): Remove.
35081         (nscd_init): Move inotify descriptor creation to main.
35082         Don't register files for notification here.
35083         (register_traced_file): New function.
35084         (invalidate_cache): Don't use reset_res to determine whether to call
35085         res_init, go through the list of registered files.
35086         (main_loop_poll): The inotify descriptors are now stored in the
35087         structures for the traced files.
35088         (main_loop_epoll): Likewise
35089         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35090         to __nss_disable_nscd.
35091         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35092         for a database anymore.  Check the records for all the registered
35093         files instead.
35094         * nss/Makefile (libnss_files-routines): Add files-init.
35095         (libnss_db-routines): Add db-init.
35096         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35097         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35098         * nss/nss_db/db-init.c: New file.
35099         * nss/nss_files/files-init.c: New file.
35100         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35101         __nss_lookup_function.
35102         (__nss_lookup_function): Call nss_load_library.
35103         (nss_load_all_libraries): New function.
35104         (__nss_disable_nscd): Take parameter with callback function for files
35105         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35106         used for the cached services.
35107         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35108         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35109         options for features to all the files in nscd.
35111         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35113 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35115         * csu/elf-init.c (__libc_csu_init): Comment typo.
35117 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35119         * po/pl.po: Update from translation team.
35120         * po/ja.po: Likewise.
35121         * po/ru.po: Likewise.
35122         * po/ko.po: Likewise.
35123         * po/fr.po: Likewise.
35125 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35127         * configure.in (.ctors/.dtors header and trailer check):
35128         Use an empirical test on a built program.
35129         * configure: Regenerated.
35131         * configure.in (-z relro check): Use an empirical test on a built DSO.
35132         Detect, but do not require, on ia64.
35133         * configure: Regenerated.
35135         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35136         Update tests that use readelf to use $READELF instead.
35137         * configure: Regenerated.
35139 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35141         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35142         if the result is not used.
35144 2011-07-05  Andreas Jaeger  <aj@suse.de>
35146         [BZ#9696]
35147         * stdlib/tst-strtod.c: Add testcase.
35149 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35151         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35152         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35153         The latter has a higher limit.  Take additional parameter to pass to
35154         the new function.
35155         (__pathconf): Pass file to __statfs_link_max.
35156         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35157         __statfs_link_max.
35158         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35159         __statfs_link_max.
35161         [BZ #12868]
35162         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35164         Handle Lustre.
35165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35166         (__statfs_filesize_max): Likewise.
35167         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35169 2011-07-05  Andreas Jaeger  <aj@suse.de>
35171         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35173 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35175         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35176         `status' variable.
35177         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35178         Likewise.
35180 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35182         * Makefile (strop-tests): Add strncat.
35183         * string/test-strncat.c: New file.
35185 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35187         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35189 2011-06-21  Andreas Jaeger  <aj@suse.de>
35191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35192         Copy rule from iconvdata/Makefile.
35194 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35196         [BZ #12922]
35197         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35198         but no long options are defined, just return 'W'.
35200 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35202         [BZ #9696]
35203         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35205 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35207         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35208         netgroups to read.
35209         (innetgr): Likewise.
35211 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35213         * config.make.in (install_root): Default to $(DESTDIR).
35215 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35217         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35219 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35221         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35223         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35224         containing directory rather than embedding absolute directory names.
35226         * scripts/check-local-headers.sh: Rewritten using awk.
35227         Match by word, not by line.  Print error messages for matches.
35228         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35230         * Makerules [shlib-lds-flags empty]:
35231         ($(common-objpfx)libc_pic.opts): New target.
35232         ($(common-objpfx)libc_pic.os.clean): New target.
35233         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35235         * config.make.in (OBJCOPY): New variable.
35236         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35237         * configure: Regenerated.
35239         * config.make.in (use-default-link): New variable.
35240         * configure.in (use_default_link): Grok --with-default-link to set it.
35241         * configure: Regenerated.
35242         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35243         (shlib-lds, shlib-lds-flags): Define to empty.
35245         * Makerules (shlib-lds): New variable.
35246         (shlib-lds-flags): New variable.
35247         (build-shlib, build-moduile, build-module-asneeded): Use it.
35248         ($(common-objpfx)libc.so): Use $(shlib-lds).
35249         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35250         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35252         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35253         DT_FLAGS/DT_FLAGS_1 with zero flags.
35255         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35256         linker script munging.
35258 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35260         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35261         as 128-bit value.
35262         * crypt/sha512.c (sha512_process_block): Perform total addition using
35263         128-bit if possible.
35264         (__sha512_finish_ctx): Likewise.
35265         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35266         as 64-bit value.
35267         * crypt/sha256.c (SWAP64): Define.
35268         (sha256_process_block): Perform total addition using 64-bit if
35269         possible.
35270         (__sha256_finish_ctx): Likewise.
35272 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35274         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35276         * nscd/hstcache.c (cache_addhst): Likewise.
35277         * nscd/grpcache.c (cache_addgr): Likewise.
35278         * nscd/aicache.c (addhstaiX): Likewise
35279         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35281 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35283         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35285         * nscd/hstcache.c (cache_addhst): Likewise.
35286         * nscd/grpcache.c (cache_addgr): Likewise.
35287         * nscd/aicache.c (addhstaiX): Likewise
35289 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35291         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35292         domain only when needed.
35294 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35297         is always restored.
35299 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35301         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35302         are re-adding the entry.
35303         * nscd/servicescache.c (cache_addserv): Likewise.
35305 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35307         * sysdeps/generic/dl-irel.h: fix protection against multiple
35308         inclusions.
35309         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35311 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35313         [BZ #12935]
35314         * malloc/memusage.sh: Fix quoting in message.
35315         * debug/xtrace.sh: Likewise.
35317         * configure.in: Remove support for --experimental-malloc option, make
35318         it the default.
35319         * config.make.in: Likewise.
35320         * malloc/Makefile: Likewise.
35322 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35324         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35325         two-byte characters.
35327 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35329         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35330         AC_CACHE_CHECK invocation.
35331         * configure: Regenerated.
35333         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35335 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35337         [BZ #12350]
35338         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35339         bit from old_res_options.
35341         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35343         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35344         value type for setfct.
35346 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35349         __gettimeofday instead of gettimeofday.
35351 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35353         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35355 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35359         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35360         info.
35362 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35365         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35366         strcpy-sse2-unaligned strncpy-sse2-unaligned
35367         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35368         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35369         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35370         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35371         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35372         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35373         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35374         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35375         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35376         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35377         (STRCPY): Support SSE2 and SSSE3 versions.
35379 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35381         [BZ #12874]
35382         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35383         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35384         kernels which artificially limit size of requests.
35386 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35388         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35389         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35390         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35391         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35392         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35393         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35394         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35395         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35398         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35399         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35400         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35401         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35402         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35404         Enable unaligned load optimization for Intel Core i3, i5 and i7
35405         processors.
35406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35407         Define.
35408         (index_Fast_Unaligned_Load): Define.
35409         (HAS_FAST_UNALIGNED_LOAD): Define.
35411 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35413         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35415 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35417         [BZ #12907]
35418         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35419         until it is clear that the information is realy needed.
35420         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35422 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35426 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35429         /sys/devices/system/cpu/online if it is usable.
35431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35432         reading the information from the /proc filesystem to once a second.
35434 2011-06-21  Andreas Jaeger  <aj@suse.de>
35436         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35437         NULL after inclusion of kernel headers.
35439 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35441         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35442         calls to internal_setent.
35444         [BZ #12885]
35445         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35446         addresses using gethostbyname4_r ignore IPv4 addresses.
35448         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35449         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35451         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35453 2011-06-20  David S. Miller  <davem@davemloft.net>
35455         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35456         inclusions.
35457         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35459         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35460         (elf_irel): Use it.
35461         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35462         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35463         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35464         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35465         * sysdeps/x86_64/dl-irel.h: Likewise.
35467         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35468         * elf/dl-sym.c: Likewise.
35470 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35472         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35473         need to dereference resplen2.
35475 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35477         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35479 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35481         * Makeconfig: Define vardbdir and inst_vardbdir.
35482         * nss/Makefile: Add rules to install db-Makefile.
35484         * nss/nss_db/db-XXX.c: Cleanup.
35486         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35487         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35488         GLIBC_PRIVATE.
35489         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35490         * nss/makedb.c: Implement -g option to specify that value strings
35491         are generated and should not be added to table iterated over for
35492         get*ent calls.
35493         * nss/nss_db/db-initgroups.c: New file.
35495         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35496         interface.
35498         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35499         (internal_getgrouplist): Adjust to name change.
35500         Update use_initgroups_entry if this is not the first call.
35501         * nss/databases.def: Add initgroups entry.
35503         * nss/makedb.c (compute_tables): Check result of multiple hash table
35504         sizes to minimize maximum chain length.
35506 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35508         * Versions.def: Add entry for libnss_db.
35509         * shlib-versions: Likewise.
35510         * nss/Makefile: Add rules to build libnss_db.
35511         * nss/Versions: Add libnss_db information.  Organize libnss_files
35512         entries better.
35513         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35514         makedb progra.  Some minor improvements to generate smaller files.
35515         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35516         here from...
35517         * nss/makedb.c: ...here.
35518         Improve database format to be smaller and require less memory at
35519         runtime.
35520         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35521         db anymore.
35522         * nss/nss_db/db-netgrp.c: Likewise.
35523         * nss/nss_db/db-open.c: Likewise.
35524         * nss/nss_files/flies-XXX.x: Adjust comments.
35525         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35526         * nss/nss_files/files-grp.c: Likewise.
35527         * nss/nss_files/files-hosts.c: Likewise.
35528         * nss/nss_files/files-network.c: Likewise.
35529         * nss/nss_files/files-proto.c: Likewise.
35530         * nss/nss_files/files-pwd.c: Likewise.
35531         * nss/nss_files/files-rpc.c: Likewise.
35532         * nss/nss_files/files-service.c: Likewise.
35533         * nss/nss_files/files-sgrp.c: Likewise.
35534         * nss/nss_files/files-spwd.c: Likewise.
35535         * nss/nss_db/db-alias.c: Removed.
35536         * nss/nss_db/dummy-db.h: Removed.
35538 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35540         * nss/makedb.c: Rewritten to not use database library.
35541         * nss/Makefile: Update to build new makedb program.
35543 2011-06-14  Andreas Jaeger  <aj@suse.de>
35545         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35546         memset declaration.
35548 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35551         tmpbuf.
35553 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35555         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35556         * elf/Makefile ($(objpfx)ld.so): Likewise.
35558         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35559         Don't list ld.so twice in dependencies.
35561         * posix/bug-regex31.c: Include <stdlib.h>.
35563         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35565         * nis/nss_compat/compat-spwd.c
35566         (getspent_next_nss_netgr): Remove unused variable.
35567         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35569         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35570         nonmembers" output to use the right array.
35572         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35574         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35576         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35577         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35578         * catgets/gencat.c (read_input_file): Likewise.
35579         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35581         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35582         variable definition inside #if's controlling its use.
35584         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35586         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35588         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35590         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35591         unreachable code.
35593         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35595         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35596         * configure: Regenerated.
35598         * Makerules: Revert last change.
35599         * elf/Makefile: Likewise.
35601 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35603         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35604         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35605         (reloc-link): Likewise.
35607 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35609         * elf/Makefile: Add rules to build pldd.
35610         * elf/pldd.c: New file.
35611         * elf/pldd-xx.c: New file.
35613 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35615         * version.h: Update for 2.15 development version.
35617 2011-06-07  David S. Miller  <davem@davemloft.net>
35619         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35620         ifuncs.
35621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35622         elf_machine_lazy_rel): Likewise.
35623         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35625         elf_machine_lazy_rel): Likewise.
35626         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35627         dl_hwcap via passed in argument.
35628         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35629         Likewise.
35631 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35633         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35635 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35637         [BZ #12849]
35638         * manual/fdl-1.1.texi: New file, verbatim from:
35639         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35640         * manual/lgpl-2.1.texi: New file, verbatim from:
35641         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35642         * manual/Makefile (licenses): New variable, list those new file names.
35643         (texis): Use it.
35644         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35646         * manual/fdl.texi: File removed.
35647         * manual/lesser.texi: File removed.
35648         * manual/libc.texinfo (Copying, Documentation License):
35649         Use new @include file names, put @appendix directive before @include.
35651 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35653         [BZ #12841]
35654         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35655         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35656         (mq_open): Add __NTH.
35658 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35661         Assume Intel Core i3/i5/i7 processor if AVX is available.
35663 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35666         typo.
35668 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35670         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35671         memory.  Use alloca_account.  Fix memory leak when retrying.
35673 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35675         * version.h (RELEASE): Bump for 2.14 release.
35676         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35678         * config.make.in (RANLIB): Remove entry.
35680 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35682         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35683         (libc.pot): Work around missing support for .ksh extension in xgettext.
35685         [BZ #12684]
35686         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35687         if both request failed.
35688         (send_dg): In case of server errors clear resplen or *resplen2.
35690         [BZ #12454]
35691         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35692         when there are multiple maps.
35693         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35694         (_dl_fini): Remove test here.
35696         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35698 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35700         [BZ #12350]
35701         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35702         bit from old_res_options.
35703         (gaih_inet): Likewise.
35705         [BZ #11099]
35706         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35707         as signed.
35709         * resolv/res_init.c (res_setoptions): Make the code more compact.
35711         [BZ #11558]
35712         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35713         set RES_USEVC.
35715         [BZ #11634]
35716         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35718         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35720         [BZ #11781]
35721         * malloc/malloc.h: Declare malloc hook variables as volatile.
35723         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35724         in last patch.
35726         [BZ #11799]
35727         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35728         raise in the comment.
35729         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35731         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35733 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35735         [BZ #12811]
35736         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35737         grow the buffers more if it already has to be sufficient.
35738         (build_wcs_upper_buffer): Likewise.
35739         * posix/regexec.c (check_matching): Likewise.
35740         (clean_state_log_if_needed): Likewise.
35741         (extend_buffers): Don't enlarge buffers beyond size of the input
35742         buffer.
35743         Patches mostly by Emil Wojak <emil@wojak.eu>.
35744         * posix/bug-regex32.c: New file.
35745         * posix/Makefile (tests): Add bug-regex32.
35747         * locale/findlocale.c (_nl_find_locale): Return right away if
35748         _nl_explode_name failed.
35749         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35751         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35753         * debug/xtrace.sh: Unify messages.
35754         * malloc/memusage.sh: Likewise.
35756         [BZ #12813]
35757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35758         time symbol from vDSO.  Substitute with vsyscall if not available.
35759         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35760         __vdso_time.
35762         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35763         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35764         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35765         Add sendmmsg and internal_sendmmsg.
35766         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35767         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35770         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35771         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35774 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35776         [BZ #12813]
35777         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35778         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35779         available.
35780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35781         __vdso_getcpu.
35783         [BZ #12814]
35784         * iconvdata/Makefile (tests): Add bug-iconv9.
35785         * iconvdata/bug-iconv9.c: New file.
35787 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35789         [BZ #12814]
35790         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35792 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35795         (struct user_regs_struct): Change intcs field back to cs.
35797 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35799         * po/ja.po: Update from translation team.
35801 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35803         [BZ #12795]
35804         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35805         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35807 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35809         * stdlib/longlong.h: Update from GCC.
35811 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35813         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35814         parameter name.
35815         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35816         Add parameter name.
35817         (__sysconf): Pass it down.
35819 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35821         [BZ #12671]
35822         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35823         some situations.
35824         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35825         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35826         add in in __libc_use_alloca calls.  Adjust callers.
35827         (glob): Use malloc in some situations.
35829         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35830         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35831         pltexit.
35833 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35836         and CLOCK_BOOTTIME_ALARM.
35838         [BZ #12782]
35839         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35840         is returned.
35842         * string/_strerror.c (__strerror_r): Print negative errors as signed
35843         numbers.
35845         [BZ #12777]
35846         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35847         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35848         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35850         * configure.in: Fix typo in redirection and correct removal of test
35851         files in two cases.
35853         [BZ #12788]
35854         * locale/setlocale.c (new_composite_name): Fix test to check for
35855         identical name of all categories.
35857         [BZ #12792]
35858         * libio/filedoalloc.c (local_isatty): New function.
35859         (_IO_file_doallocate): Use local_isatty.
35860         * stdio-common/perror.c (perror): In case a new stream is used
35861         forward the stream error.
35862         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35863         error flag.
35865 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35867         [BZ #11869]
35868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35869         alloca.
35870         * include/alloca.h (extend_alloca_account): Define.
35872         [BZ #11857]
35873         * posix/regex.h: Fix comments with documentation of user-accessible
35874         fields after compilation and describe correct free'ing of pattern
35875         after re_compile_pattern.
35876         Patch by Reuben Thomas <rrt@sc3d.org>.
35878 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35880         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35881         and -mno-altivec to prevent the compiler from using Altivec and/or
35882         VSX instructions when the corresponding registers are not available.
35884 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35886         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35888 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35890         * libio/freopen.c (freopen): Use __dup2, not dup2.
35891         * libio/freopen64.c (freopen64): Likewise.
35893 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35895         [BZ #12775]
35896         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35897         * math/Makefile (tests): Add test-powl.
35898         (CFLAGS-test-powl.c): Define.
35899         * math/test-powl.c: New file.
35901 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35903         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35905 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35907         [BZ #11837]
35908         * iconvdata/gb18030.c: Update to GB18020-2005.
35910 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35912         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35913         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35914         Patch by Aharon Robbins <arnold@skeeve.com>.
35916         [BZ #11892]
35917         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35918         on the stack.
35920         [BZ #11895]
35921         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35922         through underflows.
35924         [BZ #12766]
35925         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35926         point to strings before performing equality test for error_one_per_line
35927         mode.
35929         [BZ #11697]
35930         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35932         [BZ #11820]
35933         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35934         (struct user_fpregs_struct): Avoid __uint*_t types.
35936         [BZ #6420]
35937         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35938         symbol info.  Use it instead of calling _dl_addr locally.
35939         (lock_and_info): New function.
35940         (tr_freehook): Call lock_and_info and pass symbol info as additional
35941         parameter to tr_where.
35942         (tr_mallochook): Likewise.
35943         (tr_reallochook): Likewise.
35944         (tr_memalignhook): Likewise.
35946         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35947         used and couldn't be at all thread-safe.
35949 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35951         * libio/freopen.c (freopen): Don't close old file descriptor
35952         before the new one is opened.  Instead dup the new file descriptor
35953         to the old one after the new stream is created.
35954         * libio/freopen64.c (freopen64): Likewise.
35955         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35956         * libio/fileops.c (_IO_new_file_close_it): Handle new
35957         _IO_FLAGS2_NOCLOSE flag.
35958         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35959         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35960         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35961         _IO_FLAGS2_NOCLOSE flag.
35962         * include/unistd.h: Add hidden_proto for dup3.
35963         Define __have_dup3.
35964         * io/dup3.c: Define hidden symbol.
35965         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35967         [BZ #7101]
35968         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35969         when an incomplete long option is used.
35970         * posix/tst-getopt_long1.c: New file.
35971         * posix/Makefile (tests): Add tst-getopt_long1.
35973         [BZ #10138]
35974         * scripts/config.guess: Update from autoconf-2.68.
35975         * scripts/config.sub: Likewise.
35977         [BZ #10157]
35978         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35979         tests into ...
35980         (has_cpuclock): ...this.  New function.
35981         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35982         macro here based on has_cpuclock code.
35984         [BZ #10149]
35985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35986         First byte (not low byte) is now always NUL.
35987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35990         Use non-cancelable interfaces.
35992         [BZ #9809]
35993         * locale/iso-639.def: Add entry for Sorani.
35995         [BZ #11901]
35996         * include/stdlib.h: Move include protection to the right place.
35997         Define abort_msg_s.  Declare __abort_msg with it.
35998         * stdlib/abort.c (__abort_msg): Adjust type.
35999         * assert/assert.c (__assert_fail_base): New function.  Majority
36000         of code from __assert_fail.  Allocate memory for __abort_msg with
36001         mmap.
36002         (__assert_fail): Now call __assert_fail_base.
36003         * assert/assert-perr.c: Remove bulk of implementation.  Use
36004         __assert_fail_base.
36005         * include/assert.hL Declare __assert_fail_base.
36006         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36007         mmap.
36008         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36010 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36012         [BZ #11952]
36013         [BZ #12453]
36014         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36015         until all modules are registered in the DTV.
36016         * elf/Makefile: Add rules to build and run tst-tls19.
36017         * elf/tst-tls19.c: New file.
36018         * elf/tst-tls19mod1.c: New file.
36019         * elf/tst-tls19mod2.c: New file.
36020         * elf/tst-tls19mod3.c: New file.
36021         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36023         [BZ #12083]
36024         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36025         correctly.
36027         [BZ #12601]
36028         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36029         two-byte sequence errors.
36030         * iconvdata/Makefile (tests): Add bug-iconv8.
36031         * iconvdata/bug-iconv8.c: New file.
36033         [BZ #12626]
36034         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36035         buf2 definition.
36037         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36039         [BZ #12432]
36040         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36041         (dummy_getcfa): New function.
36042         (init): Get _Unwind_GetCFA address, use dummy if not found.
36043         (backtrace_helper): In recursion check, also check whether CFA changes.
36044         (__backtrace): Completely initialize arg.
36046         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36047         storing incomplete byte sequence in state object.  Avoid testing for
36048         guaranteed too small input if we know there is enough data available.
36050 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36052         * Makeconfig (+link-pie): Indent.
36053         * Rules (binaries-pie): Define if $(have-fpie) and
36054         $(build-shared).
36055         (binaries-shared): Also filter out $(binaries-pie).
36056         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36057         * nscd/Makefile (others-pie): Add nscd.
36058         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36059         ($(objpfx)nscd): Remove command override.
36060         * login/Makefile (others-pie): Add pt_chown.
36061         ($(objpfx)pt_chown): Remove command override.
36062         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36063         remove command overrides.
36065 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36067         * libio/tst_putwc.c: Fix error messages.
36069         [BZ #12724]
36070         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36071         currently writing and seek to current position when not.
36072         * libio/Makefile (tests): Add bug-fclose1.
36073         * libio/bug-fclose1.c: New file.
36075 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36077         [BZ #12511]
36078         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36079         don't set DF_1_NODELETE here.
36080         (do_lookup_x): When entering new entry test for copy relocation
36081         and if necessary set DF_1_NODELETE flag.
36082         * elf/tst-unique4.cc: New file.
36083         * elf/tst-unique4.h: New file.
36084         * elf/tst-unique4lib.cc: New file.
36085         * elf/Makefile: Add rules to build and run tst-unique4.
36086         Patch by Piotr Bury <pbury@goahead.com>.
36088 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36090         [BZ #12052]
36091         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36093         [BZ #12625]
36094         * misc/mntent_r.c (addmntent): Flush the stream after the output
36096         [BZ #12393]
36097         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36098         (is_trusted_path_normalize): Skip initial colon.  Append slash
36099         to empty buffer.  Duplicate is_trusted_path code but allow
36100         constructed patch to be prefix.
36101         (is_dst): Allow $ORIGIN followed by /.
36102         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36103         Correct testing of result of is_trusted_path_normalize
36104         (decompose_rpath): Fix warning.
36106 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36108         [BZ #11257]
36109         * grp/initgroups.c (internal_getgrouplist): When we found the service
36110         list through the initgroups entry in nsswitch.conf do not always
36111         continue on a successful lookup.  Don't always use the
36112         __nss_group_database value if it is set.
36113         * nss/nsswitch.conf (initgroups): Change action for successful db
36114         lookup to continue for compatibility.
36116 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36118         [BZ #11532]
36119         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36120         and CP774 modules.
36121         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36122         and CP774 modules.
36123         * iconvdata/tst-tables.sh: Likewise.
36124         * iconvdata/cp770.c: New file.
36125         * iconvdata/cp771.c: New file.
36126         * iconvdata/cp772.c: New file.
36127         * iconvdata/cp773.c: New file.
36128         * iconvdata/cp774.c: New file.
36129         * iconvdata/testdata/CP770: New file.
36130         * iconvdata/testdata/CP770..UTF8: New file.
36131         * iconvdata/testdata/CP771: New file.
36132         * iconvdata/testdata/CP771..UTF8: New file.
36133         * iconvdata/testdata/CP772: New file.
36134         * iconvdata/testdata/CP772..UTF8: New file.
36135         * iconvdata/testdata/CP773: New file.
36136         * iconvdata/testdata/CP773..UTF8: New file.
36137         * iconvdata/testdata/CP774: New file.
36138         * iconvdata/testdata/CP774..UTF8: New file.
36140         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36141         END CHARMAP line.
36142         * iconvdata/gen-8bit-gap.sh: Likewise.
36143         * iconvdata/gen-8bit.sh: Likewise.
36145         * locale/iso-639.def: Add ary entry.
36147         [BZ #11258]
36148         * locale/C-translit.h.in: Add U20A1 transliteration.
36150         [BZ #12178]
36151         * locale/iso-639.def: Add wae entry.
36152         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36154         [BZ #12545]
36155         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36156         for n.
36158         [BZ #12711]
36159         * locale/C-translit.h.in: Add entry for U20B9.
36160         Patch by pravin.d.s@gmail.com.
36162 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36164         [BZ #12713]
36165         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36166         ENAMETOOLONG use generic getcwd.
36167         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36168         in rtld.  Use *stat64.
36169         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36170         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36171         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36172         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36173         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36174         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36175         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36176         __fstatat64 macros.
36177         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36178         * dirent/rewinddir.c: Add libc_hidden_def.
36179         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36180         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36182         * include/dirent.h (__alloc_dir): Add flags parameter.
36183         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36184         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36185         __alloc_dir.
36186         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36187         from fdopendir if O_CLOEXEC is already set.
36189 2011-03-15  Alan Modra  <amodra@gmail.com>
36191         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36192         l_tls_firstbyte_offset non-zero.  Save padding offset in
36193         l_tls_firstbyte_offset for later use.
36194         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36195         freeing static tls block.
36197 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36199         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36200         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36201         being defined by the kernel headers.
36203 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36205         [BZ #12734]
36206         * resolv/resolv.h: Define RES_NOTLDQUERY.
36207         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36208         no-tld-query and set RES_NOTLDQUERY.
36209         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36210         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36211         modern BIND to search name as TLD unless forbidden.
36213 2011-05-07  Petr Baudis  <pasky@suse.cz>
36214             Ulrich Drepper  <drepper@gmail.com>
36216         [BZ #12393]
36217         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36218         (is_trusted_path): ...to here.
36219         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36220         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36221         using is_trusted_path_normalize() in setuid scripts.
36223 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36225         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36226         __BEGIN/__END_DECLS.
36228 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36231         NSS_STATUS_NOTFOUND if no record was found.
36233 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36235         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36236         (headers-not-in-tirpc): Remove rpc/netdb.h
36237         * resolv/netdb.h: Revert last change.
36239 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36241         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36242         circular dependency between libgcc.a and libc.a.
36244 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36246         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36247         * nis/Makefile: Don't install rpcsvc/*.
36248         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36249         instead of <rpc/types.h>.
36250         (MAXHOSTNAMELEN): Define.
36252 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36254         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36256 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36258         [BZ #12714]
36259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36260         gethostbyname4_r when IPv6 results are possible.
36262 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36264         [BZ #12723]
36265         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36266         _PC_PIPE_BUF handling.
36268 2011-04-30  Bruno Haible  <bruno@clisp.org>
36270         [BZ #12717]
36271         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36272         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36273         to 'int'.
36274         * inet/getnameinfo.c (getnameinfo): Likewise.
36276 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36278         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36279         to groups setting in database lookup.
36280         * nss/nsswitch.conf: Add initgroups entry.
36282 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36284         [BZ #12685]
36285         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36286         mode string.
36287         Patch by Eric Blake <eblake@redhat.com>.
36289 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36291         * sunrpc/Makefile (need-export-routines): Add svc_run.
36292         (routines): Remove svc_run.
36293         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36294         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36295         * sunrpc/svc_run.c (svc_run): Likewise.
36296         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36298 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36301         problem in reallocation in last patch.
36303 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36305         * sunrpc/Makefile: Move inclusion of Rules.
36307 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36309         * nss/nss_files/files-initgroups.c: New file.
36310         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36311         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36312         _nss_files_initgroups_dyn.
36314 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36316         * elf/elf.h (R_ARM_IRELATIVE): Define.
36318 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36320         * po/ru.po: Update from translation team.
36322 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36324         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36325         dependencies.
36327 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36329         [BZ #12653]
36330         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36331         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36336 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36339         differing bytes.
36340         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36344 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36346         [BZ #12420]
36347         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36348         storing it.
36349         * stdlib/bug-getcontext.c: New file.
36350         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36352 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36354         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36355         instructions into .machine "z9-109".
36356         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36357         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36359 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36361         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36362         between environment variables and auxiliary vector.
36364 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36366         * Makefile: Add rules to build linkobj/libc.so.
36367         * include/libc-symbols.h: Define libc_hidden_nolink.
36368         * include/rpc/auth.h: Mark functions which are to be hidden.
36369         * include/rpc/auth_des.h: Likewise.
36370         * include/rpc/auth_unix.h: Likewise.
36371         * include/rpc/clnt.h: Likewise.
36372         * include/rpc/des_crypt.h: Likewise.
36373         * include/rpc/key_prot.h: Likewise.
36374         * include/rpc/pmap_clnt.h: Likewise.
36375         * include/rpc/pmap_prot.h: Likewise.
36376         * include/rpc/pmap_rmt.h: Likewise.
36377         * include/rpc/rpc_msg.h: Likewise.
36378         * include/rpc/svc.h: Likewise.
36379         * include/rpc/svc_auth.h: Likewise.
36380         * include/rpc/xdr.h: Likewise.
36381         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36382         * nss/Makefile: Likewise.
36383         * sunrpc/Makefile: Don't install headers.  Build library with normal
36384         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36385         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36386         for the compat linking library.  Remove use of INTDEF/INTUSE.
36387         * sunrpc/auth_none.c: Likewise.
36388         * sunrpc/auth_unix.c: Likewise.
36389         * sunrpc/authdes_prot.c: Likewise.
36390         * sunrpc/authuxprot.c: Likewise.
36391         * sunrpc/clnt_gen.c: Likewise.
36392         * sunrpc/clnt_perr.c: Likewise.
36393         * sunrpc/clnt_raw.c: Likewise.
36394         * sunrpc/clnt_simp.c: Likewise.
36395         * sunrpc/clnt_tcp.c: Likewise.
36396         * sunrpc/clnt_udp.c: Likewise.
36397         * sunrpc/clnt_unix.c: Likewise.
36398         * sunrpc/des_crypt.c: Likewise.
36399         * sunrpc/des_soft.c: Likewise.
36400         * sunrpc/get_myaddr.c: Likewise.
36401         * sunrpc/key_call.c: Likewise.
36402         * sunrpc/key_prot.c: Likewise.
36403         * sunrpc/netname.c: Likewise.
36404         * sunrpc/pm_getmaps.c: Likewise.
36405         * sunrpc/pm_getport.c: Likewise.
36406         * sunrpc/pmap_clnt.c: Likewise.
36407         * sunrpc/pmap_prot.c: Likewise.
36408         * sunrpc/pmap_prot2.c: Likewise.
36409         * sunrpc/pmap_rmt.c: Likewise.
36410         * sunrpc/publickey.c: Likewise.
36411         * sunrpc/rpc_cmsg.c: Likewise.
36412         * sunrpc/rpc_common.c: Likewise.
36413         * sunrpc/rpc_dtable.c: Likewise.
36414         * sunrpc/rpc_prot.c: Likewise.
36415         * sunrpc/rpc_thread.c: Likewise.
36416         * sunrpc/rtime.c: Likewise.
36417         * sunrpc/svc.c: Likewise.
36418         * sunrpc/svc_auth.c: Likewise.
36419         * sunrpc/svc_authux.c: Likewise.
36420         * sunrpc/svc_raw.c: Likewise.
36421         * sunrpc/svc_run.c: Likewise.
36422         * sunrpc/svc_simple.c: Likewise.
36423         * sunrpc/svc_tcp.c: Likewise.
36424         * sunrpc/svc_udp.c: Likewise.
36425         * sunrpc/svc_unix.c: Likewise.
36426         * sunrpc/svcauth_des.c: Likewise.
36427         * sunrpc/xcrypt.c: Likewise.
36428         * sunrpc/xdr.c: Likewise.
36429         * sunrpc/xdr_array.c: Likewise.
36430         * sunrpc/xdr_float.c: Likewise.
36431         * sunrpc/xdr_intXX_t.c: Likewise.
36432         * sunrpc/xdr_mem.c: Likewise.
36433         * sunrpc/xdr_rec.c: Likewise.
36434         * sunrpc/xdr_ref.c: Likewise.
36435         * sunrpc/xdr_sizeof.c: Likewise.
36436         * sunrpc/xdr_stdio.c: Likewise.
36438 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36440         [BZ #12650]
36441         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36442         * sysdeps/ia64/dl-tls.h: Likewise.
36443         * sysdeps/powerpc/dl-tls.h: Likewise.
36444         * sysdeps/s390/dl-tls.h: Likewise.
36445         * sysdeps/sh/dl-tls.h: Likewise.
36446         * sysdeps/sparc/dl-tls.h: Likewise.
36447         * sysdeps/x86_64/dl-tls.h: Likewise.
36448         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36450 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36452         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36453         rpath element also skip the following colon.
36454         (expand_dynamic_string_token): Add is_path parameter and pass
36455         down to DL_DST_REQUIRED and _dl_dst_substitute.
36456         (decompose_rpath): Call expand_dynamic_string_token with
36457         non-zero is_path.  Ignore empty rpaths.
36458         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36459         with zero is_path.
36461 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36464         Make cancelable.
36466 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36468         [BZ #12655]
36469         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36470         Patch by Filipe David Manana <fdmanana@apache.org>.
36472 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36475         Maintain aligned stack.
36476         (CHECK_RSP): Remove unused macro.
36478 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36480         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36481         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36483 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36485         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36487         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36489 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36491         [BZ #12518]
36492         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36493         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36494         * sysdeps/x86_64/memmove.c: New file.
36495         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36496         (memcpy): Renamed to ...
36497         (__new_memcpy): This.
36498         (memcpy): Provide GLIBC_2_14 memcpy.
36499         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36500         (memcpy): Provide GLIBC_2_2_5 memcpy.
36502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36504         [BZ #12631]
36505         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36507 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36509         * misc/syncfs.c: New file.
36510         * misc/Makefile (routines): Add syncfs.
36511         * posix/unistd.h: Declare syncfs.
36512         * sysdeps/unix/syscalls.list: Add syncfs.
36514 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36516         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36517         open_by_handle_at.
36518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36520         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36523         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36526 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36529         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36530         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36531         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36532         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36536         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36537         sync_file_range.c with -fexceptions.
36538         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36539         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36540         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36541         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36542         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36543         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36545         sync_file_range as cancellation point
36546         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36547         now a wrapper around __call_sync_file_range with cancellation handling.
36548         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36549         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36550         function name to __call_sync_file_range.
36551         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36552         Add call_sync_file_range.
36554 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36557         bits/timex.h.
36559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36561         * iconv/iconv.h: Fix typo in comment.
36562         * io/fcntl.h: Likewise.
36563         * libio/stdio.h: Likewise.
36564         * posix/spawn.h: Likewise.
36565         * posix/unistd.h: Likewise.
36566         * stdlib/stdlib.h: Likewise.
36567         * time/time.h: Likewise.
36568         * wcsmbs/wchar.h: Likewise.
36570         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36571         open_by_handle): Add.
36572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36573         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36574         Augment a few comments.
36575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36580         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36581         open_by_handle.
36583         * io/fcntl.h (AT_EMPTY_PATH): Define.
36585 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36587         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36588         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36589         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36590         to...
36591         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36592         * Versions.def: Add GLIBC_2.14.
36593         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36594         Export.
36596 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36598         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36599         round counter.
36600         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36602 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36604         [BZ #12597]
36605         * string/test-strncmp.c (do_page_test): New function.
36606         (check2): Likewise.
36607         (test_main): Call check2.
36608         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36610 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36612         [BZ #12587]
36613         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36614         Handle cache information in CPU leaf 4.
36615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36617 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36619         [BZ #12583]
36620         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36621         character representation.
36622         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36624 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36626         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36627         END(__isnan) to END(__isnanf) to match function entry point/label
36628         EALIGN(__isnanf,...).
36630 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36632         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36634 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36636         [BZ #12510]
36637         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36638         copy from the symbol referenced in the relocation to initialize the
36639         used variable.
36640         Patch by Piotr Bury <pbury@goahead.com>.
36641         * elf/Makefile: Add rules to build and tst-unique3.
36642         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36643         * elf/tst-unique3.cc: New file.
36644         * elf/tst-unique3.h: New file.
36645         * elf/tst-unique3lib.cc: New file.
36646         * elf/tst-unique3lib2.cc: New file.
36648         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36650 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36652         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36653         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36654         to _start.
36656 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36658         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36659         to-be-loaded object along a path to loader is ld.so.
36661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36662             Ulrich Drepper  <drepper@gmail.com>
36664         * sysdeps/x86_64/memset.S: After aligning destination, code
36665         branches to different locations depending on the value of
36666         misalignment, when multiarch is enabled. Fix this.
36668 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36671         Set _x86_64_preferred_memory_instruction for AMD processsors.
36672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36673         Set bit_Prefer_SSE_for_memop for AMD processors.
36675 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36677         * libio/fmemopen.c (fmemopen): Optimize a bit.
36679 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36681         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36683 2011-03-03  Roland McGrath  <roland@redhat.com>
36685         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36687 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36689         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36690         __bzero_ultra1 instead of __memset_ultra1.
36692 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36693             Ulrich Drepper  <drepper@gmail.com>
36695         [BZ #12509]
36696         * include/link.h (struct link_map): Add l_orig_initfini.
36697         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36698         returning unsuccessfully.
36699         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36700         close of a file loaded at startup, restore the original l_initfini
36701         list.
36702         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36703         list, store the pointer.
36704         * elf/Makefile ($(objpfx)noload-mem): New rule.
36705         (noload-ENV): Define.
36706         (tests): Add $(objpfx)noload-mem.
36707         * elf/noload.c: Include <memcheck.h>.
36708         (main): Call mtrace.  Close all opened handles.
36710 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36712         [BZ #12454]
36713         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36714         dependencies are missing.
36716 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36718         Fix __if_freereq crash: Unlike the generic version which uses free,
36719         Hurd needs munmap.
36720         * sysdeps/mach/hurd/ifreq.h: New file.
36722 2011-01-27  Petr Baudis  <pasky@suse.cz>
36723             Ulrich Drepper  <drepper@gmail.com>
36725         [BZ 12445]#
36726         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36727         to extend_alloca().
36728         * stdio-common/bug23.c: New file.
36729         * stdio-common/Makefile (tests): Add bug23.
36731 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36732             Ulrich Drepper  <drepper@gmail.com>
36734         [BZ #12489]
36735         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36736         before performing relro protection.  At old place add assertion
36737         to make sure nothing changed.
36739 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36740             Glauber de Oliveira Costa  <glommer@gmail.com>
36742         * elf/elf.h: Add new ARM TLS relocs.
36744 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36747         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36748         cast from r3.
36749         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36750         'tests' variable.
36751         * sysdeps/wordsize-64/tst-writev.c: New file.
36753 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36755         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36756         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36757         insns in _dl_start to prevent a TOC reference before relocs are
36758         resolved.
36760 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36762         [BZ #12469]
36763         * Makeconfig: Remove RANLIB definition.
36764         * Makerules: Don't use RANLIB.
36765         * aclocal.m4: Remove ranlib test.
36766         * configure.in: No need to check for ranlib.
36767         * elf/rtld-Rules: Don't use RANLIB.
36769 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36771         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36772         protection macro.
36773         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36774         inclusion protection macro.
36776         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36777         SIGRTMIN and SIGRTMAX and print information in that case only when
36778         SIGRTMIN is defined.
36780 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36782         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36783         arginfo fn returning -1.
36785         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36786         and thousands string is zero terminated.
36788 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36791         sysdeps/unix/sysv/linux/bits/socket.h.
36793 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36795         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36796         (__CPU_COUNT): Remove old macros.
36797         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36798         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36799         (__CPU_ALLOC, __CPU_FREE): Add macros.
36800         (__sched_cpualloc, __sched_cpufree): Add declarations.
36802 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36804         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36805         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36806         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36807         (readdhstai): Return value of addhstaiX call.
36808         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36809         (addgrbyX): Return value returned by cache_addgr.
36810         (readdgrbyname): Return value returned by addgrbyX.
36811         (readdgrbygid): Likewise.
36812         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36813         (addpwbyX): Return value returned by cache_addpw.
36814         (readdpwbyname): Return value returned by addhstbyX.
36815         (readdpwbyuid): Likewise.
36816         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36817         (addservbyX): Return value returned by cache_addserv.
36818         (readdservbyname): Return value returned by addservbyX:
36819         (readdservbyport): Likewise.
36820         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36821         (addhstbyX): Return value returned by cache_addhst.
36822         (readdhstbyname): Return value returned by addhstbyX.
36823         (readdhstbyaddr): Likewise.
36824         (readdhstbynamev6): Likewise.
36825         (readdhstbyaddrv6): Likewise.
36826         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36827         (readdinitgroups): Return value returned by addinitgroupsX.
36828         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36829         (prune_cache): Keep track of timeout value of re-added entries.
36830         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36831         * nscd/nscd.h: Adjust prototypes of readd* functions.
36833 2011-02-04  Roland McGrath  <roland@redhat.com>
36835         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36836         (nis_stats): Likewise.
36837         * nis/nis_modify.c (nis_modify): Likewise.
36838         * nis/nis_remove.c (nis_remove): Likewise.
36839         * nis/nis_add.c (nis_add): Likewise.
36841         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36843         * posix/fnmatch_loop.c: Add some consts.
36845         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36847 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36849         [BZ #12460]
36850         * config.make.in (config-cflags-novzeroupper): Define.
36851         * configure.in: Substitute libc_cv_cc_novzeroupper.
36852         * elf/Makefile (AVX-CFLAGS): Define.
36853         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36854         (CFLAGS-tst-auditmod4a.c): Likewise.
36855         (CFLAGS-tst-auditmod4b.c): Likewise.
36856         (CFLAGS-tst-auditmod6b.c): Likewise.
36857         (CFLAGS-tst-auditmod6c.c): Likewise.
36858         (CFLAGS-tst-auditmod7b.c): Likewise.
36859         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36861 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36863         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36864         function to the callback.
36865         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36867 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36869         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36870         of errno.
36872 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36874         [BZ #11724]
36875         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36876         of constructors.
36877         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36878         of destructors.
36879         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36881         [BZ #11724]
36882         * elf/Makefile: Add rules to build and run new test.
36883         * elf/tst-initorder.c: New file.
36884         * elf/tst-initorder.exp: New file.
36885         * elf/tst-initordera1.c: New file.
36886         * elf/tst-initordera2.c: New file.
36887         * elf/tst-initordera3.c: New file.
36888         * elf/tst-initordera4.c: New file.
36889         * elf/tst-initorderb1.c: New file.
36890         * elf/tst-initorderb2.c: New file.
36891         * elf/tst-order-a1.c: New file.
36892         * elf/tst-order-a2.c: New file.
36893         * elf/tst-order-a3.c: New file.
36894         * elf/tst-order-a4.c: New file.
36895         * elf/tst-order-b1.c: New file.
36896         * elf/tst-order-b2.c: New file.
36897         * elf/tst-order-main.c: New file.
36898         New test case by George Gensure <werkt0@gmail.com>.
36900 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36903         decoding ACE if AI_CANONIDN.
36905 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36907         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36909 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36911         * version.h (RELEASE): Bump for 2.13 release.
36912         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36914         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36916         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36917         MADV_NOHUGEPAGE.
36918         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36919         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36923         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36925         * posix/getconf.c: Update copyright year.
36926         * catgets/gencat.c: Likewise.
36927         * csu/version.c: Likewise.
36928         * debug/catchsegv.sh: Likewise.
36929         * debug/xtrace.sh: Likewise.
36930         * elf/ldconfig.c: Likewise.
36931         * elf/ldd.bash.in: Likewise.
36932         * elf/sprof.c (print_version): Likewise.
36933         * iconv/iconv_prog.c: Likewise.
36934         * iconv/iconvconfig.c: Likewise.
36935         * locale/programs/locale.c: Likewise.
36936         * locale/programs/localedef.c: Likewise.
36937         * malloc/memusage.sh: Likewise.
36938         * malloc/mtrace.pl: Likewise.
36939         * nscd/nscd.c (print_version): Likewise.
36940         * nss/getent.c: Likewise.
36942         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36943         PF_CAIF, and PF_ALG.
36944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36946 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36948         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36949         (modules-names): Use them.
36950         (ifunc-test-modules, ifunc-pie-tests): Define.
36951         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36952         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36953         (test-extras): Likewise.
36954         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36955         $(compile-command.c).
36956         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36957         (all-built-dso): Define.
36958         (check-textrel.out, check-execstack.out): Depend on it.
36960         * configure.in: Don't override --enable-multi-arch.
36962 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36964         [BZ #6812]
36965         * nscd/hstcache.c (tryagain): Define.
36966         (cache_addhst): Return tryagain not notfound for temporary errors.
36967         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36968         failed.
36970 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36972         [BZ #10563]
36973         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36974         to make the syscall.
36975         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36977         [BZ #12378]
36978         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36979         and fall back to matching as normal character if the string ends before
36980         the matching ']' is found.  This is what POSIX requires.
36981         * posix/testfnm.c: Adjust test result.
36982         * posix/globtest.sh: Adjust test result.  Add new test.
36983         * posix/tst-fnmatch.input: Likewise.
36984         * posix/tst-fnmatch2.c: Add new test.
36986 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36988         * elf/Makefile (check-execstack): Revert last change.  Depend on
36989         check-execstack.h.
36990         (check-execstack.h): New target.
36991         (generated): Add check-execstack.h.
36992         * elf/check-execstack.c: Include "check-execstack.h".
36993         (main): Revert last change.
36994         (handle_file): Return zero if GNU_STACK is absent and
36995         DEFAULT_STACK_PERMS doesn't include PF_X.
36997 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36999         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37000         in child fails because the descriptor is already closed.
37001         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37002         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37003         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37005         [BZ #12397]
37006         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37007         syscall.
37009         [BZ #10484]
37010         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37011         temporary buffer used to handle multi lookups locally.
37012         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37014 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37016         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37017         loader is ld.so.
37019 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37021         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37022         alignment for SSE2.
37024 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37026         [BZ #12394]
37027         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37028         characters.  When rounding increased number of integer digits recompute
37029         number of groups.
37030         * stdio-common/tst-grouping.c: New file.
37031         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37033 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37035         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37036         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37038         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37039         void.
37040         * bits/select.h: Likewise.
37042 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37044         * po/ja.po: Update from translation team.
37046 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37048         [BZ #11155]
37049         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37050         implementation just like for lxstat, fxstatat, et al.
37052 2010-12-27  Jim Meyering  <meyering@redhat.com>
37054         [BZ #12348]
37055         * posix/regexec.c (build_trtable): Return failure indication upon
37056         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37058 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37060         [BZ #12201]
37061         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37062         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37063         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37064         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37066         [BZ #12207]
37067         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37069         [BZ #12204]
37070         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37071         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37073 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37075         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37076         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37077         script has SORT_BY_INIT_PRIORITY.
37078         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37079         NO_CTORS_DTORS_SECTIONS is defined.
37080         * elf/soinit.c: Likewise.
37081         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37082         NO_CTORS_DTORS_SECTIONS is defined.
37083         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37084         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37085         * sysdeps/sh/init-first.c: Likewise.
37086         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37088 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37090         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37091         always use the slow path.
37093 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37095         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37096         similar rule which adds the sysdep directories to the header search in
37097         order to pick up the correct platform stackinfo.h.
37098         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37099         perform test if it is, otherwise return successfully without testing.
37100         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37101         DEFAULT_STACK_PERMS define in stackinfo.h.
37102         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37103         defined in stackinfo.h.
37104         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37105         DEFAULT_STACK_PERMS defined in stackinfo.h.
37106         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37107         * sysdeps/ia64/stackinfo.h: Likewise.
37108         * sysdeps/s390/stackinfo.h: Likewise.
37109         * sysdeps/sh/stackinfo.h: Likewise.
37110         * sysdeps/sparc/stackinfo.h: Likewise.
37111         * sysdeps/x86_64/stackinfo.h: Likewise.
37112         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37113         PF_X for powerpc64.  Retain PF_X for powerpc32.
37115 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37117         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37118         accurately.
37119         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37120         GETDENTS_64BIT_ALIGNED.
37122 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37124         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37126 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37128         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37129         _GNU_SOURCE.
37131         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37132         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37133         Remove __restrict.
37134         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37135         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37137 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37139         [BZ #11655]
37140         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37141         are initialized.
37143 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37145         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37147 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37149         * po/it.po: Update from translation team.
37151 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37154         unused codes.
37156 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37158         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37160 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37162         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37163         specially.
37164         (gaih_getanswer_slice): Likewise.
37166 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37170 2010-05-31  Petr Baudis  <pasky@suse.cz>
37172         [BZ #11149]
37173         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37174         silently even in the chroot mode.
37176 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37178         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37179         last patch a bit.  Pretty printing
37181 2010-05-31  Petr Baudis <pasky@suse.cz>
37183         [BZ #10085]
37184         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37185         initialization of skip_initgroups_dyn.
37187 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37189         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37190         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37192 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37194         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37196 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37198         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37199         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37200         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37201         ($(objpfx)tst-fnmatch-mem): New rule.
37202         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37203         * posix/tst-fnmatch.c (main): Call mtrace.
37205 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37208         Support Intel processor model 6 and model 0x2c.
37210 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37213           signed comparison.
37215 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37217         [BZ #12205]
37218         * string/test-strncasecmp.c (check_result): New function.
37219         (do_one_test): Use it.
37220         (check1): New function.
37221         (test_main): Use it.
37222         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37223         Support strcasecmp and strncasecmp.
37225 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37227         [BZ #12194]
37228         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37229         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37231 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37233         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37234         IFUNC support.
37235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37236         memset-x86-64.
37237         * sysdeps/x86_64/multiarch/bzero.S: New file.
37238         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37239         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37240         * sysdeps/x86_64/multiarch/memset.S: New file.
37241         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37243         Set bit_Prefer_SSE_for_memop for Intel processors.
37244         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37245         Define.
37246         (index_Prefer_SSE_for_memop): Define.
37247         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37249 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37251         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37254 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37256         [BZ #12191]
37257         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37258         (__x86_64_raw_data_cache_size_half): Likewise.
37259         (__x86_64_raw_shared_cache_size): Likewise.
37260         (__x86_64_raw_shared_cache_size_half): Likewise.
37262         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37263         (__x86_64_raw_data_cache_size_half): Likewise.
37264         (__x86_64_raw_shared_cache_size): Likewise.
37265         (__x86_64_raw_shared_cache_size_half): Likewise.
37266         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37267         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37268         and __x86_64_raw_shared_cache_size_half.  Round
37269         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37270         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37271         to multiple of 256 bytes.
37273 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37275         [BZ #12167]
37276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37277         of inacessible symlinks.  Verify result of symlink before returning it.
37278         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37279         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37281 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37283         * math/math.h (isinf): Fix typo in comment.
37285 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37287         * po/da.po: Update from translation team.
37289 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37291         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37292         is added to the list.
37294 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37295             Ulrich Drepper  <drepper@gmail.com>
37297         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37298         the global list here.  Move code to...
37299         (_dl_add_to_namespace_list): ...here.  New function.
37300         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37301         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37302         * elf/dl-load.c (lose): Don't remove the element from the list.
37303         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37304         (_dl_map_object): Likewise.
37306 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37308         [BZ #12159]
37309         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37310         into all bytes of SSE register.
37311         Patch by Richard Li <richardpku@gmail.com>.
37313 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37315         [BZ #12140]
37316         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37317         perturbing.
37319 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37321         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37322         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37323         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37324         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37326         submachine.
37327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37329 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37331         * include/dlfcn.h (__RTLD_SECURE): Define.
37332         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37333         mode & __RTLD_SECURE instead.
37334         (open_path): Rename preloaded parameter to secure.
37335         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37336         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37337         * elf/dl-deps.c (openaux): Likewise.
37338         * elf/rtld.c (struct map_args): Remove is_preloaded.
37339         (map_doit): Don't use it.
37340         (dl_main): Likewise.
37341         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37342         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37344 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37346         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37347         (sysd-rules-targets): Remove duplicates.
37348         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37349         rtld-%.$o dependency.
37351 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37353         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37354         _dl_map_object do it.
37356 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37358         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37359         fast fma builtins, define the macros in the C99 standard.
37360         (FP_FAST_FMAF): Likewise.
37361         (FP_FAST_FMAL): Likewise.
37362         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37364         * bits/mathdef.h: Update copyright year.
37365         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37367 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37369         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37370         builtins, define the macros in the C99 standard.
37371         (FP_FAST_FMAF): Likewise.
37372         (FP_FAST_FMAL): Likewise.
37373         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37374         multiply/add.
37375         (FP_FAST_FMAF): Likewise.
37377 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37379         [BZ #3268]
37380         * math/libm-test.inc (fma_test): Some new testcases.
37381         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37383         y and infinite z.  Do multiplication by C already in long double.
37384         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37386         y and infinite z.  Do bitwise or of inexact bit into u.d.
37387         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37388         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37389         * sysdeps/i386/fpu/s_fma.S: Removed.
37390         * sysdeps/i386/fpu/s_fmal.S: Removed.
37392 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37394         [BZ #3268]
37395         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37397         computation is not scheduled after fetestexcept.  Fix value
37398         of minimum denormal long double.
37400 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37402         [BZ #3268]
37403         * math/libm-test.inc (fma_test): Add some more tests.
37404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37405         correctly.
37407 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37409         * scripts/data/localplt-s390-linux-gnu.data: New file.
37410         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37412 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37414         [BZ #3268]
37415         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37416         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37417         instead of dbl-64.
37418         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37419         inlines.
37420         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37422         if one of x and y is very large and the other is subnormal.
37423         * sysdeps/s390/fpu/s_fmaf.c: New file.
37424         * sysdeps/s390/fpu/s_fma.c: New file.
37425         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37426         * sysdeps/powerpc/fpu/s_fma.S: New file.
37427         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37428         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37429         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37431 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37433         [BZ #3268]
37434         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37435         fma tests.
37436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37437         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37438         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37439         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37440         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37441         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37442         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37444 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37446         [BZ #12078]
37447         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37448         * posix/bug-regex31.input: Add test case.
37450 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37452         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37453         * posix/bug-regex31.input: New file.
37455         [BZ #12078]
37456         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37457         (parse_sub_exp): Fix last change, use postorder.
37459         * posix/bug-regex31.c: New file.
37460         * posix/Makefile: Add rules to build and run bug-regex31.
37462         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37464         [BZ #12078]
37465         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37467         [BZ #12108]
37468         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37469         to have entries in sys_siglist.
37471         [BZ #12093]
37472         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37473         be NULL.
37475 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37477         [BZ #3268]
37478         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37479         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37480         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37481         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37482         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37483         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37484         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37485         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37486         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37487         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37488         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37490         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37491         * math/ftestexcept.c (fetestexcept): Likewise.
37492         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37493         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37494         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37495         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37496         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37497         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37498         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37500 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37502         [BZ #12107]
37503         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37504         newline.
37506 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37508         * string/bug-strstr1.c: New file.
37509         * string/Makefile: Add rules to build and run bug-strstr1.
37511 2010-10-05  Eric Blake  <eblake@redhat.com>
37513         [BZ #12092]
37514         * string/str-two-way.h (two_way_long_needle): Always clear memory
37515         when skipping input due to the shift table.
37517 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37519         [BZ #12005]
37520         * malloc/mcheck.c: Handle large requests.
37522         [BZ #12077]
37523         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37524         for strncmp and strncasecmp.
37525         * string/stratcliff.c: Add tests for strcmp and strncmp.
37526         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37528 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37530         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37531         __set_fpscr.
37533 2010-09-30  Andreas Jaeger  <aj@suse.de>
37535         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37536         (CGROUP_SUPER_MAGIC): Define.
37537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37538         Handle btrfs and cgroup file systems.
37539         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37540         Likewise.
37542 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37544         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37545         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37547 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37549         [BZ #12067]
37550         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37551         trying to locate the ELF header.
37553 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37555         [BZ #11611]
37556         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37557         Mask out sign-bit copies when constructing f_fsid.
37559 2010-09-24  Petr Baudis <pasky@suse.cz>
37561         * debug/stack_chk_fail_local.c: Add missing licence exception.
37562         * debug/warning-nop.c: Likewise.
37564 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37566         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37567         implementing getdents64 using getdents syscall, set d_type if
37568         __ASSUME_GETDENTS32_D_TYPE.
37570 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37572         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37573         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37575 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37577         [BZ #12037]
37578         * posix/unistd.h: Undo change of feature selection for ftruncate from
37579         2010-01-11.
37581 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37583         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37584         detection.
37586 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37588         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37589         fanotify_mark.
37590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37592 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37594         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37595         variables after CHECK_SP call.
37596         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37598 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37599             Ulrich Drepper  <drepper@redhat.com>
37601         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37602         re-relocationg ld.so.
37603         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37604         _dl_init_paths call.
37605         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37606         here anymore.
37608 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37610         * resolv/res_init.c (__res_vinit): Count the default server we added.
37612 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37613             Ulrich Drepper  <drepper@redhat.com>
37615         [BZ #11968]
37616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37617         (____longjmp_chk): Use %ebx for saving value across system call.
37618         Add unwind info.
37620 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37622         * manual/Makefile: Don't mix pattern rules with normal rules.
37624 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37626         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37627         operation.
37628         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37629         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37630         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37631         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37633         Likewise.
37635 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37637         [BZ #11979]
37638         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37639         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37641 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37643         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37644         * sysdeps/x86_64/addmul_1.S: Likewise.
37645         * sysdeps/x86_64/lshift.S: Likewise.
37646         * sysdeps/x86_64/mul_1.S: Likewise.
37647         * sysdeps/x86_64/rshift.S: Likewise.
37648         * sysdeps/x86_64/sub_n.S: Likewise.
37649         * sysdeps/x86_64/submul_1.S: Likewise.
37651 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37653         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37654         Define __sched_param instead of SCHED_* and sched_param when
37655         <bits/sched.h> is included with __need_schedparam defined.
37656         * bits/sched.h [__need_schedparam]
37657         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37658         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37659         (__defined_schedparam): Define to 1.
37660         (__sched_param): New structure, identical to sched_param.
37661         (__need_schedparam): Undefine.
37663 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37665         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37666         (epoll_create1): Declare.
37668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37670 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37672         [BZ #7066]
37673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37674         shifting retval into place.
37676 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37678         * nis/rpcsvc/nis.h: Update copyright notice.
37679         * nis/rpcsvc/nis.x: Likewise.
37680         * nis/rpcsvc/nis_callback.h: Likewise.
37681         * nis/rpcsvc/nis_callback.x: Likewise.
37682         * nis/rpcsvc/nis_object.x: Likewise.
37683         * nis/rpcsvc/nis_tags.h: Likewise.
37684         * nis/rpcsvc/yp.h: Likewise.
37685         * nis/rpcsvc/yp.x: Likewise.
37686         * nis/rpcsvc/ypupd.h: Likewise.
37687         * nis/yp_xdr.c: Likewise.
37688         * nis/ypupdate_xdr.c: Likewise.
37690         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37691         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37692         (pmap_getport): Use __libc_rpc_getport.
37693         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37694         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37695         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37697 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37700         fanotify_mark.
37702 2010-08-27  Roland McGrath  <roland@redhat.com>
37704         * sysdeps/i386/i686/multiarch/Makefile
37705         (CFLAGS-varshift.c): New variable.
37707 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37709         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37710         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37712         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37714         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37716 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37718         * sysdeps/x86_64/strlen.S: Unroll the loop.
37719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37720         strlen-sse2 strlen-sse2-bsf.
37721         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37722         __strlen_no_bsf if bit_Slow_BSF is set.
37723         (__strlen_sse42): Removed.
37724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37725         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37727 2010-08-25  Roland McGrath  <roland@redhat.com>
37729         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37730         * sysdeps/x86_64/multiarch/varshift.c: New file.
37731         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37732         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37733         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37734         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37736 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37739         strlen-sse2 strlen-sse2-bsf.
37740         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37741         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37742         (__strlen_sse2): Removed.
37743         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37746         bit_Slow_BSF for Atom.
37747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37748         (index_Slow_BSF): Define.
37749         (HAS_SLOW_BSF): Define.
37751 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37753         [BZ #10851]
37754         * resolv/res_init.c (__res_vinit): When no server address at all
37755         is given default to loopback.
37757 2010-08-24  Roland McGrath  <roland@redhat.com>
37759         * configure.in: Remove config-name.h generation.
37760         * configure: Regenerated.
37761         * config-name.in: File removed.
37762         * scripts/config-uname.sh: New file.
37763         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37764         ($(objdir)config-name.h): New target.
37766         * sunrpc/rpc_parse.h: Avoid nested comment.
37768 2010-08-24  Richard Henderson  <rth@redhat.com>
37769             Ulrich Drepper  <drepper@redhat.com>
37770             H.J. Lu  <hongjiu.lu@intel.com>
37772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37774         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37775         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37776         _mm_alignr_epi8 with _mm_loadu_si128.
37777         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37778         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37779         (__m128i_shift_right): Removed.
37780         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37781         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37782         * sysdeps/x86_64/multiarch/varshift.h: New file.
37783         * sysdeps/x86_64/multiarch/varshift.S: New file.
37785 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37787         * configure.in: Move assembler checks to before sysdep dir checking.
37789 2010-08-20  Petr Baudis  <pasky@suse.cz>
37791         * LICENSES: Sync the sunrpc license.
37793 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37795         * sunrpc/auth_des.c: Update copyright notice once again.
37796         * sunrpc/auth_none.c: Likewise.
37797         * sunrpc/auth_unix.c: Likewise.
37798         * sunrpc/authdes_prot.c: Likewise.
37799         * sunrpc/authuxprot.c: Likewise.
37800         * sunrpc/bindrsvprt.c: Likewise.
37801         * sunrpc/clnt_gen.c: Likewise.
37802         * sunrpc/clnt_perr.c: Likewise.
37803         * sunrpc/clnt_raw.c: Likewise.
37804         * sunrpc/clnt_simp.c: Likewise.
37805         * sunrpc/clnt_tcp.c: Likewise.
37806         * sunrpc/clnt_udp.c: Likewise.
37807         * sunrpc/clnt_unix.c: Likewise.
37808         * sunrpc/des_crypt.c: Likewise.
37809         * sunrpc/des_soft.c: Likewise.
37810         * sunrpc/get_myaddr.c: Likewise.
37811         * sunrpc/getrpcport.c: Likewise.
37812         * sunrpc/key_call.c: Likewise.
37813         * sunrpc/key_prot.c: Likewise.
37814         * sunrpc/openchild.c: Likewise.
37815         * sunrpc/pm_getmaps.c: Likewise.
37816         * sunrpc/pm_getport.c: Likewise.
37817         * sunrpc/pmap_clnt.c: Likewise.
37818         * sunrpc/pmap_prot.c: Likewise.
37819         * sunrpc/pmap_prot2.c: Likewise.
37820         * sunrpc/pmap_rmt.c: Likewise.
37821         * sunrpc/rpc/auth.h: Likewise.
37822         * sunrpc/rpc/auth_unix.h: Likewise.
37823         * sunrpc/rpc/clnt.h: Likewise.
37824         * sunrpc/rpc/des_crypt.h: Likewise.
37825         * sunrpc/rpc/key_prot.h: Likewise.
37826         * sunrpc/rpc/netdb.h: Likewise.
37827         * sunrpc/rpc/pmap_clnt.h: Likewise.
37828         * sunrpc/rpc/pmap_prot.h: Likewise.
37829         * sunrpc/rpc/pmap_rmt.h: Likewise.
37830         * sunrpc/rpc/rpc.h: Likewise.
37831         * sunrpc/rpc/rpc_des.h: Likewise.
37832         * sunrpc/rpc/rpc_msg.h: Likewise.
37833         * sunrpc/rpc/svc.h: Likewise.
37834         * sunrpc/rpc/svc_auth.h: Likewise.
37835         * sunrpc/rpc/types.h: Likewise.
37836         * sunrpc/rpc/xdr.h: Likewise.
37837         * sunrpc/rpc_clntout.c: Likewise.
37838         * sunrpc/rpc_cmsg.c: Likewise.
37839         * sunrpc/rpc_common.c: Likewise.
37840         * sunrpc/rpc_cout.c: Likewise.
37841         * sunrpc/rpc_dtable.c: Likewise.
37842         * sunrpc/rpc_hout.c: Likewise.
37843         * sunrpc/rpc_main.c: Likewise.
37844         * sunrpc/rpc_parse.c: Likewise.
37845         * sunrpc/rpc_parse.h: Likewise.
37846         * sunrpc/rpc_prot.c: Likewise.
37847         * sunrpc/rpc_sample.c: Likewise.
37848         * sunrpc/rpc_scan.c: Likewise.
37849         * sunrpc/rpc_scan.h: Likewise.
37850         * sunrpc/rpc_svcout.c: Likewise.
37851         * sunrpc/rpc_tblout.c: Likewise.
37852         * sunrpc/rpc_util.c: Likewise.
37853         * sunrpc/rpc_util.h: Likewise.
37854         * sunrpc/rpcinfo.c: Likewise.
37855         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37856         * sunrpc/rpcsvc/key_prot.x: Likewise.
37857         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37858         * sunrpc/rpcsvc/mount.x: Likewise.
37859         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37860         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37861         * sunrpc/rpcsvc/rex.x: Likewise.
37862         * sunrpc/rpcsvc/rstat.x: Likewise.
37863         * sunrpc/rpcsvc/rusers.x: Likewise.
37864         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37865         * sunrpc/rpcsvc/spray.x: Likewise.
37866         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37867         * sunrpc/rtime.c: Likewise.
37868         * sunrpc/svc.c: Likewise.
37869         * sunrpc/svc_auth.c: Likewise.
37870         * sunrpc/svc_authux.c: Likewise.
37871         * sunrpc/svc_raw.c: Likewise.
37872         * sunrpc/svc_run.c: Likewise.
37873         * sunrpc/svc_simple.c: Likewise.
37874         * sunrpc/svc_tcp.c: Likewise.
37875         * sunrpc/svc_udp.c: Likewise.
37876         * sunrpc/svc_unix.c: Likewise.
37877         * sunrpc/svcauth_des.c: Likewise.
37878         * sunrpc/xcrypt.c: Likewise.
37879         * sunrpc/xdr.c: Likewise.
37880         * sunrpc/xdr_array.c: Likewise.
37881         * sunrpc/xdr_float.c: Likewise.
37882         * sunrpc/xdr_mem.c: Likewise.
37883         * sunrpc/xdr_rec.c: Likewise.
37884         * sunrpc/xdr_ref.c: Likewise.
37885         * sunrpc/xdr_sizeof.c: Likewise.
37886         * sunrpc/xdr_stdio.c: Likewise.
37888         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37889         handling.
37891 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37893         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37895 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37897         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37899         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37900         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37902         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37903         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37904         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37906         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37907         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37908         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37909         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37910         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37912 2010-07-26  Anton Blanchard  <anton@samba.org>
37914         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37915         * malloc/arena.c (heap_trim): Likewise.
37917 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37919         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37920         here.  Not...
37921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37922         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37924 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37926         * sysdeps/i386/elf/Makefile: New file.
37928 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37930         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37931         from fanotify_init.
37932         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37935 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37937         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37938         of strncasecmp_l.
37939         * sysdeps/multiarch/strcmp.S: Likewise.
37941 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37943         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37944         strncase_l-nonascii.
37945         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37946         Add strncase_l-ssse3.
37947         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37948         * sysdeps/x86_64/strcmp.S: Likewise.
37949         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37950         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37951         * sysdeps/x86_64/strncase.S: New file.
37952         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37953         * sysdeps/x86_64/strncase_l.S: New file.
37954         * string/Makefile (strop-tests): Add strncasecmp.
37955         * string/test-strncasecmp.c: New file.
37957         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37958         warning.
37960         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37961         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37963 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37965         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37967 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37969         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37970         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37971         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37973 2010-05-01  Alan Modra  <amodra@gmail.com>
37975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37976         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37977         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37978         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37979         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37980         tidying.  Don't tail-call __sigjmp_save for static lib.
37981         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37982         save location.
37983         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37984         (CALL_MCOUNT): Add eh info, and nop after bl.
37985         (TAIL_CALL_SYSCALL_ERROR): New macro.
37986         (PSEUDO_RET): Use it.
37987         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37988         Correct save location of integer regs and cr.
37989         (_dl_profile_resolve): Correct cr save location.  Delete nops
37990         after bl when SHARED.  Reduce cfi size a little by better
37991         placement of cfi directives.
37992         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37993         make a stack frame.  Instead use parm save area as a temp.
37994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37995         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37997         Don't make a stack frame for parent, use parm save area.
37998         Increase child stack frame to 112 bytes.  Don't save unused reg,
37999         and adjust reg usage.  Set up cfi on error recovery and
38000         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38002         (__makecontext): Add dummy nop after jump to exit.
38003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38004         Use correct parm save area and cr save, reduce stack frame.
38005         Correct cfi for possible PSEUDO_RET frame setup.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38007         Branch to local label emitted by PSEUDO_RET rather than
38008         __syscall_error.
38010 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38012         [BZ #11904]
38013         * locale/programs/locale.c (print_assignment): New function.
38014         (show_locale_vars): Use it.
38016 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38018         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38019         field.
38020         (struct statfs64): Likewise.
38021         (_STATFS_F_FLAGS): Define.
38022         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38023         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38024         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38025         (ST_VALID): Define locally.
38026         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38027         __statvfs_getflags, use the provided value.
38028         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38029         __ASSUME_STATFS_F_FLAGS.
38031         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38033         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38034         Add sys/fanotify.h.
38035         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38036         fanotify_mask for GLIBC_2.13.
38037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38038         fanotify_init and fanotify_mark.
38039         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38040         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38042         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38043         Add prlimit.
38044         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38045         prlimit64 for GLIBC_2.13.
38046         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38047         prlimit64.
38048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38049         syscall.
38050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38052         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38053         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38055         add prlimit alias.
38056         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38058         [BZ #11903]
38059         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38060         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38062         * nss/Makefile: Add rules to build and run tst-nss-test1.
38063         * shlib-versions: Add entry for libnss_test1.
38064         * nss/nss_test1.c: New file.
38065         * nss/tst-nss-test1.c: New file.
38067         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38068         (__nss_configure_lookup): Set appropriate entry in
38069         __nss_configure_lookup to true.
38070         * nss/nsswitch.h: Define enum with indeces of databases in
38071         databases and __nss_database_custom arrays.  Declare
38072         __nss_database_custom.
38073         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38074         to avoid using nscd when custom rules are installed.
38075         * nss/getXXbyYY_r.c: Likewise.
38076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38078         * nss/nss_files/files-parse.c: Whitespace fixes.
38080 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38082         [BZ #11883]
38083         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38084         * posix/fnmatch_loop.c: Likewise.
38086 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38088         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38089         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38090         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38091         * Versions.def [GLIBC_2.13]: Add.
38093 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38096         Also fail if tpwd after pwuid call is NULL.
38098 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38100         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38101         when converting to ms.
38103 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38105         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38106         EOPNOTSUPP errors with ENOTTY.
38107         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38108         EOPNOTSUPP errors with ENOTTY.
38110 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38112         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38113         Add strcasecmp_l-ssse3.
38114         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38115         strcasecmp.
38116         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38117         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38118         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38120 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38122         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38124         * string/Makefile (strop-tests): Add strcasecmp.
38125         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38126         strcasecmp_l-nonascii.
38127         (gen-as-const-headers): Add locale-defines.sym.
38128         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38129         * sysdeps/x86_64/strcasecmp.S: New file.
38130         * sysdeps/x86_64/strcasecmp_l.S: New file.
38131         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38132         * sysdeps/x86_64/locale-defines.sym: New file.
38133         * string/test-strcasecmp.c: New file.
38135         * string/test-strcasestr.c: Test both ends of the range of characters.
38136         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38138 2010-07-29  Roland McGrath  <roland@redhat.com>
38140         [BZ #11856]
38141         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38143 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38145         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38146         for ld.so.
38148 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38150         * manual/memory.texi (Malloc Tunable Parameters): Document
38151         M_PERTURB.
38153 2010-07-26  Roland McGrath  <roland@redhat.com>
38155         [BZ #11840]
38156         * configure.in (-fgnu89-inline check): Set and substitute
38157         gnu89_inline, not libc_cv_gnu89_inline.
38158         * configure: Regenerated.
38159         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38161 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38163         * string/test-strnlen.c: New file.
38164         * string/Makefile (strop-tests): Add strnlen.
38165         * string/tester.c (test_strnlen): Add a few more test cases.
38166         * string/tst-strlen.c: Better error reporting.
38168         * sysdeps/x86_64/strnlen.S: New file.
38170 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38173         lower-latency instructions.
38175 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38177         * string/test-strcasestr.c: New file.
38178         * string/test-strstr.c: New file.
38179         * string/Makefile (strop-tests): Add strstr and strcasestr.
38180         * string/str-two-way.h: Don't undefine MAX.
38181         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38183 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38186         strcasestr-nonascii.
38187         (CFLAGS-strcasestr-nonascii.c): Define.
38188         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38189         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38190         Remove unused attribute.
38192 2010-07-20  Roland McGrath  <roland@redhat.com>
38194         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38195         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38196         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38197         like LD_HWCAP_MASK can disable hwcaps.
38199 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38201         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38203 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38205         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38206         call in strcasestr.
38207         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38208         __strcasestr_sse42_nonascii.
38209         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38210         strcasestr-nonascii.c.
38211         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38213 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38215         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38216         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38217         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38218         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38220 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38222         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38223         fcntl.
38225 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38227         [BZ #11577]
38228         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38229         dl_signal_cerror.
38231 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38234         _PC_PIPE_BUF using F_GETPIPE_SZ.
38236 2010-07-05  Roland McGrath  <roland@redhat.com>
38238         * manual/arith.texi (Rounding Functions): Fix rint description
38239         implicit in round description.
38241 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38243         * elf/Makefile: Fix linking for a few tests to make recent linker
38244         happy.
38246 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38248         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38249         $(common-objpfx)libc_nonshared.a.
38251 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38253         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38254         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38255         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38256         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38257         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38258         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38259         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38260         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38275         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38276         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38277         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38278         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38279         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38280         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38281         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38282         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38283         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38284         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38285         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38286         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38302 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38304         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38305         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38306         * string/memmove.c (memmove): Renamed to ...
38307         (MEMMOVE): ...this.  Default to memmove.
38308         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38309         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38310         (END_CHK): Define.
38311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38312         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38313         mempcpy-ssse3-back memmove-ssse3-back.
38314         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38317         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38318         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38319         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38320         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38321         * sysdeps/x86_64/multiarch/memmove.c: New file.
38322         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38323         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38324         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38325         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38326         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38327         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38328         Define.
38329         (index_Fast_Copy_Backward): Define.
38330         (HAS_ARCH_FEATURE): Define.
38331         (HAS_FAST_REP_STRING): Define.
38332         (HAS_FAST_COPY_BACKWARD): Define.
38334 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38336         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38337         Restore proper fallback handling.
38339 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38341         [BZ #11701]
38342         * posix/group_member.c (__group_member): Correct checking loop.
38344         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38345         OOM in getpwuid_r correctly.  Return error number when the caller
38346         should return, otherwise -1.
38347         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38348         call returning > 0 value.
38349         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38351 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38353         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38354         libc_nonshared.a from targets in modules-names.
38356 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38358         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38359         requires it.
38361 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38368 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38370         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38372 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38374         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38375         and F_GETPIPE_SZ.
38376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38383 2010-06-14  Roland McGrath  <roland@redhat.com>
38385         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38387 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38389         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38390         __REDIRECT followed by __THROW.
38391         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38392         * posix/getopt.h (getopt): Likewise.
38394 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38396         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38397         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38398         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38399         in AT_FLAGS.
38400         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38401         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38403 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38405         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38407 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38409         [BZ #11640]
38410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38411         Properly check family and model.
38413 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38415         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38417 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38419         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38421 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38423         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38424         symbol reference.
38426 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38428         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38429         symbol reference.
38431 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38433         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38434         and internal_recvmmsg.
38435         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38436         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38437         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38438         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38440         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38441         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38442         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38444 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38446         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38448 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38450         POWER7 optimizations.
38451         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38452         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38454 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38456         * version.h: Update for 2.13 development version.
38458 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38460         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38461         exceptions.  Return 0.
38463 2010-05-07  Roland McGrath  <roland@redhat.com>
38465         * elf/ldconfig.c (main): Add a const.
38467 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38469         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38470         (args_options): Add no-idn option.
38471         (ahosts_keys_int): Add idn_flags to ai_flags.
38472         (parse_option): Handle 'i' option to clear idn_flags.
38474         * malloc/malloc.c (_int_free): Possible race in the most recently
38475         added check.  Only act on the data if no current modification
38476         happened.
38478 See ChangeLog.17 for earlier changes.