Fix ldbl-128ibm expm1l on large arguments (bug 16408).
[glibc.git] / ChangeLog
blobf27a4eb290bc7e25fbd05218d42ec152c79458d8
1 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16408]
4         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5         for large positive arguments.
7 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11         * math/auto-libm-test-in: Mark various tests with
12         xfail-rounding:ldbl-128ibm.
13         * math/auto-libm-test-out: Regenerated.
15         [BZ #16407]
16         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17         Increase overflow threshold.
19 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
21         [BZ #14286]
22         * stdio-common/vfprintf.c: Check for integer overflow.
24 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27         the first argument and return value of __tls_get_addr_internal.
29 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37         * sysdeps/s390/rtld-global-offsets.sym: New file.
38         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39         GLIBC_2.19 symbol.
40         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43         ... this.
44         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46         ... this.
47         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48         Regenerate.
49         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50         Regenerate.
51         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52         halfs of GPRs for high_gprs contexts.
53         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55         field.
56         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57         uc_flags field.
58         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
59         64 bit versions:
60         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
61         for high GPRs (uc_high_gprs) and for future extensions
62         (__reserved).
63         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
64         for future extensions (__reserved).
65         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
66         64 bit versions:
67         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
68         SC_HIGHGPRS offset definition.
69         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
70         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
72 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74         * Versions.def: Add GLIBC_2.19 for libpthread.
75         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
76         siglongjmp for libpthread with GLIBC_2.19 symver.
77         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
78         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
79         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
80         * sysdeps/s390/__longjmp.c: New file.
81         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
82         * sysdeps/s390/longjmp.c: New file.
83         * sysdeps/s390/setjmp.S: New file.
84         * sysdeps/s390/sigjmp.S: New file.
85         * sysdeps/s390/v1-longjmp.c: New file.
86         * sysdeps/s390/v1-setjmp.h: New file.
87         * sysdeps/s390/v1-sigjmp.c: New file.
88         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
89         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
90         GLIBC_2.19 version.
91         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
92         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
93         versioned symbols for ____longjmp_chk.
94         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
95         Likewise.
96         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
97         Regenerate.
98         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
99         Regenerate.
100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
101         Regenerate.
102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
103         Regenerate.
104         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
105         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
106         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
107         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
108         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
109         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
110         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
111         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
112         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
113         * sysdeps/s390/rtld-__longjmp.c: New file.
114         * sysdeps/s390/rtld-setjmp.S: New file.
116 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
118         [BZ #16400]
119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
120         Return -__logl (x) for small positive arguments without evaluating
121         a polynomial.
123 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
125         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
126         Rename to ...
127         (__ptrace_peeksiginfo_args): ... this.
128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
130         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
132 2014-01-06  Allan McRae  <allan@archlinux.org>
134         * inet/netinet/in.h: Fix typo in comment.
136 2014-01-05  Andreas Jaeger  <aj@suse.de>
138         * sysdeps/i386/fpu/libm-test-ulps: Update.
140 2014-01-05  Allan McRae  <allan@archlinux.org>
142         * po/libc.pot: Regenerated.
144         * malloc/memusagestat.c: Fix gettext call formatting.
146 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
148         * nscd/nscd.c: Improve usage() output.
150 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
152         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
153         * sysdeps/unix/sysv/linux/configure: Regenerated.
154         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
155         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
157 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
159         [BZ #16390]
160         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
161         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
163 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
166         extra tokens at end of #undef directive.
167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
168         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
171 2014-01-03  Andrew Hunter  <ahh@google.com>
173         * elf/dl-open.c (dl_open_worker): New comment.
174         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
175         atomic_compare_and_exchange_bool_acq
176         (_dl_allocate_static_tls): Block signals.
177         * elf/dl-tls.c (allocate_and_init): Return void.
178         (_dl_update_slotinfo): Block signals, use atomic update.
180 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
182         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
184         * math/auto-libm-test-in: Mark various tests with
185         xfail-rounding:ldbl-128ibm.
186         * math/auto-libm-test-out: Regenerated.
188 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
190         [BZ #16386]
191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
192         numbers with subnormal high part when calculating exponent.
194         [BZ #16385]
195         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
196         fabs.
198         [BZ #16384]
199         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
200         M_LN2l.
201         (__ieee754_acoshl): Use __log1pl not __log1p.
203 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
205         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
206         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
207         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
208         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
209         Convert to GNU style.
210         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
211         mem2mem_check, mem2chunk_check, top_check, realloc_check,
212         memalign_check, __malloc_set_state): Likewise.
213         * malloc/mallocbug.c (main): Likewise.
214         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
215         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
216         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
217         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
218         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
219         * malloc/malloc.h: Likewise.
220         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
221         memalignhook, reallochook, mabort): Likewise.
222         * malloc/mcheck.h: Likewise.
223         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
224         mmap64, mremap, munmap, dest): Likewise.
225         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
226         * malloc/morecore.c (__default_morecore): Likewise.
227         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
228         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
229         _obstack_allocated_p, obstack_free, _obstack_memory_used,
230         print_and_abort): Likewise.
231         * malloc/obstack.h: Likewise.
232         * malloc/set-freeres.c (__libc_freeres): Likewise.
233         * malloc/tst-mallocstate.c (main): Likewise.
234         * malloc/tst-mtrace.c (main): Likewise.
235         * malloc/tst-realloc.c (do_test): Likewise.
237 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
239         [BZ #16366]
240         * nscd/netgroupcache.c (do_notfound): New function.
241         (addgetnetgrentX): Use it.
243         [BZ # 16365]
244         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
245         NSS_STATUS_NOTFOUND.
247 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
249         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
252 2014-01-01  Allan McRae  <allan@archlinux.org>
254         * scripts/update-copyrights: Update configure input file suffix.
256         * NEWS: Update copyright year.
257         * catgets/gencat.c: Likewise.
258         * csu/version.c: Likewise.
259         * debug/catchsegv.sh: Likewise.
260         * debug/pcprofiledump.c: Likewise.
261         * debug/xtrace.sh: Likewise.
262         * elf/ldconfig.c: Likewise.
263         * elf/ldd.bash.in: Likewise.
264         * elf/pldd.c: Likewise.
265         * elf/sotruss.ksh: Likewise.
266         * elf/sprof.c: Likewise.
267         * iconv/iconv_prog.c: Likewise.
268         * iconv/iconvconfig.c: Likewise.
269         * locale/programs/locale.c: Likewise.
270         * locale/programs/localedef.c: Likewise.
271         * login/programs/pt_chown.c: Likewise.
272         * malloc/memusage.sh: Likewise.
273         * malloc/memusagestat.c: Likewise.
274         * malloc/mtrace.pl: Likewise.
275         * manual/libc.texinfo: Likewise.
276         * nscd/nscd.c: Likewise.
277         * nss/getent.c: Likewise.
278         * nss/makedb.c: Likewise.
279         * posix/getconf.c: Likewise.
280         * scripts/test-installation.pl: Likewise.
282         * All files with FSF copyright notices: Update copyright dates
283         using scripts/update-copyrights.
284         * intl/plural.c: Regenerated.
285         * locale/programs/charmap-kw.h: Likewise.
286         * locale/programs/locfile-kw.h: Likewise.
288 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
290         * sysdeps/unix/sysv/linux/configure: Regenerated.
291         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
292         the linux/fanotify.h header.
293         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
294         HAVE_LINUX_FANOTIFY_H is defined.
296 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
298         * benchtests/cos-inputs: New inputs.
299         * benchtests/sin-inputs: Likewise.
301         * benchtests/atan-inputs: New inputs. Fix name of multiple
302         precision fallback inputs.
304         * benchtests/atanh-inputs: New inputs.
305         * benchtests/tanh-inputs: Likewise.
307         * benchtests/acosh-inputs: New inputs.
308         * benchtests/asinh-inputs: Likewise.
310         * benchtests/cosh-inputs: New inputs.
311         * benchtests/sinh-inputs: Likewise.
313         * benchtests/acos-inputs: Add more inputs.
314         * benchtests/asin-inputs: Likewise.
316 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
318         [BZ #16375]
319         * manual/arith.texi: Fix spelling.
320         * manual/charset.texi: Likewise.
321         * manual/errno.texi: Likewise.
322         * manual/filesys.texi: Likewise.
323         * manual/lang.texi: Likewise.
324         * manual/llio.texi: Likewise.
325         * manual/locale.texi: Likewise.
326         * manual/message.texi: Likewise.
327         * manual/resource.texi: Likewise.
328         * manual/search.texi: Likewise.
329         * manual/setjmp.texi: Likewise.
330         * manual/stdio.texi: Likewise.
331         * manual/string.texi: Likewise.
332         * manual/sysinfo.texi: Likewise.
333         * manual/time.texi: Likewise.
335 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
337         * po/sl.po: New file.
339 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
341         * .gitignore: Add core/.gdbinit/.gdb_history.
343 2013-12-27  Allan McRae  <allan@archlinux.org>
345         [BZ #16369]
346         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
347         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
349 2013-12-24  Brooks Moses  <bmoses@google.com>
351         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
352         all compilers that claim C++98 compliance, not just GCC.
353         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
354         Likewise.
356 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
358         * NEWS: Restore accidentally deleted bug-fix entries.
360 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
361             Ondřej Bílka  <neleai@seznam.cz>
363         [BZ #15073]
364         * malloc/malloc.c (_int_free): Perform sanity check only if we
365         have_lock.
367 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
369         [BZ #12986]
370         * manual/stdio.texi (String Input Conversions): Clarify that character
371         classes are not supported.
373 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
377 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
379         [BZ #16337]
380         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
381         Calculate results for small negative arguments directly rather
382         than using reflection formula with special underflow handling.
384         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
385         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
386         sysdeps/unix/bsd/bsd4.4/syscalls.list.
387         (fchflags): Likewise.
388         (revoke): Likewise.
389         (setlogin): Likewise.
390         (sigaltstack): Likewise.
391         (wait4): Likewise.
392         (sigblock): Remove.
393         (sigsetmask): Likewise.
394         (wait3): Likewise.
395         (waitpid): Likewise.
396         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
397         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
398         file.
399         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
400         * sysdeps/unix/bsd/Makefile: ... here.
401         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
402         * sysdeps/unix/bsd/Versions: ... here.
403         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
404         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
405         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
406         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
407         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
408         * sysdeps/unix/bsd/sigblock.c: ... here.
409         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
410         * sysdeps/unix/bsd/sigsetmask.c: ... here.
411         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
412         * sysdeps/unix/bsd/sigvec.c: ... here.
413         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
414         * sysdeps/unix/bsd/tcdrain.c: ... here.
415         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
416         * sysdeps/unix/bsd/tcgetattr.c: ... here.
417         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
418         * sysdeps/unix/bsd/tcsetattr.c: ... here.
419         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
420         * sysdeps/unix/bsd/wait.c: ... here.
421         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
422         * sysdeps/unix/bsd/wait3.c: ... here.
423         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
424         * sysdeps/unix/bsd/waitpid.c: ... here.
426 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
428         [BZ #16356]
429         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
430         round-to-nearest for [!USE_AS_EXPM1L].
431         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
432         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
433         more tests of exp and exp10.  Expect some exp10 tests to miss
434         exceptions or fail in directed rounding modes.
435         * math/auto-libm-test-out: Regenerated.
436         * math/libm-test.inc (exp10_tonearest_test_data): New array.
437         (exp10_test_tonearest): New function.
438         (exp10_towardzero_test_data): New array.
439         (exp10_test_towardzero): New function.
440         (exp10_downward_test_data): New array.
441         (exp10_test_downward): New function.
442         (exp10_upward_test_data): New array.
443         (exp10_test_upward): New function.
444         (main): Call the new functions.
445         * sysdeps/i386/fpu/libm-test-ulps: Update.
446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
448 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
450         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
451         asinh, atan, atan2, atanh, cbrt, cos and cosh.
452         * math/auto-libm-test-out: Regenerated.
453         * math/libm-test.inc (acosh_test_data): Add more tests.
454         (atanh_test_data): Likewise.
455         (ceil_test_data): Likewise.
456         (copysign_test_data): Likewise.
457         * sysdeps/i386/fpu/libm-test-ulps: Update.
458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
460         * timezone/checktab.awk: Update from tzcode 2013i.
461         * timezone/private.h: Likewise.
462         * timezone/scheck.c: Likewise.
463         * timezone/tzfile.h: Likewise.
464         * timezone/tzselect.ksh: Likewise.
465         * timezone/zdump.c: Likewise.
466         * timezone/zic.c: Likewise.
468         * math/auto-libm-test-in: Add tests of cpow.
469         * math/auto-libm-test-out: Regenerated.
470         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
471         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
472         mpc_cc_c.
473         (func_calc_desc): Add mpc_cc_c union field.
474         (test_functions): Add cpow.
475         (special_fill_2pi): New function.
476         (special_real_inputs): Add 2pi.
477         (calc_generic_results): Handle mpc_cc_c.
478         * sysdeps/i386/fpu/libm-test-ulps: Update.
479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
482         csqrt, ctan and ctanh.
483         * math/auto-libm-test-out: Regenerated.
484         * math/libm-test.inc (TEST_COND_x86_64): New macro.
485         (TEST_COND_x86): Likewise.
486         (ccos_test_data): Use AUTO_TESTS_c_c.
487         (ccosh_test_data): Likewise.
488         (cexp_test_data): Likewise.
489         (clog_test_data): Likewise.
490         (csqrt_test_data): Likewise.
491         (ctan_test_data): Likewise.
492         (ctan_tonearest_test_data): Likewise.
493         (ctan_towardzero_test_data): Likewise.
494         (ctan_downward_test_data): Likewise.
495         (ctan_upward_test_data): Likewise.
496         (ctanh_test_data): Likewise.
497         (ctanh_tonearest_test_data): Likewise.
498         (ctanh_towardzero_test_data): Likewise.
499         (ctanh_downward_test_data): Likewise.
500         (ctanh_upward_test_data): Likewise.
501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
502         mpc_c_c.
503         (func_calc_desc): Add mpc_c_c union field.
504         (FUNC_mpc_c_c): New macro.
505         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
506         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
507         ctanh.
508         (special_fill_min_subnorm_p120): New function.
509         (special_real_inputs): Add min_subnorm_p120.
510         (calc_generic_results): Handle mpc_c_c.
511         * sysdeps/i386/fpu/libm-test-ulps: Update.
512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
516         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
517         do_sin_slow): New functions.
518         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
519         cslow2, csloww1, csloww2): Use the new functions.
521         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
522         Use M to change sign of result instead of X.  Assume X is
523         positive.
524         (csloww1): Likewise.
525         (__sin): Adjust.
526         (__cos): Adjust.
528         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
529         arguments A and DA.
530         (__sin): Adjust.
531         (__cos): Likewise.
533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
534         (__cos): Likewise.
535         (sloww1): Don't adjust sign of DX.
536         (csloww1): Likewise.
537         (sloww2): Use X directly and don't adjust sign of DX.
538         (csloww2): Likewise.
540 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
542         * math/auto-libm-test-in: Add tests of cabs and carg.
543         * math/auto-libm-test-out: Regenerated.
544         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
545         (carg_test_data): Likewise.
546         * math/gen-auto-libm-tests.c (func_calc_method): Add value
547         mpc_c_f.
548         (func_calc_desc): Add mpc_c_f union field.
549         (test_functions): Add cabs and carg.
550         (calc_generic_results): Handle mpc_c_f.
552         * sysdeps/powerpc/powerpc32/libgcc-compat.S
553         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
554         as a macro and a compat symbol.
555         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
556         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
557         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
558         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
559         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
561         not use .hidden.
562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
563         Likewise.
564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
565         Likewise.
566         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
567         Likewise.
568         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
569         Likewise.
570         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
571         Likewise.
572         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
573         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
574         from GLIBC_2.3.2.
576 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
580 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
582         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
583         (__signal_safe_memalign, __signal_safe_free): Use it.
584         (__signal_safe_realloc): Likewise.
586 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
588         * manual/texinfo.tex: Update to version 2013-11-26.10 with
589         trailing whitespace removed.
590         * scripts/config.guess: Update to version 2013-11-29.
591         * scripts/config.sub: Update to version 2013-10-01.
593         * math/auto-libm-test-in: Add tests of sincos.
594         * math/auto-libm-test-out: Regenerated.
595         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
596         * math/gen-auto-libm-tests.c (func_calc_method): Add value
597         mpfr_f_11.
598         (func_calc_desc): Add mpfr_f_11 union field.
599         (test_functions): Add sincos.
600         (calc_generic_results): Handle mpfr_f_11.
601         * sysdeps/i386/fpu/libm-test-ulps: Update.
602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 2013-12-19  Andreas Schwab  <schwab@suse.de>
606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
607         CALL_MCOUNT.
608         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
609         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
610         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
612 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
614         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
615         * sysdeps/i386/fpu/libm-test-ulps: Update.
616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
618         [BZ #16293]
619         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
620         round-to-nearest mode when using frndint.
621         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
622         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
623         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
624         Likewise.
625         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
626         sinh test to fail.
627         * math/auto-libm-test-out: Regenerated.
628         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
629         (TEST_COND_x86): Likewise.
630         (expm1_tonearest_test_data): New array.
631         (expm1_test_tonearest): New function.
632         (expm1_towardzero_test_data): New array.
633         (expm1_test_towardzero): New function.
634         (expm1_downward_test_data): New array.
635         (expm1_test_downward): New function.
636         (expm1_upward_test_data): New array.
637         (expm1_test_upward): New function.
638         (main): Run the new test functions.
639         * sysdeps/i386/fpu/libm-test-ulps: Update.
640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642         * include/features.h: Update comment documenting feature test
643         macros.  Mention _DEFAULT_SOURCE in comment.
644         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
645         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
646         _BSD_SOURCE and _SVID_SOURCE.
647         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
648         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
649         !_SVID_SOURCE]: Likewise.
650         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
651         (__USE_POSIX_IMPLICITLY): Define.
652         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
653         (_POSIX_SOURCE): Undefine and redefine.
654         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
655         (_POSIX_C_SOURCE): Likewise.
656         * manual/creature.texi (_DEFAULT_SOURCE): Document.
657         (Feature Test Macros): Update documentation of default features.
659 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
661         * benchtests/Makefile: Add bench-strtok.
662         * benchtests/bench-strtok.c: New file: strtok benchtest.
664 2013-12-19  Allan McRae  <allan@archlinux.org>
666         * manual/install.texi: Suppress menu for plain text output.
667         * INSTALL: Regenerated.
669 2013-12-18  Andrew Hunter  <ahh@google.com>
671         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
672         (__signal_safe_malloc, __signal_safe_free): Likewise.
673         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
674         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
675         (__signal_safe_memalign, __signal_safe_malloc): New function.
676         (__signal_safe_free, __signal_safe_realloc): Likewise.
677         (__signal_safe_calloc): Likewise.
678         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
679         functions.
680         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
682 2013-12-18  Andrew Hunter  <ahh@google.com>
684         * elf/Versions (ld): Add _dl_clear_dtv.
685         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
686         * elf/dl-tls.c (_dl_clear_dtv): New function.
687         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
689 2013-12-18  Andrew Hunter  <ahh@google.com>
691         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
692         (_dl_unmask_signals): Likewise.
693         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
694         (_dl_unmask_all_signals): Likewise.
695         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
696         (_dl_unmask_all_signals): Likewise.
697         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
698         (_dl_unmask_signals): Likewise.
700 2013-12-18  Brooks Moses  <bmoses@google.com>
702         [BZ #15846]
703         * misc/getauxval.c: Include errno.h.
704         (__getauxval): Set errno to ENOENT if the requested type is not
705         found.
706         * misc/sys/auxv.h (getauxval): Document that it may set errno;
707         don't declare with __attribute_const__.
708         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
709         * manual/startup.texi: Document that getauxval sets errno.
711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
713         * math/auto-libm-test-in: Add tests of jn and yn.
714         * math/auto-libm-test-out: Regenerated.
715         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
716         (yn_test_data): Likewise.
717         * math/gen-auto-libm-tests.c (func_calc_method): Add value
718         mpfr_if_f.
719         (func_calc_desc): Add mpfr_if_f union field.
720         (FUNC_mpfr_if_f): New macro.
721         (test_functions): Add jn and yn.
722         (calc_generic_results): Assert type of second input for
723         mpfr_ff_f.  Handle mpfr_if_f.
724         (output_for_one_input_case): Disable all checking for arguments
725         fitting floating-point types in case of an integer argument.
726         * sysdeps/i386/fpu/libm-test-ulps: Update.
727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
730         Don't expect fegetround reference in libm.so.
732 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
734         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
735         $(config-cflags-nofma).
737 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
739         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
740         * math/auto-libm-test-out: Regenerated.
742         [BZ #16338]
743         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
744         to determine exponent and adjust argument to have exponent of -1.
745         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
746         log2.
747         * math/auto-libm-test-out: Regenerated.
748         * sysdeps/i386/fpu/libm-test-ulps: Update.
749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
753         * manual/probes.texi: Remove cases when per-thread arenas are
754         disabled.
756 2013-12-18  Andreas Schwab  <schwab@suse.de>
758         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
759         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
760         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
761         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
762         * sysdeps/i386/i686/multiarch/Makefile: Update.
763         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
765 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
767         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
768         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
770 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
772         Support TZ transition times < 00:00:00.
773         This is needed for version-3 tz-format files; it supports time
774         stamps past 2037 for America/Godthab (the only entry in the tz
775         database for which this change is relevant).
776         * manual/time.texi (TZ Variable): Document transition times
777         from -167:59:59 through -00:00:01.
778         * time/tzset.c (tz_rule): Time of day is now signed.
779         (__tzset_parse_tz): Parse negative time of day.
781         Document TZ transition times >= 25:00:00.
782         * manual/time.texi (TZ Variable): Document transition times from
783         25:00:00 through 167:59:59.  These are already supported, and this
784         support will help with version-3 tz-format files.
786         * manual/time.texi (TZ Variable): Modernize North America example
787         to reflect current (i.e., 2007-and-later) daylight saving rules.
789         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
791 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
793         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
794         * sysdeps/unix/bsd/bits/stat.h: Likewise.
795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
796         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
797         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
798         * sysdeps/unix/bsd/bsdstat.h: Likewise.
799         * sysdeps/unix/bsd/clock.c: Likewise.
800         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
801         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
802         * sysdeps/unix/bsd/init-posix.c: Likewise.
803         * sysdeps/unix/bsd/poll.c: Likewise.
804         * sysdeps/unix/bsd/ptsname.c: Likewise.
805         * sysdeps/unix/bsd/seekdir.c: Likewise.
806         * sysdeps/unix/bsd/setegid.c: Likewise.
807         * sysdeps/unix/bsd/seteuid.c: Likewise.
808         * sysdeps/unix/bsd/setgid.c: Likewise.
809         * sysdeps/unix/bsd/setrgid.c: Likewise.
810         * sysdeps/unix/bsd/setruid.c: Likewise.
811         * sysdeps/unix/bsd/setsid.c: Likewise.
812         * sysdeps/unix/bsd/setuid.c: Likewise.
813         * sysdeps/unix/bsd/sigaction.c: Likewise.
814         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
815         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
816         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
817         * sysdeps/unix/bsd/telldir.c: Likewise.
818         * sysdeps/unix/bsd/times.c: Likewise.
819         * sysdeps/unix/bsd/usleep.c: Likewise.
821         * misc/Makefile (install-lib): Remove libbsd-compat.a.
822         ($(objpfx)libbsd-compat.a): Remove rule.
824         * include/features.h (__FAVOR_BSD): Do not define.
825         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
826         features conflicting with POSIX.
827         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
828         (_BSD_SOURCE): Remove description of not being a subset of other
829         feature test macros.
830         * manual/job.texi (getpgrp): Do not document BSD version.
831         (getpgid): Do not document by reference to BSD getpgrp.
832         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
833         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
834         * signal/signal.h [__FAVOR_BSD]: Likewise.
835         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
836         instead of making contents conditional on [__FAVOR_BSD].
837         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
839 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
843 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
845         [BZ #16314]
846         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
847         values below 2**-450, not 2**-500.
848         * math/auto-libm-test-in: Don't allow spurious underflow from
849         hypot.
850         * math/auto-libm-test-out: Regenerated.
852         [BZ #16316]
853         [BZ #16330]
854         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
855         values of ha and hb and sort them after adjusting subnormal
856         arguments.
857         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
858         Likewise.
859         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
860         values of ea and eb and sort them after adjusting subnormal
861         arguments.
862         * math/auto-libm-test-in: Do not expect some hypot tests of
863         subnormals to fail.  Add more hypot tests.
864         * math/auto-libm-test-out: Regenerated.
866 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
868         [BZ #13304]
869         * sysdeps/sh/s_fma.c: New file.
870         * sysdeps/sh/s_fmaf.c: New file.
871         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
872         version.
873         * sysdeps/sh/Implies: Add sh/soft-fp.
875 2013-12-16  Roland McGrath  <roland@hack.frob.com>
877         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
878         level of indirection to members `objname', `errstring', `malloced'.
879         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
880         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
881         it as the __longjmp argument (just pass 1 instead).
882         (_dl_catch_error): Initialize C with argument pointers and address of
883         volatile local ERRCODE rather than copying values out of C at return.
885 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
887         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
888         * math/auto-libm-test-out: Regenerated.
889         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
890         (hypot_test_data): Likewise.
891         (pow_test_data): Likewise.
892         (pow_tonearest_test_data): Likewise.
893         * math/gen-auto-libm-tests.c (func_calc_method): Add value
894         mpfr_ff_f.
895         (func_calc_desc): Add mpfr_ff_f union field.
896         (FUNC_mpfr_ff_f): New macro.
897         (test_functions): Add atan2, hypot and pow.
898         (special_fill_min): New function.
899         (special_fill_minus_min): Likewise.
900         (special_fill_min_subnorm): Likewise.
901         (special_fill_minus_min_subnorm): Likewise.
902         (special_real_inputs): Add min, -min, min_subnorm and
903         -min_subnorm.
904         (calc_generic_results): Handle mpfr_ff_f.
905         * sysdeps/i386/fpu/libm-test-ulps: Update.
906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
908 2013-12-16  Will Newton  <will.newton@linaro.org>
910         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
911         (Aligned Memory Blocks): Add documentation for aligned_alloc
912         and suggest it as an alternative to posix_memalign.
913         (Hooks for Malloc): Document __memalign_hook is also called
914         for aligned_alloc.  (Summary of Malloc): Add summary for
915         aligned alloc.  Document __memalign_hook is also called
916         for aligned_alloc.
918 2013-12-16  Will Newton  <will.newton@linaro.org>
920         * manual/memory.texi (Malloc Examples): Clarify default
921         alignment documentation.  Suggest posix_memalign rather
922         than memalign or valloc.
923         (Aligned Memory Blocks): Remove suggestion to use memalign
924         or valloc.  Remove obsolete comment about BSD.
925         Document memalign errno values and mark the function obsolete.
926         Document posix_memalign returned error codes.  Mark valloc
927         as obsolete.  (Hooks for Malloc): __memalign_hook is also
928         called for posix_memalign and valloc.
929         (Summary of Malloc): Add posix_memalign to function summary.
930         __memalign_hook is also called for posix_memalign and valloc.
932 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
934         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
935         TAYLOR_SIN.
936         (__sin): Adjust.
937         (__cos): Likewise.
938         (sloww): Use mynumber union.  Expand ternary operator into
939         if-else statements.
940         (cslow): use mynumber union.
942 2013-12-16  Allan McRae  <allan@archlinux.org>
944         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
945         * configure: Regenerated.
947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
949         [BZ #14120]
950         * configure.ac: Added --enable-maintainer-mode. Check for
951         autoconf when enabled.
952         * configure: Regenerated.
954         * nscd/nscd.service: New file.
955         * nscd/nscd.tmpfiles: New file.
957 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
959         [BZ #12100]
960         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
961         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
962         * sysdeps/x86_64/multiarch/strstr.c: ... here.
963         (strstr): Add __strstr_sse2_unaligned ifunc.
964         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
965         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
966         (strcasestr): Remove __strcasestr_sse42 ifunc.
967         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
971 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
973         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
974         * sysdeps/sh/bits/fenv.h: ... here.
975         * sysdeps/sh/sh4/fpu/bits: Remove directory.
977 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
979         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
981 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
984         hypotf multiarch implementations.
985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
988         multiarch hypot for PPC64.
989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
991         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
992         multiarch hypotf for PPC64.
994 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
997         modff multiarch implementations.
998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1001         multiarch modf for PPC64.
1002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1005         multiarch modff for PPC64.
1007 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1010         and logl multiarch implementations.
1011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1014         multiarch logb for PPC64.
1015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1018         multiarch logb for PPC64.
1019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1022         multiarch logb for PPC64.
1024 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1026         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1027         isinff multiarch implementation.
1028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1029         file.
1030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1032         multiarch isinf for PPC64.
1033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1034         file.
1035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1036         multiarch isinff for PPC64.
1038 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1041         finitef multiarch implementation.
1042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1043         file.
1044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1046         multiarch finite for PPC64.
1047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1048         file.
1049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1050         multiarch finitef for PPC64.
1052 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1055         lrint multiarch implementation.
1056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1057         file.
1058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1060         multiarch llrint for PPC64.
1061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1062         multiarch lrint for PPC64.
1064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1067         copysignf multiarch implementation.
1068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1069         file.
1070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1071         file.
1072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1073         multiarch copysign for PPC64.
1074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1075         multiarch copysignf for PPC64.
1077 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1080         multiarch implementation.
1081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1082         file.
1083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1084         file.
1085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1086         file.
1087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1088         file.
1089         multiarch llround for PPC64.
1090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1091         multiarch trunc for PPC64.
1092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1093         multiarch truncf for PPC64.
1095 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1098         multiarch implementation.
1099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1100         file.
1101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1102         file.
1103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1104         file.
1105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1106         file.
1107         multiarch llround for PPC64.
1108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1109         multiarch round for PPC64.
1110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1111         multiarch roundf for PPC64.
1113 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1116         multiarch implementation.
1117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1118         file.
1119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1120         file.
1121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1122         file.
1123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1124         file.
1125         multiarch llround for PPC64.
1126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1127         multiarch floor for PPC64.
1128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1129         multiarch floorf for PPC64.
1131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1134         multiarch implementation.
1135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1136         file.
1137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1138         file.
1139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1140         file.
1141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1142         file.
1143         multiarch llround for PPC64.
1144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1145         multiarch ceil for PPC64.
1146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1147         multiarch ceilf for PPC64.
1149 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1152         multiarch implementation.
1153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1154         file.
1155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1156         file.
1157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1158         file.
1159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1160         multiarch llround for PPC64.
1161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1162         multiarch lround for PPC64.
1164 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1167         multiarch implementation.
1168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1171         file.
1172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1175         multiarch isnan for PPC64.
1176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1177         multiarch isnanf for PPC64.
1179 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1181         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1182         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1183         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1184         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1185         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1188 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1190         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1191         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1192         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1193         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1198         multiarch implementations.
1199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1200         (__libc_ifunc_impl_list): Likewise.
1201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1203         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1204         multiarch stpcpy for PPC64.
1206 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1209         multiarch implementations.
1210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1211         (__libc_ifunc_impl_list): Likewise.
1212         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1213         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1214         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1215         multiarch strcpy for PPC64.
1217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1219         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1220         redefine function name.
1221         (_wordcopy_fwd_dest_aligned): Likewise.
1222         (_wordcopy_bwd_aligned): Likewise.
1223         (_wordcopy_bwd_dest_aligned): Likewise.
1224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1225         multiarch implementations.
1226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1227         (__libc_ifunc_impl_list): Likewise.
1228         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1229         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1230         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1232         multiarch wcscpy for PPC64.
1234 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1237         multiarch implementations.
1238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1239         (__libc_ifunc_impl_list): Likewise.
1240         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1242         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1243         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1244         multiarch wcscpy for PPC64.
1246 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1249         multiarch implementations.
1250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1251         (__libc_ifunc_impl_list): Likewise.
1252         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1253         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1254         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1255         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1256         multiarch wcsrchr for PPC64.
1258 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1261         multiarch implementations.
1262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1263         (__libc_ifunc_impl_list): Likewise.
1264         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1265         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1266         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1267         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1268         multiarch wcschr for PPC64.
1270 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1273         multiarch implementations.
1274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1275         (__libc_ifunc_impl_list): Likewise.
1276         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1277         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1278         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1279         multiarch strchrnul for PPC64.
1281 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1284         implementations.
1285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1286         (__libc_ifunc_impl_list): Likewise.
1287         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1288         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1289         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1290         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1291         strchr for PPC64.
1293 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1296         implementations.
1297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1298         (__libc_ifunc_impl_list): Likewise.
1299         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1300         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1301         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1302         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1303         strncmp for PPC64.
1305 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1308         multiarch implementations.
1309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1310         (__libc_ifunc_impl_list): Likewise.
1311         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1312         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1313         strncasecmp for PPC64.
1314         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1316         multiarch strncasecmp_l for PPC64.
1318 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1321         multiarch implementations.
1322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1323         (__libc_ifunc_impl_list): Likewise.
1324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1325         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1326         multiarch strcasecmp for PPC64.
1327         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1328         file.
1329         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1330         multiarch strcasecmp_l for PPC64.
1332 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1335         implementations.
1336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1337         (__libc_ifunc_impl_list): Likewise.
1338         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1339         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1340         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1341         strnlen for PPC64.
1343 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1346         implementations.
1347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1348         (__libc_ifunc_impl_list): Likewise.
1349         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1350         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1351         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1352         strlen for PPC64.
1354 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1357         implementations.
1358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1359         (__libc_ifunc_impl_list): Likewise.
1360         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1361         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1362         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1363         rawmemrchr for PPC64.
1365 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1368         implementation.
1369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1370         (__libc_ifunc_impl_list): Likewise.
1371         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1372         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1373         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1374         memrchr for PPC64.
1376 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1379         implementation.
1380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1381         (__libc_ifunc_impl_list): Likewise.
1382         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1383         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1384         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1385         memchr for PPC64.
1387 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1390         implementation.
1391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1392         (__libc_ifunc_impl_list): Likewise.
1393         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1394         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1395         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1396         mempcpy for PPC64.
1398 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1400         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1401         avoid cretion of __bzero symbol.
1402         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1403         Likewise.
1404         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1405         Likewise.
1406         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1407         Likewise.
1408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1409         multiarch implementations.
1410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1411         (__libc_ifunc_impl_list): Likewise.
1412         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1413         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1414         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1415         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1416         bzero for PPC32.
1417         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1418         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1419         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1420         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1421         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1422         memset for PPC64.
1423         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1425 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1427         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1429         implementations.
1430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1431         (__libc_ifunc_impl_list): Likewise.
1432         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1435         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1436         memcmp for PPC64.
1438 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1441         multiarch for POWER/PPC64.
1442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1443         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1450         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1451         memcpy for PPC64.
1453 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1456         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1457         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1458         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1459         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1460         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1461         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1462         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1463         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1464         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1465         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1466         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1467         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1468         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1469         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1478 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1482 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1484         * benchtests/Makefile (bench): Add exp2 and log2.
1485         (LDLIBS-bench-exp2): Add -lm.
1486         (LDLIBS-bench-log2): Likewise.
1487         * benchtests/exp2-inputs: New inputs file.
1488         * benchtests/log2-inputs: New inputs file.
1489         * benchtests/log-inputs: Add new inputs.
1490         * benchtests/tan-inputs: Likewise.
1492 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1494         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1495         definition...
1496         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1497         csloww1, csloww2): ... from here.
1499         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1500         instead of structures.
1501         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1502         (POLYNOMIAL): Likewise.
1503         (TAYLOR_SLOW): Likewise.
1504         (__sin): Likewise.
1505         (__cos): Likewise.
1506         (slow1): Likewise.
1507         (slow2): Likewise.
1508         (sloww): Likewise.
1509         (sloww1); Likewise.
1510         (sloww2): Likewise.
1511         (bsloww1): Likewise.
1512         (bsloww2): Likewise.
1513         (cslow2): Likewise.
1514         (csloww): Likewise.
1515         (csloww1): Likewise.
1516         (csloww2): Likewise.
1518 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1520         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1521         (__malloc_assert, __libc_realloc, __libc_calloc,
1522         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1523         memcpy and memset.
1524         * malloc/hooks.c (realloc_check): Likewise.
1526 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1528         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1529         * malloc/arena.c: Remove PER_THREAD conditional.
1530         [!PER_THREAD]: Remove code.
1531         (ptmalloc_unlock_all2): Likewise.
1532         (ptmalloc_init): Likewise.
1533         (_int_new_arena): Likewise.
1534         (arena_get2): Likewise.
1535         * malloc/hooks.c (__malloc_get_state): Likewise.
1536         (__malloc_set_state): Likewise.
1537         * malloc/malloc.c: Likewise.
1538         (struct malloc_state): Likewise.
1539         (struct malloc_par): Likewise.
1540         (__libc_realloc): Likewise.
1541         (__libc_mallopt): Likewise.
1543 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1547 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1549         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1550         macro to a function.  Check for zero perturb_byte.
1551         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1553 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1555         * malloc/malloc.c: (force_reg): Remove.
1556         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1557         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1558         force_reg by atomic_forced_read.
1559         * malloc/arena.c (ptmalloc_init): Likewise.
1560         * malloc/hooks.c (top_check): Likewise.
1562 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1566 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1570 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1572         * math/auto-libm-test-in: Add tests of lgamma.
1573         * math/auto-libm-test-out: Regenerated.
1574         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1575         (M_LOG_2_SQRT_PIl): Likewise.
1576         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1578         mpfr_f_f1.
1579         (func_calc_desc): Add mpfr_f_f1 union field.
1580         (ARGS1): New macro.
1581         (ARGS2): Likewise.
1582         (ARGS3): Likewise.
1583         (ARGS4): Likewise.
1584         (RET1): Likewise.
1585         (RET2): Likewise.
1586         (CALC): Likewise.
1587         (FUNC): Likewise.
1588         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1589         (test_functions): Add lgamma.
1590         (calc_generic_results): Handle mpfr_f_f1.
1591         * sysdeps/i386/fpu/libm-test-ulps: Update.
1592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1597         __mpn_add_n for PowerPC64/POWER7.
1598         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1599         __mpn_sub_n for PowerPC64/POWER7.
1601 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1603         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1604         __mpn_addmul_1 for PowerPC64.
1605         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1606         __mpn_submul_1 for PowerPC64.
1607         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1608         for PowerPC64.
1609         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1610         for PowerPC64.
1612 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1614         [BZ #15089]
1615         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1617 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1619         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1624         add multiarch folders.
1625         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1626         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1627         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1628         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1629         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1630         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1631         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1632         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1633         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1634         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1635         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1643 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1646         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1648         New file.
1649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1650         New file.
1651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1652         multiarch __ieee754_hypot for PowerPC32.
1653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1654         New file.
1655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1656         New file.
1657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1658         multiarch __ieee754_hypotf for PowerPC32.
1660 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1662         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1663         long_double_symbol only if __logbl is defined.
1664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1665         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1667         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1669         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1670         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1671         path for implementation.
1672         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1673         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1675         logb, and logbl multiarch implementations for PowerPC32.
1676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1677         file.
1678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1679         file.
1680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1681         multiarch logb for PowerPC32.
1682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1683         file.
1684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1685         file.
1686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1687         multiarch logbf for PowerPC32.
1688         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1690         file.
1691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1692         multiarch logbl implementation for PowerPC32.
1694 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1697         and modff multiarch implementations.
1698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1699         New file.
1700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1701         New file.
1702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1703         multiarch modf for PowerPC32.
1704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1705         New file.
1706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1707         New file.
1708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1709         multiarch modff for PowerPC32.
1711 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1714         and lrintf multiarch implementations.
1715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1716         New file.
1717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1718         New file.
1719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1720         multiarch lrint for PowerPC32.
1721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1722         file: multiarch lrintf for PowerPC32.
1724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1727         and lroundf multiarch implementations.
1728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1729         New file.
1730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1731         New file.
1732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1733         New file.
1734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1735         multiarch lround for PowerPC32.
1736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1737         file: multiarch lroundf for PowerPC32.
1739 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1742         copysign and copysignf multiarch implementations.
1743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1744         New file.
1745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1746         New file.
1747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1748         file: multiarch copysign for PowerPC32.
1749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1750         file: multiarch copysignf for PowerPC32.
1752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1755         and truncf multiarch implementations.
1756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1757         New file.
1758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1759         file.
1760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1761         multiarch trunc for PowerPC32.
1762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1763         New file.
1764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1765         New file.
1766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1767         multiarch truncf for PowerPC32.
1769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1772         and roundf multiarch implementations.
1773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1774         New file.
1775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1776         file.
1777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1778         multiarch round for PowerPC32.
1779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1780         New file.
1781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1782         New file.
1783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1784         multiarch roundf for PowerPC32.
1786 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1789         and floorf multiarch implementations.
1790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1791         New file.
1792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1793         file.
1794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1795         multiarch floor for PowerPC32.
1796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1797         New file.
1798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1799         New file.
1800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1801         multiarch floorf for PowerPC32.
1803 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1806         and ceilf multiarch implementations.
1807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1808         New file.
1809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1810         file.
1811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1812         multiarch ceil for PowerPC32.
1813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1814         New file.
1815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1816         file.
1817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1818         multiarch ceilf for PowerPC32.
1820 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1822         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1823         is defined.
1824         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1825         FINITEF is defined.
1826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1827         and finitef multiarch implementations.
1828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1829         New file.
1830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1831         file.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1833         multiarch finite for PowerPC32.
1834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1835         New file.
1836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1837         file: multiarch finitef for PowerPC32.
1839 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1842         and isinff multiarch implementations.
1843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1844         file.
1845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1846         file.
1847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1848         multiarch isinf for PowerPC32.
1849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1850         New file.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1852         multiarch isinff for PowerPC32.
1854 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1856         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1857         alias when __isnan is defined.
1858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1859         and isnanf multiarch implementations.
1860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1861         file.
1862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1863         file.
1864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1867         file.
1868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1869         multiarch isnan for PowerPC32.
1870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1871         New file.
1872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1873         New file.
1874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1875         multiarch isnanf for PowerPC32.
1877 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1880         and sqrtf multiarch implementations.
1881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1882         file.
1883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1884         file.
1885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1886         multiarch sqrt for PowerPC32.
1887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1888         file.
1889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1890         file.
1891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1892         multiarch sqrtf for PowerPC32.
1894 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1897         and llroundf multiarch implementations.
1898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1899         New file.
1900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1901         New file.
1902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1903         New file.
1904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1905         file: multiarch llround for PowerPC32.
1906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1907         file: multiarch llroundf for PowerPC32.
1909 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1912         multiarch PowerPC32 fpu implementations.
1913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1914         New file.
1915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1916         New file.
1917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1918         multiarch llrint for PowerPC32.
1919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1920         New file.
1921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1922         New file.
1923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1924         file.
1926 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1930 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1933         file.
1934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1935         file.
1936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1937         file.
1938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1939         multiarch wordcopy for PPC32.
1940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1941         wordcopy objects.
1942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1943         (__libc_ifunc_impl_list): Likewise.
1944         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1945         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1946         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1947         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1948         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1949         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1951 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1953         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1955         file.
1956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1957         file.
1958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1959         file.
1960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1961         multiarch wcscpy for PPC32.
1962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1963         multiarch objects.
1964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1965         (__libc_ifunc_impl_list): Likewise.
1966         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1967         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1968         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1969         sysdeps/powerpc/power6/wcscpy.c.
1971 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1973         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1975         file.
1976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1977         file.
1978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1979         file.
1980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1981         multiarch wcsrchr for PPC32.
1982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1983         multiarch objects.
1984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1985         (__libc_ifunc_impl_list): Likewise.
1986         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1987         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1988         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1989         sysdeps/powerpc/power6/wcsrchr.c.
1991 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1994         file.
1995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1996         file.
1997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1999         multiarch wcschr for PPc32.
2000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2001         multiarch objects.
2002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2003         (__libc_ifunc_impl_list): Likewise.
2004         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2005         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2006         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2007         sysdeps/powerpc/power6/wcschr.c.
2009 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2011         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2013         file.
2014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2015         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2016         file: multiarch strchr for PPC32.
2017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2018         multiarch objects.
2019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2020         (__libc_ifunc_impl_list): Likewise.
2022 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2024         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2025         name.
2026         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2027         file.
2028         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2029         file.
2030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2031         multiarch strchrnul for PPC32.
2032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2033         multiarch objects.
2034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2035         (__libc_ifunc_impl_list): Likewise.
2037 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2040         file.
2041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2042         multiarch strncasecmp for PPC32.
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2044         file.
2045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2046         multiarch strncasecmp_l for PPC32.
2047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2048         strncasecmp multiarch objects.
2049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2050         (__libc_ifunc_impl_list): Likewise.
2052 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2055         file.
2056         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2057         multiarch strncasecmp for PPC32.
2058         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2059         New file.
2060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2061         multiarch strcasecmp_l for PPC32.
2062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2063         multiarch objects.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2065         (__libc_ifunc_impl_list): Likewise.
2067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2070         file.
2071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2072         file.
2073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2074         multiarch strncmp for PPC32.
2075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2076         multiarch objects.
2077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2078         (__libc_ifunc_impl_list): Likewise.
2080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2082         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2083         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2084         file.
2085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2086         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2088         multiarch objects.
2089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2090         (__libc_ifunc_impl_list): Likewise.
2092 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2095         file.
2096         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2097         file.
2098         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2100         multiarch objects.
2101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2102         (__libc_ifunc_impl_list): Likewise.
2104 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2106         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2107         file.
2108         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2109         file.
2110         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2111         multiarch rawmemchr for PPC32.
2112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2113         multiarch objects.
2114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2115         (__libc_ifunc_impl_list): Likewise.
2117 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2119         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2120         file.
2121         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2122         file.
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2124         file: memrchr multiarch for PPC32.
2125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2126         multiarch objects.
2127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2128         (__libc_ifunc_impl_list): Likewise.
2130 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2132         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2134         file.
2135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2136         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2137         multiarch memchr for PPC32.
2138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2139         multiarch objects.
2140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2141         (__libc_ifunc_impl_list): Likewise.
2143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2145         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2147         file.
2148         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2149         file.
2150         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2151         file: multiarch mempcpy for PPC32.
2152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2153         multiarch objects.
2154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2155         (__libc_ifunc_impl_list): Likewise.
2157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2159         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2160         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2161         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2162         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2163         multiarch bzero for PPC32.
2164         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2165         file.
2166         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2167         file.
2168         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2169         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2170         file: multiarch memset for PPC32.
2171         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2173         memset multiarch objects.
2174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2175         (__libc_ifunc_impl_list): Likewise.
2177 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2180         file.
2181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2183         memcmp for PPC32.
2184         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2186         multiarch objects.
2187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2188         (__libc_ifunc_impl_list): Likewise.
2190 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2195         file.
2196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2197         file.
2198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2199         file.
2200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2201         multiarch memcpy for PPC32.
2202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2203         multiarch objects.
2204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2205         (__libc_ifunc_impl_list): Likewise.
2207 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2210         support multiarch for POWER/PPC32.
2211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2212         Likewise.
2213         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2215         Implies file to make multiarch folder appers before the fpu and
2216         default folder for power4 configuration.
2218 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2220         * scripts/bench.pl: Append volatile keyword to type.
2222 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2224         * sysdeps/sh/sotruss-lib.c: New file.
2225         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2227 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2231 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2233         [BZ #6810]
2234         * math/w_tgamma.c: Include <errno.h>.
2235         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2236         * math/w_tgammaf.c: Include <errno.h>.
2237         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2238         * math/w_tgammal.c: Include <errno.h>.
2239         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2240         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2241         underflow.  Add more tgamma tests.
2242         * math/auto-libm-test-out: Regenerated.
2243         * sysdeps/i386/fpu/libm-test-ulps: Update.
2244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2247         sin, sinh, tan, tanh, tgamma, y0 and y1.
2248         * math/auto-libm-test-out: Regenerated.
2249         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2250         (TEST_COND_x86): Likewise.
2251         (M_E2l): Remove macro.
2252         (M_E3l): Likewise.
2253         (M_2_SQRT_PIl): Likewise.
2254         (M_SQRT_PIl): Likewise.
2255         (M_1_DIV_El): Likewise.
2256         (log_test_data): Use AUTO_TESTS_f_f.
2257         (log10_test_data): Likewise.
2258         (log1p_test_data): Likewise.
2259         (log2_test_data): Likewise.
2260         (sin_test_data): Likewise.
2261         (sin_tonearest_test_data): Likewise.
2262         (sin_towardzero_test_data): Likewise.
2263         (sin_downward_test_data): Likewise.
2264         (sin_upward_test_data): Likewise.
2265         (sinh_test_data): Likewise.
2266         (sinh_tonearest_test_data): Likewise.
2267         (sinh_towardzero_test_data): Likewise.
2268         (sinh_downward_test_data): Likewise.
2269         (sinh_upward_test_data): Likewise.
2270         (tan_test_data): Likewise.
2271         (tan_tonearest_test_data): Likewise.
2272         (tan_towardzero_test_data): Likewise.
2273         (tan_downward_test_data): Likewise.
2274         (tan_upward_test_data): Likewise.
2275         (tanh_test_data): Likewise.
2276         (tgamma_test_data): Likewise.
2277         (y0_test_data): Likewise.
2278         (y1_test_data): Likewise.
2279         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2280         (special_real_inputs): Add pi/4.
2281         * sysdeps/i386/fpu/libm-test-ulps: Update.
2282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2284 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2286         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2287         "longjmp_target" static probes.
2288         (__longjmp): Rename to __longjmp_symbol.
2289         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2290         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2291         on which longjmp to generate.
2292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2294         probe.
2295         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2296         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2297         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2298         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2299         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2300         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2302         __longjmp_symbol based on which __longjmp to generate.
2303         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2304         probe.
2305         (setjmp): Rename to setjmp_symbol.
2306         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2307         (_setjmp): Rename to _setjmp_symbol.
2308         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2309         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2310         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2311         which setjmp to generate.
2312         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2313         "longjmp_target" static probes.
2315 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2317         * benchtests/README: Add note about output arguments.
2318         * benchtests/bench-sincos.c: Remove file.
2319         * benchtests/sincos-inputs: New file.
2320         * scripts/bench.pl: Identify output arguments and define
2321         static variables for them.
2323         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2325         [BZ #15941]
2326         * Makefile (INSTALL): Add install-plain.texi as the primary
2327         dependency.
2328         * manual/install-plain.texi: New file.
2329         * manual/install.texi: Include node directive only for
2330         non-plaintext output.
2332 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2334         * stdlib/longlong.h: Update from GCC.
2336         [BZ #6807]
2337         [BZ #15901]
2338         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2339         * math/w_j0f.c (y0f): Likewise.
2340         * math/w_j0l.c (__y0l): Likewise.
2341         * math/w_j1.c (y1): Likewise.
2342         * math/w_j1f.c (y1f): Likewise.
2343         * math/w_j1l.c (__y1l): Likewise
2344         * math/w_jn.c (yn): Likewise.
2345         * math/w_jnf.c (ynf): Likewise.
2346         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2347         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2348         value for Bessel function domain errors outside _SVID_ mode.
2349         Adjust sign of return value for yn (negative integer, 0).
2350         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2351         by zero in return for negative x and set sign appropriately for
2352         negative n.
2353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2354         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2355         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2356         expectations in error cases.
2357         (y1_test_data): Likewise.
2358         (yn_test_data): Likewise.
2359         * sysdeps/i386/fpu/libm-test-ulps: Update.
2360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2362 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2364         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2365         "64" to "64-v1".  Add "64-v2".
2366         (abi-64-options): Rename to ...
2367         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2368         (abi-64-condition): Rename to ...
2369         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2370         (abi-64-ld-soname): Rename to ...
2371         (abi-64-v1-ld-soname): ... this.
2372         (abi-64-v2-options): Define.
2373         (abi-64-v2-condition): Likewise.
2374         (abi-64-v2-ld-soname): Likewise.
2375         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2376         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2381 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2382             Alan Modra  <amodra@gmail.com>
2384         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2385         New versions for use with the ELFv2 ABI.
2386         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2387         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2388         declaration.
2389         (struct La_ppc64v2_retval): Likewise.
2390         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2391         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2392         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2393         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2394         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2395         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2396         Do not save or restore CR.
2397         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2398         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2399         return values for ELFv2 ABI.  Fix location of FPR return registers.
2400         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2401         updated values for _CALL_ELF == 2.
2402         (La_regs, La_retval, int_retval): Likewise.
2404 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2406         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2407         (FRAME_MIN_SIZE_PARM): Likewise.
2408         (FRAME_BACKCHAIN): Likewise.
2409         (FRAME_CR_SAVE): Likewise.
2410         (FRAME_LR_SAVE): Likewise.
2411         (FRAME_TOC_SAVE): Likewise.
2412         (FRAME_PARM_SAVE): Likewise.
2413         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2414         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2415         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2416         (call_mcount_parm_offset): New macro.
2417         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2418         (PROF): Use symbolic stack frame offsets.
2419         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2420         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2421         Redefine in terms of FRAME_MIN_SIZE.
2422         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2423         (_dl_profile_resolve): Likewise.  Update comment.
2424         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2425         symbols stack frame offsets.
2426         (__sigsetjmp): Likewise.
2427         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2428         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2429         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2430         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2433         (FRAME_BACKCHAIN): Remove.
2434         (FRAME_CR_SAVE): Likewise.
2435         (FRAME_LR_SAVE): Likewise.
2436         (FRAME_COMPILER_DW): Likewise.
2437         (FRAME_LINKER_DW): Likewise.
2438         (FRAME_TOC_SAVE): Likewise.
2439         (FRAME_PARM_SAVE): Likewise.
2440         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2441         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2442         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2444         (CHECK_SP): Use symbolic stack frame offsets.
2445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2446         zone" instead of caller's parameter save area for temp storage.
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2448         Likewise.  Also, use symbolic stack frame offsets.
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2450         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2451         our own stack frame instead of the caller's.
2452         (__socket): Use symbolic stack frame offsets.
2454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2455             Alan Modra  <amodra@gmail.com>
2457         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2458         Define.
2459         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2460         PPC64_LOCAL_ENTRY_OFFSET): Define.
2461         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2462         New function.
2463         (elf_machine_fixup_plt): Call it.
2464         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2465         reloc arguments.
2466         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2467         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2468         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2469         r2 before calling target.
2471 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2472             Alan Modra  <amodra@gmail.com>
2474         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2475         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2476         versions of macros to support ELFv2 ABI.
2477         (LOCALENTRY): New macro.
2478         (ENTRY, EALIGN): Use it.
2479         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2480         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2481         fall through into ENTRY entry point.
2482         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2483         Only define if _CALL_ELF != 2.
2485         (elf_machine_matches_host): Verify ABI version matches.
2486         (RTLD_START): Use LOCALENTRY.
2487         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2488         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2489         (PLT_ENTRY_WORDS): New macro.
2490         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2491         (elf_machine_runtime_setup): Support ELFv2 ABI.
2492         (elf_machine_fixup_plt): Likewise.
2493         (elf_machine_plt_conflict): Likewise.
2494         (resolve_ifunc): Likewise.
2495         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2499         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2501         (makecontext): Support ELFv2 ABI.
2502         * elf/elf.h (EF_PPC64_ABI): Define.
2504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2506         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2507         New assembler macro.
2508         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2509         [ASSEMBLER] (ENTRY): ... but instead here ...
2510         [ASSEMBLER] (EALIGN): ... and here.
2511         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2512         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2513         [!ASSEMBLER] (ENTRY_2): Use it.
2514         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2515         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2517         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2518         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2520         Use PPC64_LOAD_FUNCPTR.
2522 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2524         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2526 2013-12-04  Alan Modra  <amodra@gmail.com>
2528         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2529         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2530         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2531         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2534         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2535         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2536         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2537         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2538         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2540 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2543         (__makecontext): Fix incorrect CFI when backtracing out of
2544         context created via makecontext.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2546         (__setcontext): Fix incorrect CFI during switch to new context.
2547         (__novec_setcontext): Likewise.
2549 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2551         [BZ #4772]
2552         * time/strptime_l.c (__strptime_internal): Allow modifiers
2553         in strptime.
2554         * time/tst-strptime.c (day_tests): Add testcase.
2557 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2559         * scripts/bench.pl: Skip over blank lines.
2561 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2563         [BZ #926]
2564         * manual/time.texi (Calendar Time): Clarify what timezone functions
2565         use.
2567 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2571 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2573         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2574         implementation.
2575         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2576         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2577         * debug/memset_chk.c (__memset_chk): Likewise.
2578         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2579         * debug/strncpy_chk.c: Likewise.
2581 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2583         [BZ #15268]
2584         [BZ #15425]
2585         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2586         (__ieee754_exp): For possibly underflowing results, check size of
2587         result and force underflow exception if required.
2588         * math/auto-libm-test-in: Add more tests of exp.
2589         * math/auto-libm-test-out: Regenerated.
2590         * sysdeps/i386/fpu/libm-test-ulps: Update.
2591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2593         [BZ #16283]
2594         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2595         * math/w_exp2f.c (__exp2f): Likewise.
2596         * math/w_exp2l.c (__exp2l): Likewise.
2597         * math/auto-libm-test-in: Do not allow missing errno on exp2
2598         underflow.
2599         * math/auto-libm-test-out: Regenerated.
2601 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2603         [BZ #16274]
2604         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2605         handle filename validation.
2606         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2607         (do_open): Delete.
2609 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2611         [BZ #6786]
2612         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2613         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2614         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2615         <float.h>.
2616         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2618         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2620         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2621         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2622         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2623         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2624         Add more erfc tests.
2625         * math/auto-libm-test-out: Regenerated.
2626         * sysdeps/i386/fpu/libm-test-ulps: Update.
2627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2629         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2630         exp2, expm1, j0 and j1.
2631         * math/auto-libm-test-out: Regenerated.
2632         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2633         (erfc_test_data): Likewise.
2634         (exp_test_data): Likewise.
2635         (exp_tonearest_test_data): Likewise.
2636         (exp_towardzero_test_data): Likewise.
2637         (exp_downward_test_data): Likewise.
2638         (exp_upward_test_data): Likewise.
2639         (exp10_test_data): Likewise.
2640         (exp2_test_data): Likewise.
2641         (expm1_test_data): Likewise.
2642         (j0_test_data): Likewise.
2643         (j1_test_data): Likewise.
2644         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2645         (input_flag_type): Add flag_xfail_rounding.
2646         (input_flags): Add xfail-rounding.
2647         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2648         (output_for_one_input_case): Handle flag_xfail_rounding.
2649         * sysdeps/i386/fpu/libm-test-ulps: Update.
2650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2652 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2654         [BZ #16289]
2655         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2656         division by 0.
2658 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2660         [BZ #16195]
2661         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2662         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2663         (STAP_PROBE0): New macro.
2664         (STAP_PROBE1): Likewise.
2665         (STAP_PROBE2): Likewise.
2666         (STAP_PROBE3): Likewise.
2667         (STAP_PROBE4): Likewise.
2669 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2671         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2673 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2675         * benchtests/Makefile (bench): Add sqrt.
2676         (LDLIBS-bench-sqrt): New.
2677         * benchtests/sqrt-input: New.
2679 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2681         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2682         (GAIH_EAI): Likewise.
2683         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2684         (gaih_inet): Likewise.
2685         (getaddrinfo): Don't use GAIH_EAI.
2687         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2688         (struct gaih): Remove definition.
2690 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2692         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2693         Use HERRNOP directly.
2695 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2699 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2701         * math/gen-auto-libm-tests.c (test_functions): Add more
2702         single-argument functions.
2703         (special_fill_pi_2): New function.
2704         (special_fill_minus_pi_2): Likewise.
2705         (special_fill_pi_6): Likewise.
2706         (special_fill_minus_pi_6): Likewise.
2707         (special_fill_pi_3): Likewise.
2708         (special_fill_2pi_3): Likewise.
2709         (special_fill_e): Likewise.
2710         (special_fill_1_e): Likewise.
2711         (special_fill_e_minus_1): Likewise.
2712         (special_real_inputs): Add more special inputs.
2713         (output_for_one_input_case): Do not require ERANGE on underflow to
2714         zero if round-to-nearest result does not underflow to zero, unless
2715         exact results required.
2716         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2717         atan, atanh, cbrt, cos and cosh.
2718         * math/auto-libm-test-out: Regenerated.
2719         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2720         (acos_tonearest_test_data): Likewise.
2721         (acos_towardzero_test_data): Likewise.
2722         (acos_downward_test_data): Likewise.
2723         (acos_upward_test_data): Likewise.
2724         (acosh_test_data): Likewise.
2725         (asin_test_data): Likewise.
2726         (asin_tonearest_test_data): Likewise.
2727         (asin_towardzero_test_data): Likewise.
2728         (asin_upward_test_data): Likewise.
2729         (asinh_test_data): Likewise.
2730         (atan_test_data): Likewise.
2731         (atanh_test_data): Likewise.
2732         (cbrt_test_data): Likewise.
2733         (cos_test_data): Likewise.
2734         (cos_tonearest_test_data): Likewise.
2735         (cos_towardzero_test_data): Likewise.
2736         (cos_downward_test_data): Likewise.
2737         (cos_upward_test_data): Likewise.
2738         (cosh_test_data): Likewise.
2739         (cosh_tonearest_test_data): Likewise.
2740         (cosh_towardzero_test_data): Likewise.
2741         (cosh_downward_test_data): Likewise.
2742         (cosh_upward_test_data): Likewise.
2743         * sysdeps/i386/fpu/libm-test-ulps: Update.
2744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2746 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2748         [BZ #6787]
2749         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2750         * math/w_exp10f.c (__exp10f): Likewise.
2751         * math/w_exp10l.c (__exp10l): Likewise.
2752         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2753         errno settings in existing tests.
2755         [BZ #14032]
2756         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2757         precision control set to double precision.
2758         * sysdeps/i386/fpu/w_sqrt.c: New file.
2759         * math/auto-libm-test-in: Add more tests.
2760         * math/auto-libm-test-out: Update.
2762         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2763         (sqrt_test_tonearest): New function.
2764         (sqrt_towardzero_test_data): New variable.
2765         (sqrt_test_towardzero): New function.
2766         (sqrt_downward_test_data): New variable.
2767         (sqrt_test_downward): New function.
2768         (sqrt_upward_test_data): New variable.
2769         (sqrt_test_upward): New function.
2770         (main): Call the new functions.
2772         * math/gen-auto-libm-tests.c: New file.
2773         * math/auto-libm-test-in: Likewise.
2774         * math/auto-libm-test-out: New generated file.
2775         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2776         variables.
2777         (%beautify): Add generated representations of zero.
2778         (top level): Set $auto_input and call parse_auto_input.
2779         (beautify): Remove trailing "f" from hex float constants.
2780         (parse_args): Handle XFAIL_TEST.
2781         (convert_condition): New function.
2782         (or_value): Likewise.
2783         (or_cond_value): Likewise.
2784         (generate_testfile): Handle AUTO_TESTS_* lines.
2785         (parse_auto_input): New function.
2786         * math/libm-test.inc (XFAIL_TEST): New macro.
2787         (ERRNO_UNCHANGED): Update value.
2788         (ERRNO_EDOM): Likewise.
2789         (ERRNO_ERANGE): Likewise.
2790         (IGNORE_RESULT): Likewise.
2791         (TEST_COND_flt_32): New macro.
2792         (TEST_COND_dbl_64): Likewise.
2793         (TEST_COND_ldbl_96_intel): Likewise.
2794         (TEST_COND_ldbl_96_m68k): Likewise.
2795         (TEST_COND_ldbl_128): Likewise.
2796         (TEST_COND_ldbl_128ibm): Likewise.
2797         (TEST_COND_long32): Likewise.
2798         (TEST_COND_long64): Likewise.
2799         (TEST_COND_before_rounding): Likewise.
2800         (TEST_COND_after_rounding): Likewise.
2801         (enable_test): Handle XFAIL_TEST flag.
2802         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2803         with finite results.
2804         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2805         auto-libm-test-out.
2807 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2808             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2810         [BZ #16214]
2811         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2812         __tls_get_addr_internal instead of __tls_get_offset in order to
2813         avoid GOT pointer dependency.  Make rtld export
2814         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2815         __tls_get_addr since we are a __tls_get_offset platform.
2816         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2817         GOT pointer being set up before.
2818         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2820 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2822         * manual/math.texi (Errors in Math Functions): Document accuracy
2823         goals.
2825         [BZ #15004]
2826         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2827         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2830         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2832         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2843         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2844         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2845         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2846         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2847         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2848         Likewise.
2849         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2850         Likewise.
2851         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2852         Likewise.
2853         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2854         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2855         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2856         atomic-feupdateenv and flt-rounds.
2857         * sysdeps/powerpc/nofpu/Versions (libc): Add
2858         __atomic_feholdexcept, __atomic_feclearexcept,
2859         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2861         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2863         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2864         here.
2865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2866         Update.
2868         * manual/arith.texi (FP Exceptions): Document that exceptions may
2869         not be raised when matherr is used.
2870         (Math Error Reporting): Document overflow in directed rounding
2871         modes.  Document that errno may not be set when finite values are
2872         returned on overflow.  Document intent to set errno on underflow
2873         only for underflow to zero.
2875         [BZ #16271]
2876         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2877         round-to-nearest then adjust result for other rounding modes.
2878         * include/fenv.h (fegetround): Use libm_hidden_proto.
2879         * math/fegetround.c (fegetround): Use libm_hidden_def.
2880         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2881         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2882         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2884         Likewise.
2885         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2887         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2888         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2890 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2892         [BZ #16077]
2893         * nss/Versions (libnss_files): Add
2894         _nss_files_gethostbyname3_r.
2895         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2896         New function.
2897         (HOST_DB_LOOKUP): Remove macro.
2898         (_nss_files_gethostbyname_r): Implement function without the
2899         HOST_DB_LOOKUP macro.
2900         (_nss_files_gethostbyname2_r): Likewise.
2902 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2904         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2906 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2908         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2909         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2910         warning.
2912 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2914         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2915         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2916         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2917         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2918         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2919         __fe_nomask_env_priv and attribute_hidden.
2920         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2921         (libc_feupdateenv_test_ppc): Likewise.
2922         (libc_feresetround_ppc): Likewise.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2924         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2925         compat_symbol macro.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2927         (__fe_nomask_env): Likewise.
2928         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2930 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2932         * string/Makefile: Remove ifunc tests.
2933         * string/test-string.h: Define TEST_IFUNC.
2934         * string/test-bcopy-ifunc.c: Remove.
2935         * string/test-bzero-ifunc.c: Likewise.
2936         * string/test-memccpy-ifunc.c: Likewise.
2937         * string/test-memchr-ifunc.c: Likewise.
2938         * string/test-memcmp-ifunc.c: Likewise.
2939         * string/test-memcpy-ifunc.c: Likewise.
2940         * string/test-memmem-ifunc.c: Likewise.
2941         * string/test-memmove-ifunc.c: Likewise.
2942         * string/test-mempcpy-ifunc.c: Likewise.
2943         * string/test-memrchr-ifunc.c: Likewise.
2944         * string/test-memset-ifunc.c: Likewise.
2945         * string/test-rawmemchr-ifunc.c: Likewise.
2946         * string/test-stpcpy-ifunc.c: Likewise.
2947         * string/test-stpncpy-ifunc.c: Likewise.
2948         * string/test-strcasecmp-ifunc.c: Likewise.
2949         * string/test-strcasestr-ifunc.c: Likewise.
2950         * string/test-strcat-ifunc.c: Likewise.
2951         * string/test-strchr-ifunc.c: Likewise.
2952         * string/test-strchrnul-ifunc.c: Likewise.
2953         * string/test-strcmp-ifunc.c: Likewise.
2954         * string/test-strcpy-ifunc.c: Likewise.
2955         * string/test-strcspn-ifunc.c: Likewise.
2956         * string/test-strlen-ifunc.c: Likewise.
2957         * string/test-strncasecmp-ifunc.c: Likewise.
2958         * string/test-strncat-ifunc.c: Likewise.
2959         * string/test-strncmp-ifunc.c: Likewise.
2960         * string/test-strncpy-ifunc.c: Likewise.
2961         * string/test-strnlen-ifunc.c: Likewise.
2962         * string/test-strpbrk-ifunc.c: Likewise.
2963         * string/test-strrchr-ifunc.c: Likewise.
2964         * string/test-strspn-ifunc.c: Likewise.
2965         * string/test-strstr-ifunc.c: Likewise.
2967 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2969         * benchtests/Makefile: Remove ifunc tests.
2970         * benchtests/bench-string.h: Define TEST_IFUNC.
2971         * benchtests/bench-bcopy-ifunc.c: Remove.
2972         * benchtests/bench-bzero-ifunc.c: Likewise.
2973         * benchtests/bench-memccpy-ifunc.c: Likewise.
2974         * benchtests/bench-memchr-ifunc.c: Likewise.
2975         * benchtests/bench-memcmp-ifunc.c: Likewise.
2976         * benchtests/bench-memcpy-ifunc.c: Likewise.
2977         * benchtests/bench-memmem-ifunc.c: Likewise.
2978         * benchtests/bench-memmove-ifunc.c: Likewise.
2979         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2980         * benchtests/bench-memrchr-ifunc.c: Likewise.
2981         * benchtests/bench-memset-ifunc.c: Likewise.
2982         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2983         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2984         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2985         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2986         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2987         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2988         * benchtests/bench-strcat-ifunc.c: Likewise.
2989         * benchtests/bench-strchr-ifunc.c: Likewise.
2990         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2991         * benchtests/bench-strcmp-ifunc.c: Likewise.
2992         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2993         * benchtests/bench-strcpy-ifunc.c: Likewise.
2994         * benchtests/bench-strcspn-ifunc.c: Likewise.
2995         * benchtests/bench-strlen-ifunc.c: Likewise.
2996         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2997         * benchtests/bench-strncat-ifunc.c: Likewise.
2998         * benchtests/bench-strncmp-ifunc.c: Likewise.
2999         * benchtests/bench-strncpy-ifunc.c: Likewise.
3000         * benchtests/bench-strnlen-ifunc.c: Likewise.
3001         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3002         * benchtests/bench-strrchr-ifunc.c: Likewise.
3003         * benchtests/bench-strsep-ifunc.c: Likewise.
3004         * benchtests/bench-strspn-ifunc.c: Likewise.
3005         * benchtests/bench-strstr-ifunc.c: Likewise.
3007 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3009         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3011 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3013         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3014         * rt/aio.h: Likewise.
3015         * sysdeps/gnu/bits/utmp.h: Likewise.
3016         * sysdeps/gnu/bits/utmpx.h: Likewise.
3017         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3018         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3019         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3020         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3021         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3022         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3023         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3024         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3025         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3026         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3027         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3028         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3029         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3031         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3032         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3033         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3034         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3035         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3036         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3037         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3038         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3039         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3040         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3041         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3043         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3044         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3045         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3046         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3047         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3048         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3049         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3050         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3051         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3052         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3053         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3054         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3055         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3056         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3057         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3058         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3060 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3062         [BZ #16245]
3063         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3064         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3066 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3068         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3069         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3070         Likewise.
3072 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3075         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3076         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3077         (__fesetround): Remove define.
3078         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3079         rounding and exceptions handling.
3080         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3081         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3082         (__fe_nomask_env): Likewise.
3083         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3084         __fegetround instead of fegetround.
3085         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3086         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3088 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3090         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3091         it's there.
3093         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3095 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3097         [BZ #11157]
3098         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3099         (encrypt_r): Likewise.
3100         * malloc/obstack.h (obstack_free): Likewise.
3101         * posix/unistd.h (encrypt): Likewise.
3103 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3105         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3106         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3107         DL_CALL_DT_FINI() that call the functions directly.
3108         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3109         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3110         * elf/dl-fini.c: Likewise.
3112 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3114         * malloc/hooks.c (memalign_check): Add alignment rounding.
3115         * malloc/malloc.c (_mid_memalign): New function.
3116         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3117         Implement by calling _mid_memalign.
3118         * manual/probes.texi (Memory Allocation Probes): Remove
3119         memory_valloc_retry and memory_pvalloc_retry.
3121 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3123         * locale/programs/locarchive.c (open_archive): Add const
3124         qualifier to ARCHIVEFNAME and copy default fname to
3125         DEFAULT_FNAME.
3127         [BZ #15601]
3128         * libio/tst-widetext.input: Rename Oriya to Odia.
3129         * locale/iso-639.def: Likewise.
3131         * manual/probes.texi (Mathematical Function Probes): Add
3132         documentation for sin, cos, asin and acos probes.
3133         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3134         (__sin32): Add slowasin probe.
3135         (__cos32): Add slowacos probe.
3136         (__mpsin): Add slowsin probe.
3137         (__mpcos): Add slowcos probe.
3139 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3141         [BZ #15483]
3142         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3143         thread-local __sim_exceptions_thread and global
3144         __sim_exceptions_global.
3145         (__sim_disabled_exceptions): Change to thread-local
3146         __sim_disabled_exceptions_thread and global
3147         __sim_disabled_exceptions_global.
3148         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3149         and global __sim_round_mode_global.
3150         (__simulate_exceptions): Use thread-local floating-point state and
3151         set global state from it as needed.
3152         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3153         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3154         __sim_round_mode_thread.
3155         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3156         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3157         and global __sim_exceptions_global.
3158         (__sim_disabled_exceptions): Change to thread-local
3159         __sim_disabled_exceptions_thread and global
3160         __sim_disabled_exceptions_global.
3161         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3162         and global __sim_round_mode_global.
3163         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3164         (SIM_SET_GLOBAL): Likewise.
3165         * sysdeps/powerpc/soft-fp/sfp-machine.h
3166         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3167         __sim_round_mode_thread.
3168         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3169         __sim_disabled_exceptions_thread.
3170         (__sim_exceptions): Change to __sim_exceptions_thread.
3171         (__sim_disabled_exceptions): Change to
3172         __sim_disabled_exceptions_thread.
3173         (__sim_round_mode): Change to __sim_round_mode_thread.
3174         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3175         thread-local floating-point state and set global state from it as
3176         needed.
3177         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3178         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3179         (__sim_disabled_exceptions): Remove extern declaration.
3180         (feenableexcept): Use thread-local floating-point state and set
3181         global state from it as needed.
3182         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3183         extern declaration.
3184         (__sim_disabled_exceptions): Likewise.
3185         (__sim_round_mode): Likewise.
3186         (__fegetenv): Use thread-local floating-point state.
3187         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3188         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3189         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3190         floating-point state and set global state from it as needed.
3191         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3192         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3193         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3194         Likewise.
3195         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3196         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3197         Likewise.
3198         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3199         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3200         Use __sim_round_mode_thread.
3201         * math/test-fenv-tls.c: New file.
3202         * math/Makefile (tests): Add test-fenv-tls.
3203         ($(objpfx)test-fenv-tls): Depend on
3204         $(common-objpfx)nptl/libpthread.so.
3206 2013-11-19  Andreas Schwab  <schwab@suse.de>
3208         * locale/programs/locale.c (show_info): Decode wordarray elements.
3209         * locale/categories.def (LC_MONETARY): Add element for
3210         _NL_MONETARY_CRNCYSTR.
3211         * locale/C-monetary.c (conversion_rate): New variable.
3212         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3213         element.
3215 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3217         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3218         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3220 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3222         * elf/Makefile (tst-auxv): New test.
3223         * elf/tst-auxv.c: New
3224         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3226 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3228         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3229         (hidden_proto): Caller changed.
3230         (hidden_tls_proto): New macro.
3231         (libc_hidden_tls_proto): Likewise.
3232         (rtld_hidden_tls_proto): Likewise.
3233         (libm_hidden_tls_proto): Likewise.
3234         (libresolv_hidden_tls_proto): Likewise.
3235         (librt_hidden_tls_proto): Likewise.
3236         (libdl_hidden_tls_proto): Likewise.
3237         (libnss_files_hidden_tls_proto): Likewise.
3238         (libnsl_hidden_tls_proto): Likewise.
3239         (libnss_nisplus_hidden_tls_proto): Likewise.
3240         (libutil_hidden_tls_proto): Likewise.
3242 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3244         [BZ #10253]
3245         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3246         (decompose_rpath): Defer expansion to fillin_rpath.
3247         (_dl_init_paths): Pass linkmap to fillin_rpath.
3249 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3251         * benchtests/Makefile: Add strsep.
3252         * benchtests/bench-strsep.c: New file: strsep benchtest.
3253         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3255 2013-11-18  Andreas Schwab  <schwab@suse.de>
3257         * locale/programs/locale.c (show_info) [case byte]: Check for
3258         '\377' instead of '\177'.
3259         * locale/C-monetary.c (not_available): Always use "\377".
3260         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3261         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3262         detect unavailable sign_posn locale elements.
3263         * locale/localeconv.c (__localeconv): For grouping and
3264         mon_grouping handle "\177" and "\377" like no grouping.
3265         (INT_ELEM): New macro.  Use it to set all numeric members.
3266         * locale/programs/ld-monetary.c (monetary_read)
3267         <tok_mon_grouping>: Normalize single -1 to the empty string.
3268         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3269         Likewise.
3271 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3273         [BZ #16055]
3274         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3275         when we match (nil).
3276         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3278 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3280         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3281         (NO_TEST_INLINE): Update value.
3282         (ERRNO_UNCHANGED): Likewise.
3283         (ERRNO_EDOM): Likewise.
3284         (ERRNO_ERANGE): Likewise.
3285         (IGNORE_RESULT): Likewise.
3286         (check_float_internal): Check signs of NaN results if
3287         TEST_NAN_SIGN used.
3288         (check_complex): Pass TEST_NAN_SIGN flag through to second
3289         check_float_internal call.
3290         (copysign_test_data): Add tests with quiet NaNs as second
3291         argument.  Use TEST_NAN_SIGN.
3292         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3293         TEST_NAN_SIGN.
3294         (signbit_test_data): Add tests of quiet NaN argument.
3295         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3297         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3298         $ignore_result.
3299         (parse_args): Handle function results specified as IGNORE.
3300         * math/libm-test.inc (IGNORE_RESULT): New macro.
3301         (check_float_internal): Do not check numerical result if flag
3302         IGNORE_RESULT set.
3303         (check_complex): Pass through IGNORE_RESULT to second
3304         check_float_internal call.
3305         (check_int): Do not check numerical result if flag IGNORE_RESULT
3306         set.
3307         (check_long): Likewise.
3308         (check_bool): Likewise.
3309         (check_longlong): Likewise.
3310         (lrint_test_data): Add tests of infinite and NaN arguments.
3311         (lrint_tonearest_test_data): Likewise.
3312         (lrint_towardzero_test_data): Likewise.
3313         (lrint_downward_test_data): Likewise.
3314         (lrint_upward_test_data): Likewise.
3315         (llrint_test_data): Likewise.
3316         (llrint_tonearest_test_data): Likewise.
3317         (llrint_towardzero_test_data): Likewise.
3318         (llrint_downward_test_data): Likewise.
3319         (llrint_upward_test_data): Likewise.
3320         (lround_test_data): Likewise.
3321         (llround_test_data): Likewise.
3323         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3324         (ERRNO_UNCHANGED): Update value.
3325         (ERRNO_EDOM): Likewise.
3326         (ERRNO_ERANGE): Likewise.
3327         (NO_TEST_INLINE_FLOAT): New macro.
3328         (NO_TEST_INLINE_DOUBLE): Likewise.
3329         (enable_test): New function.
3330         (RUN_TEST_f_f): Check enable_test before running test.
3331         (RUN_TEST_2_f): Likewise.
3332         (RUN_TEST_fff_f): Likewise.
3333         (RUN_TEST_c_f): Likewise.
3334         (RUN_TEST_f_f1): Likewise.
3335         (RUN_TEST_fF_f1): Likewise.
3336         (RUN_TEST_fI_f1): Likewise.
3337         (RUN_TEST_ffI_f1): Likewise.
3338         (RUN_TEST_c_c): Likewise.
3339         (RUN_TEST_cc_c): Likewise.
3340         (RUN_TEST_f_i): Likewise.
3341         (RUN_TEST_f_i_tg): Likewise.
3342         (RUN_TEST_ff_i_tg): Likewise.
3343         (RUN_TEST_f_b): Likewise.
3344         (RUN_TEST_f_b_tg): Likewise.
3345         (RUN_TEST_f_l): Likewise.
3346         (RUN_TEST_f_L): Likewise.
3347         (RUN_TEST_fFF_11): Likewise.
3348         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3349         conditionals.
3350         (cosh_test_data): Likewise.
3351         (exp_test_data): Likewise.
3352         (expm1_test_data): Likewise.
3353         (hypot_test_data): Likewise.
3354         (pow_test_data): Likewise.
3355         (sinh_test_data): Likewise.
3356         (tanh_test_data): Likewise.
3357         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3358         flags argument.
3360         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3361         tests with quiet NaN input and output.
3362         (acosh_test_data): Likewise.
3363         (asin_test_data): Likewise.
3364         (asinh_test_data): Likewise.
3365         (atan_test_data): Likewise.
3366         (atanh_test_data): Likewise.
3367         (atan2_test_data): Likewise.
3368         (cbrt_test_data): Likewise.
3369         (cos_test_data): Likewise.
3370         (cosh_test_data): Likewise.
3371         (erf_test_data): Likewise.
3372         (erfc_test_data): Likewise.
3373         (exp_test_data): Likewise.
3374         (exp10_test_data): Likewise.
3375         (exp2_test_data): Likewise.
3376         (expm1_test_data): Likewise.
3377         (hypot_test_data): Likewise.
3378         (j0_test_data): Likewise.
3379         (j1_test_data): Likewise.
3380         (jn_test_data): Likewise.
3381         (lgamma_test_data): Likewise.
3382         (log_test_data): Likewise.
3383         (log10_test_data): Likewise.
3384         (log1p_test_data): Likewise.
3385         (log2_test_data): Likewise.
3386         (pow_test_data): Likewise.
3387         (scalb_test_data): Likewise.
3388         (sin_test_data): Likewise.
3389         (sincos_test_data): Likewise.
3390         (sinh_test_data): Likewise.
3391         (tan_test_data): Likewise.
3392         (tanh_test_data): Likewise.
3393         (tgamma_test_data): Likewise.
3394         (y0_test_data): Likewise.
3395         (y1_test_data): Likewise.
3396         (yn_test_data): Likewise.
3398         [BZ #16167]
3399         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3400         argument being NaN and avoid computations with second argument in
3401         that case.
3402         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3403         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3404         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3406 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3408         * locale/iso-639.def: Add Chitwani Tharu (the).
3410 2013-11-14  Andreas Schwab  <schwab@suse.de>
3412         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3413         word instead of empty string.
3415 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3418         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3420         (__fe_nomask_env): Likewise.
3422 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3424         * benchtests/bench-timing.h: Include time.h.
3426 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3428         [BZ #15997]
3429         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3430         to 3.4.0 for x32.
3431         * sysdeps/unix/sysv/linux/configure: Regenerated.
3433 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3435         [BZ #16151]
3436         * stdlib/strtod_l.c (round_and_return): Do not consider
3437         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3438         exponent one less than half the least subnormal exponent.
3439         * stdlib/test-strtod-round-data: Add more tests.
3440         * stdlib/tst-strtod-round.c (tests): Regenerated.
3442 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3444         [BZ #14143]
3445         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3446         (__fe_mask_env): Likewise.
3447         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3448         libm_hidden_proto and add function prototype.
3449         (__fe_mask_env): Add function prototype.
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3451         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3453         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3455         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3457 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3459         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3460         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3462 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3464         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3465         of htab_find_slot().
3467 2013-11-11  David S. Miller  <davem@davemloft.net>
3469         [BZ #16150]
3470         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3471         symbol in the non-vis3 case in static builds.
3472         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3473         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3474         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3475         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3477 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3479         [BZ #387]
3480         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3481         it is empty.
3483 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3485         * benchtests/Makefile: Add bench-strtod.
3486         * benchtests/bench-strtod.c: New file: strtod benchtest
3488 2013-11-11  Andreas Schwab  <schwab@suse.de>
3490         [BZ #16153]
3491         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3492         terminating NUL in key length.
3494 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3497         Add artificial ODP entry for vDSO symbol for PPC64.
3498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3499         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3501 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3503         [BZ #15374]
3504         * nss/getent.c (services_keys): Recognize services starting with digit.
3506 2013-11-06  David S. Miller  <davem@davemloft.net>
3508         [BZ #15985]
3509         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3510         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3512 2013-11-06  Will Newton  <will.newton@linaro.org>
3514         * manual/memory.texi (Malloc Examples): Remove register
3515         keyword from examples.
3517 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3519         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3521 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3523         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3524         depending on [__GCC_IEC_559 > 0].
3525         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3526         depending on [__GCC_IEC_559_COMPLEX > 0].
3528 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3530         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3531         to iso-639.def.
3533 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3535         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3537 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3539         [BZ #16112]
3540         * malloc/malloc (malloc_info): Do not handle first bin as
3541         special case.
3543 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3545         * locale/iso-639.def: Add Central Nahuatl (nhn).
3547 2013-11-01  Bruno Haible  <bruno@clisp.org>
3549         [BZ #7003]
3550         * manual/math.texi (BSD Random): Specify range upper bound as
3551         in POSIX.
3553 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3555         * locale/iso-639.def: Add Meadow Mari (mhr).
3557 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3559         [BZ #14752], [BZ #15763]
3560         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3561         Validate name.
3562         * rt/tst_shm.c: Add test for escaping directory.
3564 2013-10-31  Andreas Schwab  <schwab@suse.de>
3566         [BZ #15917]
3567         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3568         followed by 'x' as part of digit sequence.
3569         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3571 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3573         [BZ #16037]
3574         * configure.ac: allow GNU Make 4.0 and greater.
3575         * configure: Regenerated.
3577 2013-10-30  Will Newton  <will.newton@linaro.org>
3579         [BZ #16038]
3580         * malloc/hooks.c (memalign_check): Limit alignment to the
3581         maximum representable power of two.
3582         * malloc/malloc.c (__libc_memalign): Likewise.
3583         * malloc/tst-memalign.c (do_test): Add test for very
3584         large alignment values.
3585         * malloc/tst-posix_memalign.c (do_test): Likewise.
3587 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3589         [BZ #11087]
3590         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3591         (munmap_chunk): Likewise.
3592         (mremap_chunk): Likewise.
3594 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3596         [BZ #15799]
3597         * stdlib/div.c (div): Remove obsolete code.
3598         * stdlib/ldiv.c (ldiv): Likewise.
3599         * stdlib/lldiv.c (lldiv): Likewise.
3601 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3603         [BZ #16071]
3604         * nss/nss_files/files-XXX.c (get_contents_ret): New
3605         enumerator.
3606         (get_contents): New function.
3607         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3609 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3611         * configure.in: Moved to ...
3612         * configure.ac: ... here. Change reference to configure.in
3613         to configure.ac.
3614         * sysdeps/arm/preconfigure.ac: ... here.
3615         configure.in to configure.ac.
3616         * sysdeps/gnu/configure.in: Moved to ...
3617         * sysdeps/gnu/configure.ac: ... here.
3618         * sysdeps/i386/configure.in: Moved to ...
3619         * sysdeps/i386/configure.ac: ... here.
3620         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3621         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3622         * sysdeps/mach/configure.in: Moved to ...
3623         * sysdeps/mach/configure.ac: ... here.
3624         * sysdeps/mach/hurd/configure.in: Moved to ...
3625         * sysdeps/mach/hurd/configure.ac: ... here.
3626         * sysdeps/powerpc/configure.in: Moved to ...
3627         * sysdeps/powerpc/configure.ac: ... here.
3628         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3629         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3630         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3631         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3632         * sysdeps/s390/s390-32/configure.in: Moved to ...
3633         * sysdeps/s390/s390-32/configure.ac: ... here.
3634         * sysdeps/s390/s390-64/configure.in: Moved to ...
3635         * sysdeps/s390/s390-64/configure.ac: ... here.
3636         * sysdeps/sh/configure.in: Moved to ...
3637         * sysdeps/sh/configure.ac: ... here.
3638         * sysdeps/sparc/configure.in: Moved to ...
3639         * sysdeps/sparc/configure.ac: ... here.
3640         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3641         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3642         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3643         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3644         * sysdeps/x86_64/configure.in: Moved to ...
3645         * sysdeps/x86_64/configure.ac: ... here.
3646         * sysdeps/x86_64/preconfigure.in: Moved to ...
3647         * sysdeps/x86_64/preconfigure.ac: ... here.
3648         * aclocal.m4: Change reference to configure.in to configure.ac.
3649         * config.h.in: Likewise.
3650         * manual/install.texi: Likewise.
3651         * manual/maint.texi: Likewise.
3652         * Makefile: Likewise.
3653         * malloc/Makefile: Likewise.
3654         * nscd/Makefile: Likewise.
3655         * Makeconfig: Change reference to configure.in and
3656         preconfigure.in to configure.ac and preconfigure.ac
3657         respectively.
3658         * INSTALL: Regenerated.
3659         * configure: Likewise.
3660         * sysdeps/gnu/configure: Likewise.
3661         * sysdeps/i386/configure: Likewise.
3662         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3663         * sysdeps/mach/configure: Likewise.
3664         * sysdeps/mach/hurd/configure: Likewise.
3665         * sysdeps/powerpc/configure: Likewise.
3666         * sysdeps/powerpc/powerpc32/configure: Likewise.
3667         * sysdeps/powerpc/powerpc64/configure: Likewise.
3668         * sysdeps/s390/s390-32/configure: Likewise.
3669         * sysdeps/s390/s390-64/configure: Likewise.
3670         * sysdeps/sh/configure: Likewise.
3671         * sysdeps/sparc/configure: Likewise.
3672         * sysdeps/unix/sysv/linux/configure: Likewise.
3673         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3674         * sysdeps/x86_64/configure: Likewise.
3675         * sysdeps/x86_64/preconfigure: Likewise.
3677 2013-10-29  Andreas Schwab  <schwab@suse.de>
3679         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3681 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3683         * benchtests/pow-inputs: Add new inputs.
3685         * benchtests/exp-inputs: Add new inputs.
3687         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3688         conditional check for return value.
3689         (__cos32): Likewise.
3691 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3693         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3694         to provide a boost for large inputs with word alignment.
3695         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3696         implementation based on optimized PPC64 strcpy.
3697         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3698         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3699         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3700         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3702 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3704         [BZ #2801]
3705         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3707 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3709         [BZ #14876]
3710         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3711         * time/tst-strptime.c (day_tests): Add testcase.
3713 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3715         [BZ #14029]
3716         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3718 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3720         [BZ #16074]
3721         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3722         MAP_FAILED on error.
3724 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3726         [BZ #16072]
3727         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3728         heap for large requests.
3730 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3732         [BZ #9954]
3733         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3734         result if the result has no associated interface.
3735         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3736         interface for all 127.X.Y.Z addresses.
3738 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3740         * locale/iso-639.def: Add Ligurian (lij)
3742 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3744         [BZ #15825]
3745         * sunrpc/rpc_main.c: Document rpcgen -5.
3747 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3749         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3751 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3753         [BZ #10278]
3754         * posix/glob.c: Match only directories when trailing slash is present.
3755         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3756         (main): Add testcase.
3758 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3760         [BZ #15670]
3761         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3763 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3765         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3766         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3767         AUTH_DES and cindex for FIPS 140-2.
3768         (DES Encryption): Add cindex FIPS 46-3.
3770         * locale/locarchive.h (struct locarhandle): Add fname.
3771         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3772         if an optional argument was specified to --list-archive,
3773         otherwise NULL.
3774         * locale/programs/locarchive.c (show_archive_content): Take new
3775         argument fname and pass it via ah.fname to open_archive.
3776         * locale/programs/localedef.h: Update decl.
3777         (open_archive): If AH->fname is non-null, open that file
3778         rather than the default file name, and don't ignore ENOENT.
3779         (create_archive): Set AH.fname to NULL.
3780         (delete_locales_from_archive): Likewise.
3781         (add_locales_to_archive): Likewise.
3782         * locale/programs/locfile.c (write_all_categories): Likewise.
3784 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3785             Aldy Hernandez  <aldyh@redhat.com>
3787         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3788         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3789         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3790         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3791         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3792         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3793         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3795         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3796         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3797         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3798         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3799         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3800         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3801         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3802         Likewise.
3803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3804         Likewise.
3805         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3806         Likewise.
3807         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3808         Likewise.
3809         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3810         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3811         Likewise.
3812         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3813         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3814         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3815         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3816         Likewise.
3817         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3818         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3819         * sysdeps/powerpc/preconfigure: Likewise.
3820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3821         Likewise.
3822         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3823         Replace contents of file by #include of <fenv_libc.h>.
3824         * sysdeps/powerpc/soft-fp/sfp-machine.h
3825         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3826         and <sys/prctl.h>.
3827         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3829         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3840         Allow copysignl PLT reference to be missing.
3842 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3843             Joseph Myers  <joseph@codesourcery.com
3845         [BZ #15948]
3846         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3847         single character.
3848         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3850 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3852         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3853         * elf/tst-tls1.c: Likewise.
3854         * elf/tst-tls10.h: Likewise.
3855         * elf/tst-tls14.c: Likewise.
3856         * elf/tst-tls2.c: Likewise.
3857         * elf/tst-tls3.c: Likewise.
3858         * elf/tst-tls4.c: Likewise.
3859         * elf/tst-tls5.c: Likewise.
3860         * elf/tst-tls6.c: Likewise.
3861         * elf/tst-tls7.c: Likewise.
3862         * elf/tst-tls8.c: Likewise.
3863         * elf/tst-tls9.c: Likewise.
3864         * elf/tst-tlsmod1.c: Likewise.
3865         * elf/tst-tlsmod13.c: Likewise.
3866         * elf/tst-tlsmod13a.c: Likewise.
3867         * elf/tst-tlsmod14a.c: Likewise.
3868         * elf/tst-tlsmod16a.c: Likewise.
3869         * elf/tst-tlsmod16b.c: Likewise.
3870         * elf/tst-tlsmod2.c: Likewise.
3871         * elf/tst-tlsmod3.c: Likewise.
3872         * elf/tst-tlsmod4.c: Likewise.
3873         * elf/tst-tlsmod5.c: Likewise.
3874         * elf/tst-tlsmod6.c: Likewise.
3876 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3878         [BZ #12486]
3879         * malloc/malloc.c: remove checks for statistics.
3881 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3883         [BZ #15277]
3884         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3885         * inet/tst-network.c: Add testcase.
3887 2013-10-17  Andreas Schwab  <schwab@suse.de>
3889         [BZ #15218]
3890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3891         to determine canonical name.
3893 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3895         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3896         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3898         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3900         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3901         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3902         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3903         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3904         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3905         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3906         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3907         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3908         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3909         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3910         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3911         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3912         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3913         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3914         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3915         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3918         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3919         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3920         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3921         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3922         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3923         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3924         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3925         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3926         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3927         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3928         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3929         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3930         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3931         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3932         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3933         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3934         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3935         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3936         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3937         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3938         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3939         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3940         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3941         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3942         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3943         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3944         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3945         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3946         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3947         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3948         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3949         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3950         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3951         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3952         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3954 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3956         [BZ #16041]
3957         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3958         make result into a quiet NaN.
3960 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3962         * soft-fp/adddf3.c: Fix horizontal whitespace.
3963         * soft-fp/addsf3.c: Likewise.
3964         * soft-fp/addtf3.c: Likewise.
3965         * soft-fp/divdf3.c: Likewise.
3966         * soft-fp/divsf3.c: Likewise.
3967         * soft-fp/divtf3.c: Likewise.
3968         * soft-fp/double.h: Likewise.
3969         * soft-fp/eqdf2.c: Likewise.
3970         * soft-fp/eqsf2.c: Likewise.
3971         * soft-fp/eqtf2.c: Likewise.
3972         * soft-fp/extenddftf2.c: Likewise.
3973         * soft-fp/extended.h: Likewise.
3974         * soft-fp/extendsfdf2.c: Likewise.
3975         * soft-fp/extendsftf2.c: Likewise.
3976         * soft-fp/extendxftf2.c: Likewise.
3977         * soft-fp/fixdfdi.c: Likewise.
3978         * soft-fp/fixdfsi.c: Likewise.
3979         * soft-fp/fixdfti.c: Likewise.
3980         * soft-fp/fixsfdi.c: Likewise.
3981         * soft-fp/fixsfsi.c: Likewise.
3982         * soft-fp/fixsfti.c: Likewise.
3983         * soft-fp/fixtfdi.c: Likewise.
3984         * soft-fp/fixtfsi.c: Likewise.
3985         * soft-fp/fixtfti.c: Likewise.
3986         * soft-fp/fixunsdfdi.c: Likewise.
3987         * soft-fp/fixunsdfsi.c: Likewise.
3988         * soft-fp/fixunsdfti.c: Likewise.
3989         * soft-fp/fixunssfdi.c: Likewise.
3990         * soft-fp/fixunssfsi.c: Likewise.
3991         * soft-fp/fixunssfti.c: Likewise.
3992         * soft-fp/fixunstfdi.c: Likewise.
3993         * soft-fp/fixunstfsi.c: Likewise.
3994         * soft-fp/fixunstfti.c: Likewise.
3995         * soft-fp/floatdidf.c: Likewise.
3996         * soft-fp/floatdisf.c: Likewise.
3997         * soft-fp/floatditf.c: Likewise.
3998         * soft-fp/floatsidf.c: Likewise.
3999         * soft-fp/floatsisf.c: Likewise.
4000         * soft-fp/floatsitf.c: Likewise.
4001         * soft-fp/floattidf.c: Likewise.
4002         * soft-fp/floattisf.c: Likewise.
4003         * soft-fp/floattitf.c: Likewise.
4004         * soft-fp/floatundidf.c: Likewise.
4005         * soft-fp/floatundisf.c: Likewise.
4006         * soft-fp/floatunditf.c: Likewise.
4007         * soft-fp/floatunsidf.c: Likewise.
4008         * soft-fp/floatunsisf.c: Likewise.
4009         * soft-fp/floatunsitf.c: Likewise.
4010         * soft-fp/floatuntidf.c: Likewise.
4011         * soft-fp/floatuntisf.c: Likewise.
4012         * soft-fp/floatuntitf.c: Likewise.
4013         * soft-fp/fmadf4.c: Likewise.
4014         * soft-fp/fmasf4.c: Likewise.
4015         * soft-fp/fmatf4.c: Likewise.
4016         * soft-fp/gedf2.c: Likewise.
4017         * soft-fp/gesf2.c: Likewise.
4018         * soft-fp/getf2.c: Likewise.
4019         * soft-fp/ledf2.c: Likewise.
4020         * soft-fp/lesf2.c: Likewise.
4021         * soft-fp/letf2.c: Likewise.
4022         * soft-fp/muldf3.c: Likewise.
4023         * soft-fp/mulsf3.c: Likewise.
4024         * soft-fp/multf3.c: Likewise.
4025         * soft-fp/negdf2.c: Likewise.
4026         * soft-fp/negsf2.c: Likewise.
4027         * soft-fp/negtf2.c: Likewise.
4028         * soft-fp/op-1.h: Likewise.
4029         * soft-fp/op-2.h: Likewise.
4030         * soft-fp/op-4.h: Likewise.
4031         * soft-fp/op-8.h: Likewise.
4032         * soft-fp/op-common.h: Likewise.
4033         * soft-fp/quad.h: Likewise.
4034         * soft-fp/single.h: Likewise.
4035         * soft-fp/soft-fp.h: Likewise.
4036         * soft-fp/sqrtdf2.c: Likewise.
4037         * soft-fp/sqrtsf2.c: Likewise.
4038         * soft-fp/sqrttf2.c: Likewise.
4039         * soft-fp/subdf3.c: Likewise.
4040         * soft-fp/subsf3.c: Likewise.
4041         * soft-fp/subtf3.c: Likewise.
4042         * soft-fp/truncdfsf2.c: Likewise.
4043         * soft-fp/trunctfdf2.c: Likewise.
4044         * soft-fp/trunctfsf2.c: Likewise.
4045         * soft-fp/trunctfxf2.c: Likewise.
4046         * soft-fp/unorddf2.c: Likewise.
4047         * soft-fp/unordsf2.c: Likewise.
4048         * soft-fp/unordtf2.c: Likewise.
4050 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4052         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4053         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4055 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4057         * elf/dl-libc.c: Clear initfini list after freeing.
4059 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4061         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4062         * soft-fp/addsf3.c: Likewise.
4063         * soft-fp/addtf3.c: Likewise.
4064         * soft-fp/divdf3.c: Likewise.
4065         * soft-fp/divsf3.c: Likewise.
4066         * soft-fp/divtf3.c: Likewise.
4067         * soft-fp/double.h: Likewise.
4068         * soft-fp/eqdf2.c: Likewise.
4069         * soft-fp/eqsf2.c: Likewise.
4070         * soft-fp/eqtf2.c: Likewise.
4071         * soft-fp/extenddftf2.c: Likewise.
4072         * soft-fp/extended.h: Likewise.
4073         * soft-fp/extendsfdf2.c: Likewise.
4074         * soft-fp/extendsftf2.c: Likewise.
4075         * soft-fp/extendxftf2.c: Likewise.
4076         * soft-fp/fixdfdi.c: Likewise.
4077         * soft-fp/fixdfsi.c: Likewise.
4078         * soft-fp/fixdfti.c: Likewise.
4079         * soft-fp/fixsfdi.c: Likewise.
4080         * soft-fp/fixsfsi.c: Likewise.
4081         * soft-fp/fixsfti.c: Likewise.
4082         * soft-fp/fixtfdi.c: Likewise.
4083         * soft-fp/fixtfsi.c: Likewise.
4084         * soft-fp/fixtfti.c: Likewise.
4085         * soft-fp/fixunsdfdi.c: Likewise.
4086         * soft-fp/fixunsdfsi.c: Likewise.
4087         * soft-fp/fixunsdfti.c: Likewise.
4088         * soft-fp/fixunssfdi.c: Likewise.
4089         * soft-fp/fixunssfsi.c: Likewise.
4090         * soft-fp/fixunssfti.c: Likewise.
4091         * soft-fp/fixunstfdi.c: Likewise.
4092         * soft-fp/fixunstfsi.c: Likewise.
4093         * soft-fp/fixunstfti.c: Likewise.
4094         * soft-fp/floatdidf.c: Likewise.
4095         * soft-fp/floatdisf.c: Likewise.
4096         * soft-fp/floatditf.c: Likewise.
4097         * soft-fp/floatsidf.c: Likewise.
4098         * soft-fp/floatsisf.c: Likewise.
4099         * soft-fp/floatsitf.c: Likewise.
4100         * soft-fp/floattidf.c: Likewise.
4101         * soft-fp/floattisf.c: Likewise.
4102         * soft-fp/floattitf.c: Likewise.
4103         * soft-fp/floatundidf.c: Likewise.
4104         * soft-fp/floatundisf.c: Likewise.
4105         * soft-fp/floatunsidf.c: Likewise.
4106         * soft-fp/floatunsisf.c: Likewise.
4107         * soft-fp/floatuntidf.c: Likewise.
4108         * soft-fp/floatuntisf.c: Likewise.
4109         * soft-fp/floatuntitf.c: Likewise.
4110         * soft-fp/fmadf4.c: Likewise.
4111         * soft-fp/fmasf4.c: Likewise.
4112         * soft-fp/fmatf4.c: Likewise.
4113         * soft-fp/gedf2.c: Likewise.
4114         * soft-fp/gesf2.c: Likewise.
4115         * soft-fp/getf2.c: Likewise.
4116         * soft-fp/ledf2.c: Likewise.
4117         * soft-fp/lesf2.c: Likewise.
4118         * soft-fp/letf2.c: Likewise.
4119         * soft-fp/muldf3.c: Likewise.
4120         * soft-fp/mulsf3.c: Likewise.
4121         * soft-fp/multf3.c: Likewise.
4122         * soft-fp/negdf2.c: Likewise.
4123         * soft-fp/negsf2.c: Likewise.
4124         * soft-fp/negtf2.c: Likewise.
4125         * soft-fp/op-1.h: Likewise.
4126         * soft-fp/op-2.h: Likewise.
4127         * soft-fp/op-4.h: Likewise.
4128         * soft-fp/op-8.h: Likewise.
4129         * soft-fp/op-common.h: Likewise.
4130         * soft-fp/quad.h: Likewise.
4131         * soft-fp/single.h: Likewise.
4132         * soft-fp/soft-fp.h: Likewise.
4133         * soft-fp/sqrtdf2.c: Likewise.
4134         * soft-fp/sqrtsf2.c: Likewise.
4135         * soft-fp/sqrttf2.c: Likewise.
4136         * soft-fp/subdf3.c: Likewise.
4137         * soft-fp/subsf3.c: Likewise.
4138         * soft-fp/subtf3.c: Likewise.
4139         * soft-fp/truncdfsf2.c: Likewise.
4140         * soft-fp/trunctfdf2.c: Likewise.
4141         * soft-fp/trunctfsf2.c: Likewise.
4142         * soft-fp/trunctfxf2.c: Likewise.
4143         * soft-fp/unorddf2.c: Likewise.
4144         * soft-fp/unordsf2.c: Likewise.
4145         * soft-fp/unordtf2.c: Likewise.
4147 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4149         [BZ #15672]
4150         * misc/error.c (error_tail): Fix possible buffer overflow.
4152 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4154         [BZ #13028]
4155         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4156         address.
4158 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4160         [BZ #832]
4161         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4162         testing pipefail option.
4164 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4166         * soft-fp/double.h: Indent preprocessor directives inside #if.
4167         * soft-fp/extended.h: Likewise.
4168         * soft-fp/op-2.h: Likewise.
4169         * soft-fp/op-4.h: Likewise.
4170         * soft-fp/op-common.h: Likewise.
4171         * soft-fp/quad.h: Likewise.
4172         * soft-fp/single.h: Likewise.
4173         * soft-fp/soft-fp.h: Likewise.
4175 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4177         * iconv/iconv_prog.c: Fix typos.
4178         * stdio-common/psiginfo-data.h: Likewise.
4180 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4182         [BZ #15764]
4183         * locale/setlocale.c: Fix typo.
4185 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4187         [BZ #16036]
4188         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4189         signaling NaN arguments.
4190         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4191         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4193         [BZ #14910]
4194         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4195         unordered operands.
4196         * soft-fp/gesf2.c (__gesf2): Likewise.
4197         * soft-fp/getf2.c (__getf2): Likewise.
4198         * soft-fp/ledf2.c (__ledf2): Likewise.
4199         * soft-fp/lesf2.c (__lesf2): Likewise.
4200         * soft-fp/letf2.c (__letf2): Likewise.
4202         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4203         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4204         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4205         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4206         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4207         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4208         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4209         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4210         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4211         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4212         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4213         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4214         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4215         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4216         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4217         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4218         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4219         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4220         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4221         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4222         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4223         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4224         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4225         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4226         * soft-fp/floattidf.c (__floattidf): Likewise.
4227         * soft-fp/floattisf.c (__floattisf): Likewise.
4228         * soft-fp/floattitf.c (__floattitf): Likewise.
4229         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4230         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4231         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4232         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4233         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4234         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4235         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4236         * soft-fp/gesf2.c (__gesf2): Likewise.
4237         * soft-fp/getf2.c (__getf2): Likewise.
4238         * soft-fp/ledf2.c (__ledf2): Likewise.
4239         * soft-fp/lesf2.c (__lesf2): Likewise.
4240         * soft-fp/letf2.c (__letf2): Likewise.
4242         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4243         Undefine and redefine.
4244         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4245         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4246         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4247         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4248         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4249         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4250         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4251         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4252         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4253         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4254         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4255         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4256         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4257         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4258         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4260         [BZ #16032]
4261         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4262         without decrementing exponent if mantissa >= that for the
4263         denominator, not >.
4264         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4265         denominator, not >.  Decrement exponent in < case instead of
4266         incrementing in >= case.
4267         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4268         without decrementing exponent if mantissa >= that for the
4269         denominator, not >.
4271         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4272         computing saturated result for unsigned overflow.
4274 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4275             Jeff Law  <law@redhat.com>
4277         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4278         (atan2Mp): Add systemtap probe marker.
4279         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4280         (__ieee754_log): Add systemtap probe marker.
4281         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4282         (atanMp): Add systemtap probe marker.
4283         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4284         (tanMp): Add systemtap probe marker.
4285         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4286         (__slowexp): Add systemtap probe marker.
4287         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4288         (__slowpow): Add systemtap probe marker.
4289         * manual/probes.texi: Document probes.
4291 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4293         [BZ #15362]
4294         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4295         written.
4296         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4297         written.
4298         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4299         written to buffer but not flushed.
4300         * libio/iofwrite_u.c:  Likewise.
4301         * libio/iopadn.c:  Return bytes returned even if EOF was
4302         encountered.
4303         * libio/iowpadn.c:  Likewise.
4304         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4305         if _IO_padn does not write the whole buffer.
4306         [!COMPILE_WPRINTF] (PAD): Likewise.
4308 2013-10-10  David S. Miller  <davem@davemloft.net>
4310         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4311         directory block.
4313 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4315         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4316         instead of FSF address.
4317         * soft-fp/fixdfti.c: Likewise.
4318         * soft-fp/fixsfti.c: Likewise.
4319         * soft-fp/fixtfti.c: Likewise.
4320         * soft-fp/fixunsdfti.c: Likewise.
4321         * soft-fp/fixunssfti.c: Likewise.
4322         * soft-fp/fixunstfti.c: Likewise.
4323         * soft-fp/floattidf.c: Likewise.
4324         * soft-fp/floattisf.c: Likewise.
4325         * soft-fp/floattitf.c: Likewise.
4326         * soft-fp/floatuntidf.c: Likewise.
4327         * soft-fp/floatuntisf.c: Likewise.
4328         * soft-fp/floatuntitf.c: Likewise.
4329         * soft-fp/trunctfxf2.c: Likewise.
4331         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4332         * soft-fp/fixdfti.c: Likewise.
4333         * soft-fp/fixsfti.c: Likewise.
4334         * soft-fp/fixtfti.c: Likewise.
4335         * soft-fp/fixunsdfti.c: Likewise.
4336         * soft-fp/fixunssfti.c: Likewise.
4337         * soft-fp/fixunstfti.c: Likewise.
4338         * soft-fp/floattidf.c: Likewise.
4339         * soft-fp/floattisf.c: Likewise.
4340         * soft-fp/floattitf.c: Likewise.
4341         * soft-fp/floatuntidf.c: Likewise.
4342         * soft-fp/floatuntisf.c: Likewise.
4343         * soft-fp/floatuntitf.c: Likewise.
4344         * soft-fp/trunctfxf2.c: Likewise.
4346 2013-10-10  David S. Miller  <davem@davemloft.net>
4348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4350 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4352         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4353         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4354         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4355         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4356         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4357         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4358         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4360         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4361         for NaNs before doing comparisons on argument.
4362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4363         Likewise.
4365 2013-10-10  Will Newton  <will.newton@linaro.org>
4367         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4368         passed to _int_memalign does not overflow.
4370 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4372         * scripts/bench.pl: Add include-sources directive.
4373         * benchtests/README: Update documentation.
4375 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4377         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4378         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4379         instead of FP_INIT_ROUNDMODE.
4380         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4381         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4383         [BZ #16034]
4384         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4385         copy class of input value.
4386         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4387         not handle exceptions.
4388         * soft-fp/negsf2.c (__negsf2): Likewise.
4389         * soft-fp/negtf2.c (__negtf2): Likewise.
4390         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4392 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4394         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4395         semicolon.  From Linux kernel.
4397 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4399         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4401 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4403         [BZ #156]
4404         * manual/socket.texi: Added statement about buffer
4405         for gethostbyname2_r.
4407 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4409         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4410         Use .p2align directive instead, throughout.
4411         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4412         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4413         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4415         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4416         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4417         * sysdeps/x86_64/strchr.S: Likewise.
4418         * sysdeps/x86_64/strrchr.S: Likewise.
4420 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4422         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4424         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4426         * sysdeps/generic/math_private.h (__mpsin1): Remove
4427         declaration.
4428         (__mpcos1): Likewise.
4429         (__mpsin): New argument __range_reduce.
4430         (__mpcos): Likewise.
4431         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4432         (slow): Use __mpsin and __mpcos.
4433         (slow1): Likewise.
4434         (slow2): Likewise.
4435         (sloww): Likewise.
4436         (sloww1): Likewise.
4437         (sloww2): Likewise.
4438         (bsloww): Likewise.
4439         (bsloww1): Likewise.
4440         (bsloww2): Likewise.
4441         (cslow2): Likewise.
4442         (csloww): Likewise.
4443         (csloww1): Likewise.
4444         (csloww2): Likewise.
4445         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4446         range_reduce.  Merge in __mpsin1.
4447         (__mpcos): Likewise.
4448         (__mpsin1): Remove.
4449         (__mpcos1): Likewise.
4451 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4453         * locale/loadlocale.c (_nl_intern_locale_data): Use
4454         LOCFILE_ALIGNED_P.
4455         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4456         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4457         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4458         obstack data is appropriately aligned.
4459         (obstack_int32_grow_fast): Likewise.
4460         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4461         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4462         (add_locale_uint32_array): Likewise.
4464 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4466         * benchtests/Makefile: Remove ARGLIST and RET variables.
4467         ($(objpfx)bench-%.c): Pass only function name to the script.
4468         * benchtests/README: Update documentation.
4469         * benchtests/acos-inputs: Add new directives.
4470         * benchtests/acosh-inputs: Likewise.
4471         * benchtests/asin-inputs: Likewise.
4472         * benchtests/asinh-inputs: Likewise.
4473         * benchtests/atan-inputs: Likewise.
4474         * benchtests/atanh-inputs: Likewise.
4475         * benchtests/cos-inputs: Likewise.
4476         * benchtests/cosh-inputs: Likewise.
4477         * benchtests/exp-inputs: Likewise.
4478         * benchtests/log-inputs: Likewise.
4479         * benchtests/pow-inputs: Likewise.
4480         * benchtests/rint-inputs: Likewise.
4481         * benchtests/sin-inputs: Likewise.
4482         * benchtests/sinh-inputs: Likewise.
4483         * benchtests/tan-inputs: Likewise.
4484         * benchtests/tanh-inputs: Likewise.
4485         * scripts/bench.pl: Add support for new directives.
4487 2013-10-07  Alan Modra  <amodra@gmail.com>
4489         * README: Fix careless merge.
4491 2013-10-05  Alan Modra  <amodra@gmail.com>
4493         * NEWS: Mention powerpc64le support and bugs fixed.
4494         * README: Both big-endian and little-endian powerpc64 supported.
4496 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4498         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4499         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4500         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4501         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4503 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4505         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4506         match prototype.
4508 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4510         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4511         Move -mhard-float appending from
4512         ports/sysdeps/powerpc/powerpc32/Makefile.
4513         [$(with-fp) = yes] (ASFLAGS): Likewise.
4514         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4515         * sysdeps/powerpc/nofpu: Move directory from
4516         ports/sysdeps/powerpc/nofpu.
4517         * sysdeps/powerpc/soft-fp: Move directory from
4518         ports/sysdeps/powerpc/soft-fp.
4519         * sysdeps/powerpc/powerpc32/405: Move directory from
4520         ports/sysdeps/powerpc/powerpc32/405.
4521         * sysdeps/powerpc/powerpc32/440: Move directory from
4522         ports/sysdeps/powerpc/powerpc32/440.
4523         * sysdeps/powerpc/powerpc32/464: Move directory from
4524         ports/sysdeps/powerpc/powerpc32/464.
4525         * sysdeps/powerpc/powerpc32/476: Move directory from
4526         ports/sysdeps/powerpc/powerpc32/476.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4528         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4537         * README: Update for powerpc-*-linux-gnu software floating point
4538         support in libc.
4540         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4541         case to powerpc/powerpc32*.
4542         * sysdeps/unix/sysv/linux/configure: Regenerated.
4544         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4545         (_FPU_MASK_OM): Define as 0x04.
4546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4548         0x00c10080.
4549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4550         0x0000003c.
4551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4554         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4555         getcontext_e500.
4556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4557         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4558         setcontext_e500.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4560         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4561         and setcontext_e500.
4563 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4565         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4567 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4569         * manual/threads.texi (Default Thread Attributes): Fix typo.
4571 2013-10-04  Will Newton  <will.newton@linaro.org>
4573         * malloc/Makefile: Add tst-memalign.
4574         * malloc/tst-memalign.c: New file.
4576         * malloc/tst-posix_memalign.c: Add comments.
4577         (do_test): Add comments and call free on all potentially
4578         allocated pointers. Add space after cast.
4580         * malloc/tst-pvalloc.c: Add comments.
4581         (do_test): Add comments and call free on all potentially
4582         allocated pointers. Remove duplicate check for NULL pointer.
4583         Add space after cast.
4585         * malloc/tst-valloc.c: Add comments.
4586         (do_test): Add comments and call free on all potentially
4587         allocated pointers. Remove duplicate check for NULL pointer.
4588         Add space after cast.
4590 2013-10-04  Alan Modra  <amodra@gmail.com>
4592         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4593         Use stdint types in rather than __attribute__((mode())).
4594         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4596 2013-10-04  Alan Modra  <amodra@gmail.com>
4598         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4599         Correct handling of unaligned relocs for little-endian.
4600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4602 2013-10-04  Alan Modra  <amodra@gmail.com>
4604         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4605         * configure: Regenerate.
4606         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4607         * shlib-versions: Likewise.
4609 2013-10-04  Alan Modra  <amodra@gmail.com>
4611         * string/tester.c (test_memrchr): Increment reported test cycle.
4613 2013-10-04  Alan Modra  <amodra@gmail.com>
4615         * string/test-memcpy.c (do_one_test): When reporting errors, print
4616         string address and don't overrun end of string.
4618 2013-10-04  Alan Modra  <amodra@gmail.com>
4620         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4621         insrdi.  Make better use of reg selection to speed exit slightly.
4622         Schedule entry path a little better.  Remove useless "are we done"
4623         checks on entry to main loop.  Handle wrapping around zero address.
4624         Correct main loop count.  Handle single left-over word from main
4625         loop inline rather than by using loop_small.  Remove extra word
4626         case in loop_small caused by wrong loop count.  Add little-endian
4627         support.
4628         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4630         cache hint.
4631         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4632         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4633         support.  Avoid rlwimi.
4634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4636 2013-10-04  Alan Modra  <amodra@gmail.com>
4638         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4639         insrdi.  Formatting.
4640         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4641         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4642         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4643         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4644         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4645         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4647 2013-10-04  Alan Modra  <amodra@gmail.com>
4649         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4650         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4651         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4652         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4653         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4655         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4656         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4657         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4658         use of regs.  Use power7 mtocrf.  Tidy function tails.
4660 2013-10-04  Alan Modra  <amodra@gmail.com>
4662         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4663         Formatting.  Consistently use rXXX register defines or rN defines.
4664         Use early exit labels that avoid restoring unused non-volatile regs.
4665         Make cr field use more consistent with rWORDn compares.  Rename
4666         regs used as shift registers for unaligned loop, using rN defines
4667         for short lifetime/multiple use regs.
4668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4669         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4670         addi 1,1,64 to pop stack frame.  Simplify return value code.
4671         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4673 2013-10-04  Alan Modra  <amodra@gmail.com>
4675         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4676         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4677         rather than rlwimi.
4678         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4679         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4680         little-endian support.  Correct typos.
4681         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4682         rather than rlwimi.
4683         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4684         in loop and entry code to keep "and." results.
4685         (strchr): Add little-endian support.  Comment.  Move cntlzd
4686         earlier in tail.
4687         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4689 2013-10-04  Alan Modra  <amodra@gmail.com>
4691         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4692         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4693         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4694         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4696 2013-10-04  Alan Modra  <amodra@gmail.com>
4698         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4699         (rTMP): Define as r11.
4700         (strcmp): Add little-endian support.  Optimise tail.
4701         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4702         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4703         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4704         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4705         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4706         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4709 2013-10-04  Alan Modra  <amodra@gmail.com>
4711         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4712         little-endian support.  Remove unnecessary "are we done" tests.
4713         Handle "s" wrapping around zero and extremely large "size".
4714         Correct main loop count.  Handle single left-over word from main
4715         loop inline rather than by using small_loop.  Correct comments.
4716         Delete "zero" tail, use "end_max" instead.
4717         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4719 2013-10-04  Alan Modra  <amodra@gmail.com>
4721         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4722         support.  Don't branch over align.
4723         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4724         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4725         support.  Rearrange tmp reg use to suit.  Comment.
4726         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4728 2013-10-04  Alan Modra  <amodra@gmail.com>
4730         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4732 2013-10-04  Alan Modra  <amodra@gmail.com>
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4735         conditional form of branch and link when obtaining pc.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4738 2013-10-04  Alan Modra  <amodra@gmail.com>
4740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4741         HIWORD/LOWORD.
4742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4745 2013-10-04  Alan Modra  <amodra@gmail.com>
4747         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4748         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4749         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4750         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4751         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4752         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4753         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4754         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4755         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4756         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4758 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4759             Alistair Popple <alistair@ozlabs.au.ibm.com>
4760             Alan Modra <amodra@gmail.com>
4762         [BZ #15723]
4763         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4764         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4765         _dl_hwcap access for little-endian.
4766         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4767         destroy vmx regs when saving unaligned.
4768         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4769         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4770         destroy vmx regs when saving unaligned.
4772 2013-10-04  Alan Modra  <amodra@gmail.com>
4774         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4775         Don't use a union to pack hi/low value.
4777 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4779         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4780         for little-endian.
4781         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4782         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4783         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4784         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4785         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4787 2013-10-04  Alan Modra  <amodra@gmail.com>
4789         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4790         constants to usual value for .cst8 section, and remove redundant
4791         high address load.
4792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4793         constant for 0x1p52.  Load little-endian words of double from
4794         correct stack offsets.
4796 2013-10-04  Alan Modra  <amodra@gmail.com>
4798         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4799         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4800         words of double from correct stack offsets.
4801         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4802         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4803         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4805         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4808         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4809         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4813         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4814         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4815         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4816         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4817         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4819 2013-10-04  Alan Modra  <amodra@gmail.com>
4821         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4822         64-bit int/double union.
4823         (_FPU_SETCW): Likewise.
4824         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4825         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4827 2013-10-04  Alan Modra  <amodra@gmail.com>
4829         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4830         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4832 2013-10-04  Alan Modra  <amodra@gmail.com>
4834         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4835         use vector int constants.
4836         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4838 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4840         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4841         array with long long.
4842         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4843         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4844         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4845         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4846         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4847         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4848         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4849         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4850         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4851         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4852         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4853         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4854         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4856 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4858         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4859         (__signbit): Likewise.  Correct for little-endian.
4860         (__signbitl): Call __signbit.
4861         (lrint): Correct for little-endian.
4862         (lrintf): Call lrint.
4864 2013-10-04  Alan Modra  <amodra@gmail.com>
4866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4867         union 32-bit int array member with 64-bit int array.
4868         (t515, tm256): Double rather than long double.
4869         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4871 2013-10-04  Alan Modra  <amodra@gmail.com>
4873         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4874         Delete.
4875         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4876         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4877         version of math_ldbl.h.
4879 2013-10-04  Alan Modra  <amodra@gmail.com>
4881         [BZ #15734], [BZ #15735]
4882         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4883         all uses of ieee875 long double macros and unions.  Simplify test
4884         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4885         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4886         normalize after ldbl_extract_mantissa, and don't add hidden bit
4887         already handled.  Don't treat low word of ieee854 mantissa like
4888         low word of IBM long double and mask off bit when testing for
4889         zero.
4890         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4891         all uses of ieee875 long double macros and unions.  Simplify tests
4892         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4893         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4894         two1022, instead use their values.  Recognise that tests for large
4895         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4896         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4897         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4898         test for 0.0L and nan.  Correct negation.
4899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4900         ieee875 long double macros and unions.  Correct output for large
4901         magnitude x.  Correct absolute value calculation.
4902         (__erfcl): Likewise.
4903         * math/libm-test.inc: Add tests for errors discovered in IBM long
4904         double versions of fmodl, remainderl, erfl and erfcl.
4906 2013-10-04  Alan Modra  <amodra@gmail.com>
4908         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4909         all uses of ieee854 long double macros and unions.  Simplify tests
4910         for long doubles that are fully specified by the high double.
4911         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4912         Likewise.
4913         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4914         Remove dead code too.
4915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4916         (__ieee754_ynl): Likewise.
4917         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4918         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4920         Remove dead code too.
4921         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4922         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4923         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4924         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4925         Simplify.
4926         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4927         Simplify.
4928         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4929         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4930         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4931         Comment on variable precision.
4932         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4934         Likewise.
4935         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4936         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4937         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4938         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4939         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4941 2013-10-04  Alan Modra  <amodra@gmail.com>
4943         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4944         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4945         all uses of ieee854 long double macros and unions.
4946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4949         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4950         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4951         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4952         Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4955         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4956         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4958         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4959         Simplify sign and nan test too.
4960         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4961         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4962         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4963         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4964         Likewise.
4965         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4966         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4967         Likewise.
4968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4969         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4970         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4971         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4972         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4975 2013-10-04  Alan Modra  <amodra@gmail.com>
4977         * stdio-common/printf_size.c (__printf_size): Don't use
4978         union ieee854_long_double in fpnum union.
4979         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4980         signbit macro to retrieve sign from long double.
4981         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4982         retrieve sign from long double.
4983         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4984         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4985         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4986         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4987         * math/test-misc.c (main): Don't use union ieee854_long_double.
4989 2013-10-04  Alan Modra  <amodra@gmail.com>
4991         [BZ #15680]
4992         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4993         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4994         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4995         calculation.  Remove unnecessary test for denormal exponent.
4996         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4997         Correct handling of denormals.  Avoid undefined shift behaviour.
4998         Correct normalisation of low mantissa when low double is denormal.
4999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5000         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5001         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5002         Correct normalisation of low mantissa.  Test for overflow of high
5003         mantissa and normalise.
5004         (ldbl_nearbyint): Use more readable constant for two52.
5005         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5006         (__mpn_construct_long_double): Fix test for overflow of high
5007         mantissa and correct normalisation.  Avoid undefined shift.
5009 2013-10-04  Alan Modra  <amodra@gmail.com>
5011         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5012         (union ibm_extended_long_double): Define as an array of ieee754_double.
5013         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5014         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5015         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5016         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5017         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5018         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5019         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5020         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5021         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5022         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5023         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5025 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5027         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5028         page size instead of calling getpagesize.
5030         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5031         (LOCFILE_ALIGN_MASK): Likewise.
5032         (LOCFILE_ALIGN_UP): Likewise.
5033         (LOCFILE_ALIGNED_P): Likewise.
5034         * locale/programs/ld-collate.c (collate_output): Use the new
5035         macros instead of __alignof__ (int32_t).
5036         * locale/weight.h (findidx): Likewise.
5038 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5040         [BZ #431]
5041         * manual/string.texi: Fix strncat and wcsncat.
5043 2013-10-03  Brooks Moses  <bmoses@google.com>
5045         [BZ #15915]
5046         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5047         * Makerules: ...here, and adjust associated comments.
5049 2013-10-02  Will Newton  <will.newton@linaro.org>
5051         * malloc/Makefile: Add tst-pvalloc.
5052         * malloc/tst-pvalloc.c: New file.
5054 2013-10-02  Will Newton  <will.newton@linaro.org>
5056         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5057         improve test coverage.
5059 2013-10-02  Will Newton  <will.newton@linaro.org>
5061         * malloc/Makefile: Add tst-posix_memalign.
5062         * malloc/tst-posix_memalign.c: New file.
5064 2013-10-01  Eric Blake  <eblake@redhat.com>
5066         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5067         Use __THROWNL rather than __THROW on static functions.
5069 2013-09-30  Petr Machata  <pmachata@redhat.com>
5071         * elf/elf.h (R_AARCH64_ABS16): New macro.
5072         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5073         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5074         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5075         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5076         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5077         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5078         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5079         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5080         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5081         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5082         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5083         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5084         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5085         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5086         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5087         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5088         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5089         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5090         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5091         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5092         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5093         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5094         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5095         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5096         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5097         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5098         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5099         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5100         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5101         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5102         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5103         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5104         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5105         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5106         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5107         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5108         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5109         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5110         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5111         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5112         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5113         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5114         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5115         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5116         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5117         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5118         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5119         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5120         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5121         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5122         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5123         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5124         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5125         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5126         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5127         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5128         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5129         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5130         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5131         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5132         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5133         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5134         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5135         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5136         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5137         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5138         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5139         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5140         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5141         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5142         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5143         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5144         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5145         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5146         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5147         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5148         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5149         (R_AARCH64_TLSDESC_LDR): Likewise.
5150         (R_AARCH64_TLSDESC_ADD): Likewise.
5151         (R_AARCH64_TLSDESC_CALL): Likewise.
5153 2013-09-30  Andreas Schwab  <schwab@suse.de>
5155         [BZ #15048]
5156         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5157         the nss database lookup.
5158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5161 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5163         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5165 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5167         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5168         ${Bash-specific parameter/pattern/string} parameter expansion.
5169         * sysdeps/unix/make-syscalls.sh: Likewise.
5171 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5173         * sysdeps/sh/stackguard-macros.h: New file.
5175 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5179         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5180         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5181         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5182         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5184 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5186         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5187         Fix thread ID register.
5189 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5191         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5192         [POSIX || UNIX98]: Require rather than permitting all symbols from
5193         <time.h>.
5194         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5195         element of struct sched_param.
5196         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5197         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5198         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5199         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5200         constant.
5202 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5204         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5205         argument calculation.
5207 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5209         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5210         Expect macro.
5211         [POSIX] (pthread_attr_t): Do not require type.
5212         [POSIX] (pthread_cond_t): Likewise.
5213         [POSIX] (pthread_condattr_t): Likewise.
5214         [POSIX] (pthread_key_t): Likewise.
5215         [POSIX] (pthread_mutex_t): Likewise.
5216         [POSIX] (pthread_mutexattr_t): Likewise.
5217         [POSIX] (pthread_once_t): Likewise.
5218         [POSIX] (pthread_t): Likewise.
5219         [POSIX-based standards] (pthread_atfork): Expect function.
5221 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5222             Richard Sandiford  <richard@codesourcery.com>
5224         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5225         (swap_endianness_p): New extern variable.
5226         (set_big_endian): New inline function.
5227         (maybe_swap_uint32): Likewise.
5228         (maybe_swap_uint32_array): Likewise.
5229         (maybe_swap_uint32_obstack): Likewise.
5230         * locale/programs/locfile.c: Include <stdbool.h>.
5231         (swap_endianness_p): New variable.
5232         (add_locale_uint32): Call maybe_swap_uint32.
5233         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5234         (write_locale_data): Call maybe_swap_uint32_array.
5235         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5236         maybe_swap_uint32.
5237         (obstack_int32_grow_fast): Likewise.
5238         (output_weightwc): Call maybe_swap_uint32_obstack.
5239         (collate_output): Likewise.
5240         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5241         (OPT_LITTLE_ENDIAN): Likewise.
5242         (options): Add --little-endian and --big-endian options.
5243         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5244         * locale/programs/locarchive.c: Include "locfile.h".
5245         (GET): New macro.
5246         (SET): Likewise.
5247         (INC): Likewise.
5248         (create_archive): Use the new macros to access fields of
5249         structures directly mapped from or written to locale archives.
5250         (oldlocrecentcmp): Likewise.
5251         (enlarge_archive): Likewise.
5252         (insert_name): Likewise.
5253         (add_alias): Likewise.
5254         (add_locale): Likewise.
5255         (delete_locales_from_archive): Likewise.
5256         (show_archive_content): Likewise.
5257         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5258         locale data.
5260 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5262         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5263         http://www.gnu.org/doc/freemanuals.texi.
5264         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5266 2013-09-24  Will Newton  <will.newton@linaro.org>
5268         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5269         macro.
5271 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5273         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5274         unsigned char.
5276 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5278         * manual/threads.texi (POSIX Threads): Fix a typo.
5280 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5282         [BZ #14547]
5283         * string/tst-strcoll-overflow.c: New test case.
5284         * string/Makefile (xtests): Add tst-strcoll-overflow.
5285         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5286         cache if string sizes may cause integer overflow.
5288         [BZ #14547]
5289         * string/strcoll_l.c (coll_seq): New members rule, idx,
5290         save_idx and back_us.
5291         (get_next_seq_nocache): New function.
5292         (do_compare_nocache): New function.
5293         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5294         when malloc fails.
5296 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5298         [BZ #15754]
5299         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5300         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5301         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5303         [BZ #15754]
5304         * elf/Makefile (tests): Add tst-ptrguard1.
5305         (tests-static): Add tst-ptrguard1-static.
5306         (tst-ptrguard1-ARGS): Define.
5307         (tst-ptrguard1-static-ARGS): Define.
5308         * elf/tst-ptrguard1.c: New file.
5309         * elf/tst-ptrguard1-static.c: New file.
5310         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5311         * sysdeps/i386/stackguard-macros.h: Likewise.
5312         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5313         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5314         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5315         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5316         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5317         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5319 2013-09-23  Hector Marco  <hecmargi@upv.es>
5320             Ismael Ripoll  <iripoll@disca.upv.es>
5321             Carlos O'Donell  <carlos@redhat.com>
5323         [BZ #15754]
5324         * sysdeps/generic/stackguard-macros.h: Define
5325         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5326         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5327         Define __pointer_chk_guard_local.
5328         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5329         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5331 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5333         [BZ #15859]
5334         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5336 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5338         * include/string.h (__ffs): Declare as hidden.
5339         * string/ffs.c (__ffs): Define as hidden.
5340         * sysdeps/i386/ffs.c (__ffs): Likewise.
5341         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5342         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5343         * sysdeps/s390/ffs.c (__ffs): Likewise.
5344         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5346 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5348         * NEWS: Mention malloc probes.
5350         * malloc/arena.c (new_heap): New memory_heap_new probe.
5351         (grow_heap): New memory_heap_more probe.
5352         (shrink_heap): New memory_heap_less probe.
5353         (heap_trim): New memory_heap_free probe.
5354         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5355         (systrim): New memory_sbrk_less probe.
5356         * manual/probes.texi: Document them.
5358         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5359         * manual/probes.texi: Document it.
5361         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5362         (__libc_realloc): Add memory_realloc_retry probe.
5363         (__libc_memalign): Add memory_memalign_retry probe.
5364         (__libc_valloc): Add memory_valloc_retry probe.
5365         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5366         (__libc_calloc): Add memory_calloc_retry probe.
5367         * manual/probes.texi: Document them.
5369         * malloc/arena.c (get_free_list): Add probe
5370         memory_arena_reuse_free_list.
5371         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5372         and memory_arena_reuse.
5373         (arena_get2) [!PER_THREAD]: Likewise.
5374         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5375         memory_arena_reuse_realloc.
5376         * manual/probes.texi: Document them.
5378         * malloc/malloc.c (__libc_free): Add
5379         memory_mallopt_free_dyn_thresholds probe.
5380         (__libc_mallopt): Add multiple memory_mallopt probes.
5381         * manual/probes.texi: Document them.
5383         * malloc/malloc.c: Include stap-probe.h.
5384         (__libc_mallopt): Add memory_mallopt probe.
5385         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5386         * manual/probes.texi: New.
5387         * manual/Makefile (chapters): Add probes.
5388         * manual/threads.texi: Set next node.
5390 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5392         [BZ #15963, #13985]
5393         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5394         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5395         Add `Chinese' to `nan' entry name.
5397 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5399         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5400         (POLYNOMIAL): Likewise.
5401         (TAYLOR_SINCOS): Likewise.
5402         (TAYLOR_SLOW): Likewise.
5403         (__sin): Use TAYLOR_SINCOS.
5404         (__cos): Likewise.
5405         (slow): Use TAYLOR_SLOW.
5406         (sloww): Likewise.
5407         (bsloww): Likewise.
5408         (csloww): Likewise.
5410 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5412         * stdlib/strtod_l.c: Fix buffer overrun.
5414 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5416         * benchtests/Makefile (bench): Add sincos.
5417         * benchtests/bench-sincos.c: New file.
5419         * math/libm-test.inc (cos_test_data): New test inputs.
5420         (sin_test_data): Likewise.
5422         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5423         macro.
5424         (__sin): Use it.
5425         (__cos): Likewise.
5426         (slow1): Likewise.
5427         (slow2): Likewise.
5428         (sloww1): Likewise.
5429         (sloww2): Likewise.
5430         (bsloww1): Likewise.
5431         (bsloww2): Likewise.
5432         (cslow2): Likewise.
5433         (csloww1): Likewise.
5434         (csloww2): Likewise.
5436         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5437         function.
5438         (__sin): Use it.
5439         (__cos): Likewise.
5441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5442         gotos.
5443         (__cos): Likewise.
5445 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5447         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5448         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5449         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5450         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5451         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5452         * elf/cache.c (print_entry): Handle the new cache flags.
5454 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5455             Aldy Hernandez  <aldyh@redhat.com>
5457         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5458         Change condition to [_SOFT_FLOAT].
5459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5471         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5474         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5475         declaration.
5477 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5479         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5480         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5481         (__longjmp): Use LOAD_GP to load saved GPRs.
5482         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5483         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5484         (__sigsetjmp): Use SAVE_GP to save GPRs.
5486         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5487         Do not append -msoft-float.
5488         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5490 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5492         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5494 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #15966]
5497         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5498         (_FPU_GETCW): Use initial "__" on variable and field names but not
5499         on macro parameter name.
5500         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5501         parentheses around reference to macro parameter.
5503 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5505         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5506         prototype.
5507         (ctype_startup): Use uint32_t in cast and sizeof for
5508         ctype->charnames.
5510 2013-09-11  Jia Liu  <proljc@gmail.com>
5512         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5513         __daddr_t_defined.
5514         [__FreeBSD__]: Likewise.
5516 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5519         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5520         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5521         (strchr): Remove __strchr_sse42 ifunc selection.
5522         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5523         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5525 2013-09-11  Will Newton  <will.newton@linaro.org>
5527         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5528         parameter to RES. Remove hardcoded 1000 value.
5529         * benchtests/bench-skeleton.c (main): Pass RES parameter
5530         to TIMING_INIT and multiply result by 1000.
5532 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5536 2013-09-11  Andreas Schwab  <schwab@suse.de>
5538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5539         if not defined.
5540         (O_TMPFILE) [__USE_GNU]: Define.
5541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5542         Define.
5544 2013-09-11  Will Newton  <will.newton@linaro.org>
5546         [BZ #15857]
5547         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5548         does not overflow.
5550 2013-09-11  Will Newton  <will.newton@linaro.org>
5552         [BZ #15856]
5553         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5554         does not overflow.
5556 2013-09-11  Will Newton  <will.newton@linaro.org>
5558         [BZ #15855]
5559         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5560         does not overflow.
5562 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5564         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5565         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5566         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5567         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5568         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5570 2013-09-10  Allan McRae  <allan@archlinux.org>
5572         [BZ #15748]
5573         * manual/arith.texi (Parsing of Floats): Clarify
5574         cross-reference.
5576         [BZ #15849]
5577         * manual/install.texi (Running make install): Mention
5578         --enable-pt-chown.
5579         * INSTALL: Regenerated.
5581 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5583         * csu/init-first.c (_init): Remove the !SHARED condition around
5584         FPU control word initialization.
5585         * elf/dl-support.c (_dl_fpu_control): New variable.
5586         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5587         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5588         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5589         * math/test-fpucw-static.c: New file.
5590         * math/test-fpucw-ieee.c: New file.
5591         * math/test-fpucw-ieee-static.c: New file.
5592         * math/Makefile (tests): Add `test-fpucw-ieee' and
5593         `$(tests-static)'.
5594         (tests-static): New variable.
5595         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5596         dependency to...
5597         [($(build-shared),yes)]
5598         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5599         ... this.
5600         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5601         New dependency.
5603 2013-09-09  Allan McRae  <allan@archlinux.org>
5605         [BZ #15939]
5606         * manual/string.texi (Collation Functions): Fix typo in
5607         strcoll example.
5608         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5610         [BZ #15893]
5611         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5613         [BZ #15892]
5614         * libio/memstream.c (open_memstream): Fix memory leak.
5615         * libio/wmemstream.c (open_wmemstream): Likewise.
5617         [BZ #15895]
5618         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5620 2013-09-09  Will Newton  <will.newton@linaro.org>
5622         * malloc/Makefile: Add tst-realloc to tests.
5623         * malloc/tst-realloc.c: New file.
5625 2013-09-09  Allan McRae  <allan@archlinux.org>
5627         [BZ #15844]
5628         * COPYING: Update from GNU website to fix FSF address.
5629         * COPYING.LIB: Likewise.
5631 2013-09-06  David S. Miller  <davem@davemloft.net>
5633         * po/zh_TW.po: Update Chinese (traditional) translation from
5634         translation project.
5636 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5637             Joseph Myers  <joseph@codesourcery.com>
5639         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5640         "localeinfo.h".
5641         (obstack_chunk_alloc): New macro.
5642         (obstack_chunk_free): Likewise.
5643         (record_offset): New function.
5644         (init_locale_data): Likewise.
5645         (align_locale_data): Likewise.
5646         (add_locale_empty): Likewise.
5647         (add_locale_raw_data): Likewise.
5648         (add_locale_raw_obstack): Likewise.
5649         (add_locale_string): Likewise.
5650         (add_locale_wstring): Likewise.
5651         (add_locale_uint32): Likewise.
5652         (add_locale_uint32_array): Likewise.
5653         (add_locale_char): Likewise.
5654         (start_locale_structure): Likewise.
5655         (end_locale_structure): Likewise.
5656         (start_locale_prelude): Likewise.
5657         (end_locale_prelude): Likewise.
5658         (write_locale_data): Take locale_file structure rather than an
5659         iovec.
5660         * locale/programs/locfile.h: Include "obstack.h".
5661         (struct locale_file): Change to store locale file contents instead
5662         of header.
5663         (init_locale_data): New prototype.
5664         (align_locale_data): Likewise.
5665         (add_locale_empty): Likewise.
5666         (add_locale_raw_data): Likewise.
5667         (add_locale_raw_obstack): Likewise.
5668         (add_locale_string): Likewise.
5669         (add_locale_wstring): Likewise.
5670         (add_locale_uint32): Likewise.
5671         (add_locale_uint32_array): Likewise.
5672         (add_locale_char): Likewise.
5673         (start_locale_structure): Likewise.
5674         (end_locale_structure): Likewise.
5675         (start_locale_prelude): Likewise.
5676         (end_locale_prelude): Likewise.
5677         (write_locale_data): Update prototype.
5678         * locale/programs/3level.h (struct TABLE): Remove result field.
5679         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5680         Use new locale_file interface.
5681         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5682         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5683         * locale/programs/ld-address.c (address_output): Use new
5684         locale_file interface.
5685         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5686         NO_ADD_LOCALE.
5687         (collate_finish): Don't call collseq_table_finalize.
5688         (collate_output): Use new locale_file interface.
5689         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5690         in file.
5691         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5692         (TABLE): Move defines earlier in file.
5693         (ELEMENT): Likewise.
5694         (DEFAULT): Likewise.
5695         (wctrans_table_add): Move macro and inline function earlier in
5696         file.
5697         (struct wctype_table): Move type earlier in file.
5698         (add_locale_wctype_table): New static prototype.
5699         (struct locale_ctype_t): Use logical types instead of struct iovec
5700         pointers for members.
5701         (ctype_output): Use new locale_file interface.
5702         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5703         new locale_file interface.
5704         (allocate_arrays): Update for use of new locale_file interface.
5705         * locale/programs/ld-identification.c (identification_output): Use
5706         new locale_file interface.
5707         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5708         * locale/programs/ld-messages.c (messages_output): Likewise.
5709         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5710         * locale/programs/ld-name.c (name_output): Likewise.
5711         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5712         * locale/programs/ld-paper.c (paper_output): Likewise.
5713         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5714         * locale/programs/ld-time.c (time_output): Likewise.
5716 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5718         * benchtests/Makefile: Add memrchr benchmark.
5719         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5720         benchmark as memrchr.
5721         * benchtests/bench-memrchr-ifunc.c: New file.
5722         * benchtests/bench-memrchr.c: New file.
5724 2013-09-06   Will Newton  <will.newton@linaro.org>
5726         * benchtests/Makefile (string-bench): Add memcpy.
5728 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5729             Cong Wang  <amwang@redhat.com>
5731         * sysdeps/unix/sysv/linux/bits/in.h
5732         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5733         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5734         before __USE_KERNEL_IPV6_DEFS uses.
5735         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5736         IPPROTO_BEETPH.
5737         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5738         sockaddr_in6, or ipv6_mreq.
5740 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5742         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5743         memory access for final bytes in some large inputs.
5744         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5746 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5748         * string/test-memrchr.c: New file.
5749         * string/test-memrchr-ifunc.c: New file.
5750         * string/Makefile: Add new memrchr testcase.
5752 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5754         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5755         fanotify_init returns EPERM.
5757 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5759         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5760         errors.
5761         (top level): Treat second token from macro or constant entries for
5762         allowed headers as allowed.
5763         * include/complex.h: Condition internal declarations on
5764         [!_ISOMAC].
5765         * include/fenv.h: Condition include of <stdbool.h> and internal
5766         declarations on [!_ISOMAC].
5768 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5770         [BZ #15923]
5771         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5773 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5775         * configure.in (--enable-versioning): Remove configure option.
5776         (libc_cv_asm_symver_directive): Remove configure test.
5777         (libc_cv_ld_version_script_option): Likewise.
5778         (VERSIONING): Remove variable and AC_SUBST.
5779         (DO_VERSIONING): Remove AC_DEFINE.
5780         * configure: Regenerated.
5781         * config.h.in (DO_VERSIONING): Remove macro.
5782         * Makerules [$(versioning) = yes]: Change conditionals to
5783         [$(build-shared) = yes].
5784         * config.make.in (versioning): Remove variable.
5785         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5786         [$(build-shared) = yes].
5787         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5788         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5789         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5790         [$(build-shared) = yes].
5791         * extra-lib.mk [$(versioning) = yes]: Likewise.
5792         * hurd/Makefile [$(versioning) = yes]: Likewise.
5793         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5794         [SHARED].
5795         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5796         [SHARED].
5797         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5798         [SHARED && !NO_HIDDEN].
5799         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5800         [SHARED].
5801         [SHARED && DO_VERSIONING]: Likewise..
5802         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5803         [$(build-shared) = yes].
5804         * manual/install.texi (--disable-versioning): Remove
5805         documentation.
5806         * INSTALL: Regenerated.
5807         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5808         to [SHARED].
5809         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5810         [$(build-shared) = yes].
5811         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5812         * sysdeps/i386/i686/multiarch/strstr-c.c
5813         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5814         [SHARED && !NO_HIDDEN].
5815         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5816         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5817         * sysdeps/powerpc/powerpc32/dl-machine.c
5818         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5819         * sysdeps/powerpc/powerpc32/sysdep.h
5820         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5821         to [SHARED && PIC && !NO_HIDDEN].
5822         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5823         conditional to [SHARED].
5825 2013-09-04   Will Newton  <will.newton@linaro.org>
5827         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5828         * benchtests/bench-string.h: Include bench-timing.h instead
5829         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5830         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5831         call to HP_TIMING_DIFF_INIT.
5832         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5833         instead of hp-timing.h macros.
5834         * benchtests/bench-memchr.c: Likewise.
5835         * benchtests/bench-memcmp.c: Likewise.
5836         * benchtests/bench-memcpy.c: Likewise.
5837         * benchtests/bench-memmem.c: Likewise.
5838         * benchtests/bench-memmove.c: Likewise.
5839         * benchtests/bench-memset.c: Likewise.
5840         * benchtests/bench-rawmemchr.c: Likewise.
5841         * benchtests/bench-strcasecmp.c: Likewise.
5842         * benchtests/bench-strcasestr.c: Likewise.
5843         * benchtests/bench-strcat.c: Likewise.
5844         * benchtests/bench-strchr.c: Likewise.
5845         * benchtests/bench-strcmp.c: Likewise.
5846         * benchtests/bench-strcpy.c: Likewise.
5847         * benchtests/bench-strcpy_chk.c: Likewise.
5848         * benchtests/bench-strlen.c: Likewise.
5849         * benchtests/bench-strncasecmp.c: Likewise.
5850         * benchtests/bench-strncat.c: Likewise.
5851         * benchtests/bench-strncmp.c: Likewise.
5852         * benchtests/bench-strncpy.c: Likewise.
5853         * benchtests/bench-strnlen.c: Likewise.
5854         * benchtests/bench-strpbrk.c: Likewise.
5855         * benchtests/bench-strrchr.c: Likewise.
5856         * benchtests/bench-strspn.c: Likewise.
5857         * benchtests/bench-strstr.c: Likewise.
5859 2013-09-04  Will Newton  <will.newton@linaro.org>
5861         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5863 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5865         [BZ #15427]
5866         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5867         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5868         * math/libm-test.inc (lgamma_test_data): Add more tests.
5869         * sysdeps/i386/fpu/libm-test-ulps: Update.
5870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5874         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5876         Add ifunc.
5877         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5878         Add strcmp-sse2-unaligned
5879         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5881 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5883         * Versions.def (libc): Add GLIBC_2.19.
5885 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5887         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5888         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5890 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5892         [BZ #14155]
5893         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5894         intermediate calculations in recurrence.
5895         (__ieee754_ynf): Likewise.
5896         * math/libm-test.inc (jn_test_data): Do not allow spurious
5897         underflow exception.  Add more tests.
5898         (yn_test_data): Add more tests.
5899         * sysdeps/i386/fpu/libm-test-ulps: Update.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5904         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5906 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5908         * csu/init-first.c: Fix then/than typos.
5909         * locale/programs/ld-collate.c: Likewise.
5910         * locale/programs/linereader.h: Likewise.
5911         * manual/charset.texi: Likewise.
5912         * manual/filesys.texi: Likewise.
5913         * manual/stdio.texi: Likewise.
5914         * manual/string.texi: Likewise.
5915         * stdlib/fmtmsg.c: Likewise.
5916         * sysdeps/i386/stpncpy.S: Likewise.
5917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5918         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5919         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5920         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5922 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5924         * elf/dl-open.c: Fix typos.
5925         * iconvdata/gbbig5.c: Likewise.
5926         * iconvdata/iso-2022-jp.c: Likewise.
5927         * iconv/gconv_int.h: Likewise.
5928         * iconv/loop.c: Likewise.
5929         * nis/rpcsvc/nis.h: Likewise.
5930         * resolv/ns_name.c: Likewise.
5931         * stdio-common/vfscanf.c: Likewise.
5932         * streams/stropts.h: Likewise.
5933         * sunrpc/rpc_thread.c: Likewise.
5934         * sysdeps/i386/strpbrk.S: Likewise.
5935         * sysdeps/ieee754/k_standard.c: Likewise.
5936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5937         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5938         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5939         * sysdeps/mach/hurd/profil.c: Likewise.
5940         * sysdeps/s390/dl-procinfo.h: Likewise.
5941         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5943         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5944         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5945         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5947 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5949         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5952 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5955         aix specific files.
5956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5958         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5959         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5960         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5961         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5962         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5963         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5965 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5966             Roland McGrath  <roland@hack.frob.com>
5968         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5969         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5971 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5973         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5974         __executable_start symbol instead of _start.
5976 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5978         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5979         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5980         Move macros to...
5981         * sysdeps/gnu/ldsodefs.h: ... this new file.
5983         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5984         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5985         instead of ELFOSABI_LINUX.
5987         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5988         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5989         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5990         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5991         Likewise.
5992         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5993         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5994         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5995         Likewise.
5996         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5997         (ibm_extended_long_double): Add ieee_nan member.
5998         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5999         (do_test): New function.
6001         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6002         TEST_TRUNC.
6003         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6004         functions, renamed from truncdfsf_test, trunctfsf_test,
6005         trunctfdf_test.
6006         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6007         functions.
6008         (do_test): Run all these.
6010 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6012         * argp/argp-help.c: Fix typos.
6013         * argp/argp-parse.c: Likewise.
6014         * debug/backtracesyms.c: Likewise.
6015         * elf/elf.h: Likewise.
6016         * malloc/malloc.c: Likewise.
6017         * nis/nis_print.c: Likewise.
6018         * resolv/res_comp.c: Likewise.
6019         * stdlib/stdlib.h: Likewise.
6020         * sunrpc/clnt_tcp.c: Likewise.
6021         * sunrpc/clnt_udp.c: Likewise.
6022         * sunrpc/clnt_unix.c: Likewise.
6023         * sysdeps/unix/bsd/ptsname.c: Likewise.
6024         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6027         Likewise.
6028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6029         Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6034 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6036         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6039 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6041         [BZ #15897]
6042         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6043         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6044         ($(objpfx)bug-dl-leaf): New rule.
6045         ($(objpfx)bug-dl-leaf.so): Likewise.
6046         ($(objpfx)bug-dl-leaf.out): Likewise.
6047         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6048         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6049         * dlfcn/bug-dl-leaf.c: New test.
6050         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6051         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6052         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6053         (dlclose): Likewise.
6054         (dlmopen): Likewise.
6056 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6058         * include/netdb.h [!_ISOMAC]:
6059         Don't include <tls.h>.
6060         (h_errno, __libc_h_errno): Move declaration and macros out of
6061         [_LIBC_REENTRANT].
6063         * include/resolv.h [_RESOLV_H_]:
6064         Don't include <tls.h>.
6065         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6066         * resolv/res_libc.c: Don't include <tls.h>.
6067         (_res): Use __attribute__ ((nocommon)) in place of
6068         __attribute__ ((section (".bss"))).
6070         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6071         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6073         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6075         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6076         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6078         * resolv/res_mkquery.c: Include <sys/time.h>.
6080         * inet/ifreq.c: Moved to ...
6081         * sysdeps/unix/ifreq.c: ... here.
6082         * inet/ifreq.c: New file, true stub version.
6084         * socket/sa_len.c: New file.
6085         * socket/Makefile (aux): Add it.
6086         * sysdeps/unix/sysv/linux/Makefile
6087         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6088         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6089         and #include <socket/sa_len.c>.
6090         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6091         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6093         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6094         * bits/socket.h: ... here.
6096         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6097         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6098         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6100 2013-08-27  Andreas Schwab  <schwab@suse.de>
6102         [BZ #15736]
6103         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6104         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6105         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6106         * string/test-strcasecmp.c (test_main): Run tests in several
6107         locales.
6108         * string/test-strncasecmp.c (test_main): Likewise.
6110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6111         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6112         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6114         (__strncasecmp_ssse3) [PIC]: Likewise.
6116 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6118         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6120         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6121         instead of explicitly declaring xdecrypt.
6122         * nis/nss_nis/nis-publickey.c: Likewise.
6124 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6126         [BZ #15890]
6127         * nscd/aicache.c: Include res_hconf.h.
6128         (addhstaiX): Initialize res_hconf.
6130 2013-08-26  Andreas Schwab  <schwab@suse.de>
6132         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6133         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6135 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6137         * nscd/aicache.c (addhstaiX): Fix indentation.
6139 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6141         * configure.ac: Quote $build_pt_chown test.
6142         * configure: Regenerated.
6144 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6146         [BZ #15532]
6147         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6148         * math/s_cexpf.c (__cexpf): Likewise.
6149         * math/s_cexpl.c (__cexpl): Likewise.
6150         * math/libm-test.inc (cexp_test_data): Correct expected return
6151         value for NaN + i0.  Add another test.
6153 2013-08-22  David S. Miller  <davem@davemloft.net>
6155         * po/ca.po: Update Catalan translation from translation project.
6156         * po/uk.po: Add Ukrainian translations from translation project.
6158 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6160         [BZ #15797]
6161         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6162         is infinite, not alongside NaN test.
6163         * math/s_fdimf.c (__fdimf): Likewise.
6164         * math/s_fdiml.c (__fdiml): Likewise.
6165         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6166         errno is unchanged.
6168 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6170         * argp/argp-help.c: Fix typos.
6171         * crypt/speeds.c: Likewise.
6172         * csu/check_fds.c: Likewise.
6173         * elf/dl-load.c: Likewise.
6174         * elf/dl-open.c: Likewise.
6175         * elf/reldep3.c: Likewise.
6176         * elf/reldep.c: Likewise.
6177         * elf/sprof.c: Likewise.
6178         * iconv/iconv_charmap.c: Likewise.
6179         * iconv/skeleton.c: Likewise.
6180         * iconv/strtab.c: Likewise.
6181         * io/lockf64.c: Likewise.
6182         * libio/libioP.h: Likewise.
6183         * resolv/gai_notify.c: Likewise.
6184         * resolv/ns_name.c: Likewise.
6185         * resolv/ns_samedomain.c: Likewise.
6186         * resolv/res_send.c: Likewise.
6187         * stdlib/random.c: Likewise.
6188         * sunrpc/rpc/xdr.h: Likewise.
6189         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6190         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6191         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6192         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6195         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6196         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6197         * sysdeps/mach/hurd/check_fds.c: Likewise.
6198         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6199         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6200         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6201         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6202         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6203         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6204         * sysdeps/pthread/aio_notify.c: Likewise.
6205         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6206         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6208         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6209         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6211 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6213         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6214         version if bit_Slow_SSE4_2 is set.
6215         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6216         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6218 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6220         [BZ #15867]
6221         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6222         trampoline stack frame information.
6223         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6225         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6226         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6227         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6228         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6229         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6230         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6231         sa_flags value.
6232         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6233         interrupting a syscall and set with option SA_SIGINFO.
6235 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6237         [BZ #15531]
6238         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6239         argument is infinite.
6240         * math/s_cprojf.c (__cprojf): Likewise.
6241         * math/s_cprojl.c (__cprojl): Likewise.
6242         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6243         * math/libm-test.inc (cproj_test_data): Add more tests.
6245         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6247         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6248         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6249         size.  Use __ffs to determine corresponding shift.
6251 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6252             Roland McGrath  <roland@hack.frob.com>
6254         * Makefile (INSTALL): Remove trailing blank lines from output of
6255         makeinfo.
6257 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6259         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6260         Align 32 bit compat elf_greg to 8 bytes.
6262 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6264         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6266 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6268         * string/strcoll_l.c (coll_seq): New structure.
6269         (get_next_seq_cached): New function.
6270         (get_next_seq): New function.
6271         (do_compare): New function.
6272         (STRCOLL): Use GNU style definition.  Simplify implementation
6273         by using get_next_seq, get_next_seq_cached and do_compare.
6275 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6277         [BZ #14699]
6278         CVE-2013-4237
6279         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6280         member.
6281         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6282         member.
6283         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6284         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6285         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6286         conditional.
6287         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6288         GETDENTS_64BIT_ALIGNED.
6289         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6290         * manual/filesys.texi (Reading/Closing Directory): Document
6291         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6292         strongly.
6293         * manual/conf.texi (Limits for Files): Add portability note to
6294         NAME_MAX, PATH_MAX.
6295         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6297 2013-08-13  Andreas Schwab  <schwab@suse.de>
6299         [BZ #15749]
6300         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6301         of fabs.
6302         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6303         LDBL_MAX_EXP >= 16384]: Add tests for it.
6305 2013-08-12  David S. Miller  <davem@davemloft.net>
6307         * version.h (RELEASE): Set to "development".
6308         (VERSION): Set to "2.18.90".
6309         * NEWS: Add 2.19 section.
6311 2013-08-03  David S. Miller  <davem@davemloft.net>
6313         * po/ko.po: Update Korean translation from translation project.
6315 2013-08-01  David S. Miller  <davem@davemloft.net>
6317         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6318         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6319         Bilka.
6321 2013-07-30  David S. Miller  <davem@davemloft.net>
6323         * po/fr.po: Update French translation from translation project.
6325 2013-07-28  David S. Miller  <davem@davemloft.net>
6327         * po/cs.po: Update Czech translation from translation project.
6329         * po/sv.po: Update Swedish translation from translation project.
6331 2013-07-27  David S. Miller  <davem@davemloft.net>
6333         * po/eo.po: Update Esperanto translation from translation project.
6335         * po/vi.po: Update Vietnamese translation from translation project.
6337         * po/de.po: Update German translation from translation project.
6339 2013-07-26  David S. Miller  <davem@davemloft.net>
6341         * po/bg.po: Update Bulgarian translation from translation project.
6343         * po/nl.po: Update Dutch translation from translation project.
6344         * po/pl.po: Update Polish translation from translation project.
6345         * po/ru.po: Update Russian translation from translation project.
6347 2013-07-24  David S. Miller  <davem@davemloft.net>
6349         * po/libc.pot: Update.
6351 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6353         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6354         variable page size.
6355         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6356         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6357         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6359 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6361         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6363 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6364             Andreas Schwab  <schwab@suse.de>
6365             Roland McGrath  <roland@hack.frob.com>
6366             Joseph Myers  <joseph@codesourcery.com>
6367             Carlos O'Donell  <carlos@redhat.com>
6369         [BZ #15755]
6370         * config.h.in: Define HAVE_PT_CHOWN.
6371         * config.make.in (build-pt-chown): New variable.
6372         * configure.in (--enable-pt_chown): New configure option.
6373         * configure: Regenerate.
6374         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6375         build-pt-chown is enabled.
6376         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6377         pt_chown to fix pty ownership.
6378         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6379         CLOSE_ALL_FDS.
6380         * manual/install.texi (Configuring and compiling): Mention
6381         --enable-pt_chown. Add @findex for grantpt.
6382         * INSTALL: Regenerate.
6384 2013-07-20  David S. Miller  <davem@davemloft.net>
6386         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6387         difference between 32-bit and 64-bit.
6389 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6391         [BZ #15711]
6392         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6393         Avoid system header dependency with -ffreestanding.
6394         ($(objpfx)bits/syscall%d): Likewise.
6396 2013-07-13  David S. Miller  <davem@davemloft.net>
6398         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6399         underflows from atanl/atan2l due to bug 15319.
6400         (casinh_test_data): Likewise.
6402 2013-07-07  David S. Miller  <davem@davemloft.net>
6404         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6406 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6408         * sysdeps/i386/fpu/libm-test-ulps: Update.
6409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6413         * configure.in (--enable-lock-elision): Fix message text.
6414         * INSTALL: Regenerate.
6415         * configure: Regenerate.
6417 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6421 2013-07-03  Andreas Jaeger  <aj@suse.de>
6423         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6424         define.
6425         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6426         (ptrace_peeksiginfo_args): Add.
6427         (__ptrace_peeksiginfo_flags): Add.
6428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6429         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6432 2013-07-03  Allan McRae  <allan@archlinux.org>
6434         * sysdeps/i386/fpu/libm-test-ulps: Update.
6436 2013-07-02  David S. Miller  <davem@davemloft.net>
6438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6440 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6444 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6446         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6449 2013-07-02  Andi Kleen <ak@linux.intel.com>
6451         * config.h.in (ENABLE_LOCK_ELISION): Add.
6452         * configure.in (--enable-lock-elision): Add option.
6453         * manual/install.texi: Document --enable lock elision.
6454         * configure: Regenerate
6455         * INSTALL: Regenerate.
6457 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6459         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6460         SSE4.2 strcasecmp for libc.a.
6461         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6463 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6465         [BZ #13304]
6466         * soft-fp/op-common.h (_FP_FMA): New macro.
6467         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6468         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6469         (_FP_MUL_MEAT_1_imm): ... here.
6470         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6471         (_FP_MUL_MEAT_1_wide): ... here.
6472         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6473         (_FP_MUL_MEAT_1_hard): ... here.
6474         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6475         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6476         (_FP_MUL_MEAT_2_wide): ... here.
6477         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6478         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6479         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6480         (_FP_MUL_MEAT_2_gmp): ... here.
6481         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6482         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6483         (_FP_MUL_MEAT_4_wide): ... here.
6484         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6485         (_FP_MUL_MEAT_4_gmp): ... here.
6486         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6487         (_FP_WFRACBITS_DW_S): Likewise.
6488         (_FP_WFRACXBITS_DW_S): Likewise.
6489         (_FP_HIGHBIT_DW_S): Likewise.
6490         (FP_FMA_S): Likewise.
6491         (_FP_FRAC_HIGH_DW_S): Likewise.
6492         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6493         (_FP_WFRACBITS_DW_D): Likewise.
6494         (_FP_WFRACXBITS_DW_D): Likewise.
6495         (_FP_HIGHBIT_DW_D): Likewise.
6496         (FP_FMA_D): Likewise.
6497         (_FP_FRAC_HIGH_DW_D): Likewise.
6498         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6499         (_FP_WFRACBITS_DW_E): Likewise.
6500         (_FP_WFRACXBITS_DW_E): Likewise.
6501         (_FP_HIGHBIT_DW_E): Likewise.
6502         (FP_FMA_E): Likewise.
6503         (_FP_FRAC_HIGH_DW_E): Likewise.
6504         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6505         (_FP_WFRACBITS_DW_Q): Likewise.
6506         (_FP_WFRACXBITS_DW_Q): Likewise.
6507         (_FP_HIGHBIT_DW_Q): Likewise.
6508         (FP_FMA_Q): Likewise.
6509         (_FP_FRAC_HIGH_DW_Q): Likewise.
6510         * soft-fp/fmasf4.c: New file.
6511         * soft-fp/fmadf4.c: Likewise.
6512         * soft-fp/fmatf4.c: Likewise.
6514 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6517         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6518         Silvermont.
6519         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6520         macro.
6521         (index_Slow_SSE4_2): Likewise.
6522         (index_Prefer_PMINUB_for_stringop): Likewise.
6523         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6524         bit_Slow_SSE4_2 is set.
6525         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6526         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6528 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6530         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6531         rtld_global._dl_hwcap2.
6532         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6533         POWER8.
6534         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6535         POWER8 feature descriptions defined in _dl_hwcap2.
6536         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6537         string handling for POWER8 feature bits.
6538         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6539         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6540         _dl_powerpc_cap_flags.
6541         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6542         * sysdeps/powerpc/rtld-global-offsets.sym
6543         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6544         _dl_hwcap2 in the rtld_global_ro structure.
6546 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6548         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6549         hardware capabilities in support of AT_HWCAP2.
6550         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6551         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6552         GLRO(dl_hwcap2).
6553         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6554         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6555         explicitly the unknown a_type display mechanism is used.
6556         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6557         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6558         struct member.
6559         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6560         to macro prototype for AT_HWCAP2 support.
6561         * sysdeps/i386/dl-procinfo.h: Likewise.
6562         * sysdeps/s390/dl-procinfo.h: Likewise.
6563         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6564         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6565         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6566         return -1 for unknown a_type display fallback.
6567         * sysdeps/sparc/dl-procinfo.h: Likewise.
6568         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6569         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6571 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6573         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6574         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6576 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6578         [BZ #12492]
6579         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6580         mprotect making __stack_prot writable.
6582 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6583             Joseph Myers  <joseph@codesourcery.com>
6585         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6586         as being properly aligned.
6588 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6590         * dlfcn/modstatic5.c: New file.
6591         * dlfcn/tststatic5.c: New file.
6592         * dlfcn/Makefile (tests): Add tststatic5.
6593         (tests-static): Likewise.
6594         (modules-names): Add modstatic5.
6595         (tststatic5-ENV): New variable.
6596         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6598         [BZ #15022]
6599         * elf/dl-support.c (_dl_main_map): New variable.
6600         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6601         (_dl_nns, _dl_load_adds): Set to 1.
6602         (_dl_initial_searchlist): Refer to _dl_main_map.
6603         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6604         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6605         call to _dl_get_origin.
6606         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6607         around call_map.
6608         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6609         * dlfcn/modstatic3.c: New file.
6610         * dlfcn/tststatic3.c: New file.
6611         * dlfcn/tststatic4.c: New file.
6612         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6613         (tests-static): Likewise.
6614         (modules-names): Add modstatic3.
6615         (tststatic3-ENV, tststatic4-ENV): New variables.
6616         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6617         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6619 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6621         * configure.in (CC): Require GCC version 4.4 or later.
6622         * configure: Regenerated.
6623         * manual/install.texi (Tools for Compilation): Update GCC version
6624         requirement.
6625         * INSTALL: Regenerated.
6627 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6629         [BZ #15674]
6630         * string/test-memcmp.c (check2): New.
6631         (main): Call check2.
6633         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6635 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6637         [BZ #15022]
6638         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6639         over to...
6640         (dl_open_worker) [!SHARED]: ... here.
6642 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6644         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6646 2013-06-25  Richard Henderson  <rth@redhat.com>
6648         * locale/programs/locarchive.c: Include <libc-internal.h>
6650 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6652         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6653         trailing whitespace removed.
6655 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6657         [BZ #10283]
6658         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6659         * locale/programs/locarchive.c: Include libc-mmap.h.
6660         (prepare_address_space): Take two new outputs (the mmap base and len).
6661         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6662         values.
6663         (create_archive): Declare new mmap base and len values for
6664         prepare_address_space, and store the result in ah.
6665         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6666         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6667         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6668         Declare new mmap base and len values for
6669         prepare_address_space, and store the result in new_ah.
6670         (open_archive): Declare new mmap base and len values for
6671         prepare_address_space, and store the result in ah.
6672         (close_archive): If ah->mmap_base is not NULL, use that and
6673         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6674         * sysdeps/generic/libc-mmap.h: New file.
6676 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6678         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6679         (ALIGN_UP): Likewise.
6680         (PTR_ALIGN_DOWN): Likewise.
6681         (PTR_ALIGN_UP): Likewise.
6683 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6685         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6686         entry mapped to PPC_PLATFORM_POWER8.
6687         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6688         POWER8.
6689         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6690         (_dl_string_platform): Add case for exporting platform position for
6691         POWER8.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6693         search path to sysdeps/powerpc/powerpc32/power8 directory.
6694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6695         search path to sysdeps/powerpc/powerpc64/power8 directory.
6696         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6697         power7 directories.
6698         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6699         power7 directories.
6701 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6703         * INSTALL: Regenerate.
6705         * nscd/connections.c (nscd_init): Fix comment.
6707 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6709         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6711         [BZ #15667]
6712         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6713         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6715 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6717         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6718         DL_DST_REQ_STATIC.
6719         (DL_DST_REQ_STATIC): Remove macro.
6721 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6723         [BZ #7006]
6724         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6725         with a shift of 0 bits.
6727 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6729         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6730         $(tststatic-ENV).
6732 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6734         [BZ #15655]
6735         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6737 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6739         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6740         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6741         accepts -fno-tree-loop-distribute-patterns.
6742         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6743         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6744         recursive call.
6745         * string/memset.c (memset): Likewise.
6746         * string/test-memmove.c (simple_memmove): Disable loop transformation
6747         to library calls.
6748         * string/test-memset.c (simple_memset): Likewise.
6749         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6750         * benchtests/bench-memset.c (simple_memset): Likewise.
6751         * configure: Regenerated.
6753 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6755         * math/test-misc.c (main): Ignore fesetround failure when failures
6756         of subsequent rounding tests would be ignored.
6758         [BZ #15654]
6759         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6760         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6761         * math/fegetenv.c (__fegetenv): Return 0.
6762         * math/fegetexcept.c (fegetexcept): Return 0.
6763         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6764         FE_TONEAREST.
6765         * math/feholdexcpt.c (feholdexcept): Return 0.
6766         * math/fesetenv.c (__fesetenv): Return 0.
6767         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6768         argument FE_TONEAREST.
6769         * math/feupdateenv.c (__feupdateenv): Return 0.
6770         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6772 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6774         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6775         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6776         ($(objpfx)rtld-%.os rules): Use them.
6778 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6780         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6781         fields.
6783 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6785         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6786         length of target pattern, then descending length of dependency pattern.
6787         * configure.in (AWK): Require gawk 3.1.2 or newer.
6788         * manual/install.texi (Tools for Compilation): Say that we do.
6789         * configure: Regenerated.
6791         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6792         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6793         * scripts/sysd-rules.awk: ... this new script.
6794         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6795         than a glob-style pattern.
6797 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6799         * math/test-misc.c (main): Do not treat incorrectly rounded
6800         conversions as failure unless ROUNDING_TESTS passes.
6802 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6804         [BZ #15631]
6805         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6806         restore exception state around main square root computation, then
6807         check for inexactness explicitly.
6809         * math/libm-test.inc (fma_test_data): Add another test.
6811 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6813         * manual/threads.texi (Non-POSIX Extensions): New document
6814         node.  Document pthread_getattr_default_np and
6815         pthread_setattr_default_np.
6817         * Versions.def (libpthread): Add GLIBC_2.18.
6818         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6820         Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6822         Likewise.
6823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6826         Likewise.
6827         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6836         Likewise.
6838 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6841         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6843 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6844             H.J. Lu  <hjl.tools@gmail.com>
6846         [BZ #15627]
6847         * sysdeps/x86_64/rtld-memset.c: Remove file.
6848         * sysdeps/x86_64/rtld-memset.S: New file.
6850 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6852         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6853         (test_in_one_mode): Take arguments for whether the rounding mode
6854         is supported for each floating-point type.
6855         (do_test): Pass new arguments to test_in_one_mode using
6856         ROUNDING_TESTS.
6858 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6860         * posix/tst-waitid.c (do_test): Distinguish different instances of
6861         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6862         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6863         before entering the kernel for waitpid.
6865 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6867         * NEWS: Fix note on clock function precision.  Text by Roland
6868         McGrath.
6870 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6872         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6873         it into place only when and if the sanity check passes.
6875 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6877         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6878         output for whether conversion result is exact.  Take argument
6879         indicating whether type is IBM long double.
6880         (round_for_all): Change need_exact field to ibm_ld.
6881         * stdlib/tst-strtod-round.c (struct exactness): New type.
6882         (struct test): Change bool ld_ok field to struct exactness exact.
6883         (TEST): Update all definitions for change to field.
6884         (tests): Regenerate array contents.
6885         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6886         field value.  Check for IBM long double here.
6887         (do_test): Update calls to test_in_one_mode.
6889 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6891         [BZ #12515]
6892         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6893         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6895 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6897         [BZ #15605]
6898         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6899         generated by the compiler on loop optimizations.
6900         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6901         general definitions.
6903 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6905         * math/bug-nextafter.c: Include <math-tests.h>.
6906         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6907         the relevant type.
6908         * math/bug-nexttoward.c: Include <math-tests.h>.
6909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6910         the relevant type.
6911         * math/test-misc.c: Include <math-tests.h>.
6912         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6913         the relevant type.
6915 2013-06-12  Andreas Jaeger  <aj@suse.de>
6917         * po/ia.po: Update Interlingua translation from translation
6918         project.
6920 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6922         * include/fenv.h: Include stdbool.h.
6923         (struct rm_ctx): New structure.
6924         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6925         Define macro.
6926         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6927         (SET_RESTORE_ROUNDF): Likewise.
6928         (SET_RESTORE_ROUNDL): Likewise.
6929         (SET_RESTORE_ROUND_NOEX): Likewise.
6930         (SET_RESTORE_ROUND_NOEXF): Likewise.
6931         (SET_RESTORE_ROUND_NOEXL): Likewise.
6932         (SET_RESTORE_ROUND_53BIT): Likewise.
6933         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6934         (libc_feresetround_noexf_ctx): Likewise.
6935         (libc_feresetround_noexl_ctx): Likewise.
6936         (libc_feholdsetround_53bit_ctx): Likewise.
6937         (libc_feresetround_53bit_ctx): Likewise.
6938         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6939         (libc_feholdexcept_setround_sse_ctx): New function.
6940         (libc_fesetenv_sse_ctx): Likewise.
6941         (libc_feupdateenv_sse_ctx): Likewise.
6942         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6943         (libc_feholdexcept_setround_387_ctx): Likewise.
6944         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6945         (libc_feholdsetround_387_prec_ctx): Likewise.
6946         (libc_feholdsetround_387_ctx): Likewise.
6947         (libc_feholdsetround_387_53bit_ctx): Likewise.
6948         (libc_feholdsetround_sse_ctx): Likewise.
6949         (libc_feresetround_sse_ctx): Likewise.
6950         (libc_feresetround_387_ctx): Likewise.
6951         (libc_feupdateenv_387_ctx): Likewise.
6952         (libc_feholdexcept_setroundf_ctx): Define macro.
6953         (libc_fesetenvf_ctx): Likewise.
6954         (libc_feupdateenvf_ctx): Likewise.
6955         (libc_feholdsetroundf_ctx): Likewise.
6956         (libc_feresetroundf_ctx): Likewise.
6957         (libc_feholdexcept_setround_ctx): Likewise.
6958         (libc_fesetenv_ctx): Likewise.
6959         (libc_feupdateenv_ctx): Likewise.
6960         (libc_feholdsetround_ctx): Likewise.
6961         (libc_feresetround_ctx): Likewise.
6962         (libc_feholdexcept_setroundl_ctx): Likewise.
6963         (libc_feupdateenvl_ctx): Likewise.
6964         (libc_feholdsetroundl_ctx): Likewise.
6965         (libc_feresetroundl_ctx): Likewise.
6966         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6967         (libc_feresetround_53bit_ctx): Likewise.
6969 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971         * locale/iso-639.def: Convert to UTF-8.
6973 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6975         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6976         (EXCEPTION_TESTS_double): Likewise.
6977         (EXCEPTION_TESTS_long_double): Likewise.
6978         (EXCEPTION_TESTS): Likewise.
6979         * math/libm-test.inc (test_exceptions): Only test exceptions if
6980         EXCEPTION_TESTS (FLOAT).
6982 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6984         * benchtests/Makefile (string-bench): Add strcpy_chk and
6985         stpcpy_chk.
6986         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6987         * benchtests/bench-stpcpy_chk.c: New file.
6988         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6989         * benchtests/bench-strcpy_chk.c: New file.
6990         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6991         code.
6992         (do_test): Likewise.
6994 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6996         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6997         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6998         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6999         with tabs where appropriate.
7000         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7001         dl-procinfo.h.
7002         [PPC_PLATFORM_PPC440]: Likewise.
7003         [PPC_PLATFORM_PPC464]: Likewise.
7004         [PPC_PLATFORM_PPC476]: Likewise.
7005         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7006         ppc464, and ppc476 platform strings merging from ports/
7007         dl-procinfo.h.
7009 2013-06-11  Andreas Schwab  <schwab@suse.de>
7011         [BZ #14991]
7012         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7013         (from_ucs4_idx): Regenerate.
7014         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7015         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7016         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7017         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7018         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7019         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7020         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7021         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7022         from FROM_LOOP and TO_LOOP specific macros.
7023         (BODY): Handle combining characters.
7024         * iconvdata/BIG5HKSCS.irreversible: Update.
7025         * iconvdata/BIG5HKSCS.precomposed: New file.
7026         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7027         characters.
7028         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7032         * include/sys/time.h: Fix indentation and add copyright header.
7034         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7035         (do_test): Likewise.
7036         * string/test-memchr.c (do_one_test): Likewise.
7037         (do_test): Likewise.
7038         * string/test-memcmp.c (do_one_test): Likewise.
7039         (do_test): Likewise.
7040         * string/test-memcpy.c (do_one_test): Likewise.
7041         (do_test): Likewise.
7042         * string/test-memmem.c (do_one_test): Likewise.
7043         (do_test): Likewise.
7044         (do_random_tests): Likewise.
7045         * string/test-memmove.c (do_one_test): Likewise.
7046         (do_test): Likewise.
7047         * string/test-memset.c (do_one_test): Likewise.
7048         (do_test): Likewise.
7049         * string/test-rawmemchr.c (do_one_test): Likewise.
7050         (do_test): Likewise.
7051         * string/test-strcasecmp.c (do_one_test): Likewise.
7052         (do_test): Likewise.
7053         * string/test-strcasestr.c (do_one_test): Likewise.
7054         (do_test): Likewise.
7055         * string/test-strcat.c (do_one_test): Likewise.
7056         (do_test): Likewise.
7057         * string/test-strchr.c (do_one_test): Likewise.
7058         (do_test): Likewise.
7059         * string/test-strcmp.c (do_one_test): Likewise.
7060         (do_test): Likewise.
7061         * string/test-strcpy.c (do_one_test): Likewise.
7062         (do_test): Likewise.
7063         * string/test-string.h: Likewise.
7064         (test_init): Likewise.
7065         * string/test-strlen.c (do_one_test): Likewise.
7066         (do_test): Likewise.
7067         * string/test-strncasecmp.c (do_one_test): Likewise.
7068         (do_test): Likewise.
7069         * string/test-strncat.c (do_one_test): Likewise.
7070         (do_test): Likewise.
7071         * string/test-strncmp.c (do_one_test): Likewise.
7072         (do_test_limit): Likewise.
7073         (do_test): Likewise.
7074         * string/test-strncpy.c (do_one_test): Likewise.
7075         (do_test): Likewise.
7076         * string/test-strnlen.c (do_one_test): Likewise.
7077         (do_test): Likewise.
7078         * string/test-strpbrk.c (do_one_test): Likewise.
7079         (do_test): Likewise.
7080         * string/test-strrchr.c (do_one_test): Likewise.
7081         (do_test): Likewise.
7082         * string/test-strspn.c (do_one_test): Likewise.
7083         (do_test): Likewise.
7084         * string/test-strstr.c (do_one_test): Likewise.
7085         (do_test): Likewise.
7087         * benchtests/Makefile (string-bench): Add string benchmarks.
7088         * benchtests/bench-bcopy-ifunc.c: New file.
7089         * benchtests/bench-bcopy.c: New file.
7090         * benchtests/bench-bzero-ifunc.c: New file.
7091         * benchtests/bench-bzero.c: New file.
7092         * benchtests/bench-memccpy-ifunc.c: New file.
7093         * benchtests/bench-memccpy.c: New file.
7094         * benchtests/bench-memchr-ifunc.c: New file.
7095         * benchtests/bench-memchr.c: New file.
7096         * benchtests/bench-memcmp-ifunc.c: New file.
7097         * benchtests/bench-memcmp.c: New file.
7098         * benchtests/bench-memmem-ifunc.c: New file.
7099         * benchtests/bench-memmem.c: New file.
7100         * benchtests/bench-memmove-ifunc.c: New file.
7101         * benchtests/bench-memmove.c: New file.
7102         * benchtests/bench-mempcpy-ifunc.c: New file.
7103         * benchtests/bench-mempcpy.c: New file.
7104         * benchtests/bench-memset-ifunc.c: New file.
7105         * benchtests/bench-memset.c: New file.
7106         * benchtests/bench-rawmemchr-ifunc.c: New file.
7107         * benchtests/bench-rawmemchr.c: New file.
7108         * benchtests/bench-stpcpy-ifunc.c: New file.
7109         * benchtests/bench-stpcpy.c: New file.
7110         * benchtests/bench-stpncpy-ifunc.c: New file.
7111         * benchtests/bench-stpncpy.c: New file.
7112         * benchtests/bench-strcasecmp-ifunc.c: New file.
7113         * benchtests/bench-strcasecmp.c: New file.
7114         * benchtests/bench-strcasestr-ifunc.c: New file.
7115         * benchtests/bench-strcasestr.c: New file.
7116         * benchtests/bench-strcat-ifunc.c: New file.
7117         * benchtests/bench-strcat.c: New file.
7118         * benchtests/bench-strchr-ifunc.c: New file.
7119         * benchtests/bench-strchr.c: New file.
7120         * benchtests/bench-strchrnul-ifunc.c: New file.
7121         * benchtests/bench-strchrnul.c: New file.
7122         * benchtests/bench-strcmp-ifunc.c: New file.
7123         * benchtests/bench-strcmp.c: New file.
7124         * benchtests/bench-strcpy-ifunc.c: New file.
7125         * benchtests/bench-strcpy.c: New file.
7126         * benchtests/bench-strcspn-ifunc.c: New file.
7127         * benchtests/bench-strcspn.c: New file.
7128         * benchtests/bench-strlen-ifunc.c: New file.
7129         * benchtests/bench-strlen.c: New file.
7130         * benchtests/bench-strncasecmp-ifunc.c: New file.
7131         * benchtests/bench-strncasecmp.c: New file.
7132         * benchtests/bench-strncat-ifunc.c: New file.
7133         * benchtests/bench-strncat.c: New file.
7134         * benchtests/bench-strncmp-ifunc.c: New file.
7135         * benchtests/bench-strncmp.c: New file.
7136         * benchtests/bench-strncpy-ifunc.c: New file.
7137         * benchtests/bench-strncpy.c: New file.
7138         * benchtests/bench-strnlen-ifunc.c: New file.
7139         * benchtests/bench-strnlen.c: New file.
7140         * benchtests/bench-strpbrk-ifunc.c: New file.
7141         * benchtests/bench-strpbrk.c: New file.
7142         * benchtests/bench-strrchr-ifunc.c: New file.
7143         * benchtests/bench-strrchr.c: New file.
7144         * benchtests/bench-strspn-ifunc.c: New file.
7145         * benchtests/bench-strspn.c: New file.
7146         * benchtests/bench-strstr-ifunc.c: New file.
7147         * benchtests/bench-strstr.c: New file.
7149         * benchtests/Makefile: Disable parallel execution of targets.
7150         (string-bench): Add memcpy.
7151         (benchset): New variable to store a list of benchmark sets.
7152         (bench-func): Renamed from bench.
7153         (bench-set): New target.
7154         (bench): Depend on bench-func and bench-set.
7155         * benchtests/README: Add section on benchmark sets.
7156         * benchtests/bench-memcpy-ifunc.c: New file.
7157         * benchtests/bench-memcpy.c: New file.
7158         * benchtests/bench-string.h: New file.
7160 2013-06-11  Andreas Schwab  <schwab@suse.de>
7162         [BZ #15577]
7163         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7164         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7165         values in the triple.
7166         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7167         terminator in the group key.
7169 2013-06-11  Andreas Jaeger  <aj@suse.de>
7171         * po/zh_TW.po: Update Chinese (traditional) translation from
7172         translation project.
7174 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7176         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7177         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7178         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7179         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7180         (clock_getcpuclockid): Likewise.
7181         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7182         Add weak_alias and libc_hidden_def.
7183         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7184         * rt/clock_gettime.c (clock_gettime): Rename to
7185         __clock_gettime.  Add weak_alias and libc_hidden_def.
7186         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7187         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7188         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7189         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7190         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7191         Likewise.
7192         * rt/clock_settime.c (clock_settime): Rename to
7193         __clock_settime.  Add weak_alias and libc_hidden_def.
7194         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7196 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7198         * mach/err_boot.sub: Remove trailing whitespace.
7199         * mach/err_ipc.sub: Likewise.
7200         * mach/err_mach.sub: Likewise.
7202         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7203         (ROUNDING_TESTS_double): Likewise.
7204         (ROUNDING_TESTS_long_double): Likewise.
7205         (ROUNDING_TESTS): Likewise.
7206         * math/libm-test.inc: Include <math-tests.h>.
7207         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7208         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7209         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7210         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7212 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7214         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7215         of assigning.
7217 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7219         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7220         otherwise empty TRANS lines.
7221         * sysdeps/gnu/errlist.c: Regenerated.
7223         * catgets/gencat.c (error_print): Use (void) in function
7224         definition.
7225         * crypt/crypt_util.c (__init_des): Likewise.
7226         * crypt/speeds.c (Stop): Likewise.
7227         (main): Likewise.
7228         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7229         * inet/ruserpass.c (token): Likewise.
7230         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7231         * intl/localealias.c (extend_alias_table): Likewise.
7232         * intl/plural-exp.c (init_germanic_plural): Likewise.
7233         * libio/fcloseall.c (__fcloseall): Likewise.
7234         * libio/genops.c (_IO_flush_all): Likewise.
7235         (_IO_flush_all_linebuffered): Likewise.
7236         (_IO_cleanup): Likewise.
7237         (_IO_iter_begin): Likewise.
7238         (_IO_iter_end): Likewise.
7239         (_IO_list_lock): Likewise.
7240         (_IO_list_unlock): Likewise.
7241         (_IO_list_resetlock): Likewise.
7242         * libio/getchar.c (getchar): Likewise.
7243         * libio/getchar_u.c (getchar_unlocked): Likewise.
7244         * libio/getwchar.c (getwchar): Likewise.
7245         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7246         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7247         * login/getpt.c (__getpt): Likewise.
7248         * login/tst-utmp.c (main): Likewise.
7249         * malloc/hooks.c (__malloc_check_init): Likewise.
7250         * malloc/malloc.c (__malloc_stats): Likewise.
7251         * malloc/mtrace.c (tr_break): Likewise.
7252         (mtrace): Likewise.
7253         (muntrace): Likewise.
7254         * misc/fstab.c (endfsent): Likewise.
7255         * misc/getclktck.c (__getclktck): Likewise.
7256         * misc/getdtsz.c (__getdtablesize): Likewise.
7257         * misc/gethostid.c (gethostid): Likewise.
7258         * misc/getpagesize.c (__getpagesize): Likewise.
7259         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7260         (__get_nprocs): Likewise.
7261         (__get_phys_pages): Likewise.
7262         (__get_avphys_pages): Likewise.
7263         * misc/getttyent.c (getttyent): Likewise.
7264         (setttyent): Likewise.
7265         (endttyent): Likewise.
7266         * misc/getusershell.c (getusershell): Likewise.
7267         (endusershell): Likewise.
7268         (setusershell): Likewise.
7269         (initshells): Likewise.
7270         * misc/hsearch.c (__hdestroy): Likewise.
7271         * misc/sync.c (sync): Likewise.
7272         * misc/syslog.c (closelog_internal): Likewise.
7273         (closelog): Likewise.
7274         * misc/ttyslot.c (ttyslot): Likewise.
7275         * misc/vhangup.c (vhangup): Likewise.
7276         * posix/fork.c (__fork): Likewise.
7277         * posix/getegid.c (__getegid): Likewise.
7278         * posix/geteuid.c (__geteuid): Likewise.
7279         * posix/getgid.c (__getgid): Likewise.
7280         * posix/getpid.c (__getpid): Likewise.
7281         * posix/getppid.c (__getppid): Likewise.
7282         * posix/getuid.c (__getuid): Likewise.
7283         * posix/pause.c (pause): Likewise.
7284         * posix/setpgrp.c (setpgrp): Likewise.
7285         * posix/setsid.c (__setsid): Likewise.
7286         * posix/test-vfork.c (noop): Likewise.
7287         * resolv/gethnamaddr.c (_endhtent): Likewise.
7288         (_gethtent): Likewise.
7289         (ht_endhostent): Likewise.
7290         (gethostent): Likewise.
7291         (dns_service): Likewise.
7292         * stdlib/drand48.c (drand48): Likewise.
7293         * stdlib/lrand48.c (lrand48): Likewise.
7294         * stdlib/mrand48.c (mrand48): Likewise.
7295         * stdlib/rand.c (rand): Likewise.
7296         * stdlib/random.c (__random): Likewise.
7297         * stdlib/setenv.c (clearenv): Likewise.
7298         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7299         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7300         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7301         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7302         (__get_nprocs): Likewise.
7303         (__get_phys_pages): Likewise.
7304         (__get_avphys_pages): Likewise.
7305         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7306         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7307         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7308         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7309         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7310         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7311         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7312         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7313         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7314         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7315         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7316         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7317         * sysdeps/posix/clock.c (clock): Likewise.
7318         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7319         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7320         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7321         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7322         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7324         (__get_nprocs_conf): Likewise.
7325         (__get_phys_pages): Likewise.
7326         (__get_avphys_pages): Likewise.
7327         * time/clock.c (clock): Likewise.
7328         * time/tzset.c (__tzname_max): Likewise.
7330 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7332         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7333         (__bswap_32): Do not use "register".
7334         * crypt/crypt.c (_ufc_doit_r): Likewise.
7335         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7336         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7337         * gmon/gmon.c (__monstartup): Likewise.
7338         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7339         * hurd/hurdmalloc.c (more_memory): Likewise.
7340         (malloc): Likewise.
7341         (free): Likewise.
7342         (realloc): Likewise.
7343         (malloc_fork_prepare): Likewise.
7344         (malloc_fork_parent): Likewise.
7345         (malloc_fork_child): Likewise.
7346         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7347         (_svcauth_des): Likewise.
7348         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7349         * inet/inet_net.c (inet_network): Likewise.
7350         * inet/inet_netof.c (inet_netof): Likewise.
7351         * inet/rcmd.c (__validuser2_sa): Likewise.
7352         * io/fts.c (fts_open): Likewise.
7353         (fts_load): Likewise.
7354         (fts_close): Likewise.
7355         (fts_read): Likewise.
7356         (fts_children): Likewise.
7357         (fts_build): Likewise.
7358         (fts_stat): Likewise.
7359         (fts_sort): Likewise.
7360         (fts_alloc): Likewise.
7361         (fts_lfree): Likewise.
7362         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7363         (_IO_file_xsgetn): Likewise.
7364         (_IO_file_xsgetn_mmap): Likewise.
7365         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7366         (_IO_cookie_write): Likewise.
7367         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7368         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7369         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7370         * malloc/obstack.c (_obstack_begin): Likewise.
7371         (_obstack_begin_1): Likewise.
7372         (_obstack_newchunk): Likewise.
7373         (_obstack_allocated_p): Likewise.
7374         (obstack_free): Likewise.
7375         (_obstack_memory_used): Likewise.
7376         * misc/getttyent.c (getttynam): Likewise.
7377         (getttyent): Likewise.
7378         (skip): Likewise.
7379         (value): Likewise.
7380         * misc/getusershell.c (initshells): Likewise.
7381         * misc/syslog.c (__vsyslog_chk): Likewise.
7382         * misc/ttyslot.c (ttyslot): Likewise.
7383         * nis/nis_hash.c (__nis_hash): Likewise.
7384         * posix/fnmatch_loop.c (FCT): Likewise.
7385         * posix/getconf.c (print_all): Likewise.
7386         (main): Likewise.
7387         * posix/getopt.c (exchange): Likewise.
7388         * posix/glob.c (globfree): Likewise.
7389         (prefix_array): Likewise.
7390         (__glob_pattern_type): Likewise.
7391         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7392         (NS_GET32): Likewise.
7393         (NS_PUT16): Likewise.
7394         (NS_PUT32): Likewise.
7395         * resolv/gethnamaddr.c (getanswer): Likewise.
7396         (gethostbyname2): Likewise.
7397         (gethostbyaddr): Likewise.
7398         (_gethtent): Likewise.
7399         (_gethtbyname2): Likewise.
7400         (_gethtbyaddr): Likewise.
7401         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7402         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7403         * resolv/res_init.c (__res_vinit): Likewise.
7404         (net_mask): Likewise.
7405         * resolv/res_mkquery.c (outchar): Likewise.
7406         (PRINT): Likewise.
7407         * stdio-common/printf_fp.c (outchar): Likewise.
7408         (PRINT): Likewise.
7409         * stdio-common/printf_fphex.c (outchar): Likewise.
7410         (PRINT): Likewise.
7411         * stdio-common/printf_size.c (outchar): Likewise.
7412         (PRINT): Likewise.
7413         * stdio-common/test_rdwr.c (main): Likewise.
7414         * stdio-common/tfformat.c (matches): Likewise.
7415         * stdio-common/vfprintf.c (outchar): Likewise.
7416         (printf_unknown): Likewise.
7417         (buffered_vfprintf): Likewise.
7418         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7419         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7420         (ReadFile): Likewise.
7421         * stdlib/qsort.c (SWAP): Likewise.
7422         (_quicksort): Likewise.
7423         * stdlib/setenv.c (__add_to_environ): Likewise.
7424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7425         * stdlib/strtol_l.c (__strtol_l): Likewise.
7426         * stdlib/tst-strtod.c (main): Likewise.
7427         * stdlib/tst-strtol.c (main): Likewise.
7428         * stdlib/tst-strtoll.c (main): Likewise.
7429         * string/bits/string2.h (__strcmp_cc): Likewise.
7430         (__strcmp_cg): Likewise.
7431         (__strcspn_c1): Likewise.
7432         (__strcspn_c2): Likewise.
7433         (__strcspn_c3): Likewise.
7434         (__strspn_c1): Likewise.
7435         (__strspn_c2): Likewise.
7436         (__strspn_c3): Likewise.
7437         (__strsep_1c): Likewise.
7438         (__strsep_2c): Likewise.
7439         (__strsep_3c): Likewise.
7440         * string/memccpy.c (__memccpy): Likewise.
7441         * string/stpcpy.c (__stpcpy): Likewise.
7442         * string/strcmp.c (strcmp): Likewise.
7443         * string/strrchr.c (strrchr): Likewise.
7444         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7445         Likewise.
7446         * sysdeps/mach/hurd/getcwd.c
7447         (_hurd_canonicalize_directory_name_internal): Likewise.
7448         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7449         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7450         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7451         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7452         Likewise, in both definitions.
7453         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7454         definitions.
7455         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7456         64] (__bswap_64): Likewise.
7457         * time/test_time.c (main): Likewise.
7458         * time/tzfile.c (__tzfile_read): Likewise.
7459         (__tzfile_compute): Likewise.
7460         * time/tzset.c (__tzset_parse_tz): Likewise.
7461         (tzset_internal): Likewise.
7462         (compute_change): Likewise.
7463         * wcsmbs/wcscat.c (__wcscat): Likewise.
7464         * wcsmbs/wcschr.c (wcschr): Likewise.
7465         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7466         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7467         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7468         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7469         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7470         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7471         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7472         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7473         * wcsmbs/wmemset.c (wmemset): Likewise.
7475 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7477         * scripts/config.guess: Update to version 2013-05-16.
7478         * scripts/config.sub: Update to version 2013-04-24.
7479         * scripts/install-sh: Update to version 2011-11-20.07.
7480         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7481         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7483 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7485         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7486         * elf/sln.c: Likewise.
7487         * hurd/hurd/ioctl.h: Likewise.
7488         * hurd/hurdmalloc.c: Likewise.
7489         * hurd/xattr.c: Likewise.
7490         * include/shlib-compat.h: Likewise.
7491         * inet/ruserpass.c: Likewise.
7492         * libio/iofgets_u.c: Likewise.
7493         * libio/iofgetws_u.c: Likewise.
7494         * locale/programs/ld-identification.c: Likewise.
7495         * locale/programs/ld-time.c: Likewise.
7496         * mach/msg-destroy.c: Likewise.
7497         * nss/nss_files/files-netgrp.c: Likewise.
7498         * resolv/res_data.c: Likewise.
7499         * soft-fp/op-1.h: Likewise.
7500         * soft-fp/op-2.h: Likewise.
7501         * soft-fp/op-4.h: Likewise.
7502         * soft-fp/op-common.h: Likewise.
7503         * stdio-common/printf_fphex.c: Likewise.
7504         * stdlib/strtod_l.c: Likewise.
7505         * sunrpc/rpc/clnt.h: Likewise.
7506         * sysdeps/generic/framestate.c: Likewise.
7507         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7508         * sysdeps/i386/bsd-setjmp.S: Likewise.
7509         * sysdeps/i386/__longjmp.S: Likewise.
7510         * sysdeps/i386/setjmp.S: Likewise.
7511         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7512         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7513         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7514         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7516         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7517         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7520         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7521         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7522         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7523         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7524         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7525         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7526         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7527         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7528         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7529         * sysdeps/ieee754/support.c: Likewise.
7530         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7531         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7532         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7533         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7534         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7535         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7536         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7537         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7538         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7539         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7540         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7541         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7542         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7543         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7544         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7545         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7546         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7549 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7551         * posix/transbug.c: Remove executable mode.
7553 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7555         * crypt/speeds.c: Remove trailing whitespace.
7556         * dlfcn/default.c: Likewise.
7557         * elf/ifuncdep2.c: Likewise.
7558         * elf/ifuncmain1.c: Likewise.
7559         * elf/ifuncmain1vis.c: Likewise.
7560         * elf/testobj.h: Likewise.
7561         * elf/tst-stackguard1.c: Likewise.
7562         * gmon/sys/gmon.h: Likewise.
7563         * hurd/hurdmsg.c: Likewise.
7564         * hurd/new-fd.c: Likewise.
7565         * hurd/ports-get.c: Likewise.
7566         * iconvdata/ibm1008_420.c: Likewise.
7567         * inet/tst-getni1.c: Likewise.
7568         * inet/tst-getni2.c: Likewise.
7569         * libio/ioungetc.c: Likewise.
7570         * libio/wfiledoalloc.c: Likewise.
7571         * manual/libm-err-tab.pl: Likewise.
7572         * math/w_dremf.c: Likewise.
7573         * misc/ftruncate.c: Likewise.
7574         * posix/bug-glob2.c: Likewise.
7575         * posix/tst-pcre.c: Likewise.
7576         * posix/wait4.c: Likewise.
7577         * resolv/README: Likewise.
7578         * resolv/res_debug.h: Likewise.
7579         * resolv/tst-inet_ntop.c: Likewise.
7580         * setjmp/bug269-setjmp.c: Likewise.
7581         * soft-fp/extended.h: Likewise.
7582         * soft-fp/op-1.h: Likewise.
7583         * soft-fp/op-2.h: Likewise.
7584         * soft-fp/op-4.h: Likewise.
7585         * soft-fp/op-8.h: Likewise.
7586         * soft-fp/testit.c: Likewise.
7587         * stdio-common/bug16.c: Likewise.
7588         * stdlib/random.c: Likewise.
7589         * sunrpc/rpcsvc/rquota.x: Likewise.
7590         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7591         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7592         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7593         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7594         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7595         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7596         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7597         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7598         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7599         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7600         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7601         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7602         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7603         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7605         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7606         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7607         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7608         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7609         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7610         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7611         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7612         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7613         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7618         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7619         * sysdeps/ieee754/s_lib_version.c: Likewise.
7620         * sysdeps/mach/hurd/check_fds.c: Likewise.
7621         * sysdeps/mach/hurd/getsockname.c: Likewise.
7622         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7623         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7624         * sysdeps/powerpc/bits/link.h: Likewise.
7625         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7626         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7627         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7628         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7629         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7630         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7631         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7633         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7634         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7635         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7636         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7637         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7638         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7639         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7640         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7641         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7642         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7644         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7646         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7648         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7649         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7650         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7651         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7652         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7653         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7654         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7655         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7656         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7657         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7658         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7659         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7660         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7661         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7662         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7663         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7664         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7665         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7666         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7667         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7668         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7669         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7670         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7671         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7672         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7673         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7674         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7676         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7677         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7679         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7680         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7681         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7682         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7683         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7685         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7686         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7687         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7688         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7689         * sysdeps/powerpc/sysdep.h: Likewise.
7690         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7691         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7692         * sysdeps/sh/dl-trampoline.S: Likewise.
7693         * sysdeps/sh/memset.S: Likewise.
7694         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7695         * sysdeps/sh/strlen.S: Likewise.
7696         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7697         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7698         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7699         * sysdeps/sparc/sparc32/rem.S: Likewise.
7700         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7701         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7702         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7703         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7704         * sysdeps/sparc/sparc32/urem.S: Likewise.
7705         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7706         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7707         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7708         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7709         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7710         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7711         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7712         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7713         * sysdeps/unix/bsd/times.c: Likewise.
7714         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7715         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7719         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7720         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7721         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7722         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7723         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7724         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7725         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7726         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7727         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7729         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7730         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7731         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7732         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7733         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7734         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7735         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7736         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7737         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7738         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7739         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7740         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7741         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7742         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7743         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7744         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7745         * sysdeps/x86_64/strcspn.S: Likewise.
7747 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7749         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7750         generated file.  Regenerate properly from gen-translit.pl.
7751         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7752         locale/C-translit.h.
7754 2013-06-05  Andreas Schwab  <schwab@suse.de>
7756         [BZ #15100]
7757         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7758         week as 6 instead of -1.
7759         * time/tst-strptime.c (day_tests): Add test case.
7761 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7763         * sysdeps/generic/math_private.h
7764         (libc_feholdexcept_setround_53bit): Replace with
7765         libc_feholdsetround_53bit.
7766         (libc_feupdateenv_53bit): Replace with
7767         libc_feresetround_53bit.
7768         (SET_RESTORE_ROUND_53BIT): Adjust.
7770 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7772         * string/test-strchrnul.c: Add copyright header.
7774         * posix/tst-getaddrinfo4.c: Increase test timeout.
7776 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7778         [BZ #15536]
7779         * math/libm-test.inc (MAX_EXP): Remove
7780         (MIN_EXP): Define.
7781         (ulp): Use MIN_EXP - MANT_DIG.
7782         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7784 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7786         * po/be.po: Revert last change.
7787         * po/zh_CN.po: Likewise.
7788         * po/header.pot: Likewise.
7790 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7792         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7793         link-libc-deps to empty as target-specific variable.
7794         * Makerules (link-libc-args): New variable.
7795         (libc-for-link): Likewise.
7796         (link-libc-deps): Likewise.
7797         (lib%.so): Depend on $(link-libc-deps).  Link with
7798         $(link-libc-args).
7799         (build-module): Link with $(link-libc-args).
7800         (build-module-asneeded): Likewise.
7801         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7802         list of objects.
7803         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7804         target-specific variable.
7805         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7806         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7807         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7808         libc.
7809         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7810         libc and ld.so.
7811         ($(objpfx)libpcprofile.so): Likewise.
7812         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7813         libc_nonshared.a.
7814         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7815         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7816         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7817         $(link-libc-deps).
7818         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7819         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7820         * login/Makefile ($(objpfx)libutil.so): Likewise.
7821         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7822         * math/Makefile ($(objpfx)libm.so): Likewise.
7823         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7824         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7825         variable instead of depending directly on libc.
7826         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7827         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7828         $(link-libc-deps).
7829         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7830         libc.
7831         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7832         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7833         ($(objpfx)libanl.so): Likewise.
7834         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7835         ld.so.
7836         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7837         $(link-libc-deps).
7838         * sysdeps/i386/fpu/Makefile: Remove file.
7839         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7840         ($(objpfx)libm.so): Remove dependency on ld.so.
7842 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7844         [BZ # 15553]
7845         * nis/yp_xdr.c (XDRMAXNAME): Define.
7846         (XDRMAXRECORD): Define.
7847         (xdr_domainname): Use XDRMAXNAME.
7848         (xdr_mapname): Likewise.
7849         (xdr_peername): Likewise.
7850         (xdr_keydat): Use XDRMAXRECORD.
7851         (xdr_valdat): Likewise.
7853 2013-05-30  Jeff Law  <law@redhat.com>
7855         [BZ #14256]
7856         * manual/errno.texi (ESTALE): Update to account for more than
7857         just NFS file systems.
7858         * sysdeps/gnu/errlist.c: Regenerated.
7860 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7862         [BZ #15465]
7863         * elf/Makefile (tests): Add tst-null-argv.
7864         (modules-names):  Add tst-null-argv-lib.
7865         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7866         (tst-null-argv-ENV): Set environment for tst-null-argv.
7867         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7868         (RTLD_PROGNAME): New macro.
7869         * elf/tst-null-argv.c: New test case.
7870         * elf/tst-null-argv-lib.c: Library for test case.
7871         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7872         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7873         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7874         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7875         * elf/dl-init.c (call_init): Likewise.
7876         (_dl_init): Likewise.
7877         * elf/dl-load.c (print_search_path): Likewise.
7878         (_dl_map_object): Likewise.
7879         * elf/dl-lookup.c (do_lookup_x): Likewise.
7880         (add_dependency): Likewise.
7881         (_dl_lookup_symbol_x): Likewise.
7882         (_dl_debug_bindings): Likewise.
7883         * elf/dl-open.c (_dl_show_scope): Likewise.
7884         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7885         * elf/dl-version.c (match_symbol): Likewise.
7886         (_dl_check_map_versions): Likewise.
7887         * elf/rtld.c (dl_main): Likewise.
7888         (print_unresolved): Use RTLD_PROGNAME.
7889         (print_missing_version): Likewise.
7890         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7891         (elf_machine_rela): Likewise.
7892         * sysdeps/powerpc/powerpc32/dl-machine.c
7893         (__process_machine_rela): Likewise.
7894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7895         Likewise.
7896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7897         Likewise.
7898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7899         Likewise.
7900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7902         Likewise.
7903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7904         Likewise.
7905         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7907 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7909         * po/be.po: Add descriptive title.
7910         * po/zh_CN.po: Likewise.
7911         * po/header.pot: Likewise.
7913 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7915         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7916         error message.
7917         (enlarge_archive): Likewise.
7919 2013-05-28  Ben North  <ben@redfrontdoor.org>
7921         * manual/arith.texi (frexp): It is the magnitude of the return
7922         value which lies in [0.5, 1), not the return value itself.
7924 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7928 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7930         * stdio-common/bug26.c (main): Correct fscanf template.
7932         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7933         declare _dl_skip_args.
7935         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7936         Don't declare.
7938         * manual/platform.texi: Add missing @end deftypefun.
7940 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7942         [BZ #15529]
7943         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7944         bit of mantissa of 2^16382.
7945         * math/libm-test.inc (hypot_test_data): Add more tests.
7947         * math/libm-test.inc: Add drem and pow10 to list of tested
7948         functions.
7949         (pow10_test): New function.
7950         (drem_test): Likewise.
7951         (drem_test_tonearest): Likewise.
7952         (drem_test_towardzero): Likewise.
7953         (drem_test_downward): Likewise.
7954         (drem_test_upward): Likewise.
7955         (main): Call the new functions.
7957         * math/libm-test.inc (finite_test_data): Remove.
7958         (finite_test): Run tests from isfinite_test_data.
7959         (gamma_test_data): Remove.
7960         (gamma_test): Run tests from lgamma_test_data.
7961         * sysdeps/i386/fpu/libm-test-ulps: Update.
7962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7964 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7966         * manual/platform.texi: Add PowerPC PPR function set documentation.
7967         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7968         implementation.
7970 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7972         * math/libm-test.inc (MAX_EXP): Define.
7973         (ULPDIFF): Define.
7974         (ulp): New function.
7975         (check_float_internal): Use ULPDIFF.
7976         (cpow_test): Disable failing test.
7977         (check_ulp): Test ulp() implemetnation.
7978         (main): Call check_ulp before starting tests.
7980 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7982         * math/gen-libm-test.pl (generate_testfile): Do not handle
7983         START_DATA and END_DATA.
7984         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7985         END_DATA.
7986         (acos_tonearest_test_data): Likewise.
7987         (acos_towardzero_test_data): Likewise.
7988         (acos_downward_test_data): Likewise.
7989         (acos_upward_test_data): Likewise.
7990         (acosh_test_data): Likewise.
7991         (asin_test_data): Likewise.
7992         (asin_tonearest_test_data): Likewise.
7993         (asin_towardzero_test_data): Likewise.
7994         (asin_downward_test_data): Likewise.
7995         (asin_upward_test_data): Likewise.
7996         (asinh_test_data): Likewise.
7997         (atan_test_data): Likewise.
7998         (atanh_test_data): Likewise.
7999         (atan2_test_data): Likewise.
8000         (cabs_test_data): Likewise.
8001         (cacos_test_data): Likewise.
8002         (cacosh_test_data): Likewise.
8003         (carg_test_data): Likewise.
8004         (casin_test_data): Likewise.
8005         (casinh_test_data): Likewise.
8006         (catan_test_data): Likewise.
8007         (catanh_test_data): Likewise.
8008         (cbrt_test_data): Likewise.
8009         (ccos_test_data): Likewise.
8010         (ccosh_test_data): Likewise.
8011         (ceil_test_data): Likewise.
8012         (cexp_test_data): Likewise.
8013         (cimag_test_data): Likewise.
8014         (clog_test_data): Likewise.
8015         (clog10_test_data): Likewise.
8016         (conj_test_data): Likewise.
8017         (copysign_test_data): Likewise.
8018         (cos_test_data): Likewise.
8019         (cos_tonearest_test_data): Likewise.
8020         (cos_towardzero_test_data): Likewise.
8021         (cos_downward_test_data): Likewise.
8022         (cos_upward_test_data): Likewise.
8023         (cosh_test_data): Likewise.
8024         (cosh_tonearest_test_data): Likewise.
8025         (cosh_towardzero_test_data): Likewise.
8026         (cosh_downward_test_data): Likewise.
8027         (cosh_upward_test_data): Likewise.
8028         (cpow_test_data): Likewise.
8029         (cproj_test_data): Likewise.
8030         (creal_test_data): Likewise.
8031         (csin_test_data): Likewise.
8032         (csinh_test_data): Likewise.
8033         (csqrt_test_data): Likewise.
8034         (ctan_test_data): Likewise.
8035         (ctan_tonearest_test_data): Likewise.
8036         (ctan_towardzero_test_data): Likewise.
8037         (ctan_downward_test_data): Likewise.
8038         (ctan_upward_test_data): Likewise.
8039         (ctanh_test_data): Likewise.
8040         (ctanh_tonearest_test_data): Likewise.
8041         (ctanh_towardzero_test_data): Likewise.
8042         (ctanh_downward_test_data): Likewise.
8043         (ctanh_upward_test_data): Likewise.
8044         (erf_test_data): Likewise.
8045         (erfc_test_data): Likewise.
8046         (exp_test_data): Likewise.
8047         (exp_tonearest_test_data): Likewise.
8048         (exp_towardzero_test_data): Likewise.
8049         (exp_downward_test_data): Likewise.
8050         (exp_upward_test_data): Likewise.
8051         (exp10_test_data): Likewise.
8052         (exp2_test_data): Likewise.
8053         (expm1_test_data): Likewise.
8054         (fabs_test_data): Likewise.
8055         (fdim_test_data): Likewise.
8056         (finite_test_data): Likewise.
8057         (floor_test_data): Likewise.
8058         (fma_test_data): Likewise.
8059         (fma_towardzero_test_data): Likewise.
8060         (fma_downward_test_data): Likewise.
8061         (fma_upward_test_data): Likewise.
8062         (fmax_test_data): Likewise.
8063         (fmin_test_data): Likewise.
8064         (fmod_test_data): Likewise.
8065         (fpclassify_test_data): Likewise.
8066         (frexp_test_data): Likewise.
8067         (gamma_test_data): Likewise.
8068         (hypot_test_data): Likewise.
8069         (ilogb_test_data): Likewise.
8070         (isfinite_test_data): Likewise.
8071         (isgreater_test_data): Likewise.
8072         (isgreaterequal_test_data): Likewise.
8073         (isinf_test_data): Likewise.
8074         (isless_test_data): Likewise.
8075         (islessequal_test_data): Likewise.
8076         (islessgreater_test_data): Likewise.
8077         (isnan_test_data): Likewise.
8078         (isnormal_test_data): Likewise.
8079         (issignaling_test_data): Likewise.
8080         (isunordered_test_data): Likewise.
8081         (j0_test_data): Likewise.
8082         (j1_test_data): Likewise.
8083         (jn_test_data): Likewise.
8084         (ldexp_test_data): Likewise.
8085         (lgamma_test_data): Likewise.
8086         (lrint_test_data): Likewise.
8087         (lrint_tonearest_test_data): Likewise.
8088         (lrint_towardzero_test_data): Likewise.
8089         (lrint_downward_test_data): Likewise.
8090         (lrint_upward_test_data): Likewise.
8091         (llrint_test_data): Likewise.
8092         (llrint_tonearest_test_data): Likewise.
8093         (llrint_towardzero_test_data): Likewise.
8094         (llrint_downward_test_data): Likewise.
8095         (llrint_upward_test_data): Likewise.
8096         (log_test_data): Likewise.
8097         (log10_test_data): Likewise.
8098         (log1p_test_data): Likewise.
8099         (log2_test_data): Likewise.
8100         (logb_test_data): Likewise.
8101         (logb_downward_test_data): Likewise.
8102         (lround_test_data): Likewise.
8103         (llround_test_data): Likewise.
8104         (modf_test_data): Likewise.
8105         (nearbyint_test_data): Likewise.
8106         (nextafter_test_data): Likewise.
8107         (nexttoward_test_data): Likewise.
8108         (pow_test_data): Likewise.
8109         (pow_tonearest_test_data): Likewise.
8110         (pow_towardzero_test_data): Likewise.
8111         (pow_downward_test_data): Likewise.
8112         (pow_upward_test_data): Likewise.
8113         (remainder_test_data): Likewise.
8114         (remainder_tonearest_test_data): Likewise.
8115         (remainder_towardzero_test_data): Likewise.
8116         (remainder_downward_test_data): Likewise.
8117         (remainder_upward_test_data): Likewise.
8118         (remquo_test_data): Likewise.
8119         (rint_test_data): Likewise.
8120         (rint_tonearest_test_data): Likewise.
8121         (rint_towardzero_test_data): Likewise.
8122         (rint_downward_test_data): Likewise.
8123         (rint_upward_test_data): Likewise.
8124         (round_test_data): Likewise.
8125         (scalb_test_data): Likewise.
8126         (scalbn_test_data): Likewise.
8127         (scalbln_test_data): Likewise.
8128         (signbit_test_data): Likewise.
8129         (sin_test_data): Likewise.
8130         (sin_tonearest_test_data): Likewise.
8131         (sin_towardzero_test_data): Likewise.
8132         (sin_downward_test_data): Likewise.
8133         (sin_upward_test_data): Likewise.
8134         (sincos_test_data): Likewise.
8135         (sinh_test_data): Likewise.
8136         (sinh_tonearest_test_data): Likewise.
8137         (sinh_towardzero_test_data): Likewise.
8138         (sinh_downward_test_data): Likewise.
8139         (sinh_upward_test_data): Likewise.
8140         (sqrt_test_data): Likewise.
8141         (tan_test_data): Likewise.
8142         (tan_tonearest_test_data): Likewise.
8143         (tan_towardzero_test_data): Likewise.
8144         (tan_downward_test_data): Likewise.
8145         (tan_upward_test_data): Likewise.
8146         (tanh_test_data): Likewise.
8147         (tgamma_test_data): Likewise.
8148         (trunc_test_data): Likewise.
8149         (y0_test_data): Likewise.
8150         (y1_test_data): Likewise.
8151         (yn_test_data): Likewise.
8152         (significand_test_data): Likewise.
8154         * math/gen-libm-test.pl (@functions): Remove variable.
8155         (generate_testfile): Don't handle START and END lines.
8156         * math/libm-test.inc (START): New macro.
8157         (END): Likewise.
8158         (END_COMPLEX): Likewise.
8159         (acos_test): Use END macro without arguments.
8160         (acos_test_tonearest): Likewise.
8161         (acos_test_towardzero): Likewise.
8162         (acos_test_downward): Likewise.
8163         (acos_test_upward): Likewise.
8164         (acosh_test): Likewise.
8165         (asin_test): Likewise.
8166         (asin_test_tonearest): Likewise.
8167         (asin_test_towardzero): Likewise.
8168         (asin_test_downward): Likewise.
8169         (asin_test_upward): Likewise.
8170         (asinh_test): Likewise.
8171         (atan_test): Likewise.
8172         (atanh_test): Likewise.
8173         (atan2_test): Likewise.
8174         (cabs_test): Likewise.
8175         (cacos_test): Use END_COMPLEX macro without arguments.
8176         (cacosh_test): Likewise.
8177         (carg_test): Use END macro without arguments.
8178         (casin_test): Use END_COMPLEX macro without arguments.
8179         (casinh_test): Likewise.
8180         (catan_test): Likewise.
8181         (catanh_test): Likewise.
8182         (cbrt_test): Use END macro without arguments.
8183         (ccos_test): Use END_COMPLEX macro without arguments.
8184         (ccosh_test): Likewise.
8185         (ceil_test): Use END macro without arguments.
8186         (cexp_test): Use END_COMPLEX macro without arguments.
8187         (cimag_test): Use END macro without arguments.
8188         (clog_test): Use END_COMPLEX macro without arguments.
8189         (clog10_test): Likewise.
8190         (conj_test): Likewise.
8191         (copysign_test): Use END macro without arguments.
8192         (cos_test): Likewise.
8193         (cos_test_tonearest): Likewise.
8194         (cos_test_towardzero): Likewise.
8195         (cos_test_downward): Likewise.
8196         (cos_test_upward): Likewise.
8197         (cosh_test): Likewise.
8198         (cosh_test_tonearest): Likewise.
8199         (cosh_test_towardzero): Likewise.
8200         (cosh_test_downward): Likewise.
8201         (cosh_test_upward): Likewise.
8202         (cpow_test): Use END_COMPLEX macro without arguments.
8203         (cproj_test): Likewise.
8204         (creal_test): Use END macro without arguments.
8205         (csin_test): Use END_COMPLEX macro without arguments.
8206         (csinh_test): Likewise.
8207         (csqrt_test): Likewise.
8208         (ctan_test): Likewise.
8209         (ctan_test_tonearest): Likewise.
8210         (ctan_test_towardzero): Likewise.
8211         (ctan_test_downward): Likewise.
8212         (ctan_test_upward): Likewise.
8213         (ctanh_test): Likewise.
8214         (ctanh_test_tonearest): Likewise.
8215         (ctanh_test_towardzero): Likewise.
8216         (ctanh_test_downward): Likewise.
8217         (ctanh_test_upward): Likewise.
8218         (erf_test): Use END macro without arguments.
8219         (erfc_test): Likewise.
8220         (exp_test): Likewise.
8221         (exp_test_tonearest): Likewise.
8222         (exp_test_towardzero): Likewise.
8223         (exp_test_downward): Likewise.
8224         (exp_test_upward): Likewise.
8225         (exp10_test): Likewise.
8226         (exp2_test): Likewise.
8227         (expm1_test): Likewise.
8228         (fabs_test): Likewise.
8229         (fdim_test): Likewise.
8230         (finite_test): Likewise.
8231         (floor_test): Likewise.
8232         (fma_test): Likewise.
8233         (fma_test_towardzero): Likewise.
8234         (fma_test_downward): Likewise.
8235         (fma_test_upward): Likewise.
8236         (fmax_test): Likewise.
8237         (fmin_test): Likewise.
8238         (fmod_test): Likewise.
8239         (fpclassify_test): Likewise.
8240         (frexp_test): Likewise.
8241         (gamma_test): Likewise.
8242         (hypot_test): Likewise.
8243         (ilogb_test): Likewise.
8244         (isfinite_test): Likewise.
8245         (isgreater_test): Likewise.
8246         (isgreaterequal_test): Likewise.
8247         (isinf_test): Likewise.
8248         (isless_test): Likewise.
8249         (islessequal_test): Likewise.
8250         (islessgreater_test): Likewise.
8251         (isnan_test): Likewise.
8252         (isnormal_test): Likewise.
8253         (issignaling_test): Likewise.
8254         (isunordered_test): Likewise.
8255         (j0_test): Likewise.
8256         (j1_test): Likewise.
8257         (jn_test): Likewise.
8258         (ldexp_test): Likewise.
8259         (lgamma_test): Likewise.
8260         (lrint_test): Likewise.
8261         (lrint_test_tonearest): Likewise.
8262         (lrint_test_towardzero): Likewise.
8263         (lrint_test_downward): Likewise.
8264         (lrint_test_upward): Likewise.
8265         (llrint_test): Likewise.
8266         (llrint_test_tonearest): Likewise.
8267         (llrint_test_towardzero): Likewise.
8268         (llrint_test_downward): Likewise.
8269         (llrint_test_upward): Likewise.
8270         (log_test): Likewise.
8271         (log10_test): Likewise.
8272         (log1p_test): Likewise.
8273         (log2_test): Likewise.
8274         (logb_test): Likewise.
8275         (logb_test_downward): Likewise.
8276         (lround_test): Likewise.
8277         (llround_test): Likewise.
8278         (modf_test): Likewise.
8279         (nearbyint_test): Likewise.
8280         (nextafter_test): Likewise.
8281         (nexttoward_test): Likewise.
8282         (pow_test): Likewise.
8283         (pow_test_tonearest): Likewise.
8284         (pow_test_towardzero): Likewise.
8285         (pow_test_downward): Likewise.
8286         (pow_test_upward): Likewise.
8287         (remainder_test): Likewise.
8288         (remainder_test_tonearest): Likewise.
8289         (remainder_test_towardzero): Likewise.
8290         (remainder_test_downward): Likewise.
8291         (remainder_test_upward): Likewise.
8292         (remquo_test): Likewise.
8293         (rint_test): Likewise.
8294         (rint_test_tonearest): Likewise.
8295         (rint_test_towardzero): Likewise.
8296         (rint_test_downward): Likewise.
8297         (rint_test_upward): Likewise.
8298         (round_test): Likewise.
8299         (scalb_test): Likewise.
8300         (scalbn_test): Likewise.
8301         (scalbln_test): Likewise.
8302         (signbit_test): Likewise.
8303         (sin_test): Likewise.
8304         (sin_test_tonearest): Likewise.
8305         (sin_test_towardzero): Likewise.
8306         (sin_test_downward): Likewise.
8307         (sin_test_upward): Likewise.
8308         (sincos_test): Likewise.
8309         (sinh_test): Likewise.
8310         (sinh_test_tonearest): Likewise.
8311         (sinh_test_towardzero): Likewise.
8312         (sinh_test_downward): Likewise.
8313         (sinh_test_upward): Likewise.
8314         (sqrt_test): Likewise.
8315         (tan_test): Likewise.
8316         (tan_test_tonearest): Likewise.
8317         (tan_test_towardzero): Likewise.
8318         (tan_test_downward): Likewise.
8319         (tan_test_upward): Likewise.
8320         (tanh_test): Likewise.
8321         (tgamma_test): Likewise.
8322         (trunc_test): Likewise.
8323         (y0_test): Likewise.
8324         (y1_test): Likewise.
8325         (yn_test): Likewise.
8326         (significand_test): Likewise.
8328 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8330         [BZ #15381]
8331         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8333 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8335         [BZ #14894]
8336         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8337         __ppc_mdoio and __ppc_mdoom.
8338         * manual/platform.texi: Document new functions __ppc_yield,
8339         __ppc_mdoio and __ppc_mdoom.
8341 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8343         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8344         (main): Mention "tls" pseudo-hwcap is legacy.
8345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8347 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8349         * math/gen-libm-test.pl (parse_args): Output only string of
8350         arguments as text for test name, not full call or descriptions of
8351         tests for extra outputs.
8352         (generate_testfile): Do not pass function name to parse_args.
8353         Generate this_func variable from START.
8354         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8355         field to arg_str.
8356         (struct test_ff_f_data): Likewise.
8357         (test_ff_f_data_nexttoward): Likewise.
8358         (struct test_fi_f_data): Likewise.
8359         (struct test_fl_f_data): Likewise.
8360         (struct test_if_f_data): Likewise.
8361         (struct test_fff_f_data): Likewise.
8362         (struct test_c_f_data): Likewise.
8363         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8364         (struct test_fF_f1_data): Likewise.
8365         (struct test_ffI_f1_data): Likewise.
8366         (struct test_c_c_data): Rename test_name field to arg_str.
8367         (struct test_cc_c_data): Likewise.
8368         (struct test_f_i_data): Likewise.
8369         (struct test_ff_i_data): Likewise.
8370         (struct test_f_l_data): Likewise.
8371         (struct test_f_L_data): Likewise.
8372         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8373         and extra2_name.
8374         (COMMON_TEST_SETUP): New macro.
8375         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8376         (COMMON_TEST_CLEANUP): Likewise.
8377         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8378         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8379         macros.
8380         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8381         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8382         macros.
8383         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8384         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8385         cleanup macros.
8386         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8387         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8388         macros.
8389         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8390         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8391         macros.
8392         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8393         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8394         cleanup macros.
8395         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8396         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8397         cleanup macros.
8398         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8399         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8400         cleanup macros.
8401         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8402         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8403         macros.
8404         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8405         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8406         macros.
8407         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8408         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8409         macros.
8410         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8411         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8412         cleanup macros.
8413         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8414         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8415         cleanup macros.
8416         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8417         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8418         macros.
8419         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8420         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8421         cleanup macros.
8422         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8423         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8424         macros.
8425         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8426         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8427         macros.
8428         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8429         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8430         cleanup macros.
8431         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8433 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8435         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8436         to _sifields.sigfault.
8437         (si_addr_lsb): Define new macro.
8438         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8440         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8442 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8444         [BZ #15441]
8445         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8446         returns -1.
8447         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8448         null return -1.
8449         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8450         loading the domain.
8452 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8454         * math/gen-libm-test.pl (parse_args): Do not include expected
8455         result in test name.
8456         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8457         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8458         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8459         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8460         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8463 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8465         * benchtests/Makefile: Sort function entries.
8467         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8468         tanh, asinh, acosh, atanh.
8469         * benchtests/acos-inputs: New file.
8470         * benchtests/acosh-inputs: New file.
8471         * benchtests/asin-inputs: New file.
8472         * benchtests/asinh-inputs: New file.
8473         * benchtests/atanh-inputs: New file.
8474         * benchtests/cosh-inputs: New file.
8475         * benchtests/log-inputs: New file.
8476         * benchtests/sinh-inputs: New file.
8477         * benchtests/tanh-inputs: New file.
8479 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8481         [BZ #15339]
8482         * posix/tst-getaddrinfo4.c: New test.
8483         * posix/Makefile (tests): Add it.
8485 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487         [BZ #15339]
8488         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8489         when no services were used.
8490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8491         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8493 2013-05-21  Andreas Schwab  <schwab@suse.de>
8495         [BZ #15014]
8496         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8497         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8498         successful.
8499         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8500         redundant variable declarations and reallocation of buffer when
8501         parsing as IPv6 address.  Always set NSS status when called from
8502         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8503         buffer too small.  Correct computation of needed size.
8504         * nss/Makefile (tests): Add test-digits-dots.
8505         * nss/test-digits-dots.c: New test.
8507 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8509         * benchtests/Makefile: Remove instructions for adding
8510         benchmark tests.
8511         * benchtests/README: New file to explain how to execute and
8512         enhance the benchmark tests.
8514 2013-05-21  Andreas Schwab  <schwab@suse.de>
8516         [BZ #15493]
8517         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8518         * setjmp/tst-sigsetjmp.c: New test.
8520 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8522         * sysdeps/x86_64/memset.S (memset): New implementation.
8523         (__bzero): Likewise.
8524         (__memset_tail): New function.
8526 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8528         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8529         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8530         __memcpy_sse2_unaligned ifunc selection.
8531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8532         Add memcpy-sse2-unaligned.S.
8533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8534         Add: __memcpy_sse2_unaligned.
8536 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8538         [BZ #15490]
8539         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8540         math_force_eval before restoring floating-point envrionment.
8541         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8543         Likewise.
8544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8545         <math_private.h>.
8546         (__nearbyintl): Use math_force_eval before restoring
8547         floating-point environment.
8548         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8550         * math/gen-libm-test.pl (special_functions): Remove.
8551         (parse_args): Don't handle TEST_extra.  Handle functions with no
8552         return value.
8553         * math/libm-test.inc (struct test_sincos_data): Replace with
8554         struct test_fFF_11_data.
8555         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8556         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8557         (sincos_test_data): Change element type to struct
8558         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8559         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8560         RUN_TEST_LOOP_sincos.
8561         * math/README.libm-test: Don't mention special handling of
8562         individual functions.
8563         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8565         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8566         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8567         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8570         * math/gen-libm-test.pl (get_variable): Remove function.
8571         (parse_args): Don't show pointer parameters to call in test
8572         names.  Use "extra output N" in test names for extra outputs
8573         rather than naming variables.
8575 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8577         [BZ #15488]
8578         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8579         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8580         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8581         double tests.
8582         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8583         disable.
8584         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8585         check_long_double.
8587         * math/gen-libm-test.pl (@tests): Remove variable.
8588         ($count): Likewise.
8589         (new_test): Remove function.
8590         (show_exceptions): New function.
8591         (special_functions): Use show_exceptions instead of new_test.
8592         (parse_args): Likewise.
8593         (generate_testfile): Pass only function name in generated call to
8594         print_max_error or print_complex_max_error.
8595         (get_ulps): Do not handle complex tests specially.
8596         (output_test): Rename to ...
8597         (get_all_ulps_for_test): ... this.  Return a string rather than
8598         printing to a file.  Require ulps to be present.
8599         (output_ulps): Generate arrays rather than #defines.
8600         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8601         (struct ulp_data): New type.
8602         (BUILD_COMPLEX_ULP): Remove macro.
8603         (compare_ulp_data): New function.
8604         (find_ulps): Likewise.
8605         (find_test_ulps): Likewise.
8606         (find_function_ulps): Likewise.
8607         (find_complex_function_ulps): Likewise.
8608         (print_max_error): Determine allowed ulps using
8609         find_function_ulps.
8610         (print_complex_max_error): Determine allowed ulps using
8611         find_complex_function_ulps.
8612         (check_float_internal): Determine max ulps using find_test_ulps.
8613         (check_float): Do not take max_ulp parameter.  Update call to
8614         check_float_internal.
8615         (check_complex): Likewise.
8616         (check_int): Do not take max_ulp parameter.
8617         (check_long): Likewise.
8618         (check_bool): Likewise.
8619         (check_longlong): Likewise.
8620         (struct test_f_f_data): Remove max_ulp field.
8621         (struct test_ff_f_data): Likewise.
8622         (struct test_ff_f_data_nexttoward): Likewise.
8623         (struct test_fi_f_data): Likewise.
8624         (struct test_fl_f_data): Likewise.
8625         (struct test_if_f_data): Likewise.
8626         (struct test_fff_f_data): Likewise.
8627         (struct test_c_f_data): Likewise.
8628         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8629         (struct test_fF_f1_data): Likewise.
8630         (struct test_ffI_f1_data): Likewise.
8631         (struct test_c_c_data): Remove max_ulp field.
8632         (struct test_cc_c_data): Likewise.
8633         (struct test_f_i_data): Likewise.
8634         (struct test_ff_i_data): Likewise.
8635         (struct test_f_l_data): Likewise.
8636         (struct test_f_L_data): Likewise.
8637         (struct test_sincos_data): Likewise.
8638         (RUN_TEST_f_f): Do not handle ulps.
8639         (RUN_TEST_LOOP_f_f): Likewise.
8640         (RUN_TEST_2_f): Likewise.
8641         (RUN_TEST_LOOP_2_f): Likewise.
8642         (RUN_TEST_fff_f): Likewise.
8643         (RUN_TEST_LOOP_fff_f): Likewise.
8644         (RUN_TEST_c_f): Likewise.
8645         (RUN_TEST_LOOP_c_f): Likewise.
8646         (RUN_TEST_f_f1): Likewise.
8647         (RUN_TEST_LOOP_f_f1): Likewise.
8648         (RUN_TEST_fF_f1): Likewise.
8649         (RUN_TEST_LOOP_fF_f1): Likewise.
8650         (RUN_TEST_fI_f1): Likewise.
8651         (RUN_TEST_LOOP_fI_f1): Likewise.
8652         (RUN_TEST_ffI_f1): Likewise.
8653         (RUN_TEST_LOOP_ffI_f1): Likewise.
8654         (RUN_TEST_c_c): Likewise.
8655         (RUN_TEST_LOOP_c_c): Likewise.
8656         (RUN_TEST_cc_c): Likewise.
8657         (RUN_TEST_LOOP_cc_c): Likewise.
8658         (RUN_TEST_f_i): Likewise.
8659         (RUN_TEST_LOOP_f_i): Likewise.
8660         (RUN_TEST_f_i_tg): Likewise.
8661         (RUN_TEST_LOOP_f_i_tg): Likewise.
8662         (RUN_TEST_ff_i_tg): Likewise.
8663         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8664         (RUN_TEST_f_b): Likewise.
8665         (RUN_TEST_LOOP_f_b): Likewise.
8666         (RUN_TEST_f_b_tg): Likewise.
8667         (RUN_TEST_LOOP_f_b_tg): Likewise.
8668         (RUN_TEST_f_l): Likewise.
8669         (RUN_TEST_LOOP_f_l): Likewise.
8670         (RUN_TEST_f_L): Likewise.
8671         (RUN_TEST_LOOP_f_L): Likewise.
8672         (RUN_TEST_sincos): Likewise.
8673         (RUN_TEST_LOOP_sincos): Likewise.
8675 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8677         [BZ #15480]
8678         [BZ #15485]
8679         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8680         main case of finite arguments, set rounding mode to FE_TONEAREST
8681         and discard exceptions.
8682         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8683         exceptions.
8684         (remainder_tonearest_test_data): New variable.
8685         (remainder_test_tonearest): New function.
8686         (remainder_towardzero_test_data): New variable.
8687         (remainder_test_towardzero): New function.
8688         (remainder_downward_test_data): New variable.
8689         (remainder_test_downward): New function.
8690         (remainder_upward_test_data): New variable.
8691         (remainder_test_upward): New function.
8692         (main): Call the new test functions.
8694         * math/libm-test.inc (struct test_f_f1_data): Remove field
8695         extra_init.
8696         (struct test_fF_f1_data): Likewise.
8697         (struct test_ffI_f1_data): Likewise.
8698         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8699         based on value of EXTRA_EXPECTED.
8700         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8701         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8702         EXTRA_VAR based on value of EXTRA_EXPECTED.
8703         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8704         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8705         EXTRA_VAR based on value of EXTRA_EXPECTED.
8706         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8707         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8708         EXTRA_VAR based on value of EXTRA_EXPECTED.
8709         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8710         * math/gen-libm-test.pl (parse_args): Don't output initializers
8711         for extra output values.
8713         * math/libm-test.inc (check_int): Expect result to be exactly
8714         equal to expected value and do not handle ulps.
8715         (check_long): Likewise.
8716         (check_longlong): Likewise.
8718         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8719         exceptions.
8720         (cimag_test_data): Likewise.
8721         (conj_test_data): Likewise.
8722         (copysign_test_data): Likewise.
8723         (cproj_test_data): Likewise.
8724         (creal_test_data): Likewise.
8725         (fabs_test_data): Likewise.
8726         (fdim_test_data): Likewise.
8727         (finite_test_data): Likewise.
8728         (floor_test_data): Likewise.
8729         (fmax_test_data): Likewise.
8730         (fmin_test_data): Likewise.
8731         (fmod_test_data): Likewise.
8732         (fpclassify_test_data): Likewise.
8733         (frexp_test_data): Likewise.
8734         (ilogb_test_data): Likewise.
8735         (isfinite_test_data): Likewise.
8736         (isgreater_test_data): Likewise.
8737         (isgreaterequal_test_data): Likewise.
8738         (isinf_test_data): Likewise.
8739         (isless_test_data): Likewise.
8740         (islessequal_test_data): Likewise.
8741         (islessgreater_test_data): Likewise.
8742         (isnan_test_data): Likewise.
8743         (isnormal_test_data): Likewise.
8744         (issignaling_test_data): Likewise.
8745         (isunordered_test_data): Likewise.
8746         (ldexp_test_data): Likewise.
8747         (lrint_test_data): Likewise.
8748         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8749         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8750         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8751         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8752         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8753         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8754         test input.
8755         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8756         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8757         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8758         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8759         that test input.
8760         (lrint_downward_test_data): Test for "inexact" exceptions.
8761         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8762         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8763         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8764         test input.
8765         (lrint_upward_test_data): Test for "inexact" exceptions.
8766         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8767         test input.
8768         (llrint_test_data): Test for "inexact" exceptions.
8769         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8770         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8771         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8772         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8773         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8774         (llrint_downward_test_data): Test for "inexact" exceptions.
8775         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8776         (llrint_upward_test_data): Test for "inexact" exceptions.
8777         (logb_test_data): Likewise.
8778         (logb_downward_test_data): Likewise.
8779         (nextafter_test_data): Likewise.
8780         (nexttoward_test_data): Likewise.
8781         (remainder_test_data): Likewise.
8782         (remquo_test_data): Likewise.
8783         (scalbn_test_data): Likewise.
8784         (scalbln_test_data): Likewise.
8785         (signbit_test_data): Likewise.
8786         (sqrt_test_data): Likewise.
8787         (significand_test_data): Likewise.
8789 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8791         [BZ #15424]
8792         * benchtests/bench-modf.c (struct args): Mark arg0 as
8793         volatile.
8794         * scripts/bench.pl: Mark members of struct args as volatile.
8796 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8798         [BZ # 15497]
8799         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8800         negative infinity on POWER6 or lower.
8801         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8803 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8805         [BZ #15442]
8806         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8807         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8808         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8809         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8810         (_FP_SETQNAN): New macro.
8811         (_FP_SETQNAN_SEMIRAW): Likewise.
8812         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8813         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8814         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8815         (FP_EXTEND): Use _FP_FRAC_SNANP.
8816         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8817         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8818         into account.
8819         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8820         New macro.
8821         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8822         Likewise.
8824 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8826         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8827         with DIVIDE_BY_ZERO_EXCEPTION.
8828         (gamma_test_data): Likewise.
8829         (lgamma_test_data): Likewise.
8830         (log_test_data): Likewise.
8831         (log10_test_data): Likewise.
8832         (log2_test_data): Likewise.
8833         (tgamma_test_data): Likewise.
8835         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8836         (acos_test_tonearest): Likewise.
8837         (acos_test_towardzero): Likewise.
8838         (acos_test_downward): Likewise.
8839         (acos_test_upward): Likewise.
8840         (acosh_test): Likewise.
8841         (asin_test): Likewise.
8842         (asin_test_tonearest): Likewise.
8843         (asin_test_towardzero): Likewise.
8844         (asin_test_downward): Likewise.
8845         (asin_test_upward): Likewise.
8846         (asinh_test): Likewise.
8847         (atan_test): Likewise.
8848         (atanh_test): Likewise.
8849         (atan2_test): Likewise.
8850         (cabs_test): Likewise.
8851         (cacos_test): Likewise.
8852         (cacosh_test): Likewise.
8853         (casin_test): Likewise.
8854         (casinh_test): Likewise.
8855         (catan_test): Likewise.
8856         (catanh_test): Likewise.
8857         (cbrt_test): Likewise.
8858         (ccos_test): Likewise.
8859         (ccosh_test): Likewise.
8860         (cexp_test): Likewise.
8861         (clog_test): Likewise.
8862         (clog10_test): Likewise.
8863         (cos_test): Likewise.
8864         (cos_test_tonearest): Likewise.
8865         (cos_test_towardzero): Likewise.
8866         (cos_test_downward): Likewise.
8867         (cos_test_upward): Likewise.
8868         (cosh_test): Likewise.
8869         (cosh_test_tonearest): Likewise.
8870         (cosh_test_towardzero): Likewise.
8871         (cosh_test_downward): Likewise.
8872         (cosh_test_upward): Likewise.
8873         (cpow_test): Likewise.
8874         (csin_test): Likewise.
8875         (csinh_test): Likewise.
8876         (csqrt_test): Likewise.
8877         (ctan_test): Likewise.
8878         (ctan_test_tonearest): Likewise.
8879         (ctan_test_towardzero): Likewise.
8880         (ctan_test_downward): Likewise.
8881         (ctan_test_upward): Likewise.
8882         (ctanh_test): Likewise.
8883         (ctanh_test_tonearest): Likewise.
8884         (ctanh_test_towardzero): Likewise.
8885         (ctanh_test_downward): Likewise.
8886         (ctanh_test_upward): Likewise.
8887         (erf_test): Likewise.
8888         (erfc_test): Likewise.
8889         (exp_test): Likewise.
8890         (exp_test_tonearest): Likewise.
8891         (exp_test_towardzero): Likewise.
8892         (exp_test_downward): Likewise.
8893         (exp_test_upward): Likewise.
8894         (exp10_test): Likewise.
8895         (exp2_test): Likewise.
8896         (expm1_test): Likewise.
8897         (fmod_test): Likewise.
8898         (gamma_test): Likewise.
8899         (hypot_test): Likewise.
8900         (j0_test): Likewise.
8901         (j1_test): Likewise.
8902         (jn_test): Likewise.
8903         (lgamma_test): Likewise.
8904         (log_test): Likewise.
8905         (log10_test): Likewise.
8906         (log1p_test): Likewise.
8907         (log2_test): Likewise.
8908         (logb_test_downward): Likewise.
8909         (pow_test): Likewise.
8910         (pow_test_tonearest): Likewise.
8911         (pow_test_towardzero): Likewise.
8912         (pow_test_downward): Likewise.
8913         (pow_test_upward): Likewise.
8914         (remainder_test): Likewise.
8915         (remquo_test): Likewise.
8916         (sin_test): Likewise.
8917         (sin_test_tonearest): Likewise.
8918         (sin_test_towardzero): Likewise.
8919         (sin_test_downward): Likewise.
8920         (sin_test_upward): Likewise.
8921         (sincos_test): Likewise.
8922         (sinh_test): Likewise.
8923         (sinh_test_tonearest): Likewise.
8924         (sinh_test_towardzero): Likewise.
8925         (sinh_test_downward): Likewise.
8926         (sinh_test_upward): Likewise.
8927         (sqrt_test): Likewise.
8928         (tan_test): Likewise.
8929         (tan_test_tonearest): Likewise.
8930         (tan_test_towardzero): Likewise.
8931         (tan_test_downward): Likewise.
8932         (tan_test_upward): Likewise.
8933         (tanh_test): Likewise.
8934         (tgamma_test): Likewise.
8935         (y0_test): Likewise.
8936         (y1_test): Likewise.
8937         (yn_test): Likewise.
8939         * math/gen-libm-test.pl (adjust_arg): Remove function.
8940         (special_function): Remove argument $in_func.  Only handle
8941         generating output for tables of tests, not inside functions.
8942         (parse_args): Likewise.
8943         (generate_testfile): Remove variable $in_func.  Update call to
8944         parse_args.
8945         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8946         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8947         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8948         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8949         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8950         (MAX_VALUE_INIT): Rename macro to max_value.
8951         (MIN_VALUE_INIT): Rename macro to min_value.
8952         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8953         (plus_zero): Remove variable.
8954         (minus_zero): Likewise.
8955         (plus_infty): Likewise.
8956         (minus_infty): Likewise.
8957         (qnan_value): Likewise.
8958         (max_value): Likewise.
8959         (min_value): Likewise.
8960         (min_subnorm_value): Likewise.
8962 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8964         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8965         uint64_t or uint32_t usage.
8966         * crypt/sha256-block.c: Likewise.
8967         * crypt/sha256-crypt.c: Likewise.
8968         * crypt/sha256.c: Likewise.
8969         * crypt/sha512-block.c: Likewise.
8970         * crypt/sha512-crypt.c: Likewise.
8971         * crypt/sha512.c: Likewise.
8972         * debug/backtrace-tst.c: Likewise.
8973         * debug/pcprofiledump.c: Likewise.
8974         * elf/cache.c: Likewise.
8975         * elf/dl-cache.c: Likewise.
8976         * elf/dl-misc.c: Likewise.
8977         * elf/dl-profile.c: Likewise.
8978         * elf/dl-support.c: Likewise.
8979         * elf/ldconfig.c: Likewise.
8980         * elf/sprof.c: Likewise.
8981         * iconv/dummy-repertoire.c: Likewise.
8982         * iconv/iconv_charmap.c: Likewise.
8983         * iconv/skeleton.c: Likewise.
8984         * iconvdata/8bit-generic.c: Likewise.
8985         * iconvdata/cp737.h: Likewise.
8986         * iconvdata/cp775.h: Likewise.
8987         * iconvdata/ibm1008.h: Likewise.
8988         * iconvdata/ibm1025.h: Likewise.
8989         * iconvdata/ibm1046.h: Likewise.
8990         * iconvdata/ibm1097.h: Likewise.
8991         * iconvdata/ibm1112.h: Likewise.
8992         * iconvdata/ibm1122.h: Likewise.
8993         * iconvdata/ibm1123.h: Likewise.
8994         * iconvdata/ibm1124.h: Likewise.
8995         * iconvdata/ibm1129.h: Likewise.
8996         * iconvdata/ibm1130.h: Likewise.
8997         * iconvdata/ibm1132.h: Likewise.
8998         * iconvdata/ibm1133.h: Likewise.
8999         * iconvdata/ibm1137.h: Likewise.
9000         * iconvdata/ibm1140.h: Likewise.
9001         * iconvdata/ibm1141.h: Likewise.
9002         * iconvdata/ibm1142.h: Likewise.
9003         * iconvdata/ibm1143.h: Likewise.
9004         * iconvdata/ibm1144.h: Likewise.
9005         * iconvdata/ibm1145.h: Likewise.
9006         * iconvdata/ibm1146.h: Likewise.
9007         * iconvdata/ibm1147.h: Likewise.
9008         * iconvdata/ibm1148.h: Likewise.
9009         * iconvdata/ibm1149.h: Likewise.
9010         * iconvdata/ibm1153.h: Likewise.
9011         * iconvdata/ibm1154.h: Likewise.
9012         * iconvdata/ibm1155.h: Likewise.
9013         * iconvdata/ibm1156.h: Likewise.
9014         * iconvdata/ibm1157.h: Likewise.
9015         * iconvdata/ibm1158.h: Likewise.
9016         * iconvdata/ibm1160.h: Likewise.
9017         * iconvdata/ibm1161.h: Likewise.
9018         * iconvdata/ibm1162.h: Likewise.
9019         * iconvdata/ibm1163.h: Likewise.
9020         * iconvdata/ibm1164.h: Likewise.
9021         * iconvdata/ibm1166.h: Likewise.
9022         * iconvdata/ibm1167.h: Likewise.
9023         * iconvdata/ibm12712.h: Likewise.
9024         * iconvdata/ibm1390.h: Likewise.
9025         * iconvdata/ibm1399.h: Likewise.
9026         * iconvdata/ibm16804.h: Likewise.
9027         * iconvdata/ibm4517.h: Likewise.
9028         * iconvdata/ibm4899.h: Likewise.
9029         * iconvdata/ibm4909.h: Likewise.
9030         * iconvdata/ibm4971.h: Likewise.
9031         * iconvdata/ibm5347.h: Likewise.
9032         * iconvdata/ibm803.h: Likewise.
9033         * iconvdata/ibm856.h: Likewise.
9034         * iconvdata/ibm901.h: Likewise.
9035         * iconvdata/ibm902.h: Likewise.
9036         * iconvdata/ibm9030.h: Likewise.
9037         * iconvdata/ibm9066.h: Likewise.
9038         * iconvdata/ibm921.h: Likewise.
9039         * iconvdata/ibm922.h: Likewise.
9040         * iconvdata/ibm9448.h: Likewise.
9041         * iconvdata/isiri-3342.h: Likewise.
9042         * iconvdata/jis0201.h: Likewise.
9043         * include/link.h: Likewise.
9044         * include/netdb.h: Likewise.
9045         * inet/check_native.c: Likewise.
9046         * inet/check_pf.c: Likewise.
9047         * inet/getipv4sourcefilter.c: Likewise.
9048         * inet/getnameinfo.c: Likewise.
9049         * inet/getsourcefilter.c: Likewise.
9050         * inet/htonl.c: Likewise.
9051         * inet/setipv4sourcefilter.c: Likewise.
9052         * inet/setsourcefilter.c: Likewise.
9053         * inet/test-inet6_opt.c: Likewise.
9054         * inet/tst-network.c: Likewise.
9055         * locale/C-collate.c: Likewise.
9056         * locale/C-ctype.c: Likewise.
9057         * locale/C-time.c: Likewise.
9058         * locale/C-translit.h: Likewise.
9059         * locale/loadarchive.c: Likewise.
9060         * locale/programs/3level.h: Likewise.
9061         * locale/programs/charmap.c: Likewise.
9062         * locale/programs/charmap.h: Likewise.
9063         * locale/programs/ld-address.c: Likewise.
9064         * locale/programs/ld-collate.c: Likewise.
9065         * locale/programs/ld-ctype.c: Likewise.
9066         * locale/programs/ld-identification.c: Likewise.
9067         * locale/programs/ld-measurement.c: Likewise.
9068         * locale/programs/ld-messages.c: Likewise.
9069         * locale/programs/ld-monetary.c: Likewise.
9070         * locale/programs/ld-name.c: Likewise.
9071         * locale/programs/ld-numeric.c: Likewise.
9072         * locale/programs/ld-paper.c: Likewise.
9073         * locale/programs/ld-telephone.c: Likewise.
9074         * locale/programs/ld-time.c: Likewise.
9075         * locale/programs/linereader.c: Likewise.
9076         * locale/programs/locale.c: Likewise.
9077         * locale/programs/locarchive.c: Likewise.
9078         * locale/programs/locfile.h: Likewise.
9079         * locale/programs/repertoire.c: Likewise.
9080         * locale/programs/simple-hash.c: Likewise.
9081         * locale/programs/simple-hash.h: Likewise.
9082         * malloc/memusage.c: Likewise.
9083         * malloc/memusagestat.c: Likewise.
9084         * nis/nis_defaults.c: Likewise.
9085         * nis/nis_hash.c: Likewise.
9086         * nis/nis_print.c: Likewise.
9087         * nis/nis_xdr.c: Likewise.
9088         * nscd/connections.c: Likewise.
9089         * nscd/hstcache.c: Likewise.
9090         * nscd/nscd_gethst_r.c: Likewise.
9091         * nscd/nscd_getserv_r.c: Likewise.
9092         * nscd/nscd_helper.c: Likewise.
9093         * nscd/servicescache.c: Likewise.
9094         * nss/makedb.c: Likewise.
9095         * nss/nss_db/db-XXX.c: Likewise.
9096         * nss/nss_db/db-initgroups.c: Likewise.
9097         * nss/nss_db/db-netgrp.c: Likewise.
9098         * nss/nss_files/files-network.c: Likewise.
9099         * nss/nss_files/files-parse.c: Likewise.
9100         * posix/bug-regex5.c: Likewise.
9101         * posix/fnmatch_loop.c: Likewise.
9102         * posix/regcomp.c: Likewise.
9103         * posix/regexec.c: Likewise.
9104         * posix/tst-rfc3484-2.c: Likewise.
9105         * posix/tst-rfc3484-3.c: Likewise.
9106         * posix/tst-rfc3484.c: Likewise.
9107         * resolv/nss_dns/dns-canon.c: Likewise.
9108         * resolv/nss_dns/dns-network.c: Likewise.
9109         * resolv/res_init.c: Likewise.
9110         * resolv/res_mkquery.c: Likewise.
9111         * resolv/tst-aton.c: Likewise.
9112         * stdlib/cxa_atexit.c: Likewise.
9113         * stdlib/cxa_finalize.c: Likewise.
9114         * stdlib/gen-fpioconst.c: Likewise.
9115         * stdlib/strtol_l.c: Likewise.
9116         * string/tst-endian.c: Likewise.
9117         * sunrpc/auth_des.c: Likewise.
9118         * sunrpc/clnt_udp.c: Likewise.
9119         * sunrpc/rtime.c: Likewise.
9120         * sunrpc/svcauth_des.c: Likewise.
9121         * sunrpc/xdr.c: Likewise.
9122         * sunrpc/xdr_intXX_t.c: Likewise.
9123         * sunrpc/xdr_rec.c: Likewise.
9124         * sysdeps/generic/ldconfig.h: Likewise.
9125         * sysdeps/generic/ldsodefs.h: Likewise.
9126         * sysdeps/generic/memusage.h: Likewise.
9127         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9129         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9130         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9133         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9135         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9137         * sysdeps/posix/getaddrinfo.c: Likewise.
9138         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9139         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9140         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9141         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9142         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9143         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9144         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9145         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9146         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9147         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9148         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9149         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9150         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9151         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9152         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9153         * sysdeps/x86_64/dl-tls.h: Likewise.
9154         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9155         * time/alt_digit.c: Likewise.
9156         * time/era.c: Likewise.
9157         * wcsmbs/tst-c16c32-1.c: Likewise.
9159 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9161         * math/libm-test.inc (struct test_sincos_data): New type.
9162         (RUN_TEST_LOOP_sincos): New macro.
9163         (sincos_test_data): New variable.
9164         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9166 2013-05-16  Richard Henderson  <rth@redhat.com>
9168         * math/atest-exp2.c (LIMB64): New macro.
9169         (CONSTSZ): New macro.
9170         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9171         (hexdig): Move ...
9172         (print_mpn_fp): ... to function scope.
9173         (read_mpn_hex): Remove.
9174         (get_log2): Remove.
9175         (exp2_mpn): Use mp_log2.
9176         (main): Use mp_exp1.
9178 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9180         * math/libm-test.inc: Remove comment about not testing "inexact"
9181         exceptions.
9182         (INEXACT_EXCEPTION): New macro.
9183         (NO_INEXACT_EXCEPTION): Likewise.
9184         (INVALID_EXCEPTION_OK): Update value.
9185         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9186         (OVERFLOW_EXCEPTION_OK): Likewise.
9187         (UNDERFLOW_EXCEPTION_OK): Likewise.
9188         (IGNORE_ZERO_INF_SIGN): Likewise.
9189         (ERRNO_UNCHANGED): Likewise.
9190         (ERRNO_EDOM): Likewise.
9191         (ERRNO_ERANGE): Likewise.
9192         (test_exceptions): Handle testing "inexact" exceptions.
9193         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9194         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9195         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9196         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9197         INEXACT_EXCEPTION.
9198         (rint_towardzero_test_data): Likewise.
9199         (rint_downward_test_data): Likewise.
9200         (rint_upward_test_data): Likewise.
9202         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9203         with OVERFLOW_EXCEPTION.
9204         (exp10_test_data): Likewise.
9205         (exp2_test_data): Likewise.
9206         (expm1_test_data): Likewise.
9207         (lgamma_test_data): Likewise.
9208         (pow_test_data): Likewise.
9209         (tgamma_test_data): Likewise.
9210         (yn_test_data): Remove duplicate test of overflow.
9212         * math/libm-test.inc (struct test_cc_c_data): New type.
9213         (RUN_TEST_LOOP_cc_c): New macro.
9214         (cpow_test_data): New variable.
9215         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9217         * math/libm-test.inc (struct test_f_L_data): New type.
9218         (RUN_TEST_LOOP_f_L): New macro.
9219         (llrint_test_data): New variable.
9220         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9221         (llrint_tonearest_test_data): New variable.
9222         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9223         (llrint_towardzero_test_data): New variable.
9224         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9225         (llrint_downward_test_data): New variable.
9226         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9227         (llrint_upward_test_data): New variable.
9228         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9229         (llround_test_data): New variable.
9230         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9232 2013-05-13  Peter Collingbourne  <pcc@google.com>
9234         * math/atest-exp2.c (get_log2): Remove const attribute.
9236 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9238         * math/libm-test.inc (struct test_f_l_data): New type.
9239         (RUN_TEST_LOOP_f_l): New macro.
9240         (lrint_test_data): New variable.
9241         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9242         (lrint_tonearest_test_data): New variable.
9243         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9244         (lrint_towardzero_test_data): New variable.
9245         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9246         (lrint_downward_test_data): New variable.
9247         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9248         (lrint_upward_test_data): New variable.
9249         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9250         (lround_test_data): New variable.
9251         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9253 2013-05-15  Peter Collingbourne  <pcc@google.com>
9255         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9256         (EXTRACT_WORDS64) Use where appropriate.
9257         (INSERT_WORDS64) Likewise.
9259         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9260         constraints with x constraints.
9261         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9263         * malloc/obstack.c (_obstack_compat): Add initializer.
9265 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9267         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9268         si_trapno and add si_addr_lsb to _sifields.sigfault.
9269         (si_trapno): Remove macro.
9270         (si_addr_lsb): Define new macro.
9271         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9273 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9275         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9276         instead of TEST_f_l.
9277         (llrint_test_tonearest): Likewise.
9278         (llrint_test_towardzero): Likewise.
9279         (llrint_test_downward): Likewise.
9280         (llrint_test_upward): Likewise.
9281         (llround_test): Likewise.
9283         * math/libm-test.inc (struct test_f_i_data): Add comment.
9284         (RUN_TEST_LOOP_f_b): New macro.
9285         (RUN_TEST_LOOP_f_b_tg): Likewise.
9286         (finite_test_data): New variable.
9287         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9288         (isfinite_test_data): New variable.
9289         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9290         (isinf_test_data): New variable.
9291         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9292         (isnan_test_data): New variable.
9293         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9294         (isnormal_test_data): New variable.
9295         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9296         (issignaling_test_data): New variable.
9297         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9298         (signbit_test_data): New variable.
9299         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9301         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9302         with INVALID_EXCEPTION.
9303         (acosh_test_data): Likewise.
9304         (asin_test_data): Likewise.
9305         (atanh_test_data): Likewise.
9306         (fmod_test_data): Likewise.
9307         (log_test_data): Likewise.
9308         (log10_test_data): Likewise.
9309         (log2_test_data): Likewise.
9310         (pow_test_data): Likewise.
9311         (sqrt_test_data): Likewise.
9312         (y0_test_data): Likewise.
9313         (y1_test_data): Likewise.
9314         (yn_test_data): Likewise.
9316         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9317         function contents.
9319         * math/libm-test.inc (struct test_ff_i_data): New type.
9320         (RUN_TEST_LOOP_ff_i_tg): New macro.
9321         (isgreater_test_data): New variable.
9322         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9323         (isgreaterequal_test_data): New variable.
9324         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9325         (isless_test_data): New variable.
9326         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9327         (islessequal_test_data): New variable.
9328         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9329         (islessgreater_test_data): New variable.
9330         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9331         (isunordered_test_data): New variable.
9332         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9334 2013-05-14  David S. Miller  <davem@davemloft.net>
9336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9338 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9340         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9342         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9343         extra_test to int.
9344         (struct test_f_i_data): Change type of max_ulp to int.
9346         * math/libm-test.inc (test_ffI_f1_data): New type.
9347         (RUN_TEST_LOOP_ffI_f1): New macro.
9348         (remquo_test_data): New variable.
9349         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9351         * setjmp/tst-setjmp-fp.c: New file.
9352         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9353         (link-libm): New variable.
9354         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9356         * math/libm-test.inc (struct test_f_i_data): New type.
9357         (RUN_TEST_LOOP_f_i): New macro.
9358         (RUN_TEST_LOOP_f_i_tg): Likewise.
9359         (fpclassify_test_data): New variable.
9360         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9361         (ilogb_test_data): New variable.
9362         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9364         * math/libm-test.inc (scalbln_test): Correct function name in END
9365         call.
9367         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9368         (RUN_TEST_LOOP_fI_f1): New macro.
9369         (frexp_test_data): New variable.
9370         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9372         * math/libm-test.inc (struct test_fF_f1_data): New type.
9373         (RUN_TEST_LOOP_fF_f1): New macro.
9374         (modf_test_data): New variable.
9375         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9377         * math/libm-test.inc (struct test_f_f1_data): New type.
9378         (RUN_TEST_LOOP_f_f1): New macro.
9379         (gamma_test_data): New variable.
9380         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9381         (lgamma_test_data): New variable.
9382         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9384 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9386         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9387         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9388         (main): Comment "tls" pseudo-hwcap.
9390 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9392         * math/libm-test.inc (struct test_fl_f_data): New type.
9393         (RUN_TEST_LOOP_fl_f): New variable.
9394         (scalbln_test_data): New variable.
9395         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9397         * math/libm-test.inc (struct test_fi_f_data): New type.
9398         (RUN_TEST_LOOP_fi_f): New macro.
9399         (ldexp_test_data): New variable.
9400         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9401         (scalbn_test_data): New variable.
9402         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9404         * math/libm-test.inc (struct test_c_f_data): New type.
9405         (RUN_TEST_LOOP_c_f): New macro.
9406         (cabs_test_data): New variable.
9407         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9408         (carg_test_data): New variable.
9409         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9410         (cimag_test_data): New variable.
9411         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9412         (creal_test_data): New variable.
9413         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9415         * math/libm-test.inc (struct test_if_f_data): New type.
9416         (RUN_TEST_LOOP_if_f): New macro.
9417         (jn_test_data): New variable.
9418         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9419         (yn_test_data): New variable.
9420         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9422         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9424 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9426         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9427         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9429 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9431         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9432         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9433         (bench-deps): Add bench-timing.h.
9434         * benchtests-bench-skeleton.c: Include bench-timing.h.
9435         (main): Use TIMING_* macros instead of clock_gettime.
9436         * benchtests/bench-timing.h: New file.
9438         [BZ #14582]
9439         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9440         Renamed from _LIB_VERSION.
9441         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9443 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9445         * math/libm-test.inc (struct test_fff_f_data): New type.
9446         (RUN_TEST_LOOP_fff_f): New macro.
9447         (fma_test_data): New variable.
9448         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9449         (fma_towardzero_test_data): New variable.
9450         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9451         (fma_downward_test_data): New variable.
9452         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9453         (fma_upward_test_data): New variable.
9454         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9456         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9457         (struct test_c_c_data): New type.
9458         (RUN_TEST_LOOP_c_c): New macro.
9459         (cacos_test_data): New variable.
9460         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9461         (cacosh_test_data): New variable.
9462         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9463         (casin_test_data): New variable.
9464         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9465         (casinh_test_data): New variable.
9466         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9467         (catan_test_data): New variable.
9468         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9469         (catanh_test_data): New variable.
9470         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9471         (ccos_test_data): New variable.
9472         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9473         (ccosh_test_data): New variable.
9474         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9475         (cexp_test_data): New variable.
9476         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9477         (clog_test_data): New variable.
9478         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9479         (clog10_test_data): New variable.
9480         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9481         (conj_test_data): New variable.
9482         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9483         (cproj_test_data): New variable.
9484         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9485         (csin_test_data): New variable.
9486         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9487         (csinh_test_data): New variable.
9488         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9489         (csqrt_test_data): New variable.
9490         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9491         (ctan_test_data): New variable.
9492         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9493         (ctan_tonearest_test_data): New variable.
9494         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9495         (ctan_towardzero_test_data): New variable.
9496         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9497         (ctan_downward_test_data): New variable.
9498         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9499         (ctan_upward_test_data): New variable.
9500         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9501         (ctanh_test_data): New variable.
9502         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9503         (ctanh_tonearest_test_data): New variable.
9504         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9505         (ctanh_towardzero_test_data): New variable.
9506         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9507         (ctanh_downward_test_data): New variable.
9508         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9509         (ctanh_upward_test_data): New variable.
9510         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9511         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9512         of BUILD_COMPLEX.
9514         * math/libm-test.inc (struct test_ff_f_data): New type.
9515         (struct test_ff_f_data_nexttoward): Likewise.
9516         (RUN_TEST_LOOP_2_f): New macro.
9517         (RUN_TEST_LOOP_ff_f): Likewise.
9518         (atan2_test_data): New variable.
9519         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9520         (copysign_test_data): New variable.
9521         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9522         (fdim_test_data): New variable.
9523         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9524         (fmax_test_data): New variable.
9525         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9526         (fmin_test_data): New variable.
9527         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9528         (fmod_test_data): New variable.
9529         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9530         (hypot_test_data): New variable.
9531         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9532         (nextafter_test_data): New variable.
9533         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9534         (nexttoward_test_data): New variable.
9535         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9536         (pow_test_data): New variable.
9537         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9538         (pow_tonearest_test_data): New variable.
9539         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9540         (pow_towardzero_test_data): New variable.
9541         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9542         (pow_downward_test_data): New variable.
9543         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9544         (pow_upward_test_data): New variable.
9545         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9546         (remainder_test_data): New variable.
9547         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9548         (scalb_test_data): New variable.
9549         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9550         * sysdeps/i386/fpu/libm-test-ulps: Update.
9552 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9554         * math/libm-test.inc (fma_test): Use max_value instead of local
9555         variable fltmax.
9556         (nextafter_test): Likewise.
9558         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9559         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9560         (acos_downward_test_data): New variable.
9561         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9562         (acos_upward_test_data): New variable.
9563         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9564         (acosh_test_data): New variable.
9565         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9566         (asin_test_data): New variable.
9567         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9568         (asin_tonearest_test_data): New variable.
9569         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9570         (asin_towardzero_test_data): New variable.
9571         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9572         (asin_downward_test_data): New variable.
9573         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9574         (asin_upward_test_data): New variable.
9575         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9576         (asinh_test_data): New variable.
9577         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9578         (atan_test_data): New variable.
9579         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9580         (atanh_test_data): New variable.
9581         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9582         (cbrt_test_data): New variable.
9583         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9584         (ceil_test_data): New variable.
9585         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9586         (cos_test_data): New variable.
9587         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9588         (cos_tonearest_test_data): New variable.
9589         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9590         (cos_towardzero_test_data): New variable.
9591         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9592         (cos_downward_test_data): New variable.
9593         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9594         (cos_upward_test_data): New variable.
9595         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9596         (cosh_test_data): New variable.
9597         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9598         (cosh_tonearest_test_data): New variable.
9599         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9600         (cosh_towardzero_test_data): New variable.
9601         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9602         (cosh_downward_test_data): New variable.
9603         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9604         (cosh_upward_test_data): New variable.
9605         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9606         (erf_test_data): New variable.
9607         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9608         (erfc_test_data): New variable.
9609         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9610         (exp_test_data): New variable.
9611         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9612         (exp_tonearest_test_data): New variable.
9613         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9614         (exp_towardzero_test_data): New variable.
9615         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9616         (exp_downward_test_data): New variable.
9617         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9618         (exp_upward_test_data): New variable.
9619         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9620         (exp10_test_data): New variable.
9621         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9622         (exp2_test_data): New variable.
9623         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9624         (expm1_test_data): New variable.
9625         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9626         (fabs_test_data): New variable.
9627         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9628         (floor_test_data): New variable.
9629         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9630         (j0_test_data): New variable.
9631         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9632         (j1_test_data): New variable.
9633         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9634         (log_test_data): New variable.
9635         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9636         (log10_test_data): New variable.
9637         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9638         (log1p_test_data): New variable.
9639         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9640         (log2_test_data): New variable.
9641         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9642         (logb_test_data): New variable.
9643         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9644         (logb_downward_test_data): New variable.
9645         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9646         (nearbyint_test_data): New variable.
9647         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9648         (rint_test_data): New variable.
9649         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9650         (rint_tonearest_test_data): New variable.
9651         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9652         (rint_towardzero_test_data): New variable.
9653         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9654         (rint_downward_test_data): New variable.
9655         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9656         (rint_upward_test_data): New variable.
9657         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9658         (round_test_data): New variable.
9659         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9660         (sin_test_data): New variable.
9661         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9662         (sin_tonearest_test_data): New variable.
9663         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9664         (sin_towardzero_test_data): New variable.
9665         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9666         (sin_downward_test_data): New variable.
9667         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9668         (sin_upward_test_data): New variable.
9669         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9670         (sinh_test_data): New variable.
9671         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9672         (sinh_tonearest_test_data): New variable.
9673         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9674         (sinh_towardzero_test_data): New variable.
9675         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9676         (sinh_downward_test_data): New variable.
9677         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9678         (sinh_upward_test_data): New variable.
9679         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9680         (sqrt_test_data): New variable.
9681         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9682         (tan_test_data): New variable.
9683         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9684         (tan_tonearest_test_data): New variable.
9685         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9686         (tan_towardzero_test_data): New variable.
9687         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9688         (tan_downward_test_data): New variable.
9689         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9690         (tan_upward_test_data): New variable.
9691         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9692         (tanh_test_data): New variable.
9693         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9694         (tgamma_test_data): New variable.
9695         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9696         (trunc_test_data): New variable.
9697         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9698         (y0_test_data): New variable.
9699         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9700         (y1_test_data): New variable.
9701         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9702         (significand_test_data): New variable.
9703         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9705 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9707         [BZ #12387]
9708         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9710 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9712         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9714 2013-05-10  Andreas Jaeger  <aj@suse.de>
9716         [BZ #15448]
9717         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9718         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9720 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9722         * math/gen-libm-test.pl (adjust_arg): New function.
9723         (special_functions): Handle generating output in both functions
9724         and arrays.
9725         (parse_args): Likewise.
9726         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9727         $in_func argument to parse_args.
9728         * math/libm-test.inc (struct test_f_f_data): New type.
9729         (IF_ROUND_INIT_): New macro.
9730         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9731         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9732         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9733         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9734         (ROUND_RESTORE_): Likewise.
9735         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9736         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9737         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9738         (ROUND_RESTORE_FE_UPWARD): Likewise.
9739         (RUN_TEST_LOOP_f_f): New macro.
9740         (acos_test_data): New variable.
9741         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9742         (acos_tonearest_test_data): New variable.
9743         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9745 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9747         * benchtests/bench-skeleton.c (startup): Fix coding style.
9749 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9751         [BZ #6809]
9752         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9753         negative infinity argument.
9754         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9755         negative infinity argument.
9756         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9757         negative infinity argument.
9758         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9759         domain errors.
9761 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9763         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9764         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9765         * iconv/iconv_prog.c (main): Likewise.
9766         * locale/programs/charmap-dir.c (charmap_readdir)
9767         (fopen_uncompressed): Likewise.
9768         * locale/programs/locfile.c (siblings_uncached)
9769         (write_locale_data): Use lstat64 instead of lstat.
9770         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9771         stat.
9773 2013-05-10  Andreas Jaeger  <aj@suse.de>
9775         [BZ #15395]
9776         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9777         localization.
9778         Include <locale.h>.
9780 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9782         * elf/dl-close.c (_dl_close_worker): Add comments.
9784 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9786         [BZ #15359]
9787         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9788         high part of pi/2.
9789         (__ieee754_rem_pio2l): Update comments.
9791         [BZ #15429]
9792         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9793         high part of pi/2.
9794         (__ieee754_rem_pio2l): Update comments.
9796         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9797         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9799         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9800         M_PI_4l.
9802         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9803         (M_PI_34_LOG10El): Likewise.
9804         (M_PI2_LOG10El): Likewise.
9805         (M_PI4_LOG10El): Likewise.
9806         (M_PI_LOG10El): Likewise.
9808 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9812 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9814         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9815         (MINUS_ZERO_INIT): Likewise.
9816         (PLUS_INFTY_INIT): Likewise.
9817         (MINUS_INFTY_INIT): Likewise.
9818         (QNAN_VALUE_INIT): Likewise.
9819         (MAX_VALUE_INIT): Likewise.
9820         (MIN_VALUE_INIT): Likewise.
9821         (MIN_SUBNORM_VALUE_INIT): Likewise.
9822         (plus_zero): Initialize with PLUS_ZERO_INIT.
9823         (minus_zero): Initialize with MINUS_ZERO_INIT.
9824         (plus_infty): Initialize with PLUS_INFTY_INIT.
9825         (minus_infty): Initialize with MINUS_INFTY_INIT.
9826         (qnan_value): Initialize with QNAN_VALUE_INIT.
9827         (max_value): Initialize with MAX_VALUE_INIT.
9828         (min_value): Initialize with MIN_VALUE_INIT.
9829         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9831         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9832         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9833         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9834         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9836         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9837         (RUN_TEST_2_f): Likewise.
9838         (RUN_TEST_ff_f): Likewise.
9839         (RUN_TEST_fi_f): Likewise.
9840         (RUN_TEST_fl_f): Likewise.
9841         (RUN_TEST_fff_f): Likewise.
9842         (RUN_TEST_c_f): Likewise.
9843         (RUN_TEST_f_f1): Likewise.
9844         (RUN_TEST_fF_f1): Likewise.
9845         (RUN_TEST_fI_f1): Likewise.
9846         (RUN_TEST_ffI_f1): Likewise.
9847         (RUN_TEST_c_c): Likewise.
9848         (RUN_TEST_cc_c): Likewise.
9849         (RUN_TEST_f_i): Likewise.
9850         (RUN_TEST_f_i_tg): Likewise.
9851         (RUN_TEST_ff_i_tg): Likewise.
9852         (RUN_TEST_f_b): Likewise.
9853         (RUN_TEST_f_b_tg): Likewise.
9854         (RUN_TEST_f_l): Likewise.
9855         (RUN_TEST_f_L): Likewise.
9856         (RUN_TEST_sincos): Likewise.
9857         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9858         whether to show exceptions.  Do not include ");\n" in return
9859         value.
9860         (special_functions): Output call to RUN_TEST_sincos instead of
9861         check_float calls.  Update calls to new_test.
9862         (parse_args): Output call to single RUN_TEST_* macro instead of
9863         check_* calls and other assignments.  Update calls to new_test.
9865         [BZ #2546]
9866         [BZ #2560]
9867         [BZ #5159]
9868         [BZ #15426]
9869         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9870         input to result for tgamma overflow.
9871         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9872         (gamma_coeff): New variable.
9873         (NCOEFF): New macro.
9874         (gamma_positive): New function.
9875         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9876         underflow here.  Use gamma_positive instead of exp (lgamma) for
9877         other arguments.
9878         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9879         (gamma_coeff): New variable.
9880         (NCOEFF): New macro.
9881         (gammaf_positive): New function.
9882         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9883         underflow here.  Use gamma_positive instead of exp (lgamma) for
9884         other arguments.
9885         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9886         (gamma_coeff): New variable.
9887         (NCOEFF): New macro.
9888         (gammal_positive): New function.
9889         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9890         underflow here.  Use gamma_positive instead of exp (lgamma) for
9891         other arguments.
9892         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9893         (gamma_coeff): New variable.
9894         (NCOEFF): New macro.
9895         (gammal_positive): New function.
9896         (__ieee754_gammal_r): Handle positive infinity, overflow and
9897         underflow here.  Handle NaN the same as positive infinity.  Remove
9898         check x < 0xffffffff for negative integers.  Use gamma_positive
9899         instead of exp (lgamma) for other arguments.
9900         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9901         (gamma_coeff): New variable.
9902         (NCOEFF): New macro.
9903         (gammal_positive): New function.
9904         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9905         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9906         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9907         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9908         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9909         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9910         * sysdeps/generic/math_private.h (__gamma_productf): New
9911         prototype.
9912         (__gamma_product): Likewise.
9913         (__gamma_productl): Likewise.
9914         * math/Makefile (libm-calls): Add gamma_product.
9915         * math/libm-test.inc (tgamma_test): Add more tests.
9916         * sysdeps/i386/fpu/libm-test-ulps: Update.
9917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9919 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9921         * benchtests/bench-skeleton.c (main): Preheat CPU.
9923 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9925         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9927 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9929         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9930         and _dl_skip_args_internal.
9932 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9934         * manual/message.texi (Message Translation): Talk about users.
9935         Message to key mapping impacts design.
9937 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9939         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9941         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9943         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9944         * sysdeps/wordsize-64/glob64.c: ... here.
9946         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9947         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9948         New macros.
9950         * debug/getlogin_r_chk.c: Moved to ...
9951         * login/getlogin_r_chk.c: ... here.
9952         * debug/Makefile (routines): Move getlogin_r_chk to ...
9953         * login/Makefile (routines): ... here.
9954         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9955         * login/Versions (libc: GLIBC_2.4): ... here.
9957         * io/poll.c (__poll): Renamed from poll.
9958         Add libc_hidden_def.
9959         (poll): Define as weak alias.
9961         * debug/ptsname_r_chk.c: Moved to ...
9962         * login/ptsname_r_chk.c: ... here.
9963         * debug/Makefile (routines): Move ptsname_r_chk to ...
9964         * login/Makefile (routines): ... here.
9965         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9966         * login/Versions (libc: GLIBC_2.4): ... here.
9968         * posix/getlogin.c: Moved to ...
9969         * login/getlogin.c: ... here.
9970         * posix/getlogin_r.c: Moved to ...
9971         * login/getlogin_r.c: ... here.
9972         * posix/getlogin_r.c: Moved to ...
9973         * login/getlogin_r.c: ... here.
9974         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9975         * login/Makefile (routines): ... here.
9976         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9977         * login/Versions (libc: GLIBC_2.0): ... here.
9979         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9980         (setrlimit): Define as weak alias.
9982         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9983         Call __ names for open, ftruncate, and close.
9984         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9985         (truncate): Define as weak alias.
9987 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9989         * math/gen-libm-test.pl (parse_args): Initialize x before each
9990         test of frexp, modf and remquo.
9992         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9993         test signgam value.
9995 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9997         [BZ #15418]
9998         [BZ #15419]
9999         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10000         internal tests.
10001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10003 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10005         * elf/dl-writev.h: New file.
10006         * elf/dl-misc.c: Include it.
10007         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10008         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10010 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10012         * math/libm-test.inc (noXFails): Remove variable.
10013         (noXPasses): Likewise.
10014         (BUILD_COMPLEX_INT): Remove macro.
10015         (print_screen): Remove xfail argument.
10016         (print_screen_max_error): Likewise.
10017         (update_stats): Likewise.
10018         (print_max_error): Likewise.  Update calls to other affected
10019         functions.
10020         (print_complex_max_error): Likewise.
10021         (test_single_exception): Update calls to print_screen.
10022         (test_single_errno): Likewise.
10023         (check_float_internal): Remove xfail argument.  Update calls to
10024         other affected functions.
10025         (check_float): Likewise.
10026         (check_complex): Likewise.
10027         (check_int): Likewise.
10028         (check_long): Likewise.
10029         (check_bool): Likewise.
10030         (check_longlong): Likewise.
10031         (main): Don't print noXFails and noXPasses.
10032         * math/gen-libm-test.pl (top level): Don't mention expected
10033         failure handling in comment.
10034         (new_test): Don't handle expected failures.
10035         (parse_args): Don't mention expected failure handling in comment.
10036         (generate_testfile): Don't handle expected failures.
10037         (parse_ulps): Likewise.
10038         (print_ulps_file): Likewise.
10039         (get_failure): Remove function.
10040         (output_test): Don't handle expected failures.
10041         * make/README.libm-test: Don't mention expected failure handling.
10043         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10044         (minus_zero): Likewise.
10045         (plus_infty): Likewise.
10046         (minus_infty): Likewise.
10047         (qnan_value): Likewise.
10048         (max_value): Likewise.
10049         (min_value): Likewise.
10050         (min_subnorm_value): Likewise.
10051         (initialize): Do not initialize those variables dynamically.
10053 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10055         * io/open.c (__open_2): Moved to ...
10056         * io/open_2.c: ... this new file.
10057         * io/open64.c (__open64_2): Moved to ...
10058         * io/open64_2.c: ... this new file.
10059         * io/openat.c (__openat_2): Moved to ...
10060         * io/openat_2.c: ... this new file.
10061         * io/openat64.c (__openat64_2): Moved to ...
10062         * io/openat64_2.c: ... this new file.
10063         * io/Makefile (routines): Add them.
10064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10065         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10066         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10067         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10068         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10069         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10070         (__openat64): Add hidden_ver.
10071         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10072         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10074         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10075         Separately conditionalize setting of GLRO(dl_sysinfo) so
10076         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10077         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10079 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10081         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10082         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10083         definition.
10084         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10085         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10086         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10087         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10088         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10090 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10092         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10093         test signgam value.
10095         * math/libm-test.inc (hypot_test): Do not use
10096         IGNORE_ZERO_INF_SIGN.
10098 2013-05-03  Andreas Jaeger  <aj@suse.de>
10100         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10101         Linux 3.9.
10102         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10103         (PF_MAX): Adjust for VSOCK change.
10105 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10109 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10111         [BZ #15264]
10112         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10113         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10114         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10116 2013-05-02  David S. Miller  <davem@davemloft.net>
10118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10120 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10122         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10124 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10126         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10128 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10130         [BZ #14952]
10131         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10132         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10133         Use __attribute__ ((__gnu_inline__)).
10134         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10135         Don't use __attribute__ ((__gnu_inline__)).
10137 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10139         [BZ #15423]
10140         * math/s_catan.c (__catan): Handle small real or imaginary part of
10141         input specially to avoid spurious underflow.
10142         * math/s_catanf.c (__catanf): Likewise.
10143         * math/s_catanh.c (__catanh): Likewise.
10144         * math/s_catanhf.c (__catanhf): Likewise.
10145         * math/s_catanhl.c (__catanhl): Likewise.
10146         * math/s_catanl.c (__catanl): Likewise.
10147         * math/libm-test.inc (catan_test): Add more tests.
10148         (catanh_test): Likewise.
10149         * sysdeps/i386/fpu/libm-test-ulps: Update.
10150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10156 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10158         [BZ #15416]
10159         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10160         accurately for denominator in atan2.
10161         * math/s_catanf.c (__catanf): Likewise.
10162         * math/s_catanh.c (__catanh): Likewise.
10163         * math/s_catanhf.c (__catanhf): Likewise.
10164         * math/s_catanhl.c (__catanhl): Likewise.
10165         * math/s_catanl.c (__catanl): Likewise.
10166         * math/libm-test.inc (catan_test): Add more tests.
10167         (catanh_test): Likewise.
10168         * sysdeps/i386/fpu/libm-test-ulps: Update.
10169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10171 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10173         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10175         * benchtests/Makefile (bench): Remove slow benchmarks.
10176         * benchtests/atan-inputs: Add slow benchmark inputs.
10177         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10178         (BENCH_FUNC): Accept variant offset.
10179         (VARIANT): Define.
10180         * benchtests/bench-skeleton.c (main): Run benchmark for each
10181         variant.
10182         * benchtests/cos-inputs: Add slow benchmark inputs.
10183         * benchtests/exp-inputs: Likewise.
10184         * benchtests/pow-inputs: Likewise.
10185         * benchtests/sin-inputs: Likewise.
10186         * benchtests/slowatan-inputs: Remove.
10187         * benchtests/slowatan.c: Remove.
10188         * benchtests/slowcos-inputs: Remove.
10189         * benchtests/slowcos.c: Remove.
10190         * benchtests/slowexp-inputs: Remove.
10191         * benchtests/slowexp.c: Remove.
10192         * benchtests/slowpow-inputs: Remove.
10193         * benchtests/slowpow.c: Remove.
10194         * benchtests/slowsin-inputs: Remove.
10195         * benchtests/slowsin.c: Remove.
10196         * benchtests/slowtan-inputs: Remove.
10197         * benchtests/slowtan.c: Remove.
10198         * benchtests/tan-inputs: Add slow benchmark inputs.
10199         * scripts/bench.pl: Parse comments and directives.
10201         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10202         in CPPFLAGS.
10203         ($(objpfx)bench-%.c): Remove *-ITER.
10204         * benchtests/bench-modf.c: Remove definition of ITER.
10205         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10206         (main): Loop for DURATION seconds instead of fixed number of
10207         iterations.
10208         * scripts/bench.pl: Don't expect iterations in parameters.
10210 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10212         * io/fchdir.c (__fchdir): Renamed from fchdir.
10213         (fchdir): Define as weak alias.
10215 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10217         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10218         (ERRNO_EDOM): Likewise.
10219         (ERRNO_ERANGE): Likewise.
10220         (noErrnoTests): New variable.
10221         (init_max_error): Set errno to 0.
10222         (test_single_errno): New function.
10223         (test_errno): Likewise.
10224         (check_float_internal): Call test_errno.  Set errno to 0.
10225         (check_complex): Refer to errno tests in comment.
10226         (check_int): Call test_errno.  Set errno to 0.
10227         (check_long): Likewise.
10228         (check_bool): Likewise.
10229         (check_longlong): Likewise.
10230         (cos_test): Use ERRNO_* flags for errno tests instead of
10231         check_int.
10232         (expm1_test): Likewise.
10233         (fmod_test): Likewise.
10234         (ilogb_test): Likewise.
10235         (lgamma_test): Likewise.
10236         (pow_test): Likewise.
10237         (remainder_test): Likewise.
10238         (sin_test): Likewise.
10239         (tan_test): Likewise.
10240         (yn_test): Likewise.
10241         (initialize): Set errno to 0.
10242         (main): Print number of errno tests.
10243         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10245 2013-04-29  Andreas Jaeger  <aj@suse.de>
10247         [BZ #15084]
10248         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10249         and RES_USEVC.
10251         [BZ #15085]
10252         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10253         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10254         unimplemented.
10256         [BZ #15380]
10257         * stdlib/random.c (__initstate): Return NULL if
10258         __initstate fails.
10260         [BZ #15086]
10261         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10262         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10263         RES_SNGLKUPREOP.
10265 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10269 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10271         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10272         of individual tests.
10273         (casin_test): Likewise.
10274         (casinh_test): Likewise.
10276 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10278         [BZ #15409]
10279         * math/s_catan.c (__catan): Handle arguments with large real or
10280         imaginary part separately without squaring.
10281         * math/s_catanf.c (__catanf): Likewise.
10282         * math/s_catanh.c (__catanh): Likewise.
10283         * math/s_catanhf.c (__catanhf): Likewise.
10284         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10285         and redefine.
10286         (__catanhl): Handle arguments with large real or imaginary part
10287         separately without squaring.
10288         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10289         and redefine.
10290         (__catanl): Handle arguments with large real or imaginary part
10291         separately without squaring.
10292         * math/libm-test.inc (catan_test): Add more tests.
10293         (catanh_test): Likewise.
10294         * sysdeps/i386/fpu/libm-test-ulps: Update.
10295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297 2013-04-27  Andreas Jaeger  <aj@suse.de>
10299         [BZ #15007]
10300         * stdlib/stdlib.h: Update guards for qecvt.
10301         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10302         <stdlib.h>.
10304 2013-04-27  Allan McRae  <allan@archlinux.org>
10306         * sysdeps/i386/fpu/libm-test-ulps: Update.
10308 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10310         [BZ #15406]
10311         * math/s_catan.c: Include <float.h>.
10312         (__catan): Ensure underflow exception occurs for underflowed
10313         result.
10314         * math/s_catanf.c: Include <float.h>.
10315         (__catanf): Ensure underflow exception occurs for underflowed
10316         result.
10317         * math/s_catanh.c: Include <float.h>.
10318         (__catanh): Ensure underflow exception occurs for underflowed
10319         result.
10320         * math/s_catanhf.c: Include <float.h>.
10321         (__catanhf): Ensure underflow exception occurs for underflowed
10322         result.
10323         * math/s_catanhl.c: Include <float.h>.
10324         (__catanhl): Ensure underflow exception occurs for underflowed
10325         result.
10326         * math/s_catanl.c: Include <float.h>.
10327         (__catanl): Ensure underflow exception occurs for underflowed
10328         result.
10329         * math/libm-test.inc (catan_test): Add more tests.
10330         (catanh_test): Likewise.
10332         [BZ #15405]
10333         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10334         underflowed result.
10335         * math/s_ccoshf.c (__ccoshf): Likewise.
10336         * math/s_ccoshl.c (__ccoshl): Likewise.
10337         * math/s_csin.c (__csin): Likewise.
10338         * math/s_csinf.c (__csinf): Likewise.
10339         * math/s_csinh.c (__csinh): Likewise.
10340         * math/s_csinhf.c (__csinhf): Likewise.
10341         * math/s_csinhl.c (__csinhl): Likewise.
10342         * math/s_csinl.c (__csinl): Likewise.
10343         * math/libm-test.inc (ccos_test): Add more tests.
10344         (ccosh_test): Likewise.
10345         (csin_test): Likewise.
10346         (csinh_test): Likewise.
10348 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10350         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10351         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10352         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10353         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10354         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10355         powerpc/power5+/fpu folders.
10356         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10359 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10363 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10365         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10366         additions to variable.
10367         [$(config-machine) = x86_64] (modules-names): Likewise.
10368         ($(objpfx)tst-audit3): Remove dependency.
10369         ($(objpfx)tst-audit3.out): Likewise.
10370         ($(objpfx)tst-audit4): Likewise.
10371         ($(objpfx)tst-audit4.out): Likewise.
10372         ($(objpfx)tst-audit5): Likewise.
10373         ($(objpfx)tst-audit5.out): Likewise.
10374         ($(objpfx)tst-audit6): Likewise.
10375         ($(objpfx)tst-audit6.out): Likewise.
10376         ($(objpfx)tst-audit7): Likewise.
10377         ($(objpfx)tst-audit7.out): Likewise.
10378         (tst-audit3-ENV): Remove variable.
10379         (tst-audit4-ENV): Likewise.
10380         (tst-audit5-ENV): Likewise.
10381         (tst-audit6-ENV): Likewise.
10382         (tst-audit7-ENV): Likewise.
10383         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10384         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10385         addition to variable.
10386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10388         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10391         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10392         tst-audit3, tst-audit4 and tst-audit5.
10393         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10394         tst-audit6 and tst-audit7.
10395         [$(subdir) = elf] (modules-names): Add audit modules for those
10396         tests.
10397         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10398         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10399         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10400         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10401         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10402         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10403         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10404         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10405         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10406         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10407         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10408         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10409         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10410         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10411         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10412         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10413         Likewise.
10414         [$(subdir) = elf && $(config-cflags-avx) = yes]
10415         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10416         [$(subdir) = elf && $(config-cflags-avx) = yes]
10417         (CFLAGS-tst-auditmod4a.c): Likewise.
10418         [$(subdir) = elf && $(config-cflags-avx) = yes]
10419         (CFLAGS-tst-auditmod4b.c): Likewise.
10420         [$(subdir) = elf && $(config-cflags-avx) = yes]
10421         (CFLAGS-tst-auditmod6b.c): Likewise.
10422         [$(subdir) = elf && $(config-cflags-avx) = yes]
10423         (CFLAGS-tst-auditmod6c.c): Likewise.
10424         [$(subdir) = elf && $(config-cflags-avx) = yes]
10425         (CFLAGS-tst-auditmod7b.c): Likewise.
10426         * elf/tst-audit3.c: Move to ...
10427         * sysdeps/x86_64/tst-audit3.c: ... here.
10428         * elf/tst-audit4.c: Move to ...
10429         * sysdeps/x86_64/tst-audit4.c: ... here.
10430         * elf/tst-audit5.c: Move to ...
10431         * sysdeps/x86_64/tst-audit5.c: ... here.
10432         * elf/tst-audit6.c: Move to ...
10433         * sysdeps/x86_64/tst-audit6.c: ... here.
10434         * elf/tst-audit7.c: Move to ...
10435         * sysdeps/x86_64/tst-audit7.c: ... here.
10436         * elf/tst-auditmod3a.c: Move to ...
10437         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10438         * elf/tst-auditmod3b.c: Move to ...
10439         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10440         * elf/tst-auditmod4a.c: Move to ...
10441         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10442         * elf/tst-auditmod4b.c: Move to ...
10443         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10444         * elf/tst-auditmod5a.c: Move to ...
10445         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10446         * elf/tst-auditmod5b.c: Move to ...
10447         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10448         * elf/tst-auditmod6a.c: Move to ...
10449         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10450         * elf/tst-auditmod6b.c: Move to ...
10451         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10452         * elf/tst-auditmod6c.c: Move to ...
10453         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10454         * elf/tst-auditmod7a.c: Move to ...
10455         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10456         * elf/tst-auditmod7b.c: Move to ...
10457         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10459 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10461         [BZ #15366]
10462         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10463         define unconditionally.
10464         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10465         define unconditionally.
10466         (INT8_C, INT16_C, etc.): Likewise.
10468 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10470         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10471         __ehdr_start with hidden visibility.
10473         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10475 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10477         * math/libm-test.inc (cos_test): Use accurate hex constants.
10478         (sincost_test): Likewise.
10480 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10482         * math/libm-test.inc (catan_test): Add more tests.
10483         (catanh_test): Likewise.
10485         * math/s_catanf.c (__catanf): Use suffixed floating-point
10486         constants.
10487         * math/s_catanhf.c (__catanhf): Likewise.
10488         * math/s_catanhl.c (__catanhl): Likewise.
10489         * math/s_catanl.c (__catanl): Likewise.
10491         [BZ #15394]
10492         * math/s_catan.c (__catan): Calculate imaginary part of result
10493         with log1p not log unless computing log of number close to 0.
10494         * math/s_catanf.c (__catanf): Likewise.
10495         * math/s_catanl.c (__catanl): Likewise.
10496         * math/s_catanh.c (__catanh): Calculate real part of result with
10497         log1p not log unless computing log of number close to 0.
10498         * math/s_catanhf.c (__catanhf): Likewise.
10499         * math/s_catanhl.c (__catanhl): Likewise.
10500         * math/libm-test.inc (catan_test): Add more tests.
10501         (catanh_test): Likewise.
10502         * sysdeps/i386/fpu/libm-test-ulps: Update.
10503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10505 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10507         * benchtests/Makefile: Mention files in which fast and slow
10508         paths of math functions are implemented.
10510 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10512         * sysdeps/posix/timespec_get.c: New file.
10514 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10516         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10517         POWER.
10518         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10519         for POWER.
10520         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10521         powerpc/power5/fpu folders.
10522         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10523         * benchtests/Makefile: Add modf testcase.
10524         * benchtests/bench-modf.c: New file: Benchmark test for mo
10526 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10528         [BZ #14888]
10529         * time/Makefile (tests): Add tst-strptime-whitespace.
10530         * time/strptime_l.c (get_number): Use ISSPACE.
10531         (__strptime_internal): Likewise.
10532         * time/tst-strptime-whitespace.c: New test case.
10534 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10536         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10537         member.
10538         (_nss_files_init): Set it here.
10540 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10542         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10543         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10544         unsigned.
10546 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10548         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10550 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10553         size just once.
10555 2013-04-21  David S. Miller  <davem@davemloft.net>
10557         * po/ru.po: Update Russion translation from translation project.
10559 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10561         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10562         and setfsgid.
10564 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10566         * configure.in: Remove i386 configure warning. Remove i386 case.
10567         * configure: Regenerate.
10568         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10569         Add example to error message.
10570         * sysdeps/i386/configure: Regenerate.
10572 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10574         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10575         slowtan.
10576         * benchtests/cos-inputs: New file.
10577         * benchtests/slowcos-inputs: New file.
10578         * benchtests/slowcos.c: New file.
10579         * benchtests/slowtan-inputs: New file.
10580         * benchtests/slowtan.c: New file.
10581         * benchtests/tan-inputs: New file.
10583 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10585         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10586         considered kosher.
10588 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10590         * benchtests/Makefile: Include cppflags-iterator.mk to add
10591         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10593         * Makefile.in (bench-clean): New target.
10594         * benchtests/Makefile (bench-clean): Likewise.
10596 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10598         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10600 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10602         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10604 2013-04-15  Andreas Schwab  <schwab@suse.de>
10606         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10608         * nscd/pwdcache.c (cache_addpw): Likewise.
10609         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10610         more than recsize.
10612 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10614         * benchtests/Makefile (bench): Write all output to
10615         bench-out.tmp together.
10617 2013-04-15  Andreas Schwab  <schwab@suse.de>
10619         * nscd/nscd.c (main): Don't fork again after closing files.
10621 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10623         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10625         * benchtests/Rules (bench-deps): Collect dependencies into a
10626         single variable.  Add Makefile to dependencies.
10627         ($(objpfx)bench-%.c): Depend on bench-deps.
10629 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10630             Xavier Roche  <roche+kml2@exalead.com>
10632         [BZ #15361]
10633         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10634         just that it's a file descriptor.
10635         * manual/llio.texi (Synchronizing AIO Operations): Update description
10636         for EBADF error from aio_fsync.
10638 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10640         * Rules (bench): Move target definition...
10641         * benchtests/Makefile: ... here.
10643 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10645         * math/libm-test.inc (cos_test): Fix PI/2 test.
10646         (sincos_test): Likewise.
10647         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10648         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10650 2013-04-11  Andreas Schwab  <schwab@suse.de>
10652         [BZ #13988]
10653         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10654         accept exponent character only when digits were seen.
10655         * stdio-common/Makefile (tests): Add bug26.
10656         * stdio-common/bug26.c: New file.
10658         [BZ #14293]
10659         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10660         non-freeable.
10662 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664         * Makeconfig (rtld-prefix): Define built linker prefix.
10665         * Rules (run-bench): Use it.
10666         * math/Makefile (run-regen-ulps): Likewise.
10668         * Rules (bench): Remove eval.
10670 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10671             Roland McGrath  <roland@hack.frob.com>
10672             Ondrej Bilka  <neleai@seznam.cz>
10674         [BZ #15346]
10675         * time/getdate.c: Include ctype.h and alloca.h.
10676         (__getdate_r): Trim leading and trailing spaces of input.
10677         * time/tst-getdate.c (tests): Add tests with leading and
10678         trailing spaces.
10680 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10682         [BZ #14280]
10683         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10684         when computing value.
10686 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10688         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10689         Use testrun.sh to run libm tests.
10691         [BZ #15309]
10692         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10694 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10696         [BZ #15264]
10697         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10699 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10701         * Makefile.in (regen-ulps): New target.
10702         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10703         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10704         [ifneq (no,$(PERL)] (regen-ulps): New target.
10705         [ifeq (no,$(PERL)] (regen-ulps): New target.
10706         * math/libm-test.inc (ulps_file_name): Define.
10707         (output_dir): New variable.
10708         (options): Add "output-dir" option.
10709         (parse_opt): Handle 'o' case.
10710         (main): If output_dir is non-NULL use it as a prefix
10711         otherwise use "".
10712         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10716         [BZ #10060, #10062]
10717         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10718         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10719         fail configure if __sync_val_compare_and_swap is not inlined.
10720         * sysdeps/i386/configure: Regenerate.
10721         * configure.in: Build for i686 when configured for i386.
10722         * configure: Regenerate.
10723         * README: Remove i386 reference.
10725 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10727         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10730 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10732         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10733         (lmsnanval): New variables.
10734         (F): Add conversion tests.
10735         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10736         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10738         * stdio-common/tstdiomisc.c (F): Properly collect individual
10739         tests' results.
10741         [BZ #14686, #15336]
10742         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10743         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10744         Instead, use input NaN values or generate a qNaN by arithmetic
10745         operation.  Also fix bugs to comply with the standard.
10746         * math/libm-test.inc (remainder_test): Add more tests.
10748         [BZ #15335, #15342]
10749         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10751         input NaN values or generate a qNaN by arithmetic operation.
10753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10754         unreachable code.
10756         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10757         definitions.
10759 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10761         [BZ #14478]
10762         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10763         underflowed result.
10764         * math/s_cexpf.c (__cexpf): Likewise.
10765         * math/s_cexpl.c (__cexpl): Likewise.
10766         * math/libm-test.inc (cexp_test): Add more tests.
10768 2013-04-03  Andreas Schwab  <schwab@suse.de>
10770         [BZ #15330]
10771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10772         order arrays from heap if bigger than alloca cutoff.
10774 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10776         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10777         (SNAN_TESTS_double): Refer to GCC PR56831.
10778         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10779         GCC PR56828.
10781 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10783         * Rules (bench): Move bench.out after the run is complete.
10785         * Rules (bench): Echo currently running benchmark.
10787         * benchtests/Makefile (bench): Add atan and slowatan.
10788         * benchtests/atan-inputs: New file.
10789         * benchtests/slowatan-inputs: New file.
10790         * benchtests/slowatan.c: New file.
10792         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10793         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10794         its value.
10796         [BZ #15305]
10797         * sysdeps/unix/sysv/linux/kernel-features.h
10798         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10799         __ASSUME_XFS_RESTRICTED_CHOWN.
10800         * sysdeps/unix/sysv/linux/pathconf.c
10801         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10802         Save and restore errno.
10804 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10806         [BZ #15327]
10807         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10808         arguments using __kernel_casinh.
10809         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10810         arguments using __kernel_casinhf.
10811         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10812         arguments using __kernel_casinhl.
10813         * math/libm-test.inc (cacosh_test): Add more tests.
10814         * sysdeps/i386/fpu/libm-test-ulps: Update.
10815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10817 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10819         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10822         * bench/Makefile (bench): Add sin and slowsin.
10823         * benchtests/sin-inputs: New file.
10824         * benchtests/slowsin-inputs: New file.
10825         * benchtests/slowsin.c: New file.
10827         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10828         (bench): Add slowexp and slowpow.
10829         (exp-ITER): Increase iterations.
10830         (pow-ITER): Likewise.
10831         * benchtests/exp-inputs: Change input.
10832         * benchtests/pow-inputs: Likewise.
10833         * benchtests/slowexp-inputs: New file.
10834         * benchtests/slowexp.c: New file.
10835         * benchtests/slowpow-inputs: New file.
10836         * benchtests/slowpow.c: New file.
10838 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10840         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10841         instructions.
10842         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10843         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10844         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10845         * benchtests/Makefile: Add rint benchtest.
10846         * benchtests/rint-inputs: Input for rint benchtest.
10848 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10850         * Versions.def (libm): Add GLIBC_2.18.
10851         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10852         hidden libm prototypes.
10853         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10854         * math/Makefile (libm-calls): Add s_issignaling.
10855         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10856         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10857         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10858         declaration.
10859         * math/math.h [__USE_GNU] (issignaling): New macro.
10860         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10861         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10862         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10863         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10864         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10865         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10866         * manual/arith.texi (issignaling): New section.
10867         * manual/libm-err-tab.pl (@all_functions): Update comment.
10868         * math/gen-libm-test.pl (parse_args): Apply special handling for
10869         issignaling.
10870         * math/libm-test.inc (print_float, issignaling_test): New
10871         functions.
10872         (check_float_internal): Add issignaling checks.
10873         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10874         default definition.
10875         * sysdeps/powerpc/math-tests.h: New file.
10876         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10877         tests.
10878         * math/test-snan.c (TEST_FUNC): Likewise.
10880 2013-03-30  David S. Miller  <davem@davemloft.net>
10882         * po/de.po: Update from translation team.
10884 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10886         [BZ #10357]
10887         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10888         imaginary part less than 1.0 and real part less than 0.5
10889         specially.
10890         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10891         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10892         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10893         (cacos_test): Add more tests.
10894         (casin_test): Likewise.
10895         (casinh_test): Likewise.
10896         * sysdeps/i386/fpu/libm-test-ulps: Update.
10897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10899 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10901         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10902         ONE with its value.
10904         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10905         (__pow_mp): Replace ONE and MONE with their values.
10906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10907         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10908         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10909         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10910         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10911         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10913         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10915         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10916         (__pow_mp): Replace ZERO and MZERO with their values.
10917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10921         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10922         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10923         (__sqr): Likewise.
10925         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10927         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10929 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10931         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10932         Declare with __attribute__ ((weak)).
10933         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10934         Call __call_tls_dtors only if it's not NULL.
10936 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10938         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10939         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10940         magic __ehdr_start linker symbol if it's defined.
10941         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10942         them up here if it was already done.
10944         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10945         (_dl_aux_init): Use const in cast when setting it.
10946         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10947         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10948         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10950         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10951         Declare them here.
10952         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10953         * csu/libc-tls.c: Nor here.
10954         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10956         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10957         (__libc_message): Never call vsyslog.
10959 2013-03-28  Alan Modra  <amodra@gmail.com>
10961         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10962         Define as empty.
10963         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10964         Likewise.
10966 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10968         [BZ #15214]
10969         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10970         underflow.
10971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10973 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10975         [BZ #15304]
10976         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10977         Don't add gid passed as argument.
10979         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10981 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10983         [BZ #15307]
10984         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10985         imaginary part between 1.0 and 1.5 and real part less than 0.5
10986         specially.
10987         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10988         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10989         * math/libm-test.inc (cacos_test): Add more tests.
10990         (casin_test): Likewise.
10991         (casinh_test): Likewise.
10992         * sysdeps/i386/fpu/libm-test-ulps: Update.
10993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10995 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10997         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10998         constants.
10999         (norm): Likewise.
11000         (denorm): Likewise.
11001         (__dbl_mp): Likewise.
11002         (add_magnitudes): Likewise.
11003         (sub_magnitudes): Likewise.
11004         (__add): Likewise.
11005         (__sub): Likewise.
11006         (__mul): Likewise.
11007         (__sqr): Likewise.
11008         (__inv): Likewise.
11009         (__dvd): Likewise.
11011         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11012         commented code.
11013         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11014         (__dubcos): Likewise.
11015         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11016         (__ieee754_acos): Likewise.
11017         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11018         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11019         (__exp1): Likewise.
11020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11022         (log1): Likewise.
11023         (my_log2): Likewise.
11024         (checkint): Likewise.
11025         * sysdeps/ieee754/dbl-64/e_remainder.c
11026         (__ieee754_remainder): Likewise.
11027         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11029         (bsloww): Likewise.
11030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11032         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11033         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11034         MANTISSA_STORE_T to store computations on mantissa.  Use
11035         macros for rounding and division.
11036         (denorm): Likewise.
11037         (__dbl_mp): Likewise.
11038         (add_magnitudes): Likewise.
11039         (sub_magnitudes): Likewise.
11040         (__mul): Likewise.
11041         (__sqr): Likewise.
11042         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11043         powers of two in terms of TWOPOW macro.
11044         (mp_no): Make type of mantissa as MANTISSA_T.
11045         [!RADIXI]: Define RADIXI.
11046         [!TWO52]: Define TWO52.
11047         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11049 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11051         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11052         llroundl symbol when building for PPC32.
11054 2013-03-24  Mark H Weaver  <mhw@netris.org>
11056         * manual/arith.texi (Normalization Functions): Fix prototypes for
11057         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11059 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11061         [BZ #13889]
11062         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11063         high value to check if expl overflow.
11064         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11065         to check for underflow and overflow.
11066         * math/libm-test.inc: Add exp test.
11068 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11070         [BZ #11120]
11071         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11072         with NOT_IN_libc.
11074 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11076         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11077         symbol.
11079 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11081         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11082         wrap blocks consisting of several statements.
11084         * sysdeps/generic/math-tests.h: New file.
11085         * sysdeps/i386/fpu/math-tests.h: Likewise.
11086         * math/test-snan.c: Include it.
11087         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11089 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11091         [BZ #15285]
11092         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11093         (__ieee754_j0l): Do not improve calculations using cos of twice
11094         input for inputs above LDBL_MAX / 2.0L.
11095         (__ieee754_y0l): Likewise.
11096         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11097         (__ieee754_j1l): Do not improve calculations using cos of twice
11098         input for inputs above LDBL_MAX / 2.0L.
11099         (__ieee754_y1l): Likewise.
11100         * math/libm-test.inc (j0_test): Add another test.
11101         (j1_test): Likewise.
11102         (y0_test): Likewise.
11103         (y1_test): Likewise.
11104         * sysdeps/i386/fpu/libm-test-ulps: Update.
11106 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11108         * Rules ($(objpfx)bench-%.c): Include code from a C source
11109         file.
11111 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11113         [BZ #15287]
11114         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11115         imaginary part 1.0 and real part less than 0.5 specially.
11116         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11117         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11118         * math/libm-test.inc (cacos_test): Add more tests.
11119         (casin_test): Likewise.
11120         (casinh_test): Likewise.
11121         * sysdeps/i386/fpu/libm-test-ulps: Update.
11122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11124 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11126         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11127         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11129 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11131         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11132         * config.make.in (config-cflags-sse4): Remove variable.
11133         (config-cflags-avx): Likewise.
11134         (config-cflags-sse2avx): Likewise.
11135         (config-cflags-novzeroupper): Likewise.
11136         (config-asflags-i686): Likewise.
11137         (have-mfma4): Likewise.
11138         (have-as-vis3): Likewise.
11139         (MIG): Likewise.
11140         * configure.in (MIG): Do not AC_SUBST.
11141         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11142         (libc_cv_cc_sse4): Do not AC_SUBST.
11143         (libc_cv_cc_avx): Likewise.
11144         (libc_cv_cc_sse2avx): Likewise.
11145         (libc_cv_cc_novzeroupper): Likewise.
11146         (libc_cv_cc_fma4): Likewise.
11147         (libc_cv_as_i686): Likewise.
11148         (libc_cv_sparc_as_vis3): Likewise.
11149         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11150         LIBC_CONFIG_VAR.
11151         (config-asflags-i686): Likewise.
11152         (config-cflags-avx): Likewise.
11153         (config-cflags-sse2avx): Likewise.
11154         (have-mfma4): Likewise.
11155         (config-cflags-novzeroupper): Likewise.
11156         * sysdeps/mach/configure.in (MIG): Likewise.
11157         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11158         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11159         LIBC_CONFIG_VAR.
11160         (config-cflags-avx): Likewise.
11161         (config-cflags-sse2avx): Likewise.
11162         (have-mfma4): Likewise.
11163         (config-cflags-novzeroupper): Likewise.
11164         * configure: Regenerated.
11165         * sysdeps/i386/configure: Likewise.
11166         * sysdeps/mach/configure: Likewise.
11167         * sysdeps/sparc/configure: Likewise.
11168         * sysdeps/x86_64/configure: Likewise.
11170 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11172         [BZ #14812]
11173         * locale/programs/localedef.c (options): Put N_ translation marker
11174         on argument names, not just descriptions.
11176 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11178         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11180 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11182         [BZ #14176]
11183         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11185 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11187         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11188         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11189         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11190         [!BEFORE_ABORT] (before_abort): New function.
11191         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11192         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11193         (writev_for_fatal): New function.
11194         (WRITEV_FOR_FATAL): New macro; call that.
11195         (backtrace_and_maps): New function.
11196         (BEFORE_ABORT): New macro; call that.
11197         (struct str_list): Type removed.
11198         (__libc_message, __libc_fatal): Functions removed.
11199         Include <sysdeps/posix/libc_fatal.c> instead.
11201 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11203         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11204         constants.
11205         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11206         double constants.
11208 2013-03-19  Andreas Schwab  <schwab@suse.de>
11210         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11211         * sysdeps/gnu/configure: Regenerate.
11213         * configure.in: Substitute libc_cv_rtlddir.
11214         * configure: Regenerate.
11215         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11216         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11217         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11218         * elf/Makefile (install-others, CFLAGS-interp.c)
11219         (ldso_install, common-ldd-rewrite): Likewise.
11220         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11221         $(inst_slibdir)/$(rtld-installed-name).
11222         * scripts/rellns-sh: Add -p option.
11223         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11224         for source.
11226 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228         * manual/nptl.texi: Renamed to ...
11229         * manual/threads.texi: ... this.
11230         * manual/Makefile (chapters): Update.
11232 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11234         [BZ #14812]
11235         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11236         on argument names, not just descriptions.
11237         * malloc/memusagestat.c (options): Likewise.
11238         * nss/getent.c (options): Likewise.
11240 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11242         [BZ #14812]
11243         * iconv/iconv_prog.c (options): Put N_ translation marker
11244         on argument names, not just descriptions.
11245         * iconv/iconvconfig.c (options): Likewise.
11247 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11249         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11250         implementation which is faster on all x86_64 architectures.
11251         Tested on AMD, Intel Nehalem, SNB, IVB.
11252         * sysdeps/x86_64/strnlen.S: Likewise.
11254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11255         Remove all multiarch strlen and strnlen versions.
11256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11257         Remove strlen and strnlen related parts.
11259         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11260         Inline strlen part.
11261         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11263         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11264         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11265         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11266         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11267         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11268         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11270 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11272         * manual/memory.texi (Malloc Tunable Parameters):
11273         Sort parameters alphabetically. Add comments for missing entries.
11275 2013-03-17  David S. Miller  <davem@davemloft.net>
11277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11279 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11281         [BZ #15283]
11282         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11283         for arguments at most half maximum finite value.
11284         * math/libm-test.inc (j0_test): Add more tests.
11285         (j1_test): Likewise.
11286         (y0_test): Likewise.
11287         (y1_test): Likewise.
11288         * sysdeps/i386/fpu/libm-test-ulps: Update.
11289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11291         [BZ #14155]
11292         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11293         1 / x and functions P and Q for arguments above 0x1p256L.
11294         (__ieee754_y0l): Likewise.
11295         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11296         (__ieee754_y1l): Likewise.
11297         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11298         (j1_test): Likewise.
11299         (y0_test): Likewise.
11300         (y1_test): Likewise.
11302 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11304         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11305         variable.
11307 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11309         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11310         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11311         zero since it's initialized to EXEC_PAGESIZE.
11313         * sysdeps/unix/sysv/linux/ldsodefs.h
11314         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11315         * sysdeps/generic/ldsodefs.h: ... here.
11317 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11319         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11321         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11322         math/test-snan.c.
11323         * math/test-snan.c: Renamed from
11324         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11325         * math/Makefile (tests): Add test-snan.
11326         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11327         test-powerpc-snan.
11329         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11330         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11331         functions.
11332         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11333         __builtin_nan family of functions.
11334         * math/libm-test.inc (initialize): Initialize qnan_value with
11335         __builtin_nan family of functions.
11336         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11337         Remove variables.
11338         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11339         Remove functions.
11340         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11341         storage class.  Initialize qNaN_var and sNaN_var with
11342         __builtin_nan and __builtin_nans families of functions,
11343         respectively.
11345         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11346         (sqrt_test): Remove duplicate test with qNaN input.
11347         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11348         (round_test, signbit_test, significand_test): Note missing +/-Inf
11349         as well as qNaN tests.
11351         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11352         qNaN_var.  Fix a few strings, too.
11353         * math/libm-test.inc (nan_value): Rename to qnan_value.
11354         * math/gen-libm-test.pl (%beautify): Adjust to that.
11355         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11356         * math/test-misc.c (main): Likewise.
11357         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11358         to __qnan_bytes, and __qnan_union, respectively.
11359         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11360         Likewise.
11361         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11362         and lqnanval, respectively.
11363         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11364         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11365         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11366         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11368         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11369         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11370         doubles.
11372         * math/test-misc.c (main): Fix copy'n'pastos.
11373         * misc/tst-efgcvt.c (special): Likewise.
11375         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11376         Remove declarations.
11378 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11380         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11381         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11382         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11383         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11385 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11387         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11388         macro to return vdso values correctly in IFUNC implementations.
11389         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11390         Optimization by using IFUNC.
11392 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11393             Richard Henderson  <rth@redhat.com>
11394             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11396         * Makefile.in (bench): New target.
11397         * NEWS: Mention the benchmark framework.
11398         * Rules (bench): Likewise.
11399         (binaries-bench): Generate binaries for functions to
11400         benchmark.
11401         * benchtests/Makefile: New makefile for benchmark tests.
11402         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11403         programs.
11404         * benchtests/exp-inputs: New input file for EXP function.
11405         * benchtests/pow-inputs: New input file for POW function.
11406         * scripts/bench.pl: New script to generate source files for
11407         benchmark programs.
11409 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11411         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11413         computations on mantissa.  Use macros for rounding and
11414         division.
11415         (denorm): Likewise.
11416         (__dbl_mp): Likewise.
11417         (add_magnitudes): Likewise.
11418         (sub_magnitudes): Likewise.
11419         (__mul): Likewise.
11420         (__sqr): Likewise.
11421         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11422         powers of two in terms of TWOPOW macro.
11423         (mp_no): Make type of mantissa as MANTISSA_T.
11424         [!RADIXI]: Define RADIXI.
11425         [!TWO52]: Define TWO52.
11426         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11428         * manual/nptl.texi (cindex): Modify threads to pthreads.
11430 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11432         * sysdeps/x86_64/preconfigure: Regenerated.
11434 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11436         [BZ #14155]
11437         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11438         0x1p28 and above.
11439         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11440         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11441         0x1p28 and above.
11442         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11443         * math/libm-test.inc (j0_test): Do not allow one spurious
11444         underflow exception.
11445         (y1_test): Likewise.
11447 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11449         * manual/Makefile (chapters): Add nptl.
11450         * manual/debug.texi (Debugging Support): Add link to Threads
11451         chapter.
11452         * manual/nptl.texi: New file.
11454         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11456 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11458         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11459         for non-NULL pointer before the memory validity test. Pointed
11460         out by Holger Brunck <holger.brunck@keymile.com>.
11462 2013-03-13  Andreas Schwab  <schwab@suse.de>
11464         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11465         instead of .os.
11467 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11469         * timezone/zic.c: Update from tzcode 2013b.
11471 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11473         * manual/install.texi (Configuring and compiling):
11474         Mention i686 and i586.
11475         * INSTALL: Regenerate.
11477 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11479         * sysdeps/init_array/elf-init.c: New file.
11480         * csu/elf-init.c
11481         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11482         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11484         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11485         __gmon_start__ as global, but as static with a .preinit_array pointer.
11486         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11487         * sysdeps/init_array/crti.S: New file, empty except for comments.
11488         * sysdeps/init_array/crtn.S: Likewise.
11490 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11492         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11493         definining bcopy.
11494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11495         Remove Prefer_SSE_for_memop.
11496         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11497         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11498         HAS_PREFER_SSE_FOR_MEMOP.
11499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11500         memset-x86-64.
11501         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11502         Remove bzero, memset ifunc support.
11503         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11504         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11508 2013-03-11  Andreas Schwab  <schwab@suse.de>
11510         [BZ #15234]
11511         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11512         by SHLIB_COMPAT.
11513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11514         (GLIBC_2.16): Remove pthread_atfork.
11516 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11518         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11519         (ptestcases.h): Likewise.
11521 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11523         * Makeconfig ($(common-objpfx)config.status): Depend on
11524         sysdeps/*/preconfigure{,.in} too.
11526 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11528         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11529         (__free_hook): Use void * instead of __malloc_ptr_t.
11530         (__malloc_hook): Likewise.
11531         (__realloc_hook): Likewise.
11532         (__memalign_hook): Likewise.
11533         (__after_morecore_hook): Likewise.
11534         * malloc/arena.c (save_malloc_hook): Likewise.
11535         (save_free_hook): Likewise.
11536         * malloc/hooks.c (malloc_hook_ini): Likewise.
11537         (realloc_hook_ini): Likewise.
11538         (memalign_hook_ini): Likewise.
11539         * malloc/malloc.c (malloc_hook_ini): Likewise.
11540         (realloc_hook_ini): Likewise.
11541         (memalign_hook_ini): Likewise.
11542         (__free_hook): Likewise.
11543         (__malloc_hook): Likewise.
11544         (__realloc_hook): Likewise.
11545         (__memalign_hook): Likewise.
11546         (__libc_malloc): Likewise.
11547         (__libc_free): Likewise.
11548         (__libc_realloc): Likewise.
11549         (__libc_memalign): Likewise.
11550         (__libc_valloc): Likewise.
11551         (__libc_pvalloc): Likewise.
11552         (__libc_calloc): Likewise.
11553         (__posix_memalign): Likewise.
11554         * malloc/morecore.c (__sbrk): Likewise.
11555         (__default_morecore): Likewise.
11557         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11559         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11560         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11561         __malloc_ptrdiff_t.
11563         * malloc/malloc.h (__malloc_size_t): Remove macro.
11564         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11565         __malloc_size_t.
11566         (old_memalign_hook): Likewise.
11567         (old_realloc_hook): Likewise.
11568         (struct hdr): Likewise.
11569         (flood): Likewise.
11570         (mallochook): Likewise.
11571         (memalignhook): Likewise.
11572         (reallochook): Likewise.
11573         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11574         (tr_old_realloc_hook): Likewise.
11575         (tr_old_memalign_hook): Likewise.
11576         (tr_mallochook): Likewise.
11577         (tr_reallochook): Likewise.
11578         (tr_memalignhook): Likewise.
11580 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11583         default_ldbl_pack and using as default implementation.
11584         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11585         implementation.
11586         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11587         redundant definition.
11588         (ldbl_insert_mantissa): Likewise.
11589         (ldbl_canonicalize): Likewise.
11590         (ldbl_nearbyint): Likewise.
11591         (ldbl_pack): Rename to ldbl_pack_ppc.
11592         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11593         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11594         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11596 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11599         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11601         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11603         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11604         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11605         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11607 2013-03-07  Andreas Jaeger  <aj@suse.de>
11609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11610         bits/mman-linux.h.
11612 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11615         Include mpa.h and declare __MPEXP.
11616         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11617         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11618         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11619         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11620         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11621         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11622         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11624         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11625         (__slowpow): Use long double EXPL and LOGL functions to
11626         compute POW.
11627         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11628         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11630         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11631         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11632         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11635         intermediate variable to calculate exponent.
11636         (__sqr): Likewise.
11637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11638         Likewise.
11639         (__sqr): Likewise.
11641         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11642         [!NO__SQR]: Define __sqr.
11643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11644         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11645         sysdeps/ieee754/dbl-64/mpa.c.
11646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11648         [BZ #12723]
11649         * posix/Makefile (tests): Add tst-pathconf.
11650         * posix/tst-pathconf.c: New test case.
11651         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11652         _PC_PIPE_BUF.
11653         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11655 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11657         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11659 2013-03-06  Andreas Jaeger  <aj@suse.de>
11661         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11662         definition via __MAP_ANONYMOUS.
11664         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11665         it's not part of Linux headers.
11667         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11668         (MAP_HUGE_MASK): Define.
11670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11671         Define.
11672         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11674         Define.
11675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11676         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11677         Define.
11678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11679         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11680         Define.
11681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11683         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11684         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11685         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11686         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11687         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11688         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11690         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11691         Handle f2fs.
11693         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11694         Handle f2fs and efivarfs.
11696         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11697         f2fs.
11699         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11700         (EFIVARFS_MAGIC): Add.
11701         (F2FS_LINK_MAX): Add.
11703 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11705         * stdio-common/vfprintf.c: Replace __builtin_expect with
11706         __glibc_unlikely.
11708 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11710         [BZ #13550]
11711         * sysdeps/generic/bp-sym.h: Remove file.
11712         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11713         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11714         <bp-sym.h> and <bp-asm.h>.
11715         (__longjmp): Don't use BP_SYM.
11716         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11717         and <bp-asm.h>.
11718         (memcpy): Don't use BP_SYM.
11719         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11720         <bp-sym.h> and <bp-asm.h>.
11721         (memcpy): Don't use BP_SYM.
11722         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11723         <bp-asm.h>.
11724         (memcpy): Don't use BP_SYM.
11725         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11726         <bp-asm.h>.
11727         (memset): Don't use BP_SYM.
11728         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11729         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11730         (__bzero): Don't use BP_SYM.
11731         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11732         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11733         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11734         <bp-sym.h> and <bp-asm.h>.
11735         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11736         pointers.
11737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11738         <bp-sym.h> and <bp-asm.h>.
11739         (memcpy): Don't use BP_SYM.
11740         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11741         <bp-sym.h> and <bp-asm.h>.
11742         (memset): Don't use BP_SYM.
11743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11745         (__bzero): Don't use BP_SYM.
11746         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11747         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11748         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11749         <bp-sym.h> and <bp-asm.h>.
11750         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11751         pointers.
11752         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11753         <bp-sym.h> and <bp-asm.h>.
11754         (memcpy): Don't use BP_SYM.
11755         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11756         <bp-sym.h> and <bp-asm.h>.
11757         (memset): Don't use BP_SYM.
11758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11760         (__bzero): Don't use BP_SYM.
11761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11763         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11764         <bp-sym.h> and <bp-asm.h>.
11765         (__memchr): Don't use BP_SYM.
11766         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11767         <bp-sym.h> and <bp-asm.h>.
11768         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11769         pointers.
11770         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11771         <bp-sym.h> and <bp-asm.h>.
11772         (memcpy): Don't use BP_SYM.
11773         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11774         <bp-sym.h> and <bp-asm.h>.
11775         (__mempcpy): Don't use BP_SYM.
11776         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11777         <bp-sym.h> and <bp-asm.h>.
11778         (__memrchr): Don't use BP_SYM.
11779         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11780         <bp-sym.h> and <bp-asm.h>.
11781         (memset): Don't use BP_SYM.
11782         (__bzero): Likewise.
11783         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11784         <bp-sym.h> and <bp-asm.h>.
11785         (__rawmemchr): Don't use BP_SYM.
11786         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11787         <bp-sym.h> and <bp-asm.h>.
11788         (__STRCMP): Don't use BP_SYM.
11789         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11790         <bp-sym.h> and <bp-asm.h>.
11791         (strchr): Don't use BP_SYM.
11792         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11793         <bp-sym.h> and <bp-asm.h>.
11794         (__strchrnul): Don't use BP_SYM.
11795         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11796         <bp-sym.h> and <bp-asm.h>.
11797         (strlen): Don't use BP_SYM.
11798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11799         <bp-sym.h> and <bp-asm.h>.
11800         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11801         pointers.
11802         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11803         <bp-sym.h> and <bp-asm.h>.
11804         (__strnlen): Don't use BP_SYM.
11805         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11806         <bp-sym.h> and <bp-asm.h>.
11807         (__GI__setjmp): Don't use BP_SYM.
11808         (_setjmp): Likewise.
11809         (__sigsetjmp): Likewise.
11810         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11811         (L(start_addresses)): Don't use BP_SYM.
11812         (_start): Likewise.
11813         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11814         <bp-asm.h>.
11815         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11816         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11817         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11818         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11819         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11820         <bp-asm.h>.
11821         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11822         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11823         about bounded pointers.
11824         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11825         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11826         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11827         <bp-asm.h>.
11828         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11829         about bounded pointers.  Remove GKM FIXME comments.
11830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11831         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11832         <bp-asm.h>.
11833         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11834         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11835         Remove GKM FIXME comments.
11836         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11837         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11838         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11839         <bp-asm.h>.
11840         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11841         about bounded pointers.  Remove GKM FIXME comment.
11842         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11843         and <bp-asm.h>.
11844         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11845         pointers.
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11847         <bp-sym.h> and <bp-asm.h>.
11848         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11850         <bp-sym.h> and <bp-asm.h>.
11851         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11852         comment.
11854 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11856         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11857         call free(NULL).
11859 2013-03-05  David S. Miller  <davem@davemloft.net>
11861         * po/es.po: Update from translation team.
11863 2013-03-05  Andreas Jaeger  <aj@suse.de>
11865         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11866         <bits/mman-linux.h>.
11867         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11868         is fine.
11869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11870         <bits/mman-linux.h> to end of file.
11871         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11872         is fine.
11873         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11874         <bits/mman-linux.h> to end of file.
11875         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11876         is fine.
11877         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11878         <bits/mman-linux.h> to end of file.
11880         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11881         (MCL_CURRENT, MCL_FUTURE): Define here.
11883 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11885         [BZ #15232]
11886         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11887         attribute_hidden.
11888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11890 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11892         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11893         fourth parameter needed for rt_sigprocmask syscall.
11894         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11895         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11897         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11898         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11899         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11901 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11903         [BZ #13550]
11904         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11905         comment about bounded pointers.
11906         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11907         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11909 2013-03-04  Andreas Jaeger  <aj@suse.de>
11911         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11912         common definitions.
11914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11915         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11916         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11917         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11918         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11919         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11921 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923         [BZ #15055]
11924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11925         __ieee754_sqrl instead of __sqrl.
11927 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11929         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11930         * sysdeps/powerpc/fpu_control.h: ... here.
11931         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11932         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11933         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11934         * sysdeps/powerpc/bits/mathinline.h: ... here.
11936 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11938         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11939         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11940         to just [NEED_DL_SYSINFO_DSO].
11941         * elf/dl-support.c: Likewise.
11942         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11943         * elf/rtld.c (dl_main): Likewise.
11944         * elf/setup-vdso.h (setup_vdso): Likewise.
11945         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11946         * sysdeps/unix/sysv/linux/dl-sysdep.c
11947         (_dl_discover_osversion): Likewise.
11949 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11951         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11952         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11954 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11956         * NEWS: Mention libm performance improvements and non-x86 PI
11957         futex support.
11959         * csu/libc-start.c (__pthread_initialize_minimal): Change
11960         function arguments.
11961         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11963 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11965         [BZ #13550]
11966         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11967         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11968         <bp-sym.h> and <bp-asm.h>.
11969         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11970         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11971         and <bp-asm.h>.
11972         (memcpy): Don't use BP_SYM.
11973         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11974         <bp-asm.h>.
11975         (__mpn_add_n): Don't use BP_SYM.
11976         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11977         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11978         and <bp-asm.h>.
11979         (__mpn_addmul_1): Don't use BP_SYM.
11980         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11981         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11982         <bp-sym.h>.
11983         (_setjmp): Don't use BP_SYM.
11984         (__novmx_setjmp): Likewise.
11985         (__GI__setjmp): Likewise.
11986         (__vmx_setjmp): Likewise.
11987         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11988         <bp-sym.h>.
11989         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11990         (__bzero): Don't use BP_SYM.
11991         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11992         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11993         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11994         <bp-sym.h> and <bp-asm.h>.
11995         (memcpy): Don't use BP_SYM.
11996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11997         <bp-sym.h> and <bp-asm.h>.
11998         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11999         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12000         <bp-sym.h> and <bp-asm.h>.
12001         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12002         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12003         <bp-asm.h>.
12004         (__mpn_lshift): Don't use BP_SYM.
12005         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12006         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12007         <bp-asm.h>.
12008         (memset): Don't use BP_SYM.
12009         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12010         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12011         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12012         <bp-asm.h>.
12013         (__mpn_mul_1): Don't use BP_SYM.
12014         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12016         <bp-sym.h> and <bp-asm.h>.
12017         (memcmp): Don't use BP_SYM.
12018         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12019         <bp-sym.h> and <bp-asm.h>.
12020         (memcpy): Don't use BP_SYM.
12021         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12022         <bp-sym.h> and <bp-asm.h>.
12023         (memset): Don't use BP_SYM.
12024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12025         <bp-sym.h> and <bp-asm.h>.
12026         (strncmp): Don't use BP_SYM.
12027         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12028         <bp-sym.h> and <bp-asm.h>.
12029         (memcpy): Don't use BP_SYM.
12030         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12031         <bp-sym.h> and <bp-asm.h>.
12032         (memset): Don't use BP_SYM.
12033         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12034         <bp-sym.h> and <bp-asm.h>.
12035         (__memchr): Don't use BP_SYM.
12036         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12037         <bp-sym.h> and <bp-asm.h>.
12038         (memcmp): Don't use BP_SYM.
12039         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12040         <bp-sym.h> and <bp-asm.h>.
12041         (memcpy): Don't use BP_SYM.
12042         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12043         <bp-sym.h> and <bp-asm.h>.
12044         (__mempcpy): Don't use BP_SYM.
12045         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12046         <bp-sym.h> and <bp-asm.h>.
12047         (__memrchr): Don't use BP_SYM.
12048         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12049         <bp-sym.h> and <bp-asm.h>.
12050         (memset): Don't use BP_SYM.
12051         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12052         <bp-sym.h> and <bp-asm.h>.
12053         (__rawmemchr): Don't use BP_SYM.
12054         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12055         <bp-sym.h> and <bp-asm.h>.
12056         (__STRCMP): Don't use BP_SYM.
12057         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12058         <bp-sym.h> and <bp-asm.h>.
12059         (strchr): Don't use BP_SYM.
12060         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12061         <bp-sym.h> and <bp-asm.h>.
12062         (__strchrnul): Don't use BP_SYM.
12063         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12064         <bp-sym.h> and <bp-asm.h>.
12065         (strlen): Don't use BP_SYM.
12066         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12067         <bp-sym.h> and <bp-asm.h>.
12068         (strncmp): Don't use BP_SYM.
12069         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12070         <bp-sym.h> and <bp-asm.h>.
12071         (__strnlen): Don't use BP_SYM.
12072         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12073         <bp-asm.h>.
12074         (__mpn_rshift): Don't use BP_SYM.
12075         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12076         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12077         <bp-sym.h> and <bp-asm.h>.
12078         (__sigsetjmp): Don't use BP_SYM.
12079         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12080         (L(start_addresses)): Don't use BP_SYM.
12081         (_start): Likewise.
12082         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12083         <bp-asm.h>.
12084         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12087         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12088         <bp-asm.h>.
12089         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12090         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12091         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12092         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12093         <bp-asm.h>.
12094         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12095         comments.
12096         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12097         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12098         <bp-asm.h>.
12099         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12100         FIXME comments.
12101         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12102         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12103         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12104         <bp-asm.h>.
12105         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12106         comment.
12107         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12108         and <bp-asm.h>.
12109         (strncmp): Don't use BP_SYM,
12110         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12111         <bp-asm.h>.
12112         (__mpn_sub_n): Don't use BP_SYM.
12113         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12114         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12115         and <bp-asm.h>.
12116         (__mpn_submul_1): Don't use BP_SYM.
12117         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12119         <bp-sym.h> and <bp-asm.h>.
12120         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12122         <bp-sym.h> and <bp-asm.h>.
12123         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12124         comment.
12126 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12129         Use ZK to minimize writes to Z.
12130         (sub_magnitudes): Simplify code a bit.
12131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12132         Use ZK to minimize writes to Z.
12133         (sub_magnitudes): Simplify code a bit.
12135 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12137         * csu/gmon-start.c: Add special exception to license text.
12139 2013-02-27  Richard Henderson  <rth@redhat.com>
12141         * scripts/config.guess: Update from config.git.
12142         * scripts/config.sub: Likewise.
12144 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12146         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12148         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12150         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12152         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12154         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12156 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12158         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12159         [$(build-shared = yes].
12161 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12163         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12164         (__mul): Reduce iterations for calculating mantissa.
12166         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12167         MPTWO.
12168         (__mpranred): Likewise.
12170         [BZ #15160]
12171         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12172         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12174 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12176         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12177         Define __attribute__.
12179 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12181         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12182         unused.
12183         * posix/regex_internal.h (__attribute): Remove.
12184         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12185         (re_string_context_at): Likewise.
12186         (bitset_not): Use __attribute__ and mark function as possibly
12187         unused.
12188         (bitset_merge): Likewise.
12189         (bitset_mask): Likewise.
12190         (re_string_char_size_at): Likewise.
12191         (re_string_wchar_at): Likewise.
12192         (re_string_elem_size_at): Likewise.
12194 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12196         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12197         code.
12198         (cc32): Likewise.
12200         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12201         (__acr): Likewise.
12202         (__cpy): Likewise.
12203         (norm): Likewise.
12204         (denorm): Likewise.
12205         (__dbl_mp): Likewise.
12206         (add_magnitudes): Likewise.
12207         (sub_magnitudes): Likewise.
12208         (__mul): Likewise.
12209         (__inv): Likewise.
12211         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12212         style.
12214         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12215         style.
12217         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12218         code.
12220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12221         up changes with default code.
12222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12223         Likewise.
12225 2013-02-24  Allan McRae  <allan@archlinux.org>
12227         * manual/socket.texi (The Internet Namespace): Order menu items
12228         to match that in the file.
12230         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12231         node listing of the info page menu.
12233 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12235         [BZ #13550]
12236         * sysdeps/i386/bp-asm.h: Remove file.
12237         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12238         (PARMS): Do not use macros from bp-asm.h.
12239         (S1): Likewise.
12240         (S2): Likewise.
12241         (SIZE): Likewise.
12242         (__mpn_add_n): Do not use BP_SYM
12243         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12244         "bp-asm.h".
12245         (PARMS): Do not use macros from bp-asm.h.
12246         (S1): Likewise.
12247         (SIZE): Likewise.
12248         (__mpn_addmul_1): Do not use BP_SYM
12249         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12250         "bp-asm.h".
12251         (PARMS): Do not use macros from bp-asm.h.
12252         (SIGMSK): Likewise.
12253         (_setjmp): Likewise.  Do not use BP_SYM.
12254         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12255         "bp-asm.h".
12256         (PARMS): Do not use macros from bp-asm.h.
12257         (SIGMSK): Likewise.
12258         (setjmp): Likewise.  Do not use BP_SYM.
12259         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12260         "bp-asm.h".
12261         (PARMS): Do not use macros from bp-asm.h.
12262         (__frexp): Do not use BP_SYM.
12263         (frexp): Likewise.
12264         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12265         "bp-asm.h".
12266         (PARMS): Do not use macros from bp-asm.h.
12267         (__frexpf): Do not use BP_SYM.
12268         (frexpf): Likewise.
12269         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12270         "bp-asm.h".
12271         (PARMS): Do not use macros from bp-asm.h.
12272         (__frexpl): Do not use BP_SYM.
12273         (frexpl): Likewise.
12274         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12275         "bp-asm.h".
12276         (PARMS): Do not use macros from bp-asm.h.
12277         (__remquo): Do not use BP_SYM.
12278         (remquo): Likewise.
12279         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12280         "bp-asm.h".
12281         (PARMS): Do not use macros from bp-asm.h.
12282         (__remquof): Do not use BP_SYM.
12283         (remquof): Likewise.
12284         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12285         "bp-asm.h".
12286         (PARMS): Do not use macros from bp-asm.h.
12287         (__remquol): Do not use BP_SYM.
12288         (remquol): Likewise.
12289         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12290         "bp-asm.h".
12291         (PARMS): Do not use macros from bp-asm.h.
12292         (DEST): Likewise.
12293         (SRC): Likewise.
12294         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12295         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12296         "bp-asm.h".
12297         (PARMS): Do not use macros from bp-asm.h.
12298         (strlen): Do not use BP_SYM.
12299         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12300         "bp-asm.h".
12301         (PARMS): Do not use macros from bp-asm.h.
12302         (S1): Likewise.
12303         (S2): Likewise.
12304         (SIZE): Likewise.
12305         (__mpn_add_n): Do not use BP_SYM.
12306         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12307         "bp-asm.h".
12308         (PARMS): Do not use macros from bp-asm.h.
12309         (S1): Likewise.
12310         (SIZE): Likewise.
12311         (__mpn_addmul_1): Do not use BP_SYM.
12312         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12313         weak_alias.
12314         (bzero): Likewise.
12315         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12316         "bp-asm.h".
12317         (PARMS): Do not use macros from bp-asm.h.
12318         (S): Likewise.
12319         (SIZE): Likewise.
12320         (__mpn_lshift): Do not use BP_SYM.
12321         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12322         "bp-asm.h".
12323         (PARMS): Do not use macros from bp-asm.h.
12324         (DEST): Likewise.
12325         (SRC): Likewise.
12326         (LEN): Likewise.
12327         (memcpy): Likewise.  Do not use BP_SYM.
12328         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12329         libc_hidden_def and weak_alias.
12330         (mempcpy): Do not use BP_SYM in weak_alias.
12331         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12332         "bp-asm.h".
12333         (PARMS): Do not use macros from bp-asm.h.
12334         (DEST): Likewise.
12335         (LEN): Likewise.
12336         [!BZERO_P] (CHR): Likewise.
12337         (memset): Likewise.  Do not use BP_SYM.
12338         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12339         "bp-asm.h".
12340         (PARMS): Do not use macros from bp-asm.h.
12341         (S1): Likewise.
12342         (SIZE): Likewise.
12343         (__mpn_mul_1): Do not use BP_SYM.
12344         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12345         "bp-asm.h".
12346         (PARMS): Do not use macros from bp-asm.h.
12347         (S): Likewise.
12348         (SIZE): Likewise.
12349         (__mpn_rshift): Do not use BP_SYM.
12350         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12351         "bp-asm.h".
12352         (PARMS): Do not use macros from bp-asm.h.
12353         (STR): Likewise.
12354         (CHR): Likewise.
12355         (strchr): Likewise.  Do not use BP_SYM.
12356         (index): Do not use BP_SYM in weak_alias.
12357         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12358         "bp-asm.h".
12359         (PARMS): Do not use macros from bp-asm.h.
12360         (DEST): Likewise.
12361         (SRC): Likewise.
12362         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12363         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12364         "bp-asm.h".
12365         (PARMS): Do not use macros from bp-asm.h.
12366         (strlen): Do not use BP_SYM.
12367         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12368         "bp-asm.h".
12369         (PARMS): Do not use macros from bp-asm.h.
12370         (S1): Likewise.
12371         (S2): Likewise.
12372         (SIZE): Likewise.
12373         (__mpn_sub_n): Do not use BP_SYM.
12374         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12375         "bp-asm.h".
12376         (PARMS): Do not use macros from bp-asm.h.
12377         (S1): Likewise.
12378         (SIZE): Likewise.
12379         (__mpn_submul_1): Do not use BP_SYM.
12380         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12381         "bp-asm.h".
12382         (PARMS): Do not use macros from bp-asm.h.
12383         (S1): Likewise.
12384         (S2): Likewise.
12385         (SIZE): Likewise.
12386         (__mpn_add_n): Do not use BP_SYM.
12387         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12388         weak_alias.
12389         (bzero): Likewise.
12390         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12391         "bp-asm.h".
12392         (PARMS): Do not use macros from bp-asm.h.
12393         (BLK2): Likewise.
12394         (LEN): Likewise.
12395         (memcmp): Do not use BP_SYM.
12396         (bcmp): Do not use BP_SYM in weak_alias.
12397         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12398         "bp-asm.h".
12399         (PARMS): Do not use macros from bp-asm.h.
12400         (DEST): Likewise.
12401         (SRC): Likewise.
12402         (LEN): Likewise.
12403         (memcpy): Likewise.  Do not use BP_SYM.
12404         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12405         "bp-asm.h".
12406         (PARMS): Do not use macros from bp-asm.h.
12407         (DEST): Likewise.
12408         (SRC): Likewise.
12409         (LEN): Likewise.
12410         (memmove): Likewise.  Do not use BP_SYM.
12411         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12412         "bp-asm.h".
12413         (PARMS): Do not use macros from bp-asm.h.
12414         (DEST): Likewise.
12415         (SRC): Likewise.
12416         (LEN): Likewise.
12417         (__mempcpy): Likewise.  Do not use BP_SYM.
12418         (mempcpy): Do not use BP_SYM in weak_alias.
12419         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12420         "bp-asm.h".
12421         (PARMS): Do not use macros from bp-asm.h.
12422         (DEST): Likewise.
12423         (LEN): Likewise.
12424         [!BZERO_P] (CHR): Likewise.
12425         (memset): Likewise.  Do not use BP_SYM.
12426         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12427         "bp-asm.h".
12428         (PARMS): Do not use macros from bp-asm.h.
12429         (STR2): Likewise.
12430         (strcmp): Do not use BP_SYM.
12431         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12432         "bp-asm.h".
12433         (PARMS): Do not use macros from bp-asm.h.
12434         (STR): Likewise.
12435         (DELIM): Likewise.
12436         [USE_AS_STRTOK_R] (SAVE): Likewise.
12437         (FUNCTION): Likewise.  Do not use BP_SYM.
12438         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12439         aliases.
12440         (strtok_r): Likewise.
12441         (__GI___strtok_r): Likewise.
12442         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12443         (PARMS): Do not use macros from bp-asm.h.
12444         (S): Likewise.
12445         (SIZE): Likewise.
12446         (__mpn_lshift): Do not use BP_SYM.
12447         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12448         (PARMS): Do not use macros from bp-asm.h.
12449         (STR): Likewise.
12450         (CHR): Likewise.
12451         (__memchr): Do not use BP_SYM.
12452         (memchr): Do not use BP_SYM in weak_alias.
12453         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12454         (PARMS): Do not use macros from bp-asm.h.
12455         (BLK2): Likewise.
12456         (LEN): Likewise.
12457         (memcmp): Do not use BP_SYM.
12458         (bcmp): Do not use BP_SYM in weak_alias.
12459         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12460         (PARMS): Do not use macros from bp-asm.h.
12461         (S1): Likewise.
12462         (SIZE): Likewise.
12463         (__mpn_mul_1): Do not use BP_SYM.
12464         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12465         "bp-asm.h".
12466         (PARMS): Do not use macros from bp-asm.h.
12467         (STR): Likewise.
12468         (CHR): Likewise.
12469         (__rawmemchr): Do not use BP_SYM.
12470         (rawmemchr): Do not use BP_SYM in weak_alias.
12471         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12472         (PARMS): Do not use macros from bp-asm.h.
12473         (S): Likewise.
12474         (SIZE): Likewise.
12475         (__mpn_rshift): Do not use BP_SYM.
12476         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12477         (PARMS): Do not use macros from bp-asm.h.
12478         (SIGMSK): Likewise.
12479         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12480         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12481         (_start): Do not use BP_SYM.
12482         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12483         (PARMS): Do not use macros from bp-asm.h.
12484         (DEST): Likewise.
12485         (SRC): Likewise.
12486         (__stpcpy): Likewise.  Do not use BP_SYM.
12487         (stpcpy): Do not use BP_SYM in weak_alias.
12488         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12489         "bp-asm.h".
12490         (PARMS): Do not use macros from bp-asm.h.
12491         (DEST): Likewise.
12492         (SRC): Likewise.
12493         (LEN): Likewise.
12494         (__stpncpy): Likewise.  Do not use BP_SYM.
12495         (stpncpy): Do not use BP_SYM in weak_alias.
12496         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12497         (PARMS): Do not use macros from bp-asm.h.
12498         (STR): Likewise.
12499         (CHR): Likewise.
12500         (strchr): Likewise.  Do not use BP_SYM.
12501         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12502         "bp-asm.h".
12503         (PARMS): Do not use macros from bp-asm.h.
12504         (STR): Likewise.
12505         (CHR): Likewise.
12506         (__strchrnul): Likewise.  Do not use BP_SYM.
12507         (strchrnul): Do not use BP_SYM in weak_alias.
12508         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12509         "bp-asm.h".
12510         (PARMS): Do not use macros from bp-asm.h.
12511         (STOP): Likewise.
12512         (strcspn): Do not use BP_SYM.
12513         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12514         "bp-asm.h".
12515         (PARMS): Do not use macros from bp-asm.h.
12516         (STR): Likewise.
12517         (STOP): Likewise.
12518         (strpbrk): Likewise.  Do not use BP_SYM.
12519         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12520         "bp-asm.h".
12521         (PARMS): Do not use macros from bp-asm.h.
12522         (STR): Likewise.
12523         (CHR): Likewise.
12524         (strrchr): Likewise.  Do not use BP_SYM.
12525         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12526         (PARMS): Do not use macros from bp-asm.h.
12527         (SKIP): Likewise.
12528         (strspn): Do not use BP_SYM.
12529         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12530         (PARMS): Do not use macros from bp-asm.h.
12531         (STR): Likewise.
12532         (DELIM): Likewise.
12533         (SAVE): Likewise.
12534         (FUNCTION): Likewise.  Do not use BP_SYM.
12535         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12536         aliases.
12537         (strtok_r): Likewise.
12538         (__GI___strtok_r): Likewise.
12539         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12540         (PARMS): Do not use macros from bp-asm.h.
12541         (S1): Likewise.
12542         (S2): Likewise.
12543         (SIZE): Likewise.
12544         (__mpn_sub_n): Do not use BP_SYM.
12545         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12546         "bp-asm.h".
12547         (PARMS): Do not use macros from bp-asm.h.
12548         (S1): Likewise.
12549         (SIZE): Likewise.
12550         (__mpn_submul_1): Do not use BP_SYM.
12551         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12552         <bp-sym.h>.
12553         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12554         and <bp-asm.h>.
12555         (PARMS): Do not use macros from bp-asm.h.
12556         (FLAGS): Likewise.
12557         (PTID): Likewise.
12558         (TLS): Likewise.
12559         (CTID): Likewise.
12560         (__clone): Do not use BP_SYM.
12561         (clone): Do not use BP_SYM in weak_alias.
12562         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12563         and <bp-asm.h>.
12564         (PARMS): Do not use macros from bp-asm.h.
12565         (LEN): Likewise.
12566         (__mmap64): Do not use BP_SYM.
12567         (mmap64): Do not use BP_SYM in weak_alias.
12568         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12569         <bp-sym.h> and <bp-asm.h>.
12570         (PARMS): Do not use macros from bp-asm.h.
12571         (__posix_fadvise64_l64): Do not use BP_SYM.
12572         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12573         (PARMS): Do not use macros from bp-asm.h.
12574         (NSOPS): Likewise.
12575         (semtimedop): Do not use BP_SYM.
12576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12577         and <bp-asm.h>.
12579 2013-02-21  Allan McRae  <allan@archlinux.org>
12581         * manual/message.texi (Charset conversion in gettext):
12582         Move @end statement to beginning of line.
12584 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12587         static.
12588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12589         Likewise.
12591         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12592         (denorm): Likewise.
12593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12596 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12598         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12599         tail-call to the resolved function if pltexit isn't needed.
12601 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12604         or Y being zero as being unlikely.
12605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12606         Likewise.
12608 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12610         * manual/nss.texi (System Databases and Name Service Switch):
12611         Remove frobnicate @pxref.
12613 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12615         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12616         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12618 2013-02-20  Petr Machata  <pmachata@redhat.com>
12620         * elf/elf.h (R_ARM_TARGET1): New macro.
12621         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12622         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12623         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12624         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12625         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12626         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12627         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12628         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12629         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12630         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12631         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12632         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12633         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12634         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12635         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12636         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12637         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12638         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12639         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12640         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12641         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12642         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12643         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12644         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12645         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12646         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12647         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12648         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12649         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12650         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12651         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12652         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12653         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12654         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12655         (R_ARM_THM_GOT_BREL12): Likewise.
12656         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12657         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12658         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12659         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12660         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12661         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12662         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12663         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12664         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12669         __attribute_used__ to __attribute__ ((unused)).
12671 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12673         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12674         powerpc mpa.c.
12675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12676         comment formatting.
12677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12679 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12681         [BZ #13550]
12682         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12683         Remove macro.
12684         (ENTER): Remove both macro definitions.
12685         (LEAVE): Likewise.
12686         (CHECK_BOUNDS_LOW): Likewise.
12687         (CHECK_BOUNDS_HIGH): Likewise.
12688         (CHECK_BOUNDS_BOTH): Likewise.
12689         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12690         (RETURN_BOUNDED_POINTER): Likewise.
12691         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12692         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12693         (POP_ERRNO_LOCATION_RETURN): Likewise.
12694         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12695         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12696         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12697         macros.
12698         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12699         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12700         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12701         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12702         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12703         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12704         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12705         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12706         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12707         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12708         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12709         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12710         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12711         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12712         removed macros.
12713         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12714         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12715         macros.
12716         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12717         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12718         * sysdeps/i386/i586/memset.S (memset): Likewise.
12719         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12720         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12721         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12722         macros.
12723         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12724         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12725         Change uses of L(2) to L(out).
12726         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12727         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12728         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12729         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12730         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12731         removed macros.
12732         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12733         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12734         macros.
12735         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12736         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12737         (RETURN): Do not use macro LEAVE.
12738         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12739         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12740         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12741         * sysdeps/i386/i686/memset.S (memset): Likewise.
12742         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12743         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12744         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12745         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12746         Likewise.
12747         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12748         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12749         L(1_2) and L(1_3) into L(1).
12750         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12751         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12752         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12753         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12754         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12755         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12756         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12757         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12758         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12759         macros.
12760         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12761         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12762         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12763         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12764         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12765         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12766         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12767         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12768         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12769         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12770         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12771         * sysdeps/i386/strspn.S (strspn): Likewise.
12772         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12773         conditional code.
12774         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12775         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12776         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12777         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12778         L(1_3) into L(1_1).
12779         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12780         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12781         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12782         macros.
12783         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12785 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12787         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12788         macro.
12790 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12792         * math/atest-exp.c (exp_mpn): Remove ROUND.
12793         * math/atest-exp2.c (exp_mpn): Likewise.
12794         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12796         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12797         * stdlib/tst-tls-atexit-lib.c: Likewise.
12798         * stdlib/tst-tls-atexit.c: Likewise.
12800 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12802         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12803         and __attribute_alloc_size__.
12805 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12807         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12808         __attribute_alloc_size__.
12809         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12810         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12812 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12814         * include/programs/xmalloc.h: New file.
12815         * catgets/gencat.c: Include it.
12816         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12817         * elf/pldd.c: Likewise.
12818         * iconv/iconv_charmap.c: Likewise.
12819         * iconv/iconvconfig.c: Likewise.
12820         * iconv/strtab.c: Likewise.
12821         * locale/programs/locale.c: Likewise.
12822         * locale/programs/localedef.h: Likewise.
12823         * locale/programs/simple-hash.c: Likewise.
12824         * nscd/nscd.h: Likewise.
12825         * nss/makedb.c: Likewise.
12826         * sysdeps/generic/ldconfig.h: Likewise.
12828 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12830         * Versions.def: Add GLIBC_2.18.
12831         * include/link.h (struct link_map): New member l_tls_dtor_count.
12832         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12833         (__call_tls_dtors): Likewise.
12834         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12835         __cxa_thread_atexit_impl.
12836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12837         Likewise.
12838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12839         Likewise.
12840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12841         Likewise.
12842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12846         Likewise.
12847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12848         Likewise.
12849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12851         Likewise.
12852         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12853         (tests): Add test case tst-tls-atexit.
12854         (modules-names): Add shared library for tst-tls-atexit.
12855         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12856         (GLIBC_PRIVATE): Add __call_tls_dtors.
12857         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12858         for libstdc++.
12859         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12860         * stdlib/tst-tls-atexit.c: New test case.
12861         * stdlib/tst-tls-atexit-lib.c: New test case.
12863         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12865         * elf/Versions (ld): Add _dl_find_dso_for_object.
12866         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12867         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12868         (dl_open_worker): Use _dl_find_dso_for_object.
12869         * elf/dl-sym.c (do_sym): Likewise.
12870         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12872 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12874         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12875         Syntactic changes only.
12876         (_dl_runtime_profile): Do a tail-call to the resolved function.
12878 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12880         [BZ #13550]
12881         * sysdeps/x86_64/bp-asm.h: Remove file.
12882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12883         <bp-sym.h> and <bp-asm.h>.
12884         (__clone): Do not use BP_SYM.
12885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12886         <bp-sym.h> and <bp-asm.h>.
12887         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12888         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12889         "bp-asm.h".
12890         (_setjmp): Do not use BP_SYM.
12891         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12892         "bp-asm.h".
12893         (setjmp): Do not use BP_SYM.
12894         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12895         libc_hidden_def.
12896         (mempcpy): Do not use BP_SYM in weak_alias.
12897         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12898         "bp-asm.h".
12899         (strchr): Do not use BP_SYM.
12900         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12901         "bp-asm.h".
12902         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12903         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12904         (_start): Do not use BP_SYM.
12905         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12906         "bp-asm.h".
12907         (strcat): Do not use BP_SYM.
12908         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12909         "bp-asm.h".
12910         (STRCMP): Do not use BP_SYM.
12911         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12912         "bp-asm.h".
12913         (STRCPY): Do not use BP_SYM.
12914         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12915         "bp-asm.h".
12916         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12917         "bp-asm.h".
12918         (FUNCTION): Do not use BP_SYM.
12919         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12920         weak_alias.
12921         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12923 2013-02-17  Andreas Jaeger  <aj@suse.de>
12925         * time/Versions: Sort entries.
12926         * string/Versions: Likewise.
12927         * resolv/Versions: Likewise.
12928         * posix/Versions: Likewise.
12929         * iconv/Versions: Likewise.
12930         * elf/Versions: Likewise.
12931         * wcsmbs/Versions: Likewise.
12933 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12935         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12936         loop termination condition.
12938         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12939         variable to calculate EZ.
12940         (__sqr): Likewise.
12942         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12943         the lower precision input.
12945 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12947         [BZ #13550]
12948         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12949         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12950         (run-via-rtld-prefix): Do not handle %-bp tests.
12951         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12952         (all-object-suffixes): Remove .ob.
12953         (bppfx): Remove variable.
12954         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12955         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12956         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12957         [$(build-bounded) = yes] (libtype.ob): Likewise.
12958         * Makerules (elide-routines.ob): Remove variable.
12959         (do-tests-clean): Do not handle *-bp.out.
12960         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12961         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12962         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12963         (tests): Do not include $(tests-bp.out).
12964         (xtests): Do not include $(xtests-bp.out).
12965         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12966         [$(build-bounded) = yes] ($(addprefix
12967         $(objpfx),$(binaries-bounded))): Remove rule.
12968         ($(objpfx)%-bp.out): Remove rule.
12969         * config.make.in (build-bounded): Remove variable.
12970         * crypt/Makefile [$(build-bounded) = yes]
12971         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12972         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12973         append to variable.
12974         [$(build-bounded) = yes] (install-lib): Likewise.
12975         [$(build-bounded) = yes] (generated): Likewise.
12976         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12977         Remove rule.
12978         * intl/Makefile [$(build-bounded) = yes]
12979         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12980         * math/Makefile [$(build-bounded) = yes]
12981         ($(tests:%=$(objpfx)%-bp): Likewise.
12982         * misc/Makefile [$(build-bounded) = yes]
12983         ($(objpfx)tst-tsearch-bp): Likewise.
12984         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12985         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12986         Remove dependency.
12987         * string/Makefile (o-objects.ob): Remove variable.
12988         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12989         (CFLAGS-.ob): Remove variable.
12990         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12991         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12992         both definitions of variable.
12993         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12994         (ASFLAGS-.ob): Remove variable.
12996 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12998         [BZ #13550]
12999         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13000         Remove __BOUNDED_POINTERS__ from condition.
13001         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13002         * string/bits/string2.h [!__NO_STRING_INLINES &&
13003         !__BOUNDED_POINTERS__]: Likewise.
13004         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13007         Remove conditional code.
13008         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13009         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13010         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13011         condition.
13013         [BZ #13550]
13014         * csu/libc-start.c: Do not include <bp-sym.h>.
13015         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13016         * elf/dl-open.c: Do not include <bp-sym.h>.
13017         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13018         * math/fegetenv.c: Do not include <bp-sym.h>.
13019         (fegetenv): Do not use BP_SYM in versioned symbols.
13020         * nptl/sysdeps/pthread/bits/libc-lockP.h
13021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13022         <bp-sym.h>.
13023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13024         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13026         (__pthread_mutex_destroy): Likewise.
13027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13028         (__pthread_mutex_lock): Likewise.
13029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13030         (__pthread_mutex_trylock): Likewise.
13031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13032         (__pthread_mutex_unlock): Likewise.
13033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13034         (__pthread_mutexattr_init): Likewise.
13035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13036         (__pthread_mutexattr_destroy): Likewise.
13037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13038         (__pthread_mutexattr_settype): Likewise.
13039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13040         (__pthread_rwlock_init): Likewise.
13041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13042         (__pthread_rwlock_destroy): Likewise.
13043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13044         (__pthread_rwlock_rdlock): Likewise.
13045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13046         (__pthread_rwlock_tryrdlock): Likewise.
13047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13048         (__pthread_rwlock_wrlock): Likewise.
13049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13050         (__pthread_rwlock_trywrlock): Likewise.
13051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13052         (__pthread_rwlock_unlock): Likewise.
13053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13054         (__pthread_key_create): Likewise.
13055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13056         (__pthread_setspecific): Likewise.
13057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13058         (__pthread_getspecific): Likewise.
13059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13060         Likewise.
13061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13062         (_pthread_cleanup_push_defer): Likewise.
13063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13064         (_pthread_cleanup_pop_restore): Likewise.
13065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13066         (pthread_setcancelstate): Likewise.
13067         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13068         <bp-sym.h>.
13069         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13070         (memchr): Do not use BP_SYM in weak_alias.
13071         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13072         (fegetenv): Do not use BP_SYM in versioned symbols.
13073         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13074         (fesetenv): Do not use BP_SYM in versioned symbols.
13075         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13076         (feupdateenv): Do not use BP_SYM in versioned symbols.
13077         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13078         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13079         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13080         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13081         (open64): Do not use BP_SYM in weak_alias.
13082         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13083         (fegetenv): Do not use BP_SYM in versioned symbols.
13084         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13085         (fesetenv): Do not use BP_SYM in versioned symbols.
13086         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13087         (feupdateenv): Do not use BP_SYM in versioned symbols.
13088         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13089         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13090         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13091         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13092         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13093         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13094         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13095         <bp-sym.h>.
13096         (__libc_start_main): Do not use BP_SYM.
13098 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13101         redundant return line.
13102         (norm): Likewise.
13103         (denorm): Likewise.
13104         (dbl_mp): Likewise.
13105         (sub_magnitudes): Likewise.
13106         (__add): Likewise.
13107         (__sub): Likewise.
13108         (__mul): Likewise.
13109         (__inv): Likewise.
13110         (__dvd): Likewise.
13111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13112         (norm): Likewise.
13113         (denorm): Likewise.
13114         (dbl_mp): Likewise.
13115         (sub_magnitudes): Likewise.
13116         (__add): Likewise.
13117         (__sub): Likewise.
13118         (__mul): Likewise.
13119         (__inv): Likewise.
13120         (__dvd): Likewise.
13122         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13123         instead of __mul.
13124         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13125         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13126         (cc32): Likewise.
13128         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13129         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13131         of __mul for squares.
13132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13133         function
13134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13135         Likewise.
13136         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13137         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13139 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #13550]
13142         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13143         code.
13144         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13145         prototype or function definition.  Rename ubp_* variables and
13146         parameters.  Remove argv definitions conditional on
13147         [__BOUNDED_POINTERS__].
13148         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13149         * elf/dl-runtime.c (_dl_fixup): Likewise.
13150         * include/set-hooks.h (RUN_HOOK): Likewise.
13151         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13152         definition.
13153         * string/strcpy.c (strcpy): Do not use __unbounded.
13154         * sysdeps/generic/frame.h (struct layout): Likewise.
13155         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13156         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13157         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13158         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13159         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13160         (__backtrace): Likewise.
13161         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13162         use __ptrvalue.
13163         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13164         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13165         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13166         Likewise.
13167         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13168         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13169         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13170         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13171         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13172         Do not use __unbounded.
13173         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13174         Rename __unboundedrlimits parameter to rlimits in prototype.
13175         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13176         Do not use __unbounded.
13177         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13178         not use __ptrvalue.
13179         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13180         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13181         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13182         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13183         __ptrvalue or __unbounded.
13184         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13185         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13186         use __unbounded.
13187         (__new_msgctl): Do not use __ptrvalue.
13188         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13189         __unbounded.
13190         (__libc_msgrcv): Do not use __ptrvalue.
13191         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13192         startup_info): Do not use __unbounded.
13193         (__libc_start_main): Likewise.  Rename ubp_* variables and
13194         parameters.  Remove argv definitions conditional on
13195         [__BOUNDED_POINTERS__].
13196         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13197         __ptrvalue.
13198         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13199         use __unbounded.
13200         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13201         or __ptrvalue.
13202         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13203         use __unbounded.
13204         (__new_shmctl): Do not use __ptrvalue.
13205         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13206         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13207         Likewise.
13208         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13210         (__libc_sigaction): Likewise.
13211         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13212         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13216 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13218         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13220         * string/mempcpy.c: Implement by calling memcpy.
13222 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13227         evaluation.
13229         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13230         values in the mantissa.
13232         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13233         minimize writes to Z.
13234         (sub_magnitudes): Simplify code a bit.
13236 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13238         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13239         from the message.  The linker prefixes all warnings with that already.
13241 2013-02-12  Andreas Schwab  <schwab@suse.de>
13243         [BZ #15078]
13244         * posix/regexec.c (extend_buffers): Add parameter min_len.
13245         (check_matching): Pass minimum needed length.
13246         (clean_state_log_if_needed): Likewise.
13247         (get_subexp): Likewise.
13248         * posix/Makefile (tests): Add bug-regex34.
13249         (bug-regex34-ENV): Define.
13250         * posix/bug-regex34.c: New file.
13252         [BZ #11561]
13253         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13254         elements compare against the byte sequence of it, not its name.
13255         * posix/Makefile (tests): Add bug-regex35.
13256         (bug-regex35-ENV): Define.
13257         * posix/bug-regex35.c: New file.
13259 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13261         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13262         comment.
13263         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13264         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13265         (CHECK_EOL): Add undef.
13267 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13269         * bits/stdlib-bsearch.h: New file.
13270         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13271         * stdlib/stdlib.h: Likewise.
13273 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13275         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13276         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13277         declaration.
13278         * manual/search.texi (Array Search Function): Add missing const in
13279         lfind prototype.
13280         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13281         declaration to use rlim_t.
13282         (Basic Scheduling Functions): Remove erroneous const from
13283         sched_getparam prototype.  Remove erroneous * from
13284         sched_get_priority_max and sched_get_priority_min prototypes.
13285         (Resource Usage): Fix summary @comment on vtimes to refer to
13286         sys/vtimes.h rather than vtimes.h.
13287         Add missing *s in vtimes prototype.
13288         (Limits on Resources): Fix ulimit prototype to return long int.
13289         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13290         prototypes to use long int rather than double.
13291         (BSD Random): Fix initstate and setstate to use char *, not void *.
13292         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13293         prototype to make second argument 'struct aiocb64 *const[]'.
13294         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13295         (Status of AIO Operations): Remove erroneous const in aio_return and
13296         aio_return64 prototypes.
13297         (Synchronizing I/O): Fix sync prototype to return void.
13298         * manual/startup.texi (Suboptions): Remove an erroneous const in
13299         getsubopt prototype.
13300         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13301         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13302         use size_t rather than int.
13303         (Scanning All Users): Likewise for getpwent_r.
13304         (Setting Groups): Add missing const to setgroups prototype.
13305         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13306         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13307         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13308         'const void *' rather than 'const char *'.
13309         (Host Address Functions): Likewise for inet_ntop.
13310         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13311         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13312         ssize_t for return value.
13313         (Sending Data): Likewise for send, sendto, sendmsg.
13314         (Socket Option Functions): Add a missing const in setsockopt prototype.
13315         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13316         use wchar_t for the argument.
13317         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13318         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13319         take no arguments.
13320         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13321         double/float/long double for second argument.
13322         Fix return types of significand, significandf, significandl.
13323         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13324         argument in fchmod prototype.
13325         (File Owner): Use uid_t and gid_t in fchown prototype.
13326         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13327         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13328         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13329         use 'const struct dirent **' as argument types to CMP function pointer
13330         argument.
13331         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13332         (File Times): Fix summary magic @comment for struct utimbuf and utime
13333         to refer to utime.h, not time.h.
13334         * manual/string.texi (Argz Functions): Add missing const in
13335         argz_extract and argz_next prototypes.
13336         (Finding Tokens in a String): Likewise for basename.
13337         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13338         (Copying and Concatenation): Fix typo in wmemmove prototype.
13339         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13340         (Signal Stack): Remove erroneous const in sigstack prototype.
13341         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13342         prototype.
13343         (Simple Calendar Time): Likewise for stime.
13344         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13345         prototype.
13346         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13347         say sys/sysctl.h instead.
13348         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13349         and vsyslog prototypes.
13351 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13353         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13354         Remove.
13356 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13358         * misc/sys/mman.h: Fix typo in mremap comment.
13360 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13362         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13363         the '\0' terminator.
13365 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13367         [BZ #13550]
13368         * debug/segfault.c: Don't include <bp-checks.h>.
13369         * sysdeps/generic/bp-checks.h: Remove file.
13370         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13371         (__GETDENTS): Don't use CHECK_N.
13372         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13373         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13374         (__getgroups): Don't use CHECK_N.
13375         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13376         (setgroups): Don't use CHECK_N.
13377         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13378         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13379         (__libc_msgrcv): Don't use CHECK_N.
13380         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13381         (__libc_msgsnd): Don't use CHECK_N.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13383         <bp-checks.h>.
13384         (__libc_pread): Don't use CHECK_N.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13386         include <bp-checks.h>.
13387         (__libc_pread64): Don't use CHECK_N.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13389         include <bp-checks.h>.
13390         (__libc_pwrite): Don't use CHECK_N.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13392         include <bp-checks.h>.
13393         (__libc_pwrite64): Don't use CHECK_N.
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13395         <bp-checks.h>.
13396         (__libc_pread): Don't use CHECK_N.
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13398         include <bp-checks.h>.
13399         (__libc_pread64): Don't use CHECK_N.
13400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13401         include <bp-checks.h>.
13402         (__libc_pwrite): Don't use CHECK_N.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13404         include <bp-checks.h>.
13405         (__libc_pwrite64): Don't use CHECK_N.
13406         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13407         (do_pread): Don't use CHECK_N.
13408         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13409         (do_pread64): Don't use CHECK_N.
13410         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13411         (do_pwrite): Don't use CHECK_N.
13412         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13413         (do_pwrite64): Don't use CHECK_N.
13414         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13415         (__libc_readv): Don't use CHECK_N.
13416         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13417         (semop): Don't use CHECK_N.
13418         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13419         <bp-checks.h>.
13420         (semtimedop): Don't use CHECK_N.
13421         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13422         (__libc_pread): Don't use CHECK_N.
13423         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13424         <bp-checks.h>.
13425         (__libc_pread64): Don't use CHECK_N.
13426         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13427         <bp-checks.h>.
13428         (__libc_pwrite): Don't use CHECK_N.
13429         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13430         <bp-checks.h>.
13431         (__libc_pwrite64): Don't use CHECK_N.
13432         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13433         <bp-checks.h>.
13434         (__libc_msgrcv): Don't use CHECK_N.
13435         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13436         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13437         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13438         (__libc_writev): Don't use CHECK_N.
13440 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13442         * string/strcpy.c: Removed unused variable.
13444         * Makeconfig (+sysdep-includes): Define with := rather than =.
13445         Use an existing include/ subdir of each sysdeps dir before it.
13447 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13449         * nscd/connection.c (register_traced_file): Comment function.
13450         [HAVE_INOTIFY] (union __inev): Define.
13451         [HAVE_INOTIFY] (inotify_check_files): New function.
13452         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13453         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13454         clear_db_cache.
13455         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13457 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13459         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13460         loaded if not already and that a failure is permanent.
13462 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13464         [BZ #15006]
13465         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13466         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13468 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13470         [BZ #13550]
13471         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13472         (CHECK_1_NULL_OK): Likewise.
13473         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13474         (__fxstat): Do not use CHECK_1.
13475         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13476         <bp-checks.h>.
13477         (___fxstat64): Do not use CHECK_1.
13478         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13479         <bp-checks.h>.
13480         (__fxstatat): Do not use CHECK_1.
13481         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13482         <bp-checks.h>.
13483         (__fxstatat64): Do not use CHECK_1.
13484         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13485         <bp-checks.h>.
13486         (__fxstat): Do not use CHECK_1.
13487         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13488         <bp-checks.h>.
13489         (__fxstatat): Do not use CHECK_1.
13490         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13491         <bp-checks.h>.
13492         (__getresgid): Do not use CHECK_1.
13493         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13494         <bp-checks.h>.
13495         (__getresuid): Do not use CHECK_1.
13496         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13497         <bp-checks.h>.
13498         (__lxstat): Do not use CHECK_1.
13499         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13500         <bp-checks.h>.
13501         (__old_msgctl): Do not use CHECK_1.
13502         (__new_msgctl): Likewise.
13503         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13504         <bp-checks.h>.
13505         (__new_setrlimit): Do not use CHECK_1.
13506         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13507         <bp-checks.h>.
13508         (__old_shmctl): Do not use CHECK_1.
13509         (__new_shmctl): Likewise.
13510         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13511         <bp-checks.h>.
13512         (__xstat): Do not use CHECK_1.
13513         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13514         (__lxstat): Do not use CHECK_1.
13515         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13516         <bp-checks.h>.
13517         (___lxstat64): Do not use CHECK_1.
13518         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13519         (__old_msgctl): Do not use CHECK_1.
13520         (__new_msgctl): Likewise.
13521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13522         <bp-checks.h>.
13523         (__gettimeofday): Do not use CHECK_1.
13524         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13525         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13526         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13527         <bp-checks.h>.
13528         (__gettimeofday): Do not use CHECK_1.
13529         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13530         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13531         (__new_shmctl): Do not use CHECK_1.
13532         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13533         <bp-checks.h>.
13534         (do_sigtimedwait): Do not use CHECK_1.
13535         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13536         <bp-checks.h>.
13537         (do_sigwaitinfo): Do not use CHECK_1.
13538         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13539         <bp-checks.h>.
13540         (msgctl): Do not use CHECK_1.
13541         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13542         <bp-checks.h>.
13543         (shmctl): Do not use CHECK_1.
13544         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13545         (ustat): Do not use CHECK_1.
13546         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13547         <bp-checks.h>.
13548         (__fxstat): Do not use CHECK_1.
13549         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13550         <bp-checks.h>.
13551         (__fxstatat): Do not use CHECK_1.
13552         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13553         <bp-checks.h>.
13554         (__lxstat): Do not use CHECK_1.
13555         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13556         <bp-checks.h>.
13557         (__xstat): Do not use CHECK_1.
13558         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13559         (__xstat): Do not use CHECK_1.
13560         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13561         (___xstat64): Do not use CHECK_1.
13563         [BZ #13550]
13564         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13565         definitions.
13566         (CHECK_BOUNDS_HIGH): Likewise.
13567         * string/strcpy.c: Do not include <bp-checks.h>.
13568         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13570 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13572         * nscd/nscd-client.h (__nscd_drop_map_ref):
13573         Add __attribute__ ((unused)).
13574         * nis/nss-nisplus.h (niserr2nss): Likewise.
13576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13577         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13579         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13580         Remove inline keyword.
13581         * include/rounding-mode.h (round_away): Likewise.
13582         * libio/wfileops.c (adjust_wide_data): Likewise.
13583         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13584         (__m128i_strloadu_tolower): Likewise.
13585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13586         (__m128i_strloadu_tolower): Likewise.
13587         * time/mktime.c (ydhms_diff): Likewise.
13588         * locale/elem-hash.h (elem_hash): Likewise.
13589         * locale/setlocale.c (setdata): Likewise.
13590         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13591         (re_string_wchar_at): Likewise.
13592         (bitset_not, bitset_merge, bitset_mask): Likewise.
13593         [!(__GNUC__ > 3)] (inline): Remove macro.
13594         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13595         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13596         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13597         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13598         * string/memcmp.c (memcmp_bytes): Likewise.
13599         * locale/programs/locarchive.c (compute_hashval): Likewise.
13600         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13601         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13602         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13603         * nss/getent.c (print_rpc, print_protocols): Likewise.
13604         (print_passwd, print_group, print_aliases): Likewise.
13605         * nis/nss-nisplus.h (niserr2nss): Likewise.
13606         * nscd/connections.c (restart_p): Likewise.
13607         Change return type to bool.
13609 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13611         * Makeconfig (all-Depend-files): Add existing
13612         $(sorted-subdirs:=/Depend) files.
13613         (all-subdirs): Remove nss.
13614         * sysdeps/unix/inet/Subdirs: Add it here instead.
13615         * hesiod/Depend: New file.
13617         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13618         instead of calling alloca.
13620         * io/lseek.c (__lseek): Rename to __libc_lseek.
13621         Define __lseek as an alias.
13623         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13625 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13627         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13628         else clause and remove check for non-standard endianness.
13630 2013-02-04  David S. Miller  <davem@davemloft.net>
13632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13634 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #13550]
13637         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13638         (__ubp_memchr): Remove prototype.
13639         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13640         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13641         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13642         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13643         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13644         Remove alias.
13645         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13646         (__ubp_memchr): Likewise.
13647         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13648         (__ubp_memchr): Likewise.
13649         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13650         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13651         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13652         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13653         CHECK_STRING.
13654         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13655         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13656         (__getcwd): Do not use CHECK_STRING.
13657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13658         <bp-checks.h>.
13659         (__real_chown): Do not use CHECK_STRING.
13660         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13661         <bp-checks.h>.
13662         (fchownat): Do not use CHECK_STRING.
13663         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13664         CHECK_STRING.
13665         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13666         <bp-checks.h>.
13667         (__lchown): Do not use CHECK_STRING.
13668         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13669         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13670         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13671         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13673         include <bp-checks.h>.
13674         (truncate64): Do not use CHECK_STRING.
13675         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13676         <bp-checks.h>.
13677         (__real_chown): Do not use CHECK_STRING.
13678         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13679         <bp-checks.h>.
13680         (__lchown): Do not use CHECK_STRING.
13681         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13682         <bp-checks.h>.
13683         (__chown): Do not use CHECK_STRING.
13684         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13685         <bp-checks.h>.
13686         (truncate64): Do not use CHECK_STRING.
13687         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13688         Likewise.
13689         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13690         (__xmknod): Do not use CHECK_STRING.
13691         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13692         <bp-checks.h>.
13693         (__xmknodat): Do not use CHECK_STRING.
13694         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13695         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13697 2013-02-04  Andreas Schwab  <schwab@suse.de>
13699         [BZ #14142]
13700         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13701         * include/netdb.h: Likewise for h_errno.
13702         * elf/tst-stackguard1.c: Include <tls.h>.
13704 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13706         * elf/link.h (struct link_map): Extend the l_addr comment.
13707         * include/link.h (struct link_map): Likewise.
13709 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13711         [BZ #13550]
13712         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13713         (BOUNDED_1): Remove macro.
13714         * debug/backtrace.c: Don't include <bp-checks.h>.
13715         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13716         (__backtrace): Likewise.
13717         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13718         <bp-checks.h>.
13719         (__backtrace): Don't use BOUNDED_1.
13720         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13721         <bp-checks.h>.
13722         (__backtrace): Don't use BOUNDED_1.
13723         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13724         (__backtrace): Don't use BOUNDED_1.
13725         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13726         (shmat): Don't use BOUNDED_N.
13728 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13730         [BZ #13550]
13731         * sysdeps/generic/bp-start.h: Remove file.
13732         * csu/libc-start.c: Don't include <bp-start.h>.
13733         (LIBC_START_MAIN): Set up __environ directly instead of using
13734         INIT_ARGV_and_ENVIRON.
13735         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13736         <bp-start.h>.
13738         [BZ #13550]
13739         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13740         definitions.
13741         (CHECK_FCNTL): Likewise.
13742         (CHECK_N_PAGES): Likewise.
13744         [BZ #13550]
13745         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13746         definitions.
13747         (CHECK_SIGSET_NULL_OK): Likewise.
13748         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13749         <bp-checks.h>.
13750         (sigpending): Don't use CHECK_SIGSET.
13751         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13752         <bp-checks.h>.
13753         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13754         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13755         <bp-checks.h>.
13756         (do_sigsuspend): Don't use CHECK_SIGSET.
13757         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13758         use CHECK_SIGSET.
13759         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13760         (do_sigwait): Don't use CHECK_SIGSET.
13761         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13762         use CHECK_SIGSET.
13763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13764         include <bp-checks.h>.
13765         (sigpending): Don't use CHECK_SIGSET.
13766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13767         include <bp-checks.h>.
13768         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13769         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13770         <bp-checks.h>.
13771         (sigpending): Don't use CHECK_SIGSET.
13772         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13773         <bp-checks.h>.
13774         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13776         [BZ #13550]
13777         * sysdeps/generic/bp-semctl.h: Remove file.
13778         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13779         <bp-checks.h> and <bp-semctl.h>.
13780         (__old_semctl): Don't use CHECK_SEMCTL.
13781         (__new_semctl): Likewise.
13782         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13783         and <bp-semctl.h>.
13784         (__old_semctl): Don't use CHECK_SEMCTL.
13785         (__new_semctl): Likewise.
13786         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13787         <bp-checks.h> and <bp-semctl.h>.
13788         (__old_semctl): Don't use CHECK_SEMCTL.
13789         (__new_semctl): Likewise.
13790         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13791         <bp-checks.h> and <bp-semctl.h>.
13792         (semctl): Don't use CHECK_SEMCTL.
13794         [BZ #13550]
13795         * Makerules (elide-bp-thunks): Remove variable.
13796         (elide-routines.oS): Don't use $(elide-bp-thunks).
13797         (elide-routines.os): Likewise.
13798         (elide-routines.o): Likewise.
13799         (elide-routines.op): Likewise.
13800         (elide-routines.og): Likewise.
13801         (objects): Don't use $(bp-thunks).
13802         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13803         include.
13804         (common-generated): Do not add s-proto-bp.d.
13805         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13806         (int): Likewise.
13807         (typ): Likewise.
13808         Do not generate makefile rules for bounded-pointer thunks.
13809         * sysdeps/generic/bp-thunks.h: Remove file.
13810         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13811         * sysdeps/unix/s-proto-bp.S: Likewise.
13813         [BZ #15062]
13814         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13815         parts of result separately when argument is not close to line from
13816         -i to i and one part of argument is small.
13817         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13818         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13819         * math/libm-test.inc (cacos_test): Add more tests.
13820         (casin_test): Likewise.
13821         (casinh_test): Likewise.
13822         * sysdeps/i386/fpu/libm-test-ulps: Update.
13823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825 2013-01-31  David S. Miller  <davem@davemloft.net>
13827         * po/de.po: Update from translation team.
13829 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13831         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13833 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13835         * configure.in (_AC_PROG_CC_C89): New definition.
13836         * configure: Regenerate.
13838         * configure.in (AC_PROG_CPP): New definition.
13839         * configure: Regenerate.
13841 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13843         * debug/tst-backtrace.h: New file.
13844         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13845         (ret): Remove variable.
13846         (x): Likewise.
13847         (FAIL): Remove macro.
13848         (NO_INLINE): Likewise.
13849         (fn1): Use match function instead of strstr.
13850         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13851         (ret): Remove variable.
13852         (x): Likewise.
13853         (FAIL): Remove macro.
13854         (NO_INLINE): Likewise.
13855         (fn): Use match function instead of strstr.
13856         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13857         (ret): Remove variable.
13858         (x): Likewise.
13859         (FAIL): Remove macro.
13860         (NO_INLINE): Likewise.
13861         (handle_signal): Use match function instead of strstr.
13862         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13863         (ret): Remove variable.
13864         (x): Likewise.
13865         (FAIL): Remove macro.
13866         (NO_INLINE): Likewise.
13867         (handle_signal): Use match function instead of strstr.
13869 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13871         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13873 2013-01-23  David S. Miller  <davem@davemloft.net>
13875         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13876         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13877         argument of CAS if possible.
13878         * sysdeps/sparc/sparc64/bits/atomic.h
13879         (__arch_compare_and_exchange_val_32_acq): Likewise.
13880         (__arch_compare_and_exchange_val_64_acq): Likewise.
13882 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13884         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13885         * sysdeps/posix/ulimit.c: ... this.
13886         Include <limits.h>.
13887         * sysdeps/unix/bsd/ulimit.c: Remove file.
13889 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13891         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13892         (LDFLAGS-tst-array5): Likewise.
13894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13896         [BZ #15036]
13897         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13898         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13899         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13900         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13902 2013-01-21  David S. Miller  <davem@davemloft.net>
13904         * sysdeps/sparc/backtrace.c: New file.
13905         * sysdeps/sparc/sparc32/backtrace.h: New file.
13906         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13907         * sysdeps/sparc/sparc64/backtrace.h: New file.
13908         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13909         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13910         -funwind-tables.
13912 2013-01-21  Andreas Schwab  <schwab@suse.de>
13914         [BZ #15020]
13915         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13916         closed its stdout.
13918 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13921         "mpa2.h".
13922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13924 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13925             Mark Mitchell  <mark@codesourcery.com>
13926             Tom de Vries  <tom@codesourcery.com>
13927             Paul Pluzhnikov  <ppluzhnikov@google.com>
13929         * debug/tst-backtrace2.c: New file.
13930         * debug/tst-backtrace3.c: Likewise.
13931         * debug/tst-backtrace4.c: Likewise.
13932         * debug/tst-backtrace5.c: Likewise.
13933         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13934         (CFLAGS-tst-backtrace3.c): Likewise.
13935         (CFLAGS-tst-backtrace4.c): Likewise.
13936         (CFLAGS-tst-backtrace5.c): Likewise.
13937         (LDFLAGS-tst-backtrace2): Likewise.
13938         (LDFLAGS-tst-backtrace3): Likewise.
13939         (LDFLAGS-tst-backtrace4): Likewise.
13940         (LDFLAGS-tst-backtrace5): Likewise.
13941         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13942         tst-backtrace4 and tst-backtrace5.
13944 2013-01-18  Anton Blanchard  <anton@samba.org>
13945             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13947         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13948         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13950         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13952         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13953         "+r" and remove output regs list as redundant.  Add explicit inline
13954         asm to specify register of return val to work around compiler codegen
13955         bug.  Remove (int) cast on return value.  Add return type parameter to
13956         use in macro so that this macro does not truncate return value for
13957         64-bit values.
13958         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13959         pass to INTERNAL_VSYSCALL_NCS.
13960         (INLINE_VSYSCALL): Add 'long int' as return type to
13961         INTERNAL_VSYSCALL_NCS macro invocation.
13962         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13963         INTERNAL_VSYSCALL_NCS macro invocation.
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13966 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13968         [BZ #14496]
13969         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13970         Fix application of SIMD FP exception mask.
13972         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13973         mp_no from a power of two.
13974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13975         __mpexp_twomm1.  Use __pow_mp.
13977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13978         multiplication.
13980 2013-01-17  David S. Miller  <davem@davemloft.net>
13982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13984 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13986         [BZ #15023]
13987         * include/complex.h: Condition contents on [!_COMPLEX_H].
13988         (__kernel_casinhf): New prototype.
13989         (__kernel_casinh): Likewise.
13990         (__kernel_casinhl): Likewise.
13991         * math/Makefile (libm_calls): Add k_casinh.
13992         * math/k_casinh.c: New file.
13993         * math/k_casinhf.c: Likewise.
13994         * math/k_casinhl.c: Likewise.
13995         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13996         finite nonzero arguments.
13997         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13998         finite nonzero arguments.
13999         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14000         finite nonzero arguments.
14001         * math/s_casinh.c: Do not include <float.h>.
14002         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14003         * math/s_casinhf.c: Do not include <float.h>.
14004         (__casinhf): Move code for finite nonzero arguments to
14005         k_casinhf.c.
14006         * math/s_casinhl.c: Do not include <float.h>.
14007         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14008         redefine.
14009         (__casinhl): Move code for finite nonzero arguments to
14010         k_casinhl.c.
14011         * math/libm-test.inc (cacos_test): Add more tests.
14012         * sysdeps/i386/fpu/libm-test-ulps: Update.
14013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14017         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14018         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14019         [!HAVE_MREMAP]: Remove [defined linux] case.
14020         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14022 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14024         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14026 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14028         * elf/elf.h (R_386_SIZE32): New relocation.
14029         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14030         R_386_SIZE32.
14031         (elf_machine_rela): Likewise.
14032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14033         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14035 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14037         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14038         (FP_FAST_FMA): Do not define.
14039         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14040         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14041         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14042         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14043         !_SOFT_FLOAT]: Likewise.
14044         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14045         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14046         value.
14047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14048         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14049         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14050         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14051         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14052         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14053         file.
14055 2013-01-16  Andreas Schwab  <schwab@suse.de>
14057         [BZ #14327]
14058         * include/stdlib.h (__mktemp): Add declaration.
14059         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14060         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14062 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14064         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14065         definitions.
14066         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14067         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14068         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14069         definitions here.
14070         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14071         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14072         definitions.
14073         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14074         and ONE.
14075         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14076         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14077         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14078         definitions.
14079         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14080         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14081         definitions.
14082         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14084         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14086 2013-01-15  David S. Miller  <davem@davemloft.net>
14088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14089         trunc{,f} to libm-sysdep_routes.
14090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14092         file.
14093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14095         file.
14096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14097         file.
14098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14100         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14101         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14102         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14103         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14104         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14105         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14108         nearbyint{,f} to libm-sysdep_routes.
14109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14111         New file.
14112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14113         file.
14114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14115         New file.
14116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14117         file.
14118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14121         file.
14122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14124         file.
14125         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14126         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14127         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14129         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14130         libc_feholdexcept and libc_fesetenv.
14132 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14134         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14136 2013-01-14  David S. Miller  <davem@davemloft.net>
14138         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14139         (SPARC_ASM_VIS2_IFUNC): Likewise.
14140         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14142         use of 'siam' instruction.
14143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14144         Likewise.
14145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14146         Likewise.
14147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14148         Likewise.
14149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14154         file.
14155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14156         file.
14157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14158         file.
14159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14160         file.
14161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14166         new VIS2 routines.
14167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14170         Likewise.
14171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14176         routines to libm-sysdep_routines.
14177         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14180         fdim/fdimf to libm-sysdep_routines.
14181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14182         file.
14183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14185         file.
14186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14189         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14190         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14191         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14192         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14194 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14196         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14197         to optimize copies.
14199         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14204         local variable MPTWO.
14205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14206         Likewise.
14208 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14210         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14211         GLOB_NOESCAPE.
14213 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14215         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14217 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14219         * manual/pattern.texi (glob_t): Document gl_flags.
14220         (glob64_t): Likewise.
14222 2013-01-11  David S. Miller  <davem@davemloft.net>
14224         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14225         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14226         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14227         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14228         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14229         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14230         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14231         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14232         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14233         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14234         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14235         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14236         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14238         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14239         sparc V9 rather than using V8 code.
14240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14243         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14244         Move to...
14245         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14246         Here.
14248 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14250         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14251         not in the main loop.
14252         * configure: Regenerated.
14254 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14256         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14257         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14258         to just #else.
14259         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14260         [!__GLIBC_HAVE_LONG_LONG] case.
14261         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14262         condition to just #else.
14263         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14264         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14265         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14266         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14267         unconditional.
14268         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14269         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14270         #elif condition to just #else.
14271         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14272         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14273         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14274         #elif condition to just #else.
14276 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14278         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14279         (EF_MIPS_ARCH_64): Fix value.
14280         (EF_MIPS_ARCH_32R2): New.
14281         (EF_MIPS_ARCH_64R2): New.
14283 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14285         * Makeconfig (+link-pie-before-libc): New.
14286         (+link-pie-after-libc): Likewise.
14287         (+link-pie-tests): Likewise.
14288         (+link-pie): Rewritten.
14289         (link-before-libc): Remove $(config-LDFLAGS).
14290         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14291         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14292         (config-LDFLAGS): Renamed to ...
14293         (rtld-LDFLAGS): This.
14294         (rtld-tests-LDFLAGS): New macro.
14295         (link-libc-rpath-link): Likewise.
14296         (link-libc-tests-rpath-link): Likewise.
14297         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14298         (link-libc): Prepand $(link-libc-rpath-link).
14299         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14300         (test-program-prefix): New macro.
14301         (test-via-rtld-prefix): Likewise.
14302         (test-program-cmd): Likewise.
14303         (host-test-program-cmd): Likewise.
14304         * Makefile ($(common-objpfx)testrun.sh): Replace
14305         $(run-program-prefix) with $(test-program-prefix).
14306         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14307         $(rtld-LDFLAGS).
14308         ($(common-objpfx)shlib.lds): Likewise.
14309         (build-module-helper): Likewise.
14310         ($(common-objpfx)format.lds): Likewise.
14311         * Rules (binaries-pie-tests): New.
14312         (binaries-pie-notests): Likewise.
14313         (binaries-pie): Rewritten.
14314         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14315         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14316         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14317         (make-test-out): Replace $(host-built-program-cmd) with
14318         $(host-test-program-cmd).
14319         * config.make.in (build-hardcoded-path-in-tests): New variable.
14320         * configure.in (--enable-hardcoded-path-in-tests): New configure
14321         option.
14322         (hardcoded_path_in_tests): New AC_SUBST.
14323         * configure: Regenerated.
14324         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14325         $(built-program-cmd) with $(test-program-cmd).
14326         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14327         (test_program_cmd): This.
14328         * elf/Makefile ($(objpfx)order.out): Run test with
14329         $(test-program-prefix).
14330         ($(objpfx)order2.out): Likewise.
14331         ($(objpfx)tst-initorder.out): Likewise.
14332         ($(objpfx)tst-initorder2.out): Likewise.
14333         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14334         $(test-program-cmd).
14335         ($(objpfx)tst-array1-static.out): Likewise.
14336         ($(objpfx)tst-array2.out): Likewise.
14337         ($(objpfx)tst-array3.out): Likewise.
14338         ($(objpfx)tst-array4.out): Likewise.
14339         ($(objpfx)tst-array5.out): Likewise.
14340         ($(objpfx)tst-array5-static.out): Likewise.
14341         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14342         $(test-program-cmd).
14343         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14344         $(run-program-prefix) with $(test-program-prefix).
14345         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14346         (test_program_prefix): This.
14347         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14348         $(run-program-prefix) with $(test-program-prefix).
14349         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14350         (test_program_prefix): This.
14351         * iconvdata/tst-tables.sh: Likewise.
14352         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14353         $(run-program-prefix) with $(test-program-prefix).
14354         ($(objpfx)tst-translit.out): Likewise.
14355         ($(objpfx)tst-gettext2.out): Likewise.
14356         ($(objpfx)tst-gettext4.out): Likewise.
14357         ($(objpfx)tst-gettext6.out): Likewise.
14358         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14359         (test_program_prefix): This.
14360         * intl/tst-gettext2.sh: Likewise.
14361         * intl/tst-gettext4.sh  Likewise.
14362         * intl/tst-gettext6.sh: Likewise.
14363         * intl/tst-translit.sh: Likewise.
14364         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14365         with $(test-program-cmd).
14366         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14367         $(run-program-prefix) with $(test-program-prefix).
14368         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14369         (test_program_prefix): This.
14370         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14371         $(run-program-prefix) with $(test-program-prefix).
14372         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14373         (test_program_prefix): This.
14374         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14375         * posix/Makefile ($(objpfx)globtest.out): Replace
14376         $(run-via-rtld-prefix) and $(test-wrapper) with
14377         $(test-program-prefix) and $(test-via-rtld-prefix).
14378         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14379         $(test-program-prefix).
14380         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14381         $(host-test-program-cmd).
14382         (tst-spawn-ARGS): Likewise.
14383         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14384         $(test-program-prefix).
14385         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14386         (test_via_rtld_prefix): This.
14387         (test_wrapper): Renamed to ...
14388         (test_program_prefix): This.
14389         (run_program_prefix): Replaced by test_program_prefix.
14390         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14391         (test_program_prefix): This.
14392         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14393         with $(host-test-program-cmd).
14394         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14395         $(run-program-prefix) with $(test-program-prefix).
14396         ($(objpfx)tst-printf.out): Likewise.
14397         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14398         $(test-program-cmd).
14399         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14400         (test_program_prefix): This.
14401         * stdio-common/tst-unbputc.sh: Likewise.
14402         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14403         $(run-program-prefix) with $(test-program-prefix).
14404         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14405         (test_program_prefix): This.
14406         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14407         $(built-program-cmd) with $(test-program-cmd).
14409 2013-01-11  Andreas Jaeger  <aj@suse.de>
14411         [BZ #15003]
14412         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14413         value. Sync with Linux 3.7.
14415 2013-01-10  David S. Miller  <davem@davemloft.net>
14417         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14418         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14419         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14421 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14423         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14424         never set.
14425         * configure: Regenerated.
14427 2013-01-10  David S. Miller  <davem@davemloft.net>
14429         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14430         sparc V9 rather than using V8 code.
14431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14434 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14436         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14437         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14438         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14439         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14440         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14441         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14442         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14443         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14444         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14445         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14446         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14447         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14448         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14449         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14450         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14451         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14452         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14453         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14454         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14455         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14456         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14457         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14458         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14459         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14460         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14461         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14462         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14464 2013-01-10  David S. Miller  <davem@davemloft.net>
14466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14468 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14470         * posix/Makefile (tests-static): New variable.
14471         (tests): Add $(tests-static).
14472         (tst-exec-static-ARGS): New variable.
14473         (tst-spawn-static-ARGS): Likewise.
14474         * posix/tst-exec-static.c: New file.
14475         * posix/tst-spawn-static.c: Likewise.
14476         * posix/tst-exec.c: Support run directly.
14477         * posix/tst-spawn.c: Likewise.
14479 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14481         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14482         long.
14483         * math/bits/mathcalls.h (llrint): Likewise.
14484         (llround): Likewise.
14485         * stdlib/stdlib.h (struct drand48_data): Likewise.
14486         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14487         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14488         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14489         Likewise.
14490         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14491         Likewise.
14492         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14493         (elf_greg_t): Likewise.
14494         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14495         (__jmp_buf): Likewise.
14496         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14497         definitions.
14498         (llrint): Likewise, for all definitions.
14499         (llrintl): Likewise.
14501         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14502         Remove [__GNUC__] condition.
14503         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14504         condition to just [__USE_ISOC99].
14505         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14507 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14509         [BZ #14200]
14510         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14511         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14512         defined.
14513         (_POSIX_V6_ILP32_OFF32): Likewise.
14514         (_XBS5_ILP32_OFF32): Likewise.
14515         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14516         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14518 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14520         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14523         doubles __mpexp_twomm1.  Adjust usage.
14524         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14525         Remove.
14527 2013-01-10  Andreas Schwab  <schwab@suse.de>
14529         [BZ #14964]
14530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14531         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14533 2013-01-09  David S. Miller  <davem@davemloft.net>
14535         [BZ #15003]
14536         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14537         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14538         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14539         TCP_FASTOPEN): Define.
14540         (tcp_repair_opt): New structure.
14541         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14542         enum values.
14543         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14544         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14545         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14546         (tcp_cookie_transactions): New structure.
14548 2013-01-09  Anton Blanchard  <anton@samba.org>
14550         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14551         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14553         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14555 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14557         * include/features.h (__USE_ANSI): Remove.
14559 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14561         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14563         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14565 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14567         * sysdeps/s390/fpu/libm-test-ulps: Update.
14569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14571         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14572         (__acr): Likewise.
14573         (__cpy): Likewise.
14574         (norm): Likewise.
14575         (denorm): Likewise.
14576         (__mp_dbl): Likewise.
14577         (__dbl_mp): Likewise.
14578         (add_magnitudes): Likewise.
14579         (sub_magnitudes): Likewise.
14580         (__add): Likewise.
14581         (__sub): Likewise.
14582         (__mul): Likewise.
14583         (__inv): Likewise.
14584         (__dvd): Likewise.
14585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14586         (__acr): Likewise.
14587         (__cpy): Likewise.
14588         (norm): Likewise.
14589         (denorm): Likewise.
14590         (__mp_dbl): Likewise.
14591         (__dbl_mp): Likewise.
14592         (add_magnitudes): Likewise.
14593         (sub_magnitudes): Likewise.
14594         (__add): Likewise.
14595         (__sub): Likewise.
14596         (__mul): Likewise.
14597         (__inv): Likewise.
14598         (__dvd): Likewise.
14599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14600         (__acr): Likewise.
14601         (__cpy): Likewise.
14602         (norm): Likewise.
14603         (denorm): Likewise.
14604         (__mp_dbl): Likewise.
14605         (__dbl_mp): Likewise.
14606         (add_magnitudes): Likewise.
14607         (sub_magnitudes): Likewise.
14608         (__add): Likewise.
14609         (__sub): Likewise.
14610         (__mul): Likewise.
14611         (__inv): Likewise.
14612         (__dvd): Likewise.
14614 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14616         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14617         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14618         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14619         2 && __USE_EXTERN_INLINES]: Likewise.
14621 2013-01-08  Andreas Jaeger  <aj@suse.de>
14623         [BZ# 14985]
14624         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14625         Remove.
14626         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14627         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14629 2013-01-07  Anton Blanchard  <anton@samba.org>
14631         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14632         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14633         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14634         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14635         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14636         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14637         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14638         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14645         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14646         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14647         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14649         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14650         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14651         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14652         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14653         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14654         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14655         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14656         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14657         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14658         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14659         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14660         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14661         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14665         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14666         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14668         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14671         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14673         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14675 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14677         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14678         (__MALLOC_PMT): Likewise.
14679         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14680         [__GNUC__], only on [_LIBC].
14681         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14682         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14683         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14684         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14685         forward declaration.
14686         (realloc_hook_ini): Likewise.
14687         (memalign_hook_ini): Likewise.
14688         (__libc_memalign): Do not use __MALLOC_PMT in variable
14689         declaration.
14690         (__libc_valloc): Likewise.
14691         (__libc_pvalloc): Likewise.
14692         (__libc_calloc): Likewise.
14693         (__posix_memalign): Likewise.
14695         [BZ #14996]
14696         * math/s_casinh.c: Include <float.h>.
14697         (__casinh): Do not do computation with squaring and square root
14698         for large arguments.
14699         * math/s_casinhf.c: Include <float.h>.
14700         (__casinhf): Do not do computation with squaring and square root
14701         for large arguments.
14702         * math/s_casinhl.c: Include <float.h>.
14703         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14704         (__casinhl): Do not do computation with squaring and square root
14705         for large arguments.
14706         * math/libm-test.inc (casin_test): Add more tests.
14707         (casinh_test): Likewise.
14708         * sysdeps/i386/fpu/libm-test-ulps: Update.
14709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14711 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14713         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14714         (__x86_64_raw_data_cache_size): Likewise.
14715         (__x86_64_data_cache_size_half): Likewise.
14716         (__x86_64_raw_data_cache_size_half): Likewise.
14717         (__x86_64_shared_cache_size): Likewise.
14718         (__x86_64_raw_shared_cache_size): Likewise.
14719         (__x86_64_shared_cache_size_half): Likewise.
14720         (__x86_64_raw_shared_cache_size_half): Likewise.
14721         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14722         to ...
14723         (__x86_data_cache_size): This.
14724         (__x86_64_raw_data_cache_size): Renamed to ...
14725         (__x86_raw_data_cache_size): This.
14726         (__x86_64_data_cache_size_half): Renamed to ...
14727         (__x86_data_cache_size_half): This.
14728         (__x86_64_raw_data_cache_size_half): Renamed to ...
14729         (__x86_raw_data_cache_size_half): This.
14730         (__x86_64_shared_cache_size): Renamed to ...
14731         (__x86_shared_cache_size): This.
14732         (__x86_64_raw_shared_cache_size): Renamed to ...
14733         (__x86_raw_shared_cache_size): This.
14734         (__x86_64_shared_cache_size_half): Renamed to ...
14735         (__x86_shared_cache_size_half): This.
14736         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14737         (__x86_raw_shared_cache_size_half): This.
14738         * sysdeps/x86_64/memcpy.S: Updated.
14739         * sysdeps/x86_64/memset.S: Likewise.
14740         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14741         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14742         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14744 2013-01-04  David S. Miller  <davem@davemloft.net>
14746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14748 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14750         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14751         1 to avoid redefinition warning.
14752         (__USE_GNU): Don't define.
14753         (init_signaling_nan): Protoize.
14755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14757 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14761         (__cpymn): Likewise.
14762         (norm): Remove commented code.
14763         (denorm): Likewise.
14764         (__mp_dbl): Likewise.
14765         (__inv): Likewise.
14766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14767         (__cpymn): Likewise.
14768         (norm): Remove commented code.
14769         (denorm): Likewise.
14770         (__mp_dbl): Likewise.
14771         (__inv): Likewise.
14773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14774         mp_no value for 1.0 and 2.0.
14775         (norm): Use RADIXI instead of radixi.d.
14776         (denorm): Likewise.
14777         (__mul): Use 0.0 instead of zero.d.
14778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14779         mp_no value for 1.0 and 2.0.
14780         (norm): Use RADIXI instead of radixi.d.
14781         (denorm): Likewise.
14782         (__mul): Use 0.0 instead of zero.d.
14784 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14786         [BZ #14994]
14787         * math/s_casinh.c (__casinh): Reduce finite argument to first
14788         quadrant then set signs of results at the end.
14789         * math/s_casinhf.c (__casinhf): Likewise.
14790         * math/s_casinhl.c (__casinhl): Likewise.
14791         * math/libm-test.inc (casin_test): Add more tests.
14792         (casinh_test): Likewise.
14793         * sysdeps/i386/fpu/libm-test-ulps: Update.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14798         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14800         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14802         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14803         declarations.
14804         (denorm): Likewise.
14805         (__mp_dbl): Likewise.
14806         (__inv): Likewise.
14808         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14809         and adjust the header comment.
14811         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14812         variable name from declaration.
14814 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14817         Initialize COMMON_CPUID_INDEX_7 element.
14818         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14819         (CPUID_RTM): Likewise.
14820         (HAS_RTM): Likewise.
14821         (COMMON_CPUID_INDEX_7): New enum.
14823 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14825         [BZ #14981]
14826         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14827         size is zero, record memory as freed.
14829 2013-01-03  Andreas Jaeger  <aj@suse.de>
14831         * po/ia.po: Add new Interlingua translation.
14833 2012-01-03  Allan McRae  <allan@archlinux.org>
14835         * locale/programs/localedef.c: Fix description of '--posix' flag.
14837 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14839         * NEWS: Update dates in second copyright notice.
14840         * README: Update copyright dates in example.
14841         * manual/libc.texinfo: Update copyright dates.
14842         * scripts/test-installation.pl: Update copyright date in --version
14843         output.
14845         * hurd/ctty-input.c: Fix copyright notice formatting.
14846         * hurd/ctty-output.c: Likewise.
14847         * hurd/dtable.c: Likewise.
14848         * hurd/hurd-raise.c: Likewise.
14849         * hurd/hurdprio.c: Likewise.
14850         * hurd/msgportdemux.c: Likewise.
14851         * misc/sys/file.h: Likewise.
14852         * misc/sys/ioctl.h: Likewise.
14853         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14854         * sysdeps/mach/hurd/chdir.c: Likewise.
14855         * sysdeps/mach/hurd/fchdir.c: Likewise.
14856         * sysdeps/mach/hurd/rename.c: Likewise.
14857         * sysdeps/mach/hurd/rmdir.c: Likewise.
14858         * sysdeps/mach/hurd/seekdir.c: Likewise.
14859         * sysdeps/mach/hurd/setsid.c: Likewise.
14860         * sysdeps/posix/wait3.c: Likewise.
14862         * All files with FSF copyright notices: Update copyright dates
14863         using scripts/update-copyrights.
14864         * intl/plural.c: Regenerated.
14865         * locale/programs/charmap-kw.h: Likewise.
14866         * locale/programs/locfile-kw.h: Likewise.
14868 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14870         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14871         four values.
14873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14874         calculation loop and add branch prediction.
14876         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14877         check access beyond bounds of m1np.
14879         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14880         MPTWO.
14881         (__inv): Remove local variable MPTWO to use the global
14882         constant.
14883         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14884         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14885         variable MPTWO.
14886         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14887         MP3HALFS static const.
14889 2013-01-01  David S. Miller  <davem@davemloft.net>
14891         * po/ca.po: Update from translation team.
14893 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14895         * scripts/update-copyrights: New file.
14896         * Makeconfig: Reformat copyright notice.
14897         * ctype/ctype.h: Likewise.
14898         * debug/swprintf_chk.c: Likewise.
14899         * elf/dl-cache.c: Likewise.
14900         * elf/dl-debug.c: Likewise.
14901         * elf/dl-object.c: Likewise.
14902         * grp/initgroups.c: Likewise.
14903         * hurd/Makefile: Likewise.
14904         * hurd/hurd/signal.h: Likewise.
14905         * hurd/hurdfault.c: Likewise.
14906         * hurd/hurdioctl.c: Likewise.
14907         * hurd/hurdlookup.c: Likewise.
14908         * hurd/intr-msg.c: Likewise.
14909         * iconv/gconv_open.c: Likewise.
14910         * libio/swprintf.c: Likewise.
14911         * locale/lc-ctype.c: Likewise.
14912         * locale/nl_langinfo.c: Likewise.
14913         * mach/Machrules: Likewise.
14914         * mach/Makefile: Likewise.
14915         * malloc/obstack.h: Likewise.
14916         * manual/Makefile: Likewise.
14917         * manual/tsort.awk: Likewise.
14918         * misc/bits/stab.def: Likewise.
14919         * nis/nis_print_group_entry.c: Likewise.
14920         * nis/nis_table.c: Likewise.
14921         * nis/nss_compat/compat-pwd.c: Likewise.
14922         * nis/nss_compat/compat-spwd.c: Likewise.
14923         * po/Makefile: Likewise.
14924         * posix/fnmatch.c: Likewise.
14925         * posix/regex.h: Likewise.
14926         * resolv/Makefile: Likewise.
14927         * resolv/nss_dns/dns-network.c: Likewise.
14928         * resolv/res_hconf.c: Likewise.
14929         * scripts/gen-sorted.awk: Likewise.
14930         * soft-fp/soft-fp.h: Likewise.
14931         * stdio-common/printf.h: Likewise.
14932         * stdlib/monetary.h: Likewise.
14933         * stdlib/random.c: Likewise.
14934         * stdlib/random_r.c: Likewise.
14935         * sysdeps/generic/Makefile: Likewise.
14936         * sysdeps/gnu/Makefile: Likewise.
14937         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14944         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14947         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14948         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14949         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14950         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14951         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14957         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14958         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14959         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14960         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14961         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14965         * sysdeps/mach/hurd/errnos.awk: Likewise.
14966         * sysdeps/mach/hurd/fork.c: Likewise.
14967         * sysdeps/mach/hurd/getcwd.c: Likewise.
14968         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14969         * sysdeps/mach/hurd/mmap.c: Likewise.
14970         * sysdeps/mach/hurd/utimes.c: Likewise.
14971         * sysdeps/mach/hurd/xmknod.c: Likewise.
14972         * sysdeps/posix/profil.c: Likewise.
14973         * sysdeps/posix/readdir_r.c: Likewise.
14974         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14975         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14976         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14977         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14979         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14980         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14981         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14983         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14984         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14985         * sysdeps/pthread/lio_listio.c: Likewise.
14986         * sysdeps/sparc/dl-procinfo.h: Likewise.
14987         * sysdeps/unix/i386/sysdep.S: Likewise.
14988         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14989         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14990         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14991         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14993         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14994         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14995         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14996         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14997         * sysdeps/wordsize-32/divdi3.c: Likewise.
14998         * time/sys/time.h: Likewise.
14999         * wcsmbs/Makefile: Likewise.
15001 2013-01-01  David S. Miller  <davem@davemloft.net>
15003         * po/fr.po: Update from translation team.
15005         * catgets/gencat.c: Update copyright year.
15006         * csu/version.c: Likewise.
15007         * debug/catchsegv.sh: Likewise.
15008         * debug/pcprofiledump.c: Likewise.
15009         * debug/xtrace.sh: Likewise.
15010         * elf/ldconfig.c: Likewise.
15011         * elf/ldd.bash.in: Likewise.
15012         * elf/pldd.c: Likewise.
15013         * elf/sotruss.ksh: Likewise.
15014         * elf/sprof.c: Likewise.
15015         * iconv/iconv_prog.c: Likewise.
15016         * iconv/iconvconfig.c: Likewise.
15017         * locale/programs/locale.c: Likewise.
15018         * locale/programs/localedef.c: Likewise.
15019         * login/programs/pt_chown.c: Likewise.
15020         * malloc/memusage.sh: Likewise.
15021         * malloc/memusagestat.c: Likewise.
15022         * malloc/mtrace.pl: Likewise.
15023         * nscd/nscd.c: Likewise.
15024         * nss/getent.c: Likewise.
15025         * nss/makedb.c: Likewise.
15026         * posix/getconf.c: Likewise.
15028 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15030         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15031         numbers.
15033 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15035         * math/bits/mathcalls.h (modf): Use __nonnull.
15037 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15039         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15040         (split): Use macro CN instead of the bare value.
15041         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15042         could be used.
15043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15044         instead of the bare value.
15045         (power1): Likewise.
15047 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15049         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15050         __ATAN_TWOM.
15051         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15053         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15054         their values.
15055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15056         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15057         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15058         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15060 2012-12-28  Andreas Jaeger  <aj@suse.de>
15062         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15063         values are from Linux 3.7.
15065         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15066         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15068 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15071         TRUE case.
15073         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15074         (norm): Likewise.
15075         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15076         variables with preprocessor constants.
15077         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15078         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15079         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15081 2012-12-27  Bruno Haible  <bruno@clisp.org>
15083         [BZ #14317]
15084         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15085         only if needed.
15087 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15090         and use variable directly.
15091         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15093         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15094         MPONE.
15095         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15097         variable MPONE.
15098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15100         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15101         include directive.  Remove local variable MPONE.
15102         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15103         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15104         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15106 2012-12-25  David S. Miller  <davem@davemloft.net>
15108         * version.h (RELEASE): Set to "development".
15109         (VERSION): Set to "2.17.90".
15110         * NEWS: Add 2.18 section.
15112 2012-12-21  David S. Miller  <davem@davemloft.net>
15114         * po/hr.po: Update from translation team.
15116 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15118         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15120 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15122         * NEWS:  Mention new memcpy for MIPS.
15124 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15126         * manual/contrib.texi (Contributors): Spelling correction.
15128 2012-12-15  David S. Miller  <davem@davemloft.net>
15130         * po/ru.po: Update from translation team.
15132 2012-12-13  David S. Miller  <davem@davemloft.net>
15134         * NEWS: Mention IFUNC testsuite enhancements.
15136         * po/pl.po: Update from translation team.
15137         * po/bg.po: Likewise.
15139         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15140         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15142 2012-12-11  David S. Miller  <davem@davemloft.net>
15144         * po/sv.po: Update from translation team.
15146         * po/vi.po: Update from translation team.
15148         * po/cs.po: Update from translation team.
15150         * po/de.po: Update from translation team.
15151         * po/eo.po: Likewise.
15152         * po/nl.po: Likewise.
15154 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156         [BZ #14246]
15157         * manual/argp.texi (Argp Helper Functions): Move node to follow
15158         Argp Parsing State.
15160         [BZ #14872]
15161         * manual/conf.texi (Limits on File System Capacity): Mention if
15162         terminating null is included in the max size.
15164 2012-12-10  Andreas Jaeger  <aj@suse.de>
15166         * po/cs.po: Update from translation team.
15168 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15170         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15171         void pointer and cast to uintptr_t.
15172         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15173         path.
15174         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15175         * sysdeps/s390/s390-64/memset.S: Likewise.
15177 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15179         [BZ #14833]
15180         * menual/message.texi (Message Translation): Fix typos.
15181         (Helper programs for gettext): Likewise.
15183 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15185         [BZ #14898]
15186         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15187         Change to -1.
15189 2012-12-07  David S. Miller  <davem@davemloft.net>
15191         * po/libc.pot: Update.
15193 2012-12-07  Richard Henderson  <rth@redhat.com>
15195         [BZ #10114]
15196         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15197         normal/normal case to before the switch.
15198         (_FP_DIV): Likewise.
15200 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15201             Mike Frysinger  <vapier@gentoo.org>
15203         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15204         check for __NR_fadvise64_64.
15206 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15208         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15209         0, not just to plain "0" as a statement.
15210         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15211         with cw.
15213 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15215         * NEWS: Use sourceware.org in Bugzilla URL.
15217 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15220         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15222         * stdio-common/tst-put-error.c (do_test): Add newline to the
15223         padded test to ensure flush.
15225 2012-12-05  Jeff Law  <law@redhat.com>
15227         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15229 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15231         * README: Don't refer to ports add-on as distributed separately.
15232         Mention AArch64 in list of systems supported in the ports add-on.
15234         * LICENSES: Add more non-FSF copyright and license notices.
15236         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15237         ((unused)).
15239         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15241         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15242         10000 as width of padded output.
15244 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15246         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15249         variable LX with __attribute__ ((unused)).
15250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15251         Likewise.
15252         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15254         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15255         with __attribute__ ((unused)).
15257 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15259         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15261 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15263         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15264         (CFLAGS-nldbl-acos.c): New variable.
15265         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15266         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15267         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15268         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15269         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15270         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15271         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15272         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15273         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15274         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15275         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15276         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15277         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15278         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15279         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15280         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15281         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15282         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15283         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15284         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15285         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15286         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15287         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15288         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15289         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15290         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15291         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15292         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15293         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15294         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15295         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15296         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15297         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15298         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15299         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15300         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15301         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15302         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15303         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15304         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15305         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15306         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15307         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15308         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15309         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15310         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15311         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15312         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15313         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15314         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15315         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15316         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15317         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15318         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15319         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15320         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15321         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15322         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15323         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15324         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15325         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15326         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15327         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15328         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15329         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15330         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15331         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15332         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15333         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15334         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15335         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15336         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15337         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15338         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15339         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15340         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15341         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15342         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15343         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15344         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15345         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15346         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15347         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15348         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15349         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15350         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15351         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15352         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15353         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15354         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15355         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15356         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15357         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15358         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15359         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15360         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15361         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15364         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15366         [BZ #14914]
15367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15368         whole low double instead of just low 47 bits when splitting values
15369         into two parts.
15371 2012-12-03  Allan McRae  <allan@archlinux.org>
15373         * manual/stdio.texi (Predefined Printf Handlers): Remove
15374         @hsep and @vsep usage.
15376 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15378         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15379         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15381 2012-12-03  Jeff Law  <law@redhat.com>
15383         * time/sys/time.h (settimeofday): Do not mark TV argument
15384         as __nonnull.
15386 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15388         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15389         when currently writing and seek to current position when not.
15390         * libio/Makefile (tests): Remove bug-fclose1.
15391         * libio/bug-fclose1.c: Delete.
15393 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15395         * manual/arith.texi (feenableexcept): Fix typo.
15396         (fedisableexcept): Likewise.
15398 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15400         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15401         second, differently-typed declaration, rather than a cast.
15403 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15405         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15406         * include/rpc/svc.h: ... here.
15408 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15410         [BZ #13013]
15411         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15412         depending n and resplen2 to catch cases where answer
15413         equals answerp2.
15415 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15417         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15418         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15420 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15424 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15426         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15428 2012-11-28  Jeff Law  <law@redhat.com>
15430         [BZ #13761]
15431         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15432         dataset_temporary.  Track alloca usage into alloca_used.
15433         If dataset is large allocate and release it via malloc/free.
15435 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15437         [BZ #14197]
15438         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15440 2012-11-28  David S. Miller  <davem@davemloft.net>
15442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15444 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15446         [BZ #14803]
15447         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15448         of pi/2 rounded to nearest to 64 bits.
15449         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15450         nearest to 64 bits.
15451         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15452         bits.
15454 2012-11-28  Jeff Law <law@redhat.com>
15455             Martin Osvald <mosvald@redhat.com>
15457         [BZ #14889]
15458         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15459         * sunrpc/svc.c: Include time.h.
15460         (__svc_accept_failed): New function.
15461         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15462         any reason other than EINTR, call __svc_accept_failed.
15463         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15464         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15466 2012-11-28  Andreas Schwab  <schwab@suse.de>
15468         * scripts/abilist.awk: Also handle indirect functions in .opd
15469         section.
15471 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15473         [BZ #13881]
15474         * sysdeps/x86/fpu/powl_helper.c: New file.
15475         * sysdeps/x86/fpu/Makefile: Likewise.
15476         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15477         (p3): New object.
15478         (__ieee754_powl): Use __powl_helper for finite arguments except
15479         integer exponents below 8.
15480         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15481         (p3): New object.
15482         (__ieee754_powl): Use __powl_helper for finite arguments except
15483         integer exponents below 8.
15484         * math/libm-test.inc (pow_test): Add more tests and enable some
15485         previously disabled tests.
15486         * sysdeps/i386/fpu/libm-test-ulps: Update.
15487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15489 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15490             Carlos O'Donell  <carlos_odonell@mentor.com>
15492         * nss/makedb.c (is_prime): Assert that input is odd and greater
15493         than 4.  Note that fact in a comment too.
15494         (next_prime): Add 4 to input.
15496 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15498         [BZ #11741]
15499         * libio/Makefile (tests): Add test case tst-fwrite-error.
15500         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15501         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15502         * libio/tst-fwrite-error.c: New test case.
15504 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15506         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15507         before casting to void *.
15508         * include/libc-internal.h (__pointer_type): New macro.
15509         (__integer_if_pointer_type_sub): Likewise.
15510         (__integer_if_pointer_type): Likewise.
15511         (cast_to_integer): Likewise.
15512         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15513         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15514         before casting to atomic64_t.
15515         (atomic_exchange_acq): Likewise.
15516         (__arch_exchange_and_add_body): Likewise.
15517         (__arch_add_body): Likewise.
15518         (atomic_add_negative): Likewise.
15519         (atomic_add_zero): Likewise.
15521 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15523         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15524         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15525         (add_fdes): Likewise.
15526         (linear_search_fdes): Likewise.
15527         (binary_search_unencoded_fdes): Likewise.
15529 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15531         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15533 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15535         * configure.in: Autodetect C++ header directories.
15536         * configure: Regenerated.
15538 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15540         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15542 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15546 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15548         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15549         LDBL_MANT_DIG == 106]: Disable some tests.
15550         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15551         Likewise.
15552         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15553         Likewise.
15555         [BZ #14871]
15556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15557         input for small inputs.  Return +/- pi/2 for large inputs.
15558         * math/libm-test.inc (atan_test): Add more tests.
15560         * sysdeps/generic/unwind-dw2-fde-glibc.c
15561         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15562         __attribute__ ((unused)).
15564         [BZ #14645]
15565         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15566         x * y if x and y are nonzero and z is zero.
15568         [BZ #14811]
15569         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15570         nonzero exponents with absolute value below 0x1p-117 to +/-
15571         0x1p-117.
15573         [BZ #14869]
15574         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15575         up arguments below 2**-450, not just those below 2**-500.
15576         * math/libm-test.inc (hypot_test): Add another test.
15578         [BZ #14868]
15579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15580         Return a+b for ratio over 2**120, not 2**60.
15581         * math/libm-test.inc (hypot_test): Add another test.
15583         * math/libm-test.inc (clog_test): Use
15584         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15585         (clog10_test): Likewise.
15587         [BZ #6778]
15588         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15590 2012-11-22  Andreas Schwab  <schwab@suse.de>
15592         * sysdeps/i386/fpu/libm-test-ulps: Update.
15594 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15596         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15597         printf output with newline.
15599 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15601         [BZ #14865]
15602         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15603         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15604         -z nodlopen, -z initfirst and -z execstack support.
15605         * configure: Regenerated.
15607         * elf/elf.h (DF_1_NODIRECT): New macro.
15608         (DF_1_IGNMULDEF): Likewise.
15609         (DF_1_NOKSYMS): Likewise.
15610         (DF_1_NOHDR): Likewise.
15611         (DF_1_EDITED): Likewise.
15612         (DF_1_NORELOC): Likewise.
15613         (DF_1_SYMINTPOSE): Likewise.
15614         (DF_1_GLOBAUDIT): Likewise.
15615         (DF_1_SINGLETON): Likewise.
15616         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15617         DT_1_SUPPORTED_MASK bits.
15618         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15620 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15622         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15624 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15626         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15627         macro.
15629         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15630         (sendmmsg): Move declarations...
15631         * socket/sys/socket.h: ... here.
15632         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15633         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15634         include it from...
15635         * socket/recvmmsg.c: ... this new file.
15636         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15637         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15638         definition of __sendmmsg hidden.
15639         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15640         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15641         Move ENOSYS stub into and include it from...
15642         * socket/sendmmsg.c: ... this new file.
15643         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15644         (sysdep_routines): Move recvmmsg and sendmmsg...
15645         * socket/Makefile (routines): ... here.
15646         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15647         (GLIBC_PRIVATE): Add __sendmmsg.
15648         * include/sys/socket.h (__sendmmsg): Add declarations.
15649         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15650         sendmmsg.
15652 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15655         variable I1 with __attribute__ ((unused)).
15656         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15658 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15660         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15661         DUMMY variables with __attribute__ ((unused)).
15663         * bits/byteswap.h: Include <bits/types.h>.
15664         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15666 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15668         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15669         string_t.  Do not manually set errno.
15670         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15671         length with __strnlen.  Make sure to both set errno and return it on
15672         failure.
15674 2012-11-19  David S. Miller  <davem@davemloft.net>
15676         With help from Joseph Myers.
15677         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15678         very large arguments properly.
15679         * math/libm-test.inc (atan_test): New tests.
15680         (atan2_test): New tests.
15681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15684 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15686         [BZ #14856]
15687         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15688         Define to 3.
15690         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15691         [POSIX] (EADDRNOTAVAIL): Likewise.
15692         [POSIX] (EAFNOSUPPORT): Likewise.
15693         [POSIX] (EALREADY): Likewise.
15694         [POSIX] (ECONNABORTED): Likewise.
15695         [POSIX] (ECONNREFUSED): Likewise.
15696         [POSIX] (ECONNRESET): Likewise.
15697         [POSIX] (EDESTADDRREQ): Likewise.
15698         [POSIX] (EDQUOT): Likewise.
15699         [POSIX] (EHOSTUNREACH): Likewise.
15700         [POSIX] (EIDRM): Likewise.
15701         [POSIX] (EISCONN): Likewise.
15702         [POSIX] (ELOOP): Likewise.
15703         [POSIX] (EMULTIHOP): Likewise.
15704         [POSIX] (ENETDOWN): Likewise.
15705         [POSIX] (ENETUNREACH): Likewise.
15706         [POSIX] (ENOBUFS): Likewise.
15707         [POSIX] (ENODATA): Likewise.
15708         [POSIX] (ENOLINK): Likewise.
15709         [POSIX] (ENOMSG): Likewise.
15710         [POSIX] (ENOPROTOOPT): Likewise.
15711         [POSIX] (ENOSR): Likewise.
15712         [POSIX] (ENOSTR): Likewise.
15713         [POSIX] (ENOTCONN): Likewise.
15714         [POSIX] (ENOTSOCK): Likewise.
15715         [POSIX] (EOPNOTSUPP): Likewise.
15716         [POSIX] (EOVERFLOW): Likewise.
15717         [POSIX] (EPROTO): Likewise.
15718         [POSIX] (EPROTONOSUPPORT): Likewise.
15719         [POSIX] (EPROTOTYPE): Likewise.
15720         [POSIX] (ESTALE): Likewise.
15721         [POSIX] (ETIME): Likewise.
15722         [POSIX] (ETXTBSY): Likewise.
15723         [POSIX] (EWOULDBLOCK): Likewise.
15724         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15725         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15726         [POSIX] (SEEK_CUR): Likewise.
15727         [POSIX] (SEEK_END): Likewise.
15728         [POSIX || UNIX98] (mode_t): Do not require.
15729         [POSIX] (off_t): Likewise.
15730         [POSIX] (pid_t): Likewise.
15731         [POSIX] (sys/stat.h): Do not allow header.
15732         [POSIX] (unistd.h): Likewise.
15733         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15734         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15735         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15736         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15737         require.
15738         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15739         sigevent): Specify elements.
15740         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15741         entry.
15742         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15743         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15745         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15746         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15747         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15748         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15749         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15750         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15751         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15752         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15753         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15754         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15755         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15756         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15757         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15758         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15759         Likewise.
15760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15761         Likewise.
15762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15763         Likewise.
15764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15765         Likewise.
15766         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15768         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15769         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15770         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15771         Specify lower bound on value.
15772         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15773         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15774         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15775         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15776         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15777         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15778         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15779         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15780         value.
15781         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15782         as optional.
15783         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15784         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15785         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15786         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15787         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15788         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15789         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15790         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15791         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15792         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15793         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15794         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15795         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15796         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15797         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15798         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15799         entry.
15800         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15801         optional.
15802         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15803         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15804         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15805         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15806         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15808         Likewise.
15809         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15810         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15811         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15812         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15813         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15814         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15816         as optional.
15817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15818         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15820         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15821         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15822         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15823         specify as optional.
15824         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15825         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15826         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15827         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15828         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15829         [XPG3] (NL_LANGMAX): Likewise.
15830         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15831         [POSIX || XPG3] (NL_NMAX): Likewise.
15832         [POSIX || XPG3] (NL_SETMAX): Likewise.
15833         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15834         [XPG3] (NZERO): Likewise.
15835         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15836         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15837         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15838         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15839         (REG_ERANGE): Expect.
15840         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15841         optional-constant.
15842         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15843         Use (void) in prototype.
15844         [POSIX] (*_t): Allow.
15845         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15846         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15847         (WRDE_BADVAL): Expect.
15849         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15850         expect.
15851         [XPG3 || XPG4] (O_RSYNC): Likewise.
15852         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15853         Likewise.
15854         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15855         [XPG3 || XPG4] (sigqueue): Likewise.
15856         [XPG3 || XPG4] (sigtimedwait): Likewise.
15857         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15858         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15859         [XPG3 || XPG4] (vsnprintf): Likewise.
15860         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15861         Likewise.
15862         [XPG3 || XPG4] (blksize_t): Likewise.
15863         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15864         Likewise.
15865         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15866         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15867         [XPG3 || XPG4] (struct itimerspec): Likewise.
15868         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15869         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15870         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15871         [XPG3 || XPG4] (clockid_t): Likewise.
15872         [XPG3 || XPG4] (timer_t): Likewise.
15873         [XPG3 || XPG4] (clock_getres): Likewise.
15874         [XPG3 || XPG4] (clock_gettime): Likewise.
15875         [XPG3 || XPG4] (clock_settime): Likewise.
15876         [XPG3 || XPG4] (nanosleep): Likewise.
15877         [XPG3 || XPG4] (timer_create): Likewise.
15878         [XPG3 || XPG4] (timer_delete): Likewise.
15879         [XPG3 || XPG4] (timer_gettime): Likewise.
15880         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15881         [XPG3 || XPG4] (timer_settime): Likewise.
15882         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15883         [XPG3 || XPG4] (getlogin_r): Likewise.
15884         [XPG3 || XPG4] (pread): Likewise.
15885         [XPG3 || XPG4] (pthread_atfork): Likewise.
15886         [XPG3 || XPG4] (pwrite): Likewise.
15888         [BZ #14835]
15889         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15890         <bits/siginfo.h>.
15892 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15894         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15895         finalizing MALLSTREAM.
15897         * sysdeps/mach/hurd/syncfs.c: New file.
15899 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15901         [BZ #14719]
15902         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15903         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15905         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15906         (_nss_dns_gethostbyname4_r): Likewise.
15907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15908         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15910 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15912         [BZ #13763]
15913         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15915 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15917         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15918         * elf/cache.c (print_entry): Print ",AArch64" for
15919         FLAG_AARCH64_LIB64
15921         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15922         * elf/cache.c (print_entry): Print ",hard-float" for
15923         FLAG_ARM_LIBHF.
15925 2012-11-18  David S. Miller  <davem@davemloft.net>
15927         With help from Joseph Myers.
15928         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15929         cutoff to 2**-13.
15930         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15931         cutoff to 2**-25.
15932         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15933         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15934         small.
15935         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15936         * math/libm-test.inc (y0_test): New tests.
15937         (y1_test): New tests.
15938         * sysdeps/i386/fpu/libm-test-ulps: Update.
15939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15942 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15944         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15945         64-bit targets.
15946         * configure: Regenerated.
15948 2012-11-17  David S. Miller  <davem@davemloft.net>
15950         [BZ #14811]
15951         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15952         nonzero exponents with absolute value below 0x1p-128 to +/-
15953         0x1p-128.
15955 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15957         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15959         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15961         * posix/getconf-speclist.c: New file.
15962         * posix/posix-envs.def: Likewise.
15963         * posix/confstr.c (START_ENV_GROUP): New macro.
15964         (END_ENV_GROUP): Likewise.
15965         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15966         (KNOWN_PRESENT_ENV_STRING): Likewise.
15967         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15968         (UNKNOWN_ENVIRONMENT): Likewise.
15969         (confstr): Include posix-envs.def instead of handling
15970         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15971         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15972         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15973         (END_ENV_GROUP): Likewise.
15974         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15975         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15976         (UNKNOWN_ENVIRONMENT): Likewise.
15977         (__sysconf): Include posix-envs.def instead of handling associated
15978         cases directly here.
15979         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15980         preprocessing getconf-speclist.c rather than running getconf or
15981         generating empty file.
15983 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15985         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15987 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15989         [BZ #14672]
15990         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15992 2012-11-16  David S. Miller  <davem@davemloft.net>
15994         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15995         smaller than LDBL_EPSILON/2.0L, just return xm1.
15997 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15999         * elf/tst-array1.c (init): Set constructor priority to 1000.
16000         (fini): Set destructor priority to 1000.
16001         * elf/tst-array2dep.c: Likewise.
16003 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16005         [BZ #11741]
16006         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16007         (_IO_new_file_xsputn): Also return EOF if none of the input
16008         data was written when overflow failed.
16009         * libio/iopadn.c (_IO_padn): Likewise.
16010         * libio/iowpadn.c (_IO_wpadn): Likewise.
16011         * stdio-common/tst-put-error.c: Add copyright notice.
16012         (do_test): Add case for printing padded string.
16013         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16014         _IO_padn returned error.
16015         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16016         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16017         return EOF.
16019 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16021         * libio/libioP.h: Add comment note that the references to C++
16022         bits are now obsolete.
16024 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16026         * math/libm-test.inc (check_complex): Use asprintf.
16028 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16030         * debug/pcprofiledump.c (print_version): Update copyright year.
16031         * malloc/memusagestat.c (print_version): Likewise.
16033 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16035         [BZ #14831]
16036         * elf/Makefile (tests): Add tst-audit8.
16037         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16038         ($(objpfx)tst-audit8.out): New target.
16039         (tst-audit8-ENV): New variable.
16040         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16041         audit if l_reloc_result is NULL.
16042         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16043         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16044         * elf/tst-audit8.c: New file.
16046 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16048         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16049         * misc/Makefile (CFLAGS-select.c): Define.
16050         * posix/Makefile (CFLAGS-pause.c): Define.
16052 2012-11-13  David S. Miller  <davem@davemloft.net>
16054         * crypt/Makefile: Move test targets after toplevel Rules
16055         inclusion.  Grab any necessary sysdep routines when linking.
16056         * crypt/md5.c (md5_process_block): Remove define, we will always
16057         name it __md5_process_block.
16058         (md5_finish_ctx): Update md5_process_block call.
16059         (md5_stream): Likewise.
16060         (md5_process_bytes): Likewise.
16061         (md5_process_block): Rename to __md5_process_block and move to ...
16062         * crypt/md5-block.c: ... here.
16063         * crypt/sha256.c (sha256_process_block): Move to ...
16064         * crypt/sha256-block.c: ... here.
16065         * crypt/sha512.c (sha512_process_block): Move to ...
16066         * crypt/sha512-block.c: ... here.
16067         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16068         path.
16069         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16070         * sysdeps/sparc/sparc64/multiarch/Makefile
16071         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16072         crypt subdir.
16073         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16074         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16075         multiarch changes.
16076         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16077         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16078         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16079         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16080         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16081         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16082         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16083         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16085         file.
16086         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16088         file.
16089         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16091 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16093         * timezone/tzselect.ksh: Update from tzcode git revision
16094         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16095         * timezone/zdump.c: Likewise.
16096         * timezone/zic.c: Likewise.
16097         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16098         in TZVERSION setting, not $(PKGVERSION).
16099         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16100         REPORT_BUGS_TO settings.
16102         [BZ #14838]
16103         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16104         macro.
16106 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16109         detection to immediately after _FP_ROUND().
16110         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16111         bits are 0.
16113 2012-11-11  David S. Miller  <davem@davemloft.net>
16115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16116         inttypes.h
16117         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16118         __close rather than their public counterparts.
16120 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16122         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16123         file.
16124         [UNIX98] (sem_timedwait): Do not expect.
16125         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16126         [XPG4 || UNIX98] (sockatmark): Do not expect.
16127         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16128         (clock_getcpuclockid): Do not expect.
16129         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16130         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16131         Do not expect.
16132         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16133         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16134         [UNIX98] (vwscanf): Likewise.
16135         [UNIX98] (vswscanf): Likewise.
16137 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16139         * timezone/version.h: Remove file.
16140         * timezone/README: Do not refer to version.h.
16141         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16142         $(objpfx)version.h.
16143         ($(objpfx)zdump.o): Likewise.
16144         ($(objpfx)version.h): New target.
16146         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16147         2012i.
16148         * timezone/README: Don't mention modification to tzselect.ksh.
16149         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16150         work on unmodified tzselect.ksh.  Substitute version numbers in
16151         tzselect.ksh.
16153         * Makefile (format-me): Remove.
16154         (INSTALL): Adjust indentation.  Use commands directly instead of
16155         using $(format-me).
16157         * aclocal.m4 (ACX_PKGVERSION): New macro.
16158         (ACX_BUGURL): Likewise.
16159         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16160         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16161         (REPORT_BUGS_TO): Likewise.
16162         * configure: Regenerated.
16163         * config.h.in (PKGVERSION): New macro.
16164         (REPORT_BUGS_TO): Likewise.
16165         * config.make.in (PKGVERSION): New variable.
16166         (PKGVERSION_TEXI): Likewise.
16167         (REPORT_BUGS_TO): Likewise.
16168         (REPORT_BUGS_TEXI): Likewise.
16169         * Makefile (format-me): Use -I$(common-objpfx)manual.
16170         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16171         ($(common-objpfx)manual/%): New target.
16172         (manual/%): Remove target.
16173         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16174         (print_version): Use PKGVERSION.
16175         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16176         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16177         and REPORT_BUGS_TO.
16178         ($(objpfx)xtrace): Likewise.
16179         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16180         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16181         (print_version): Use PKGVERSION.
16182         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16183         (do_version): Use PKGVERSION.
16184         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16185         REPORT_BUGS_TO.
16186         (common-ldd-rewrite): Likewise.
16187         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16188         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16189         (print_version): Use PKGVERSION.
16190         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16191         * elf/pldd.c (argp_program_bug_address): Remove variable.
16192         (more_help): New function.
16193         (argp): Use more_help.
16194         (print_version): Use PKGVERSION.
16195         * elf/sln.c (main): Use PKGVERSION.
16196         (usage): Use REPORT_BUGS_TO.
16197         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16198         (top level): Use PKGVERSION.
16199         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16200         (print_version): Use PKGVERSION.
16201         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16202         (print_version): Use PKGVERSION.
16203         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16204         (print_version): Use PKGVERSION.
16205         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16206         (print_version): Use PKGVERSION.
16207         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16208         (print_version): Use PKGVERSION.
16209         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16210         (print_version): Use PKGVERSION.
16211         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16212         and BUGURL.
16213         ($(objpfx)memusage): Likewise.
16214         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16215         (do_version): Use PKGVERSION.
16216         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16217         (print_version): Use PKGVERSION.
16218         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16219         ($PKGVERSION): New variable.
16220         ($REPORT_BUGS_TO): Likewise.
16221         (usage): Use $REPORT_BUGS_TO.
16222         (top level): Use $PKGVERSION.
16223         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16224         ($(objpfx)pkgvers.texi): New rule.
16225         ($(objpfx)stamp-pkgvers): Likewise.
16226         * manual/install.texi: Include pkgvers.texi.
16227         (--with-pkgversion): Document new configure option.
16228         (--with-bugurl): Likewise.
16229         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16230         than necessarily for this particular distribution.  Use
16231         REPORT_BUGS_TO for where to report bugs.
16232         * INSTALL: Regenerated.
16233         * manual/libc.texinfo: Include pkgvers.texi.
16234         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16235         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16236         (print_version): Use PKGVERSION.
16237         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16238         (print_version): Use PKGVERSION.
16239         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16240         (print_version): Use PKGVERSION.
16241         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16242         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16243         macro.
16244         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16245         (print_version): Use PKGVERSION.
16246         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16247         (print_version): Use PKGVERSION.
16248         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16249         and PKGVERSION.
16251         * timezone/checktab.awk: Update from tzcode 2012i.
16252         * timezone/ialloc.c: Likewise.
16253         * timezone/private.h: Likewise.
16254         * timezone/scheck.c: Likewise.
16255         * timezone/tzfile.h: Likewise.
16256         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16257         (TZVERSION): Hardcode tzcode version number.
16258         * timezone/zdump.c: Update from tzcode 2012i.
16259         * timezone/zic.c: Likewise.
16260         * timezone/version.h: New file.
16261         * timezone/README: Describe version.h.  Update upstream location.
16263         [BZ #14824]
16264         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16265         (mktemp): Enable declaration.
16266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16270         Likewise.
16271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16272         Likewise.
16273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16274         Likewise.
16275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16276         Likewise.
16277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16278         Likewise.
16279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16280         Likewise.
16282         [BZ #14821]
16283         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16284         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16285         for copies of such integer values.
16286         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16287         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16289 2012-11-09  Andreas Jaeger  <aj@suse.de>
16291         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16292         definitions and declarations that are provided by
16293         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16295 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16297         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16298         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16299         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16300         definition.
16302 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16304         * elf/elf.h: Update comment before AArch64 relocations.
16306 2012-11-07  David S. Miller  <davem@davemloft.net>
16308         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16309         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16310         (__start_context): Declare.
16311         (__makecontext_ret): Delete.
16312         (__makecontext): Hook up __start_context instead of
16313         __makecontext_ret.
16314         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16315         (sysdep_routines): Add __start_context when in stdlib.
16317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16319         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16320         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16321         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16322         hardcoded "nm".
16323         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16324         (READELF): New variable.  Use it instead of hardcoded "readelf".
16326 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16328         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16329         * sysdeps/x86/Makefile: Here.
16330         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16331         * sysdeps/x86/tst-xmmymm.sh: This.
16333 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16335         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16336         expectations.
16337         [UNIX98] (pthread_barrier_t): Do not expect.
16338         [UNIX98] (pthread_barrierattr_t): Likewise.
16339         [UNIX98] (pthread_spinlock_t): Likewise.
16340         [UNIX98] (pthread_barrier_destroy): Likewise.
16341         [UNIX98] (pthread_barrier_init): Likewise.
16342         [UNIX98] (pthread_barrier_wait): Likewise.
16343         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16344         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16345         [UNIX98] (pthread_barrierattr_init): Likewise.
16346         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16347         [UNIX98] (pthread_getcpuclockid): Likewise.
16348         [UNIX98] (pthread_mutex_timedlock): Likewise.
16349         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16350         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16351         [UNIX98] (pthread_sigmask): Likewise.
16352         [UNIX98] (pthread_spin_destroy): Likewise.
16353         [UNIX98] (pthread_spin_init): Likewise.
16354         [UNIX98] (pthread_spin_lock): Likewise.
16355         [UNIX98] (pthread_spin_trylock): Likewise.
16356         [UNIX98] (pthread_spin_unlock): Likewise.
16357         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16358         Do not expect.
16359         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16360         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16361         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16362         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16363         [XPG3 || XPG4] (pthread_key_t): Likewise.
16364         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16365         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16366         [XPG3 || XPG4] (pthread_once_t): Likewise.
16367         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16368         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16369         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16370         [XPG3 || XPG4] (pthread_t): Likewise.
16372         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16373         not expect.
16374         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16376         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16377         Change function return type to int.
16379         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16380         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16381         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16382         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16383         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16384         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16385         [!POSIX] (posix_madvise): Likewise.
16386         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16387         && !UNIX98].
16388         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16389         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16390         (mode_t): Likewise.
16391         (posix_mem_offset): Likewise.
16392         (posix_typed_mem_get_info): Likewise.
16393         (posix_typed_mem_open): Likewise.
16395         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16396         Change condition to [XOPEN2K8].
16398         * conform/conformtest.pl: Preprocess allow-header data with -x c
16399         instead of from stdin.
16400         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16401         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16402         [C99-based standards] (cerfc): Likewise.
16403         [C99-based standards] (cexp2): Likewise.
16404         [C99-based standards] (cexpm1): Likewise.
16405         [C99-based standards] (clog10): Likewise.
16406         [C99-based standards] (clog1p): Likewise.
16407         [C99-based standards] (clog2): Likewise.
16408         [C99-based standards] (clgamma): Likewise.
16409         [C99-based standards] (ctgamma): Likewise.
16410         [C99-based standards] (cerff): Likewise.
16411         [C99-based standards] (cerfcf): Likewise.
16412         [C99-based standards] (cexp2f): Likewise.
16413         [C99-based standards] (cexpm1f): Likewise.
16414         [C99-based standards] (clog10f): Likewise.
16415         [C99-based standards] (clog1pf): Likewise.
16416         [C99-based standards] (clog2f): Likewise.
16417         [C99-based standards] (clgammaf): Likewise.
16418         [C99-based standards] (ctgammaf): Likewise.
16419         [C99-based standards] (cerfl): Likewise.
16420         [C99-based standards] (cerfcl): Likewise.
16421         [C99-based standards] (cexp2l): Likewise.
16422         [C99-based standards] (cexpm1l): Likewise.
16423         [C99-based standards] (clog10l): Likewise.
16424         [C99-based standards] (clog1pl): Likewise.
16425         [C99-based standards] (clog2l): Likewise.
16426         [C99-based standards] (clgammal): Likewise.
16427         [C99-based standards] (ctgammal): Likewise.
16428         * conform/data/inttypes.h-data [C99-based standards]: Include
16429         stdint.h-data.  Remove all expectations for stdint.h contents.
16430         [C99-based standards] (PRI*): Do not allow.
16431         [C99-based standards] (SCN*): Likewise.
16432         [C99-based standards] (*_t): Likewise.
16433         [C99-based-standards] (PRId8): Expect macro.
16434         [C99-based-standards] (PRIi8): Likewise.
16435         [C99-based-standards] (PRIo8): Likewise.
16436         [C99-based-standards] (PRIu8): Likewise.
16437         [C99-based-standards] (PRIx8): Likewise.
16438         [C99-based-standards] (PRIX8): Likewise.
16439         [C99-based-standards] (SCNd8): Likewise.
16440         [C99-based-standards] (SCNi8): Likewise.
16441         [C99-based-standards] (SCNo8): Likewise.
16442         [C99-based-standards] (SCNu8): Likewise.
16443         [C99-based-standards] (SCNx8): Likewise.
16444         [C99-based-standards] (PRIdLEAST8): Likewise.
16445         [C99-based-standards] (PRIiLEAST8): Likewise.
16446         [C99-based-standards] (PRIoLEAST8): Likewise.
16447         [C99-based-standards] (PRIuLEAST8): Likewise.
16448         [C99-based-standards] (PRIxLEAST8): Likewise.
16449         [C99-based-standards] (PRIXLEAST8): Likewise.
16450         [C99-based-standards] (SCNdLEAST8): Likewise.
16451         [C99-based-standards] (SCNiLEAST8): Likewise.
16452         [C99-based-standards] (SCNoLEAST8): Likewise.
16453         [C99-based-standards] (SCNuLEAST8): Likewise.
16454         [C99-based-standards] (SCNxLEAST8): Likewise.
16455         [C99-based-standards] (PRIdFAST8): Likewise.
16456         [C99-based-standards] (PRIiFAST8): Likewise.
16457         [C99-based-standards] (PRIoFAST8): Likewise.
16458         [C99-based-standards] (PRIuFAST8): Likewise.
16459         [C99-based-standards] (PRIxFAST8): Likewise.
16460         [C99-based-standards] (PRIXFAST8): Likewise.
16461         [C99-based-standards] (SCNdFAST8): Likewise.
16462         [C99-based-standards] (SCNiFAST8): Likewise.
16463         [C99-based-standards] (SCNoFAST8): Likewise.
16464         [C99-based-standards] (SCNuFAST8): Likewise.
16465         [C99-based-standards] (SCNxFAST8): Likewise.
16466         [C99-based-standards] (PRId16): Likewise.
16467         [C99-based-standards] (PRIi16): Likewise.
16468         [C99-based-standards] (PRIo16): Likewise.
16469         [C99-based-standards] (PRIu16): Likewise.
16470         [C99-based-standards] (PRIx16): Likewise.
16471         [C99-based-standards] (PRIX16): Likewise.
16472         [C99-based-standards] (SCNd16): Likewise.
16473         [C99-based-standards] (SCNi16): Likewise.
16474         [C99-based-standards] (SCNo16): Likewise.
16475         [C99-based-standards] (SCNu16): Likewise.
16476         [C99-based-standards] (SCNx16): Likewise.
16477         [C99-based-standards] (PRIdLEAST16): Likewise.
16478         [C99-based-standards] (PRIiLEAST16): Likewise.
16479         [C99-based-standards] (PRIoLEAST16): Likewise.
16480         [C99-based-standards] (PRIuLEAST16): Likewise.
16481         [C99-based-standards] (PRIxLEAST16): Likewise.
16482         [C99-based-standards] (PRIXLEAST16): Likewise.
16483         [C99-based-standards] (SCNdLEAST16): Likewise.
16484         [C99-based-standards] (SCNiLEAST16): Likewise.
16485         [C99-based-standards] (SCNoLEAST16): Likewise.
16486         [C99-based-standards] (SCNuLEAST16): Likewise.
16487         [C99-based-standards] (SCNxLEAST16): Likewise.
16488         [C99-based-standards] (PRIdFAST16): Likewise.
16489         [C99-based-standards] (PRIiFAST16): Likewise.
16490         [C99-based-standards] (PRIoFAST16): Likewise.
16491         [C99-based-standards] (PRIuFAST16): Likewise.
16492         [C99-based-standards] (PRIxFAST16): Likewise.
16493         [C99-based-standards] (PRIXFAST16): Likewise.
16494         [C99-based-standards] (SCNdFAST16): Likewise.
16495         [C99-based-standards] (SCNiFAST16): Likewise.
16496         [C99-based-standards] (SCNoFAST16): Likewise.
16497         [C99-based-standards] (SCNuFAST16): Likewise.
16498         [C99-based-standards] (SCNxFAST16): Likewise.
16499         [C99-based-standards] (PRId32): Likewise.
16500         [C99-based-standards] (PRIi32): Likewise.
16501         [C99-based-standards] (PRIo32): Likewise.
16502         [C99-based-standards] (PRIu32): Likewise.
16503         [C99-based-standards] (PRIx32): Likewise.
16504         [C99-based-standards] (PRIX32): Likewise.
16505         [C99-based-standards] (SCNd32): Likewise.
16506         [C99-based-standards] (SCNi32): Likewise.
16507         [C99-based-standards] (SCNo32): Likewise.
16508         [C99-based-standards] (SCNu32): Likewise.
16509         [C99-based-standards] (SCNx32): Likewise.
16510         [C99-based-standards] (PRIdLEAST32): Likewise.
16511         [C99-based-standards] (PRIiLEAST32): Likewise.
16512         [C99-based-standards] (PRIoLEAST32): Likewise.
16513         [C99-based-standards] (PRIuLEAST32): Likewise.
16514         [C99-based-standards] (PRIxLEAST32): Likewise.
16515         [C99-based-standards] (PRIXLEAST32): Likewise.
16516         [C99-based-standards] (SCNdLEAST32): Likewise.
16517         [C99-based-standards] (SCNiLEAST32): Likewise.
16518         [C99-based-standards] (SCNoLEAST32): Likewise.
16519         [C99-based-standards] (SCNuLEAST32): Likewise.
16520         [C99-based-standards] (SCNxLEAST32): Likewise.
16521         [C99-based-standards] (PRIdFAST32): Likewise.
16522         [C99-based-standards] (PRIiFAST32): Likewise.
16523         [C99-based-standards] (PRIoFAST32): Likewise.
16524         [C99-based-standards] (PRIuFAST32): Likewise.
16525         [C99-based-standards] (PRIxFAST32): Likewise.
16526         [C99-based-standards] (PRIXFAST32): Likewise.
16527         [C99-based-standards] (SCNdFAST32): Likewise.
16528         [C99-based-standards] (SCNiFAST32): Likewise.
16529         [C99-based-standards] (SCNoFAST32): Likewise.
16530         [C99-based-standards] (SCNuFAST32): Likewise.
16531         [C99-based-standards] (SCNxFAST32): Likewise.
16532         [C99-based-standards] (PRId64): Likewise.
16533         [C99-based-standards] (PRIi64): Likewise.
16534         [C99-based-standards] (PRIo64): Likewise.
16535         [C99-based-standards] (PRIu64): Likewise.
16536         [C99-based-standards] (PRIx64): Likewise.
16537         [C99-based-standards] (PRIX64): Likewise.
16538         [C99-based-standards] (SCNd64): Likewise.
16539         [C99-based-standards] (SCNi64): Likewise.
16540         [C99-based-standards] (SCNo64): Likewise.
16541         [C99-based-standards] (SCNu64): Likewise.
16542         [C99-based-standards] (SCNx64): Likewise.
16543         [C99-based-standards] (PRIdLEAST64): Likewise.
16544         [C99-based-standards] (PRIiLEAST64): Likewise.
16545         [C99-based-standards] (PRIoLEAST64): Likewise.
16546         [C99-based-standards] (PRIuLEAST64): Likewise.
16547         [C99-based-standards] (PRIxLEAST64): Likewise.
16548         [C99-based-standards] (PRIXLEAST64): Likewise.
16549         [C99-based-standards] (SCNdLEAST64): Likewise.
16550         [C99-based-standards] (SCNiLEAST64): Likewise.
16551         [C99-based-standards] (SCNoLEAST64): Likewise.
16552         [C99-based-standards] (SCNuLEAST64): Likewise.
16553         [C99-based-standards] (SCNxLEAST64): Likewise.
16554         [C99-based-standards] (PRIdFAST64): Likewise.
16555         [C99-based-standards] (PRIiFAST64): Likewise.
16556         [C99-based-standards] (PRIoFAST64): Likewise.
16557         [C99-based-standards] (PRIuFAST64): Likewise.
16558         [C99-based-standards] (PRIxFAST64): Likewise.
16559         [C99-based-standards] (PRIXFAST64): Likewise.
16560         [C99-based-standards] (SCNdFAST64): Likewise.
16561         [C99-based-standards] (SCNiFAST64): Likewise.
16562         [C99-based-standards] (SCNoFAST64): Likewise.
16563         [C99-based-standards] (SCNuFAST64): Likewise.
16564         [C99-based-standards] (SCNxFAST64): Likewise.
16565         [C99-based-standards] (PRIdMAX): Likewise.
16566         [C99-based-standards] (PRIiMAX): Likewise.
16567         [C99-based-standards] (PRIoMAX): Likewise.
16568         [C99-based-standards] (PRIuMAX): Likewise.
16569         [C99-based-standards] (PRIxMAX): Likewise.
16570         [C99-based-standards] (PRIXMAX): Likewise.
16571         [C99-based-standards] (SCNdMAX): Likewise.
16572         [C99-based-standards] (SCNiMAX): Likewise.
16573         [C99-based-standards] (SCNoMAX): Likewise.
16574         [C99-based-standards] (SCNuMAX): Likewise.
16575         [C99-based-standards] (SCNxMAX): Likewise.
16576         [C99-based-standards] (PRIdPTR): Likewise.
16577         [C99-based-standards] (PRIiPTR): Likewise.
16578         [C99-based-standards] (PRIoPTR): Likewise.
16579         [C99-based-standards] (PRIuPTR): Likewise.
16580         [C99-based-standards] (PRIxPTR): Likewise.
16581         [C99-based-standards] (PRIXPTR): Likewise.
16582         [C99-based-standards] (SCNdPTR): Likewise.
16583         [C99-based-standards] (SCNiPTR): Likewise.
16584         [C99-based-standards] (SCNoPTR): Likewise.
16585         [C99-based-standards] (SCNuPTR): Likewise.
16586         [C99-based-standards] (SCNxPTR): Likewise.
16587         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16588         allow.
16589         * conform/data/stdint.h-data: Update comments to clarify
16590         requirements.
16591         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16592         type.
16593         [C99-based standards] (INT8_MAX): Likewise.
16594         [C99-based standards] (INT16_MIN): Likewise.
16595         [C99-based standards] (INT16_MAX): Likewise.
16596         [C99-based standards] (INT32_MIN): Likewise.
16597         [C99-based standards] (INT32_MAX): Likewise.
16598         [C99-based standards] (INT64_MIN): Likewise.
16599         [C99-based standards] (INT64_MAX): Likewise.
16600         [C99-based standards] (UINT8_MAX): Likewise.
16601         [C99-based standards] (UINT16_MAX): Likewise.
16602         [C99-based standards] (UINT32_MAX): Likewise.
16603         [C99-based standards] (UINT64_MAX): Likewise.
16604         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16605         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16606         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16607         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16608         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16609         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16610         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16611         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16612         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16613         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16614         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16615         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16616         [C99-based standards] (INT_FAST8_MIN): Likewise.
16617         [C99-based standards] (INT_FAST8_MAX): Likewise.
16618         [C99-based standards] (INT_FAST16_MIN): Likewise.
16619         [C99-based standards] (INT_FAST16_MAX): Likewise.
16620         [C99-based standards] (INT_FAST32_MIN): Likewise.
16621         [C99-based standards] (INT_FAST32_MAX): Likewise.
16622         [C99-based standards] (INT_FAST64_MIN): Likewise.
16623         [C99-based standards] (INT_FAST64_MAX): Likewise.
16624         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16625         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16626         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16627         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16628         [C99-based standards] (INTPTR_MIN): Likewise.
16629         [C99-based standards] (INTPTR_MAX): Likewise.
16630         [C99-based standards] (UINTPTR_MAX): Likewise.
16631         [C99-based standards] (INTMAX_MIN): Likewise.
16632         [C99-based standards] (INTMAX_MAX): Likewise.
16633         [C99-based standards] (UINTMAX_MAX): Likewise.
16634         [C99-based standards] (PTRDIFF_MIN): Likewise.
16635         [C99-based standards] (PTRDIFF_MAX): Likewise.
16636         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16637         [C99-based standards] (SIZE_MAX): Likewise.
16638         [C99-based standards] (WCHAR_MAX): Likewise.
16639         [C99-based standards] (WINT_MAX): Likewise.
16640         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16641         constraint on value.
16642         [C99-based standards] (WCHAR_MIN): Likewise.
16643         [C99-based standards] (WINT_MIN): Likewise.
16644         [C99-based standards] (*_t): Allow.
16645         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16646         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16647         Include math.h-data and complex.h-data.  Remove all expectations
16648         of math.h and complex.h contents.
16649         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16650         at end of line.
16651         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16652         (struct tm): Expect tag.
16653         [C99-based-standards] (wcstof): Expect function.
16654         [C99-based-standards] (wcstold): Likewise.
16655         [C99-based-standards] (wcstoll): Likewise.
16656         [C99-based-standards] (wcstoull): Likewise.
16657         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16658         macro-int-constant.  Specify type.
16659         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16660         constraint on value.
16661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16662         Specify type.
16663         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16664         Specify value.
16665         [ISO C standards]: Do not allow headers.
16666         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16667         wcs[abcdefghijklmnopqrstuvwxyz]*.
16668         [ISO C standards] (*_t): Do not allow.
16669         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16670         Expect function.
16671         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16672         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16673         Specify type.
16674         [ISO C standards]: Do not allow headers.
16675         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16676         is[abcdefghijklmnopqrstuvwxyz]*.
16677         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16678         to[abcdefghijklmnopqrstuvwxyz]*.
16679         [ISO C standards] (*_t): Do not allow.
16680         * conform/data/stdalign.h-data: New file.
16681         * conform/data/stdbool.h-data: Likewise.
16682         * conform/data/stdnoreturn.h-data: Likewise.
16684 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16686         [BZ #14815]
16687         * manual/filesys.texi (Directory Entries): Typo fix.
16688         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16690 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16692         * elf/elf.h (EM_AARCH64): New macro.
16693         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16694         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16695         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16696         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16697         (R_AARCH64_TLSDESC): Likewise.
16698         (NT_ARM_TLS): Likewise.
16699         (NT_ARM_HW_BREAK): Likewise.
16700         (NT_ARM_HW_WATCH): Likewise.
16702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #14811]
16705         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16706         (__ieee754_powl): Saturate nonzero exponents with absolute value
16707         below 0x1p-79 to +/- 0x1p-79.
16708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16709         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16710         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16711         nonzero exponents with absolute value below 0x1p-32 to +/-
16712         0x1p-32.
16713         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16714         (__ieee754_powl): Saturate nonzero exponents with absolute value
16715         below 0x1p-79 to +/- 0x1p-79.
16716         * math/libm-test.inc (pow_test): Add more tests.
16718 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16720         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16721         _dl_s390_cap_flags with kernel. Increase string length.
16722         (_dl_s390_platforms): Add z196 and zEC12.
16724 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16726         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16727         Change XOPEN21K to XOPEN2K.
16729 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16731         * string/memmove.c: Use memcpy when possible.
16733 2012-11-06  Andreas Jaeger  <aj@suse.de>
16735         * po/eo.po: Update from translation team.
16737 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #14793]
16740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16741         exponent and small x and y exponents, scale x or y up.  Increase
16742         by 2 the exponent used in scaling up.
16743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16745         * math/libm-test.inc (fma_test): Add more tests.
16746         (fma_test_towardzero): Likewise.
16747         (fma_test_downward): Likewise.
16748         (fma_test_upward): Likewise.
16750 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16752         [BZ #14805]
16753         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16754         fenv_t *.
16756         [BZ #14801]
16757         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16758         namespace for names of struct fields.
16759         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16760         fenv_t fields.
16761         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16762         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16764 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16766         [BZ #3665]
16767         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16769 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16771         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16772         PTR_DEMANGLE.
16774         [BZ #5246]
16775         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16776         PTR_DEMANGLE.
16778 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16780         [BZ #14797]
16781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16782         definitely overflow as x * y not x * y + z.
16783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16785         * math/libm-test.inc (fma_test): Add more tests.
16786         (fma_test_towardzero): Likewise.
16787         (fma_test_downward): Likewise.
16788         (fma_test_upward): Likewise.
16790 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16792         [BZ #157]
16794         * include/stub-tag.h: Remove file.
16795         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16796         '#include' of it.
16797         * manual/maint.texi (Porting): Don't reference it.
16798         * Makerules ($(objpfx)stubs): Likewise.
16799         * dirent/closedir.c: Don't include <stub-tag.h>.
16800         * dirent/dirfd.c: Likewise.
16801         * dirent/fdopendir.c: Likewise.
16802         * dirent/getdents.c: Likewise.
16803         * dirent/getdents64.c: Likewise.
16804         * dirent/opendir.c: Likewise.
16805         * dirent/readdir.c: Likewise.
16806         * dirent/readdir64.c: Likewise.
16807         * dirent/readdir64_r.c: Likewise.
16808         * dirent/readdir_r.c: Likewise.
16809         * dirent/rewinddir.c: Likewise.
16810         * dirent/seekdir.c: Likewise.
16811         * dirent/telldir.c: Likewise.
16812         * gmon/profil.c: Likewise.
16813         * grp/setgroups.c: Likewise.
16814         * inet/if_index.c: Likewise.
16815         * io/access.c: Likewise.
16816         * io/chdir.c: Likewise.
16817         * io/chmod.c: Likewise.
16818         * io/chown.c: Likewise.
16819         * io/close.c: Likewise.
16820         * io/dup.c: Likewise.
16821         * io/dup2.c: Likewise.
16822         * io/dup3.c: Likewise.
16823         * io/euidaccess.c: Likewise.
16824         * io/faccessat.c: Likewise.
16825         * io/fchdir.c: Likewise.
16826         * io/fchmod.c: Likewise.
16827         * io/fchmodat.c: Likewise.
16828         * io/fchown.c: Likewise.
16829         * io/fchownat.c: Likewise.
16830         * io/fcntl.c: Likewise.
16831         * io/flock.c: Likewise.
16832         * io/fstatfs.c: Likewise.
16833         * io/fstatfs64.c: Likewise.
16834         * io/fstatvfs.c: Likewise.
16835         * io/fstatvfs64.c: Likewise.
16836         * io/futimens.c: Likewise.
16837         * io/fxstat.c: Likewise.
16838         * io/fxstat64.c: Likewise.
16839         * io/fxstatat.c: Likewise.
16840         * io/fxstatat64.c: Likewise.
16841         * io/getcwd.c: Likewise.
16842         * io/isatty.c: Likewise.
16843         * io/lchmod.c: Likewise.
16844         * io/lchown.c: Likewise.
16845         * io/link.c: Likewise.
16846         * io/linkat.c: Likewise.
16847         * io/lseek.c: Likewise.
16848         * io/lseek64.c: Likewise.
16849         * io/lxstat64.c: Likewise.
16850         * io/mkdir.c: Likewise.
16851         * io/mkdirat.c: Likewise.
16852         * io/mkfifo.c: Likewise.
16853         * io/mkfifoat.c: Likewise.
16854         * io/open.c: Likewise.
16855         * io/open64.c: Likewise.
16856         * io/openat.c: Likewise.
16857         * io/openat64.c: Likewise.
16858         * io/pipe.c: Likewise.
16859         * io/pipe2.c: Likewise.
16860         * io/poll.c: Likewise.
16861         * io/posix_fadvise.c: Likewise.
16862         * io/posix_fadvise64.c: Likewise.
16863         * io/posix_fallocate.c: Likewise.
16864         * io/posix_fallocate64.c: Likewise.
16865         * io/read.c: Likewise.
16866         * io/readlink.c: Likewise.
16867         * io/readlinkat.c: Likewise.
16868         * io/rmdir.c: Likewise.
16869         * io/sendfile.c: Likewise.
16870         * io/sendfile64.c: Likewise.
16871         * io/statfs.c: Likewise.
16872         * io/statfs64.c: Likewise.
16873         * io/statvfs.c: Likewise.
16874         * io/statvfs64.c: Likewise.
16875         * io/symlink.c: Likewise.
16876         * io/symlinkat.c: Likewise.
16877         * io/ttyname.c: Likewise.
16878         * io/ttyname_r.c: Likewise.
16879         * io/umask.c: Likewise.
16880         * io/unlink.c: Likewise.
16881         * io/unlinkat.c: Likewise.
16882         * io/utime.c: Likewise.
16883         * io/utimensat.c: Likewise.
16884         * io/write.c: Likewise.
16885         * io/xmknod.c: Likewise.
16886         * io/xmknodat.c: Likewise.
16887         * io/xstat.c: Likewise.
16888         * io/xstat64.c: Likewise.
16889         * login/getpt.c: Likewise.
16890         * login/grantpt.c: Likewise.
16891         * login/unlockpt.c: Likewise.
16892         * math/e_acoshl.c: Likewise.
16893         * math/e_acosl.c: Likewise.
16894         * math/e_asinl.c: Likewise.
16895         * math/e_atan2l.c: Likewise.
16896         * math/e_atanhl.c: Likewise.
16897         * math/e_coshl.c: Likewise.
16898         * math/e_expl.c: Likewise.
16899         * math/e_fmodl.c: Likewise.
16900         * math/e_gammal_r.c: Likewise.
16901         * math/e_hypotl.c: Likewise.
16902         * math/e_j0l.c: Likewise.
16903         * math/e_j1l.c: Likewise.
16904         * math/e_jnl.c: Likewise.
16905         * math/e_lgammal_r.c: Likewise.
16906         * math/e_log10l.c: Likewise.
16907         * math/e_log2l.c: Likewise.
16908         * math/e_logl.c: Likewise.
16909         * math/e_powl.c: Likewise.
16910         * math/e_rem_pio2l.c: Likewise.
16911         * math/e_sinhl.c: Likewise.
16912         * math/e_sqrtl.c: Likewise.
16913         * math/fclrexcpt.c: Likewise.
16914         * math/fedisblxcpt.c: Likewise.
16915         * math/feenablxcpt.c: Likewise.
16916         * math/fegetenv.c: Likewise.
16917         * math/fegetexcept.c: Likewise.
16918         * math/fegetround.c: Likewise.
16919         * math/feholdexcpt.c: Likewise.
16920         * math/fesetenv.c: Likewise.
16921         * math/fesetround.c: Likewise.
16922         * math/feupdateenv.c: Likewise.
16923         * math/fgetexcptflg.c: Likewise.
16924         * math/fraiseexcpt.c: Likewise.
16925         * math/fsetexcptflg.c: Likewise.
16926         * math/ftestexcept.c: Likewise.
16927         * math/k_cosl.c: Likewise.
16928         * math/k_rem_pio2l.c: Likewise.
16929         * math/k_sinl.c: Likewise.
16930         * math/k_tanl.c: Likewise.
16931         * math/s_asinhl.c: Likewise.
16932         * math/s_atanl.c: Likewise.
16933         * math/s_cbrtl.c: Likewise.
16934         * math/s_erfl.c: Likewise.
16935         * math/s_expm1l.c: Likewise.
16936         * math/s_log1pl.c: Likewise.
16937         * math/s_tanhl.c: Likewise.
16938         * misc/acct.c: Likewise.
16939         * misc/brk.c: Likewise.
16940         * misc/chflags.c: Likewise.
16941         * misc/chroot.c: Likewise.
16942         * misc/fchflags.c: Likewise.
16943         * misc/fgetxattr.c: Likewise.
16944         * misc/flistxattr.c: Likewise.
16945         * misc/fremovexattr.c: Likewise.
16946         * misc/fsetxattr.c: Likewise.
16947         * misc/fsync.c: Likewise.
16948         * misc/ftruncate.c: Likewise.
16949         * misc/futimes.c: Likewise.
16950         * misc/futimesat.c: Likewise.
16951         * misc/getdomain.c: Likewise.
16952         * misc/getdtsz.c: Likewise.
16953         * misc/gethostid.c: Likewise.
16954         * misc/gethostname.c: Likewise.
16955         * misc/getloadavg.c: Likewise.
16956         * misc/getpagesize.c: Likewise.
16957         * misc/getsysstats.c: Likewise.
16958         * misc/getxattr.c: Likewise.
16959         * misc/gtty.c: Likewise.
16960         * misc/ioctl.c: Likewise.
16961         * misc/lgetxattr.c: Likewise.
16962         * misc/listxattr.c: Likewise.
16963         * misc/llistxattr.c: Likewise.
16964         * misc/lremovexattr.c: Likewise.
16965         * misc/lsetxattr.c: Likewise.
16966         * misc/lutimes.c: Likewise.
16967         * misc/madvise.c: Likewise.
16968         * misc/mincore.c: Likewise.
16969         * misc/mlock.c: Likewise.
16970         * misc/mlockall.c: Likewise.
16971         * misc/mmap.c: Likewise.
16972         * misc/mprotect.c: Likewise.
16973         * misc/msync.c: Likewise.
16974         * misc/munlock.c: Likewise.
16975         * misc/munlockall.c: Likewise.
16976         * misc/munmap.c: Likewise.
16977         * misc/preadv.c: Likewise.
16978         * misc/preadv64.c: Likewise.
16979         * misc/ptrace.c: Likewise.
16980         * misc/pwritev.c: Likewise.
16981         * misc/pwritev64.c: Likewise.
16982         * misc/readv.c: Likewise.
16983         * misc/reboot.c: Likewise.
16984         * misc/remap_file_pages.c: Likewise.
16985         * misc/removexattr.c: Likewise.
16986         * misc/revoke.c: Likewise.
16987         * misc/select.c: Likewise.
16988         * misc/setdomain.c: Likewise.
16989         * misc/setegid.c: Likewise.
16990         * misc/seteuid.c: Likewise.
16991         * misc/sethostid.c: Likewise.
16992         * misc/sethostname.c: Likewise.
16993         * misc/setregid.c: Likewise.
16994         * misc/setreuid.c: Likewise.
16995         * misc/setxattr.c: Likewise.
16996         * misc/sstk.c: Likewise.
16997         * misc/stty.c: Likewise.
16998         * misc/swapoff.c: Likewise.
16999         * misc/swapon.c: Likewise.
17000         * misc/sync.c: Likewise.
17001         * misc/syncfs.c: Likewise.
17002         * misc/syscall.c: Likewise.
17003         * misc/truncate.c: Likewise.
17004         * misc/ualarm.c: Likewise.
17005         * misc/usleep.c: Likewise.
17006         * misc/ustat.c: Likewise.
17007         * misc/utimes.c: Likewise.
17008         * misc/vhangup.c: Likewise.
17009         * misc/writev.c: Likewise.
17010         * posix/_exit.c: Likewise.
17011         * posix/alarm.c: Likewise.
17012         * posix/execve.c: Likewise.
17013         * posix/fexecve.c: Likewise.
17014         * posix/fork.c: Likewise.
17015         * posix/fpathconf.c: Likewise.
17016         * posix/getaddrinfo.c: Likewise.
17017         * posix/getegid.c: Likewise.
17018         * posix/geteuid.c: Likewise.
17019         * posix/getgid.c: Likewise.
17020         * posix/getgroups.c: Likewise.
17021         * posix/getlogin.c: Likewise.
17022         * posix/getlogin_r.c: Likewise.
17023         * posix/getpgid.c: Likewise.
17024         * posix/getpid.c: Likewise.
17025         * posix/getppid.c: Likewise.
17026         * posix/getresgid.c: Likewise.
17027         * posix/getresuid.c: Likewise.
17028         * posix/getsid.c: Likewise.
17029         * posix/getuid.c: Likewise.
17030         * posix/glob64.c: Likewise.
17031         * posix/nanosleep.c: Likewise.
17032         * posix/pathconf.c: Likewise.
17033         * posix/pause.c: Likewise.
17034         * posix/posix_madvise.c: Likewise.
17035         * posix/pread.c: Likewise.
17036         * posix/pread64.c: Likewise.
17037         * posix/pwrite.c: Likewise.
17038         * posix/pwrite64.c: Likewise.
17039         * posix/sched_getaffinity.c: Likewise.
17040         * posix/sched_getp.c: Likewise.
17041         * posix/sched_gets.c: Likewise.
17042         * posix/sched_primax.c: Likewise.
17043         * posix/sched_primin.c: Likewise.
17044         * posix/sched_rr_gi.c: Likewise.
17045         * posix/sched_setaffinity.c: Likewise.
17046         * posix/sched_setp.c: Likewise.
17047         * posix/sched_sets.c: Likewise.
17048         * posix/sched_yield.c: Likewise.
17049         * posix/setgid.c: Likewise.
17050         * posix/setlogin.c: Likewise.
17051         * posix/setpgid.c: Likewise.
17052         * posix/setresgid.c: Likewise.
17053         * posix/setresuid.c: Likewise.
17054         * posix/setsid.c: Likewise.
17055         * posix/setuid.c: Likewise.
17056         * posix/sleep.c: Likewise.
17057         * posix/spawni.c: Likewise.
17058         * posix/sysconf.c: Likewise.
17059         * posix/times.c: Likewise.
17060         * posix/wait.c: Likewise.
17061         * posix/wait3.c: Likewise.
17062         * posix/wait4.c: Likewise.
17063         * posix/waitpid.c: Likewise.
17064         * resolv/gai_sigqueue.c: Likewise.
17065         * resource/getpriority.c: Likewise.
17066         * resource/getrlimit.c: Likewise.
17067         * resource/getrusage.c: Likewise.
17068         * resource/nice.c: Likewise.
17069         * resource/setpriority.c: Likewise.
17070         * resource/setrlimit.c: Likewise.
17071         * resource/ulimit.c: Likewise.
17072         * rt/aio_cancel.c: Likewise.
17073         * rt/aio_fsync.c: Likewise.
17074         * rt/aio_read.c: Likewise.
17075         * rt/aio_sigqueue.c: Likewise.
17076         * rt/aio_suspend.c: Likewise.
17077         * rt/aio_write.c: Likewise.
17078         * rt/clock_getres.c: Likewise.
17079         * rt/clock_gettime.c: Likewise.
17080         * rt/clock_nanosleep.c: Likewise.
17081         * rt/clock_settime.c: Likewise.
17082         * rt/lio_listio.c: Likewise.
17083         * rt/mq_close.c: Likewise.
17084         * rt/mq_getattr.c: Likewise.
17085         * rt/mq_notify.c: Likewise.
17086         * rt/mq_open.c: Likewise.
17087         * rt/mq_receive.c: Likewise.
17088         * rt/mq_send.c: Likewise.
17089         * rt/mq_setattr.c: Likewise.
17090         * rt/mq_timedreceive.c: Likewise.
17091         * rt/mq_timedsend.c: Likewise.
17092         * rt/mq_unlink.c: Likewise.
17093         * rt/shm_open.c: Likewise.
17094         * rt/shm_unlink.c: Likewise.
17095         * rt/timer_create.c: Likewise.
17096         * rt/timer_delete.c: Likewise.
17097         * rt/timer_getoverr.c: Likewise.
17098         * rt/timer_gettime.c: Likewise.
17099         * rt/timer_settime.c: Likewise.
17100         * setjmp/__longjmp.c: Likewise.
17101         * setjmp/setjmp.c: Likewise.
17102         * signal/kill.c: Likewise.
17103         * signal/killpg.c: Likewise.
17104         * signal/raise.c: Likewise.
17105         * signal/sigaction.c: Likewise.
17106         * signal/sigaltstack.c: Likewise.
17107         * signal/sigblock.c: Likewise.
17108         * signal/sigignore.c: Likewise.
17109         * signal/sigintr.c: Likewise.
17110         * signal/signal.c: Likewise.
17111         * signal/sigpause.c: Likewise.
17112         * signal/sigpending.c: Likewise.
17113         * signal/sigqueue.c: Likewise.
17114         * signal/sigreturn.c: Likewise.
17115         * signal/sigset.c: Likewise.
17116         * signal/sigsetmask.c: Likewise.
17117         * signal/sigstack.c: Likewise.
17118         * signal/sigsuspend.c: Likewise.
17119         * signal/sigtimedwait.c: Likewise.
17120         * signal/sigvec.c: Likewise.
17121         * signal/sigwait.c: Likewise.
17122         * signal/sigwaitinfo.c: Likewise.
17123         * signal/sysv_signal.c: Likewise.
17124         * socket/accept.c: Likewise.
17125         * socket/accept4.c: Likewise.
17126         * socket/bind.c: Likewise.
17127         * socket/connect.c: Likewise.
17128         * socket/getpeername.c: Likewise.
17129         * socket/getsockname.c: Likewise.
17130         * socket/getsockopt.c: Likewise.
17131         * socket/isfdtype.c: Likewise.
17132         * socket/listen.c: Likewise.
17133         * socket/recv.c: Likewise.
17134         * socket/recvfrom.c: Likewise.
17135         * socket/recvmsg.c: Likewise.
17136         * socket/send.c: Likewise.
17137         * socket/sendmsg.c: Likewise.
17138         * socket/sendto.c: Likewise.
17139         * socket/setsockopt.c: Likewise.
17140         * socket/shutdown.c: Likewise.
17141         * socket/sockatmark.c: Likewise.
17142         * socket/socket.c: Likewise.
17143         * socket/socketpair.c: Likewise.
17144         * stdio-common/ctermid.c: Likewise.
17145         * stdio-common/cuserid.c: Likewise.
17146         * stdio-common/remove.c: Likewise.
17147         * stdio-common/rename.c: Likewise.
17148         * stdio-common/renameat.c: Likewise.
17149         * stdio-common/tempname.c: Likewise.
17150         * stdlib/getcontext.c: Likewise.
17151         * stdlib/makecontext.c: Likewise.
17152         * stdlib/setcontext.c: Likewise.
17153         * stdlib/swapcontext.c: Likewise.
17154         * stdlib/system.c: Likewise.
17155         * streams/fattach.c: Likewise.
17156         * streams/fdetach.c: Likewise.
17157         * streams/getmsg.c: Likewise.
17158         * streams/getpmsg.c: Likewise.
17159         * streams/putmsg.c: Likewise.
17160         * streams/putpmsg.c: Likewise.
17161         * sysdeps/unix/bsd/getpt.c: Likewise.
17162         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17163         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17164         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17166         Likewise.
17167         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17168         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17169         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17170         * sysvipc/msgctl.c: Likewise.
17171         * sysvipc/msgget.c: Likewise.
17172         * sysvipc/msgrcv.c: Likewise.
17173         * sysvipc/msgsnd.c: Likewise.
17174         * sysvipc/semctl.c: Likewise.
17175         * sysvipc/semget.c: Likewise.
17176         * sysvipc/semop.c: Likewise.
17177         * sysvipc/semtimedop.c: Likewise.
17178         * sysvipc/shmat.c: Likewise.
17179         * sysvipc/shmctl.c: Likewise.
17180         * sysvipc/shmdt.c: Likewise.
17181         * sysvipc/shmget.c: Likewise.
17182         * termios/tcdrain.c: Likewise.
17183         * termios/tcflow.c: Likewise.
17184         * termios/tcflush.c: Likewise.
17185         * termios/tcgetattr.c: Likewise.
17186         * termios/tcgetpgrp.c: Likewise.
17187         * termios/tcsendbrk.c: Likewise.
17188         * termios/tcsetattr.c: Likewise.
17189         * termios/tcsetpgrp.c: Likewise.
17190         * time/adjtime.c: Likewise.
17191         * time/clock.c: Likewise.
17192         * time/getitimer.c: Likewise.
17193         * time/gettimeofday.c: Likewise.
17194         * time/setitimer.c: Likewise.
17195         * time/settimeofday.c: Likewise.
17196         * time/stime.c: Likewise.
17197         * time/time.c: Likewise.
17199 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17201         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17202         /usr/old/bin.
17204         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17205         instead of spaces.
17206         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17208 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17210         [BZ #14796]
17211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17212         FE_TONEAREST before applying Dekker multiplication and Knuth
17213         addition.  Clear inexact exceptions and check for exact zero
17214         results afterwards.
17215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17218         * math/libm-test.inc (fma_test): Add more tests.
17219         (fma_test_towardzero): Likewise.
17220         (fma_test_downward): Likewise.
17221         (fma_test_upward): Likewise.
17222         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17223         function.
17224         (libc_fesetround): New macro.
17225         (libc_fesetroundf): Likewise.
17226         (libc_fesetroundl): Likewise.
17227         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17228         function.
17229         (libc_fesetround_387): Likewise.
17230         (libc_fesetroundf): New macro.
17231         (libc_fesetround): Likewise.
17232         (libc_fesetroundl): Likewise.
17233         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17234         function.
17235         (libc_fesetroundf): New macro.
17236         (libc_fesetround): Likewise.
17237         (libc_fesetroundl): Likewise.
17238         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17239         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17240         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17241         libm_hidden_ver.
17242         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17243         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17244         libm_hidden_def.
17245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17246         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17247         libm_hidden_ver.
17248         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17249         libm_hidden_def.
17251         [BZ #3439]
17252         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17253         integer constant usable in #if and use that to give value to enum
17254         constant.
17255         (FE_DIVBYZERO): Likewise.
17256         (FE_UNDERFLOW): Likewise.
17257         (FE_OVERFLOW): Likewise.
17258         (FE_INVALID): Likewise.
17259         (FE_INVALID_SNAN): Likewise.
17260         (FE_INVALID_ISI): Likewise.
17261         (FE_INVALID_IDI): Likewise.
17262         (FE_INVALID_ZDZ): Likewise.
17263         (FE_INVALID_IMZ): Likewise.
17264         (FE_INVALID_COMPARE): Likewise.
17265         (FE_INVALID_SOFTWARE): Likewise.
17266         (FE_INVALID_SQRT): Likewise.
17267         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17268         (FE_TONEAREST): Likewise.
17269         (FE_TOWARDZERO): Likewise.
17270         (FE_UPWARD): Likewise.
17271         (FE_DOWNWARD): Likewise.
17272         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17273         (FE_DIVBYZERO): Likewise.
17274         (FE_OVERFLOW): Likewise.
17275         (FE_UNDERFLOW): Likewise.
17276         (FE_INEXACT): Likewise.
17277         (FE_TONEAREST): Likewise.
17278         (FE_DOWNWARD): Likewise.
17279         (FE_UPWARD): Likewise.
17280         (FE_TOWARDZERO): Likewise.
17281         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17282         (FE_UNDERFLOW): Likewise.
17283         (FE_OVERFLOW): Likewise.
17284         (FE_DIVBYZERO): Likewise.
17285         (FE_INVALID): Likewise.
17286         (FE_TONEAREST): Likewise.
17287         (FE_TOWARDZERO): Likewise.
17288         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17289         (FE_OVERFLOW): Likewise.
17290         (FE_UNDERFLOW): Likewise.
17291         (FE_DIVBYZERO): Likewise.
17292         (FE_INEXACT): Likewise.
17293         (FE_TONEAREST): Likewise.
17294         (FE_TOWARDZERO): Likewise.
17295         (FE_UPWARD): Likewise.
17296         (FE_DOWNWARD): Likewise.
17297         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17298         (FE_DIVBYZERO): Likewise.
17299         (FE_OVERFLOW): Likewise.
17300         (FE_UNDERFLOW): Likewise.
17301         (FE_INEXACT): Likewise.
17302         (FE_TONEAREST): Likewise.
17303         (FE_DOWNWARD): Likewise.
17304         (FE_UPWARD): Likewise.
17305         (FE_TOWARDZERO): Likewise.
17307 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17309         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17311 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17313         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17314         commands.  Quote $PWD.
17315         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17316         -x" by "export".
17317         (remove_newlines): Remove.
17319 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17321         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17322         * stdlib/stdlib.h (atof): Moved to ...
17323         * include/bits/stdlib-float.h: Here.  New file.
17324         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17325         * stdlib/bits/stdlib-float.h: New file.
17326         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17327         -mno-sse -mno-mmx.
17328         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17329         <xmmintrin.h>.
17331 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17333         * conform/conformtest.pl (@headers): Add fenv.h.
17334         * conform/data/fenv.h-data: New file.
17335         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17336         include of <math/fenv.h>.
17338         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17339         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17340         && !UNIX98].  Enables tests for XOPEN2K8.
17341         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17342         POSIX2008]: Likewise.
17344         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17345         (struct rusage): Do not expect type or its members.
17347         [BZ #3439]
17348         * math/math.h (FP_NAN): Define macro to integer constant usable in
17349         #if and use that to give value to enum constant.
17350         (FP_INFINITE): Likewise.
17351         (FP_ZERO): Likewise.
17352         (FP_SUBNORMAL): Likewise.
17353         (FP_NORMAL): Likewise.
17355 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17357         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17358         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17359         arguments.
17361 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17363         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17364         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17365         autoconf-time if not.
17366         * configure.in: Remove AC_PREREQ.
17368 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17370         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17371         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17372         of the internal implementation.
17374 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17376         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17377         except include of <misc/sys/syslog.h>.
17379 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17382         function returns with a NULL context exit with zero.
17384 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17386         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17388 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17390         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17391         (run_program_cmd): This.
17392         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17393         (tst_langinfo): New variable.  Use it.
17395 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17397         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17398         floating point opcodes.
17400 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17402         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17403         variable.
17405         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17407         * sysdeps/mach/hurd/powerpc: Remove directory.
17408         * sysdeps/mach/powerpc: Likewise.
17410 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17412         * scripts/check-local-headers.sh: Ignore c++ headers.
17414 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17416         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17417         __libc_cleanup_region_start argument.
17419 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17421         [BZ #14784]
17422         [BZ #14785]
17423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17424         x * y using scaling, not as x * y + z.
17425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17427         * math/libm-test.inc (fma_test): Add more tests.
17428         (fma_test_towardzero): Likewise.
17429         (fma_test_downward): Likewise.
17430         (fma_test_upward): Likewise.
17432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17434         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17436 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17438         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17439         New variable.
17441 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17443         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17445 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17448         Fix sort order.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17450         Likewise.
17452 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17455         Fix the order of the list for glibc 2.17.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17457         Likewise.
17459 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17463 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17465         [BZ #14610]
17466         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17467         for low part of x being zero before using __atanl (y).
17468         * math/libm-test.inc (atan2_test): Add another test.
17470         * manual/install.texi (Configuring and compiling): Document
17471         general use of test-wrapper and test-wrapper-env.
17472         * INSTALL: Regenerated.
17474         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17475         (__fma): Do not extract and scale down low bits on after-rounding
17476         systems when result rounded to normal precision would have normal
17477         exponent.
17478         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17479         (__fmal): Do not extract and scale down low bits on after-rounding
17480         systems when result rounded to normal precision would have normal
17481         exponent.
17482         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17483         (__fmal): Do not extract and scale down low bits on after-rounding
17484         systems when result rounded to normal precision would have normal
17485         exponent.
17486         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17487         macro.
17488         (fma_test): Add more tests.
17489         (fma_test_towardzero): Likewise.
17490         (fma_test_downward): Likewise.
17491         (fma_test_upward): Likewise.
17493 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17495         * sysdeps/i386/tininess.h: Renamed to ...
17496         * sysdeps/x86/tininess.h: This.
17497         * sysdeps/x86_64/tininess.h: Removed.
17499 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17501         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17502         input.  Use $(build-program-cmd).
17503         ($(objpfx)tst-array1-static.out): Likewise.
17504         ($(objpfx)tst-array2.out): Likewise.
17505         ($(objpfx)tst-array3.out): Likewise.
17506         ($(objpfx)tst-array4.out): Likewise.
17507         ($(objpfx)tst-array5.out): Likewise.
17508         ($(objpfx)tst-array5-static.out): Likewise.
17510 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17512         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17513         if defined.
17515         * nss/nsswitch.h (nss_interface_function): Provide new
17516         macro for use with NSS functions.
17517         * grp/initgroups.c: Use new macro.
17518         * nss/getXXbyYY.c: Likewise.
17519         * nss/getXXbyYY_r.c: Likewise.
17520         * nss/getXXent.c: Likewise.
17521         * nss/getXXent_r.c: Likewise.
17522         * sysdeps/posix/getaddrinfo.c: Likewise.
17524 2012-10-30  Andreas Jaeger  <aj@suse.de>
17526         * po/ru.po: Update Russion translation from translation project.
17528 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17530         [BZ #14152]
17531         [BZ #14783]
17532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17533         result and shift together with sticky bit instead of replicating
17534         round-to-nearest rounding.
17535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17537         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17538         missing underflow exceptions.
17539         (fma_test_towardzero): Add more tests.
17540         (fma_test_downward): Likewise.
17541         (fma_test_upward): Likewise.
17543         [BZ #14047]
17544         * sysdeps/generic/tininess.h: New file.
17545         * sysdeps/i386/tininess.h: Likewise.
17546         * sysdeps/sh/tininess.h: Likewise.
17547         * sysdeps/x86_64/tininess.h: Likewise.
17548         * stdlib/tst-strtod-underflow.c: Likewise.
17549         * stdlib/tst-tininess.c: Likewise.
17550         * stdlib/strtod_l.c: Include <tininess.h>.
17551         (round_and_return): Do not set errno for exact underflow cases.
17552         Force an underflow exception when setting errno for underflow.
17553         Determine underflow based on rounding to normal precision if
17554         TININESS_AFTER_ROUNDING.
17555         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17556         ERANGE for exact underflow cases.
17557         * stdlib/Makefile (tests): Add tst-tininess and
17558         tst-strtod-underflow.
17559         ($(objpfx)tst-tininess): Use $(link-libm).
17560         ($(objpfx)tst-strtod-underflow): Likewise.
17562 2012-10-30  Andreas Jaeger  <aj@suse.de>
17564         [BZ#14767]
17565         * elf/Makefile (tests): Remove conditional for have-initfini-array
17566         since this is now always required and the variable does not exist
17567         anymore.
17568         (tests-static): Likewise.
17569         (modules-names): Likewise.
17571         * po/eo.po: Add Esperanto translation from translation project.
17573         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17574         merged with constructor/destructor.
17575         (init_array): Likewise.
17576         * elf/tst-array2dep.c (fini_array): Likewise.
17577         (init_array): Likewise.
17579 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17581         * manual/message.texi: Delete @cartouche tags.
17583 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17585         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17586         EOPNOTSUPP.
17587         * sysdeps/mach/hurd/fsync.c: Likewise.
17589         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17590         [_POSIX_REALTIME_SIGNALS]: Change condition to
17591         [_POSIX_REALTIME_SIGNALS > 0].
17593 2012-10-27  Andreas Jaeger  <aj@suse.de>
17595         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17596         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17598         [__WORDSIZE != 64]: Likewise.
17600 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17602         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17603         *  iconvdata/tst-tables.sh: Likewise.
17605 2012-10-25  David S. Miller  <davem@davemloft.net>
17607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17608         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17609         of strtoull.
17611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17612         ifunc-impl-list.c
17613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17614         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17615         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17616         file.
17618 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17621         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17622         __getdirentries.
17624 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17625             Jim Blandy  <jimb@codesourcery.com>
17627         * scripts/cross-test-ssh.sh: New file.
17628         * manual/install.texi (Configuring and compiling): Document use of
17629         cross-test-ssh.sh.
17630         * INSTALL: Regenerated.
17632 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17634         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17635         EOPNOTSUPP.
17637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17639         * Makeconfig (run-program-prefix): Fix comment.
17641 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17642             Jim Blandy  <jimb@codesourcery.com>
17644         * Makeconfig (test-wrapper): New variable,
17645         (test-wrapper-env): Likewise.
17646         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17647         (run-built-tests): Define to yes.
17648         (run-program-prefix): Use $(test-wrapper).
17649         (built-program-cmd): Likewise.
17650         * Rules (make-test-out): Use $(test-wrapper-env) and
17651         $(host-built-program-cmd).
17652         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17653         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17654         tst-pathopt.sh.
17655         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17656         $(test-wrapper-env) to tst-rtld-load-self.sh.
17657         ($(objpfx)order2.out): Use $(test-wrapper).
17658         ($(objpfx)tst-initorder.out): Likewise.
17659         ($(objpfx)tst-initorder2.out): Likewise.
17660         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17661         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17662         (test_wrapper_env): New variable.  Use it to run ld.so.
17663         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17664         Use it to run ld.so.
17665         (test_wrapper_env): Likewise.
17666         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17667         $(test-wrapper) to run-iconv-test.sh.
17668         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17669         (ICONV): Use $test_wrapper.
17670         * posix/Makefile ($(objpfx)globtest.out): Pass
17671         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17672         globtest.sh, not $(run-program-prefix).
17673         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17674         (test_wrapper): Likewise.
17675         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17676         set together with run_via_rtld_prefix.
17677         (run_program_prefix): Define in terms of test_wrapper and
17678         run_via_rtld_prefix.
17680 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17682         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17683         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17684         Targets removed.
17686         [BZ #14743]
17687         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17688         Declare __clock_getres, __clock_gettime, __clock_settime,
17689         __clock_nanosleep, and __clock_getcpuclockid.
17690         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17691         Remove librt_hidden_def (clock_gettime).
17692         * sysdeps/unix/clock_gettime.c: Likewise.
17693         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17694         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17695         * rt/clock_getres.c: Define __clock_getres as an alias.
17696         * sysdeps/posix/clock_getres.c: Likewise.
17697         * rt/clock_settime.c: Define __clock_settime as an alias.
17698         * sysdeps/unix/clock_settime.c: Likewise.
17699         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17700         * sysdeps/unix/clock_nanosleep.c: Likewise.
17701         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17702         * rt/clock-compat.c: New file.
17703         * rt/Makefile (librt-routines): Add clock-compat and move
17704         $(clock-routines) to ...
17705         (routines): ... here, new variable.
17706         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17707         Don't add get_clockfreq here.
17708         * rt/Versions (libc: GLIBC_2.17): New version set.
17709         Add clock_* symbols here.
17710         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17711         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17712         (GLIBC_2.17): Add clock_* symbols.
17713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17715         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17717         Likewise.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17719         Likewise.
17720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17724         * NEWS: Mention the move.
17726         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17727         Use __open, __read, __close rather than their public counterparts.
17728         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17729         (__get_clockfreq_via_cpuinfo): Likewise.
17730         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17731         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17733         * config.h.in (HAVE_IFUNC): New #undef.
17734         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17735         was successful.
17736         * configure: Regenerated.
17738 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17740         * configure.in: Move READELF check to start of file.
17741         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17742         libc_cv_asm_gnu_indirect_function in the process.
17743         * configure: Regenerated.
17745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17747         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17748         send the output to /dev/null.
17749         (libc_cv_cc_with_libunwind): Likewise.
17750         (libc_cv_as_noexecstack): Likewise.
17751         * configure: Regenerate.
17753 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17755         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17757         * posix/globtest.sh (TMPDIR): Do not set.
17758         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17759         (testout): Likewise.
17761 2012-10-24  Andreas Jaeger  <aj@suse.de>
17763         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17764         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17765         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17766         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17767         posix_fadvise64, posix_fallocate64.
17769         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17770         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17771         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17772         Likewise.
17773         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17774         Likewise.
17775         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17777         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17778         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17779         <bits/fcntl-linux.h>.
17780         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17783         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17784         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17785         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17786         [__WORDSIZE != 64]: Likewise.
17788 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17790         * Makeconfig (run-built-tests): New variable.
17791         * Rules [$(cross-compiling) = yes]: Change condition to
17792         [$(run-built-tests) = no].
17793         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17794         to [$(run-built-tests) = yes].
17795         * elf/Makefile [$(cross-compiling) = no]: Likewise
17796         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17797         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17798         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17799         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17800         * io/Makefile [$(cross-compiling) = no]: Likewise.
17801         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17802         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17803         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17804         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17805         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17806         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17807         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17808         * string/Makefile [$(cross-compiling) = no]: Likewise.
17810         * posix/Makefile ($(objpfx)globtest.out): Pass
17811         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17812         $(rtld-installed-name).
17813         * posix/globtest.sh (elf_objpfx): Remove variable.
17814         (rtld_installed_name): Likewise.
17815         (library_path): Likewise.
17816         (run_program_prefix): New variable.  Use for running globtest
17817         binary.
17819 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17820             Joseph Myers  <joseph@codesourcery.com>
17822         * Makeconfig (host-built-program-cmd): New variable.
17823         * elf/Makefile (tst-stackguard1-ARGS): Use
17824         $(host-built-program-cmd).
17825         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17826         (tst-spawn-ARGS): Likewise.
17827         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17829 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17830             Jim Blandy  <jimb@codesourcery.com>
17832         * Makeconfig (run-via-rtld-prefix): New variable.
17833         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17834         (built-program-cmd): Likewise.
17836 2012-10-22  Andreas Jaeger  <aj@suse.de>
17838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17839         __O_RSYNC if it exists, otherwise to O_SYNC.
17841 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17842             Joseph Myers  <joseph@codesourcery.com>
17844         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17845         /dev/null.
17846         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17847         from /dev/null
17848         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17849         /dev/null.
17851 2012-10-22  Andreas Jaeger  <aj@suse.de>
17853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17854         Define always.
17855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17858         bits/fcntl-linux.h.
17860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17861         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17864         to __O_LARGEFILE.
17865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17866         to __O_LARGEFILE.
17868 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17869             Joseph Myers  <joseph@codesourcery.com>
17871         * config.make.in (NM): New variable.
17873 2012-10-21  Andreas Jaeger  <aj@suse.de>
17875         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17876         definitions and declarations that are provided by
17877         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17879 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17881         [BZ #14683]
17882         * elf/Makefile (tests-static): Add tst-leaks1-static.
17883         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17884         ($(objpfx)tst-leaks1-static): New rule.
17885         ($(objpfx)tst-leaks1-static-mem): Likewise.
17886         (tst-leaks1-static-ENV): New macro.
17887         * elf/dl-open.c (dl_open_worker): Check the main application
17888         only if SHARED is defined.
17889         * elf/tst-leaks1-static.c: New file.
17891 2012-10-20  Andreas Jaeger  <aj@suse.de>
17893         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17894         generic values for Linux.
17895         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17896         and declarations that are provided by <bits/fcntl-linux.h> and
17897         include <bits/fcntl-linux.h>.
17898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17899         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17901 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17903         * io/fcntl.h: Move include of <bits/types.h> to the top and
17904         include it unconditionally.
17906 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17908         * wcsmbs/Makefile (tests-ifunc): New variable.
17909         (tests): Add $(tests-ifunc).
17910         * wcsmbs/test-wcschr-ifunc.c: New file.
17911         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17912         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17913         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17914         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17915         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17917         * string/Makefile (tests-ifunc): New variable.
17918         (tests): Add $(tests-ifunc).
17919         * string/test-memccpy.c (TEST_NAME): New macro.
17920         * string/test-memchr.c (TEST_NAME): Likewise.
17921         * string/test-memcmp.c (TEST_NAME): Likewise.
17922         * string/test-memcpy.c (TEST_NAME): Likewise.
17923         * string/test-memmem.c (TEST_NAME): Likewise.
17924         * string/test-memmove.c (TEST_NAME): Likewise.
17925         * string/test-memset.c (TEST_NAME): Likewise.
17926         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17927         * string/test-stpcpy.c (TEST_NAME): Likewise.
17928         * string/test-stpncpy.c (TEST_NAME): Likewise.
17929         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17930         * string/test-strcasestr.c (TEST_NAME): Likewise.
17931         * string/test-strcat.c (TEST_NAME): Likewise.
17932         * string/test-strchr.c (TEST_NAME): Likewise.
17933         * string/test-strcmp.c(TEST_NAME): Likewise.
17934         * string/test-strcpy.c (TEST_NAME): Likewise.
17935         * string/test-strcspn.c (TEST_NAME): Likewise.
17936         * string/test-strlen.c (TEST_NAME): Likewise.
17937         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17938         * string/test-strncmp.c (TEST_NAME): Likewise.
17939         * string/test-strncpy.c (TEST_NAME): Likewise.
17940         * string/test-strnlen.c (TEST_NAME): Likewise.
17941         * string/test-strpbrk.c (TEST_NAME): Likewise.
17942         * string/test-strrchr.c (TEST_NAME): Likewise.
17943         * string/test-strspn.c (TEST_NAME): Likewise.
17944         * string/test-strstr.c (TEST_NAME): Likewise.
17945         * string/test-bcopy-ifunc.c: New file.
17946         * string/test-bzero-ifunc.c: Likewise.
17947         * string/test-memccpy-ifunc.c: Likewise.
17948         * string/test-memchr-ifunc.c: Likewise.
17949         * string/test-memcmp-ifunc.c: Likewise.
17950         * string/test-memcpy-ifunc.c: Likewise.
17951         * string/test-memmem-ifunc.c: Likewise.
17952         * string/test-memmove-ifunc.c: Likewise.
17953         * string/test-mempcpy-ifunc.c: Likewise.
17954         * string/test-memset-ifunc.c: Likewise.
17955         * string/test-rawmemchr-ifunc.c: Likewise.
17956         * string/test-stpcpy-ifunc.c: Likewise.
17957         * string/test-stpncpy-ifunc.c: Likewise.
17958         * string/test-strcasecmp-ifunc.c: Likewise.
17959         * string/test-strcasestr-ifunc.c: Likewise.
17960         * string/test-strcat-ifunc.c: Likewise.
17961         * string/test-strchr-ifunc.c: Likewise.
17962         * string/test-strchrnul-ifunc.c: Likewise.
17963         * string/test-strcmp-ifunc.c: Likewise.
17964         * string/test-strcpy-ifunc.c: Likewise.
17965         * string/test-strcspn-ifunc.c: Likewise.
17966         * string/test-strlen-ifunc.c: Likewise.
17967         * string/test-strncasecmp-ifunc.c: Likewise.
17968         * string/test-strncat-ifunc.c: Likewise.
17969         * string/test-strncmp-ifunc.c: Likewise.
17970         * string/test-strncpy-ifunc.c: Likewise.
17971         * string/test-strnlen-ifunc.c: Likewise.
17972         * string/test-strpbrk-ifunc.c: Likewise.
17973         * string/test-strrchr-ifunc.c: Likewise.
17974         * string/test-strspn-ifunc.c: Likewise.
17975         * string/test-strstr-ifunc.c: Likewise.
17977         * debug/Makefile (tests-ifunc): New variable.
17978         (tests): Add $(tests-ifunc).
17979         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17980         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17981         * debug/test-stpcpy_chk-ifunc.c: New file.
17982         * debug/test-strcpy_chk-ifunc.c: Likewise.
17984 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17986         [BZ #13601]
17987         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17988         header is not read in.
17990 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17992         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17993         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17994         directly.  Pass built executable to script as
17995         $(built-program-cmd).
17996         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17997         $testprogram without using LD_LIBRARY_PATH and $ldso.
17999         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18000         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18001         $(rtld-installed-name).
18002         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18003         (rtld_installed_name): Likewise.
18004         (library_path): Likewise.
18005         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18006         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18007         $(run-program-prefix) to tst-tables.sh.
18008         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18009         it to run tst-table-from and tst-table-to.
18010         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18011         Pass it to tst-table.sh.
18012         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18013         $(run-program-prefix) to tst-gettext.sh.
18014         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18015         tst-translit.sh.
18016         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18017         tst-gettext2.sh.
18018         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18019         to run tst-gettext.
18020         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18021         to run tst-gettext2.
18022         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18023         to run tst-translit.
18024         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18025         $(run-program-prefix) to tst-mtrace.sh.
18026         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18027         to run tst-mtrace.
18028         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18029         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18030         $(rtld-installed-name).
18031         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18032         (rtld_installed_name): Likewise.
18033         (run_program_prefix): New variable.  Use it to run wordexp-test.
18035         * Makeconfig (ARCH): Remove all definitions.
18036         (machine): Likewise.
18037         [ARCH]: Remove conditional code.
18038         [!objdir]: Give error.
18039         [!objdir] (objpfx): Remove.
18040         [!objdir] (common-objpfx): Likewise.
18041         [!objdir] (common-objdir): Likewise.
18042         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18043         AC_CONFIG_FILES call.
18044         * configure: Regenerated.
18046         [BZ #13888]
18047         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18048         or TMPDIR.
18049         (testout): Likewise.
18051         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18052         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18053         $(rtld-installed-name).
18054         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18055         (rtld_installed_name): Likwise.
18056         (runit): Remove function.
18057         (run_getconf): New variable,  Use it for running getconf binary.
18059 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18061         [BZ #14716]
18062         * string/test-memmem.c (check_result): New function.
18063         (do_one_test): Use it.
18064         (check1): New function.
18065         (test_main): Use it.
18067 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18069         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18071 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18073         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18074         (_G_LSEEK64): Likewise.
18075         (_G_MMAP64): Likewise.
18076         (_G_FSTAT64): Likewise.
18077         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18078         (_G_LSEEK64): Likewise.
18079         (_G_MMAP64): Likewise.
18080         (_G_FSTAT64): Likewise.
18081         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18082         unconditional.  Call __mmap64 directly.
18083         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18084         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18085         __lseek64 directly.
18086         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18087         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18088         __mmap64 directly.
18089         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18090         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18091         __lseek64 directly.
18092         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18093         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18094         __lseek64 directly.
18095         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18096         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18097         __lseek64 directly.
18098         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18099         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18100         __fxstat64 directly.
18101         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18102         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18103         unconditional.
18104         (freopen64) [!_G_OPEN64]: Remove conditional code.
18105         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18106         unconditional.
18107         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18108         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18109         unconditional.
18110         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18111         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18112         unconditional.
18113         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18114         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18115         unconditional.
18116         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18117         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18118         unconditional.
18119         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18120         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18121         unconditional.
18122         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18123         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18124         unconditional.
18125         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18127 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18129         [BZ #12140]
18130         * manual/memory.texi (Malloc Tunable Parameters): Add note
18131         about free list pointers overwriting some perturb bytes.
18132         Wording suggested by Roland McGrath.
18134 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18136         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18137         (lgamma_test): Likewise.
18138         (tgamma_test): Likewise.
18140 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18142         [BZ #14700]
18143         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18144         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18146 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18148         * NEWS: Mention BZ #14716.
18149         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18150         when removing AVAILABLE1_USES_J macro.
18152 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18154         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18155         (__bswap_64): __uint64_t for unsigned 64-bit int.
18157 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18159         * include/string.h (memmem): Declare libc hidden alias.
18160         * string/memmem.c (memmem): Define libc hidden alias.
18161         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18162         __read, __close instead of open, read, close.
18164 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18167         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18168         global and hidden.
18169         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18170         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18171         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18172         Likewise.
18173         (__rawmemchr_sse2): Likewise.
18174         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18175         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18176         (__strchr_sse2): Likewise.
18177         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18178         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18179         (__strcasecmp_sse2): Likewise.
18180         (__strncasecmp_sse2): Likewise.
18181         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18182         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18183         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18184         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18185         (__strrchr_sse2): Likewise.
18186         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18187         ifunc-impl-list.c.
18188         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18189         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18190         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18191         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18192         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18193         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18194         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18196         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18197         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18198         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18199         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18200         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18201         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18202         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18203         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18204         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18205         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18206         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18207         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18208         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18209         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18210         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18211         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18212         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18214         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18215         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18216         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18217         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18219         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18220         global and hidden.
18221         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18222         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18223         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18224         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18225         Likewise.
18226         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18227         Likewise.
18228         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18229         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18230         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18231         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18232         ifunc-impl-list.c.
18233         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18234         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18235         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18236         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18237         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18238         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18239         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18240         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18241         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18242         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18243         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18244         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18245         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18246         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18247         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18248         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18249         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18250         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18252         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18253         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18254         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18255         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18256         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18257         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18258         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18259         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18260         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18261         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18262         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18263         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18264         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18265         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18266         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18267         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18268         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18269         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18270         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18271         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18272         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18273         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18275         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18276         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18277         * include/ifunc-impl-list.h: New file.
18278         * misc/ifunc-impl-list.c: Likewise.
18279         * misc/Makefile (routines): Add ifunc-impl-list.
18280         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18281         * string/test-string.h: Include <ifunc-impl-list.h>.
18282         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18283         impl_array): New variables.
18284         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18285         are defined.
18286         (test_init): Call __libc_ifunc_impl_list to initialize
18287         func_list if TEST_IFUNC and TEST_NAME are defined.
18289         * string/Makefile (strop-tests): Add bcopy and bzero.
18290         * string/test-bcopy.c: New file.
18291         * string/test-bzero.c: Likewise.
18292         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18293         defined.
18294         * string/test-memset.c: Support bzero test if TEST_BZERO is
18295         defined.
18296         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18297         __libc_memmove.
18298         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18299         __libc_memset.
18300         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18301         of memset.
18303 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18305         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18306         * configure: Regenerated.
18308         * Makeconfig (+link-static-before-libc): Don't include
18309         $(link-static-libc).
18311         * libio/libio.h (_IO_pos_t): Remove.
18313 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18315         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18316         McGrath.
18318 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18320         * crypt/crypt-entry.c: Include fips-private.h.
18321         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18322         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18323         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18324         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18328         * crypt/crypt-private.h: Include stdbool.h.
18329         (_ufc_setup_salt_r): Return bool.
18330         * crypt/crypt-entry.c: Include errno.h.
18331         (__crypt_r): Return NULL with EINVAL for bad salt.
18332         * crypt/crypt_util.c (bad_for_salt): New.
18333         (_ufc_setup_salt_r): Check that salt is long enough and within
18334         the specified alphabet.
18335         * crypt/badsalttest.c: New file.
18336         * crypt/Makefile (tests): Add it.
18337         ($(objpfx)badsalttest): New.
18339 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18341         * NEWS: Add entry for BZ #14602.
18343 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18345         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18346         type-generic.
18347         * math/libm-test.inc: Update comment listing what functions and
18348         macros are tested.
18349         (isgreater_test): New function.
18350         (isgreaterequal_test): Likewise.
18351         (isless_test): Likewise.
18352         (islessequal_test): Likewise.
18353         (islessgreater_test): Likewise.
18354         (isunordered_test): Likewise.
18355         (main): Call the new functions.
18357 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18359         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18360         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18361         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18362         * sysdeps/i386/configure: Regenerated.
18363         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18364         * sysdeps/mach/configure: Regenerated.
18365         * sysdeps/mach/hurd/configure: Regenerated.
18366         * sysdeps/powerpc/configure: Regenerated.
18367         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18368         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18369         * sysdeps/s390/s390-32/configure: Regenerated.
18370         * sysdeps/s390/s390-64/configure: Regenerated.
18371         * sysdeps/sh/configure: Regenerated.
18372         * sysdeps/sparc/configure: Regenerated.
18373         * sysdeps/unix/sysv/linux/configure: Regenerated.
18374         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18375         * sysdeps/x86_64/configure: Regenerated.
18377         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18378         defined.  Don't check if MAP is NULL.
18380 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18382         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18383         (_G_stat64): Likewise.
18384         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18385         (_G_stat64): Likewise.
18386         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18387         instead of struct _G_stat64.
18388         * libio/fileops.c (mmap_remap_check): Likewise.
18389         (decide_maybe_mmap): Likewise.
18390         (_IO_new_file_seekoff): Likewise.
18391         (_IO_file_stat): Likewise.
18392         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18393         _G_off64_t.
18394         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18395         instead of struct _G_stat64.
18396         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18398 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18400         [BZ #14602]
18401         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18402         Replace with ...
18403         (CHECK_EOL): New macro.
18404         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18405         CHECK_EOL.
18406         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18407         Replace with CHECK_EOL.
18408         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18409         Replace with CHECK_EOL.
18411 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18413         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18414         type-generic.
18415         * math/libm-test.inc: Update comment listing what functions and
18416         macros are tested.
18417         (finite_test): New function.
18418         (isinf_test): Likewise.
18419         (isnan_test): Likewise.
18420         (fpclassify_test): Test subnormal input.
18421         (isfinite_test): Likewise.
18422         (isnormal_test): Likewise.
18423         (main): Call the new functions.
18425 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18427         [BZ #14660]
18428         * Makerules (%.dynsym): Force C locale when running
18429         $(OBJDUMP) --dynamic-syms.
18431 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18433         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18434         <stdint.h>.
18436 2012-10-06  David S. Miller  <davem@davemloft.net>
18438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18439         upper 32-bits of the length value in %o2 since we use branch-on-register
18440         tests which consider the entire 64-bit register.
18442 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18444         * string/test-strstr.c (check2): Add a test for page boundary.
18446 2012-10-05  David S. Miller  <davem@davemloft.net>
18448         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18449         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18450         file.
18451         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18452         sysdep_routines.
18453         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18454         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18455         and bzero when HWCAP_SPARC_CRYPTO is present.
18457 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18459         [BZ #14602]
18460         * string/test-strstr.c (check2): New function.
18461         (test_main): Call check2.
18463         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18464         and bug-strchr1.
18465         * string/bug-strcasestr1.c (do_test): Moved to ...
18466         * string/test-strcasestr.c (check1): Here.  New function.
18467         (do_one_test): Break out result checking code into ...
18468         (check_result): This.  New function.
18469         (do_one_test): Call check_result.
18470         (test_main): Call check1.
18471         * string/bug-strchr1.c (do_test): Moved to ...
18472         * string/test-strchr.c (check1): Here.  New function.
18473         (do_one_test): Break out result checking code into ...
18474         (check_result): This.  New function.
18475         (do_one_test): Call check_result.
18476         (test_main): Call check1.
18477         * string/bug-strstr1.c (main): Moved to ...
18478         * string/test-strstr.c (check1): Here.  New function.
18479         (do_one_test): Break out result checking code into ...
18480         (check_result): This.  New function.
18481         (do_one_test): Call check_result.
18482         (test_main): Call check1.
18483         * string/bug-strcasestr1.c: Removed.
18484         * string/bug-strchr1.c: Likewise.
18485         * string/bug-strstr1.c: Likewise.
18487         * elf/Makefile (dl-routines): Add hwcaps.
18488         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18489         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18490         (_dl_important_hwcaps): Moved to ...
18491         * elf/dl-hwcaps.c: Here.  New file.
18492         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18494         [BZ #14557]
18495         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18496         if IS_IN_rtld isn't defined.
18498         * elf/dl-support.c (_dl_sysinfo_map): New.
18499         Include "get-dynamic-info.h" and "setup-vdso.h".
18500         (_dl_non_dynamic_init): Call setup_vdso.
18501         * elf/dynamic-link.h: Don't include <assert.h>.
18502         (elf_get_dynamic_info): Moved to ...
18503         * elf/get-dynamic-info.h: Here.  New file.
18504         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18505         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18506         * elf/setup-vdso.h: Here.  New file.
18507         * elf/rtld.c: Include "setup-vdso.h".
18508         (dl_main): Call setup_vdso.
18510 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18512         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18513         creal in comment listing functions tested.  List finite, isinf,
18514         isnan, isless, islessequal, isgreater, isgreaterequal,
18515         islessgreater, isunordered, lgamma_r and pow10 as functions and
18516         macros not tested.  Mention which functions not tested are aliases
18517         for other functions.  Fix typo.  Note that signs of NaNs are not
18518         tested.
18520         * scripts/config.guess: Update from config.git.
18521         * scripts/config.sub: Likewise.
18523 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18525         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18526         * misc/madvise.c (madvise): Renamed to __madvise.
18527         Make madvise a weak alias.
18528         * include/sys/mman.h: Declare __madvise.
18529         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18530         * sysdeps/unix/syscalls.list
18531         (madvise): Make __madvise the strong name, and madvise a weak alias.
18532         * sysdeps/unix/sysv/linux/syscalls.list
18533         (madvise, mmap): Remove redundant entries.
18534         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18535         * malloc/malloc.c (mtrim): Likewise.
18536         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18538 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18540         * sysdeps/mach/hurd/dl-cache.c: File removed.
18541         * config.h.in (USE_LDCONFIG): New #undef.
18542         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18543         * configure: Regenerated.
18544         * elf/Makefile (dl-routines): Add dl-cache only under
18545         [$(use-ldconfig) = yes].
18546         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18547         cache on [USE_LDCONFIG].
18548         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18549         [USE_LDCONFIG].
18550         * elf/rtld.c (dl_main): Likewise.
18552 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18554         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18555         _SC_LEVEL4_CACHE_LINESIZE.
18557 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18559         * sysdeps/unix/bsd/confstr.h: File removed.
18561 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18563         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18564         sys/sdt-config.h.
18566 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18568         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18569         Make 'mapoff' field ElfW(Off) rather than off_t.
18571 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18573         * nscd/Makefile: Remove nscd-cflags and all its users.
18574         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18575         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18577         [BZ #10631]
18578         * malloc.c (malloc_printerr): Clarify error message.
18580 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18582         [BZ #14648]
18583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18584         Set bit_FMA_Usable if FMA is supported.
18585         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18586         macro.
18587         (bit_FMA4_Usable): Updated.
18588         (index_FMA_Usable): New macro.
18589         (CPUID_FMA): Likewise
18590         (HAS_FMA): Defined with bit_FMA_Usable.
18592 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18594         * bits/types.h (__swblk_t): Type removed.
18595         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18596         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18598         (__SWBLK_T_TYPE): Likewise.
18599         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18600         (__SWBLK_T_TYPE): Likewise.
18601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18602         (__SWBLK_T_TYPE): Likewise.
18603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18604         (__SWBLK_T_TYPE): Likewise.
18606 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18607             Honza Horak <hhorak@redhat.com>
18609         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18610         (xdr_mapname): Use YPMAXMAP as maxsize.
18611         (xdr_peername): Use YPMAXPEER as maxsize.
18612         (xdr_keydat): Use YPAXRECORD as maxsize.
18613         (xdr_valdat): Use YPMAXRECORD as maxsize.
18615 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18617         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18619         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18620         * csu/init-first.c: ... here.
18621         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18622         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18623         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18624         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18625         * sysdeps/i386/init-first.c: File removed.
18626         * sysdeps/sh/init-first.c: File removed.
18628 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18630         [BZ #14645]
18631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18632         if x * y might underflow to zero and z is zero.
18633         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18635         * math/libm-test.inc (min_subnorm_value): New variable.
18636         (fma_test): Add more tests.
18637         (fma_test_towardzero): Likewise.
18638         (fma_test_downward): Likewise
18639         (fma_test_upward): Likewise.
18640         (initialize): Set min_subnorm_value.
18642 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18644         [BZ #14638]
18645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18646         0 + 0.
18647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18648         mode for addition resulting in exact zero.
18649         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18651         exact 0 + 0.
18652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18654         * math/libm-test.inc (fma_test): Add more tests.
18655         (fma_test_towardzero): New function.
18656         (fma_test_downward): Likewise.
18657         (fma_test_upward): Likewise.
18658         (main): Call the new functions.
18660 2012-09-28  David S. Miller  <davem@davemloft.net>
18662         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18664 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18666         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18667         instead of SIGALRM.
18669         * sysdeps/gnu/_G_config.h: Moved to ...
18670         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18671         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18672         * sysdeps/generic/_G_config.h: ... here.
18674         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18676         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18678         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18679         Conditionalize target on [libnss_test1.so-version].
18681         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18683         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18684         (elfobjdir): Move out of conditionals.
18686         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18687         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18688         (__nss_lookup_function): Conditionalize label remove_from_tree on
18689         [!DO_STATIC_NSS || SHARED], matching its only use.
18691 2012-09-28  David S. Miller  <davem@davemloft.net>
18693         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18694         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18695         file.
18696         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18697         sysdep_routines.
18698         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18699         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18700         when HWCAP_SPARC_CRYPTO is present.
18702 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18704         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18706 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18708         [BZ #6530]
18709         * stdio-common/vfprintf.c (process_string_arg): Revert
18710         2000-07-22 change.
18712 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18714         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18715         for testcase.
18716         * stdio-common/tst-sprintf.c: Include <locale.h>
18717         (main): Test sprintf's handling of incomplete multibyte
18718         characters.
18720 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18722         * elf/dl-runtime.c (VERSYMIDX): Removed.
18723         * elf/dl-version.c (VERSYMIDX): Likewise.
18724         * elf/do-rel.h (VERSYMIDX): Likewise.
18725         (VALIDX): Likewise.
18726         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18727         * elf/rtld.c (VALIDX): Likewise.
18728         (ADDRIDX): Likewise.
18729         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18730         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18731         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18732         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18733         (VALIDX): Likewise.
18734         (ADDRIDX): Likewise.
18736 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18738         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18740 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18742         [BZ #11438]
18743         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18744         to global scope.
18745         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18746         addresses are in the same scope as 192.0.2/24.
18747         * posix/gai.conf: Document new scope table defaults.
18749 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18751         [BZ #5298]
18752         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18753         for ftell.  Compute offsets from write pointers instead.
18754         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758         [BZ #14543]
18759         * libio/Makefile (tests): New test case tst-fseek.
18760         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18761         combination works in wide mode.
18762         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18763         state when the external buffer state changes.
18765 2012-09-27  David S. Miller  <davem@davemloft.net>
18767         [BZ #14376]
18768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18769         pass reloc->r_addend in as the 'high' argument to
18770         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18774 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18776         * rt/tst-aio2.c: Include <pthread.h>.
18777         * rt/tst-aio3.c: Likewise.
18779 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18781         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18783 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18785         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18786         contents on [SHARED].
18788 2012-09-26  Marek Polacek  <polacek@redhat.com>
18790         [BZ #14530]
18791         [BZ #13741]
18792         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18793         for C++ and GCC <4.3 as well as for non GCC compilers.
18795 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18799 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18801         * Makefile.in (all, install): Declare with .PHONY.
18802         Reported by Michael Hope <michael.hope@linaro.org>.
18804 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18806         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18807         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18808         system header.
18809         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18810         Likewise.
18811         (sydep_routines): Add the new and the internal functions.
18812         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18813         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18815         (GLIBC_2.17): Add the new function.
18816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18817         (GLIBC_2.17): Likewise.
18818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18819         (GLIBC_2.17): Likewise.
18820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18821         (GLIBC_2.17): Likewise.
18822         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18824 2012-09-25  Alan Modra  <amodra@gmail.com>
18826         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18827         Add release barrier before setting once_control to say
18828         initialisation is done.  Add hints on lwarx.  Use macro in
18829         place of isync.
18830         (clear_once_control): Add release barrier.
18832 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #13629]
18835         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18836         specially.
18837         * math/s_clog10.c (__clog10): Likewise.
18838         * math/s_clog10f.c (__clog10f): Likewise.
18839         * math/s_clog10l.c (__clog10l): Likewise.
18840         * math/s_clogf.c (__clogf): Likewise.
18841         * math/s_clogl.c (__clogl): Likewise.
18842         * math/Makefile (libm-calls): Add x2y2m1.
18843         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18844         (__x2y2m1): Likewise.
18845         (__x2y2m1l): Likewise.
18846         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18847         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18848         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18850         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18851         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18852         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18853         * sysdeps/i386/fpu/libm-test-ulps: Update.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856         [BZ #14621]
18857         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18858         int as type of variable DEPTH.
18859         (glob): Use size_t instead of int as type of variables NEWCOUNT
18860         and OLD_PATHC.
18862 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18864         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18865         Add s_sincosf-sse2.
18866         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18867         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18868         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18869         macros for using routine as __sincosf_ia32.
18870         Use macro for function declaration and weak_alias.
18871         * sysdeps/i386/fpu/libm-test-ulps: Update.
18873         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18876         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18877         subnormal argument.
18878         * math/s_cexpf.c (__cexpf): Likewise.
18879         * math/s_csinf.c (__csinf): Likewise.
18880         * math/s_csinhf.c (__csinhf): Likewise.
18881         * math/s_ctanf.c (__ctanf): Likewise.
18882         * math/s_ctanhf.c (__ctanhf): Likewise.
18883         * math/s_ccosh.c (__ccoshf): Likewise.
18884         * math/s_cexp.c (__cexpl): Likewise.
18885         * math/s_csin.c (__csin): Likewise.
18886         * math/s_csinh.c (__csinh): Likewise.
18887         * math/s_ctan.c (__ctan): Likewise.
18888         * math/s_ctanh.c (ctanh): Likewise.
18889         * math/s_ccoshl.c (__ccoshl): Likewise.
18890         * math/s_cexpl.c (__cexpl): Likewise.
18891         * math/s_csinl.c (__csinl): Likewise.
18892         * math/s_csinhl.c (__csinhl): Likewise.
18893         * math/s_ctanl.c (__ctanl): Likewise.
18894         * math/s_ctanhl.c (__ctanhl): Likewise.
18896 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18898         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18899         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18900         (_IO_off_t): Define to __off_t, not _G_off_t.
18901         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18902         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18903         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18904         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18905         type of __dummy and __dummy2 fields.
18906         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18907         (_G_ssize_t): Likewise.
18908         (_G_off_t): Likewise.
18909         (_G_pid_t): Likewise.
18910         (_G_uid_t): Likewise.
18911         (_G_wchar_t): Likewise.
18912         (_G_wint_t): Likewise.
18913         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18914         (_G_ssize_t): Likewise.
18915         (_G_off_t): Likewise.
18916         (_G_pid_t): Likewise.
18917         (_G_uid_t): Likewise.
18918         (_G_wchar_t): Likewise.
18919         (_G_wint_t): Likewise.
18920         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18921         (_G_ssize_t): Likewise.
18922         (_G_off_t): Likewise.
18923         (_G_pid_t): Likewise.
18924         (_G_uid_t): Likewise.
18925         (_G_wchar_t): Likewise.
18926         (_G_wint_t): Likewise.
18928 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18930         * malloc/arena.c: Include malloc-sysdep.h.
18931         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18932         is sufficient to shrink the heap or an unmap is needed.
18933         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18934         new function check_may_shrink_heap.
18935         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18936         new function check_may_shrink_heap.
18938 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18940         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18941         comments.
18943 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18945         * catgets/test-gencat.sh: Add "set -e".
18946         * elf/tst-pathopt.sh: Likewise.
18947         * grp/tst_fgetgrent.sh: Likewise.
18948         * iconvdata/run-iconv-test.sh: Likewise.
18949         * intl/tst-gettext.sh: Likewise.
18950         * intl/tst-gettext2.sh: Likewise.
18951         * intl/tst-gettext4.sh: Likewise.
18952         * intl/tst-gettext6.sh: Likewise.
18953         * intl/tst-translit.sh: Likewise.
18954         * io/ftwtest-sh: Likewise.
18955         * libio/test-freopen.sh: Likewise.
18956         * malloc/tst-mtrace.sh: Likewise.
18957         * posix/globtest.sh: Likewise.
18958         * posix/tst-getconf.sh: Likewise.
18959         * posix/wordexp-tst.sh: Likewise.
18960         * stdio-common/tst-printf.sh: Likewise.
18961         * stdio-common/tst-unbputc.sh: Likewise.
18962         * stdlib/tst-fmtmsg.sh: Likewise.
18963         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18964         * catgets/Makefile: Do not specify -e option when running
18965         testsuite shell scripts.
18966         * elf/Makefile: Likewise.
18967         * grp/Makefile: Likewise.
18968         * iconvdata/Makefile: Likewise.
18969         * intl/Makefile: Likewise.
18970         * io/Makefile: Likewise.
18971         * libio/Makefile: Likewise.
18972         * malloc/Makefile: Likewise.
18973         * posix/Makefile: Likewise.
18974         * stdio-common/Makefile: Likewise.
18975         * stdlib/Makefile: Likewise.
18976         * sysdeps/x86_64/Makefile: Likewise.
18978         * io/ftwtest-sh: Add copyright header.
18979         * posix/globtest.sh: Likewise.
18980         * posix/tst-getconf.sh: Likewise.
18981         * posix/wordexp-tst.sh: Likewise.
18982         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18984 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18986         [BZ #13679]
18987         * Makeconfig (+link): Defined as $(+link-static) if
18988         $(build-shared) isn't yes.
18989         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18990         isn't yes.
18991         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18993         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18995         [BZ #14562]
18996         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18997         new chunk size with MALLOC_ALIGN_MASK.
18999 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19001         [BZ #5044]
19002         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19003         <rounding-mode.h>.
19004         (__printf_fphex): Determine rounding using get_rounding_mode and
19005         round_away.
19006         * stdio-common/tst-printf-round.c (struct hex_test): New
19007         structure.
19008         (hex_tests): New variable.
19009         (test_hex_in_one_mode): New function.
19010         (do_test): Also run tests for hex float output.
19012 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19014         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19015         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19016         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19017         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19018         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19019         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19020         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19021         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19023 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19025         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19026         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19027         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19028         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19030 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19032         [BZ #14579]
19033         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19034         mode only.
19035         * elf/tst-rtld-load-self.sh: New test.
19036         * elf/Makefile: Run it.
19038 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19040         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19041         (tst-writev-ENV): Remove.
19042         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19044 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19046         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19048 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19050         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19051         unconditional.
19052         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19053         Likewise.
19054         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19055         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19056         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19057         Likewise.
19059 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19061         [BZ #14587]
19062         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19063         * config.make.in (have-cpp-asm-debuginfo): Removed.
19064         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19065         * configure: Regenerated.
19067 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19069         [BZ #5044]
19070         * stdio-common/printf_fp.c: Include <stdbool.h> and
19071         <rounding-mode.h>.
19072         (___printf_fp): Determine rounding using get_rounding_mode and
19073         round_away.
19074         * stdio-common/tst-printf-round.c: New file.
19075         * stdio-common/Makefile (tests): Add tst-printf-round.
19076         (link-libm): New variable.
19077         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19079 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19081         [BZ #14576]
19082         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19083         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19084         Likewise.
19085         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19086         Likewise.
19088 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19090         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19091         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19092         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19095 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19097         [BZ #14518]
19098         * include/rounding-mode.h: New file.
19099         * sysdeps/generic/get-rounding-mode.h: Likewise.
19100         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19101         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19102         (MAX_VALUE): New macro.
19103         (MIN_VALUE): Likewise.
19104         (overflow_value): New function.
19105         (underflow_value): Likewise.
19106         (round_and_return): Use overflow_value and underflow_value to
19107         determine return values in overflow and underflow cases.  Use
19108         round_away to determine rounding depending on rounding mode.
19109         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19110         determine return values in overflow and underflow cases.
19111         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19112         (struct test_results): New structure.
19113         (struct test): Use struct test_results to store expected results
19114         for all rounding modes.
19115         (TEST): Include expected results for all rounding modes.
19116         (test_in_one_mode): New function.
19117         (do_test): Use test_in_one_mode to compute and check results.
19118         Check results for all rounding modes.
19119         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19120         $(link-libm).
19122 2012-12-09  Allan McRae  <allan@archlinux.org>
19124         * sysdeps/i386/fpu/libm-test-ulps: Update
19126 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19128         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19129         (_G_int32_t): Likewise.
19130         (_G_uint16_t): Likewise.
19131         (_G_uint32_t): Likewise.
19132         (_G_HAVE_BOOL): Likewise.
19133         (_G_HAVE_ATEXIT): Likewise.
19134         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19135         (_G_HAVE_IO_FILE_OPEN): Likewise.
19136         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19137         (_G_int32_t): Likewise.
19138         (_G_uint16_t): Likewise.
19139         (_G_uint32_t): Likewise.
19140         (_G_HAVE_BOOL): Likewise.
19141         (_G_HAVE_ATEXIT): Likewise.
19142         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19143         (_G_HAVE_IO_FILE_OPEN): Likewise.
19144         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19145         (_G_int32_t): Likewise.
19146         (_G_uint16_t): Likewise.
19147         (_G_uint32_t): Likewise.
19148         (_G_HAVE_BOOL): Likewise.
19149         (_G_HAVE_ATEXIT): Likewise.
19150         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19151         (_G_HAVE_IO_FILE_OPEN): Likewise.
19153 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19155         * csu/libc-tls.c: Update copyright years.
19157 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19159         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19160         [!_G_USING_THUNKS]: Remove conditional code.
19161         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19162         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19164         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19165         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19166         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19167         (_G_VTABLE_LABEL_PREFIX): Likewise.
19168         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19169         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19170         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19171         (_G_VTABLE_LABEL_PREFIX): Likewise.
19172         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19173         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19175         (_G_VTABLE_LABEL_PREFIX): Likewise.
19176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19178 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19180         * libio/Makefile: Include ../Makeconfig before tests.
19181         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19182         only if $(build-shared) is yes.
19184         * iconv/gconv_db.c: Update copyright years.
19186 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19188         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19189         unwind info if defined PIC. Fix special cases description.
19190         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19192         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19193         DP_HI_MASK entry.
19194         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19196 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19198         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19200         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19201         is NULL.
19203         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19204         (LDLIBS-tst-chk4): This.
19205         (LDFLAGS-tst-chk5): Renamed to ...
19206         (LDLIBS-tst-chk5): This.
19207         (LDFLAGS-tst-chk6): Renamed to ...
19208         (LDLIBS-tst-chk6): This.
19209         (LDFLAGS-tst-lfschk4): Renamed to ...
19210         (LDLIBS-tst-lfschk4): This.
19211         (LDFLAGS-tst-lfschk5): Renamed to ...
19212         (LDLIBS-tst-lfschk5): This.
19213         (LDFLAGS-tst-lfschk6): Renamed to ...
19214         (LDLIBS-tst-lfschk6): This.
19216         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19217         on $(common-objpfx)soversions.mk.
19219 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19221         [BZ #10014]
19222         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19223         example host name.
19225 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19227         * malloc/arena.c (arena_get_retry): New function that gets
19228         another arena for the caller to try its request on.
19229         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19230         current arena cannot fulfill the request.
19231         (__libc_memalign): Likewise.
19232         (__libc_memalign): Likewise.
19233         (__libc_pvalloc): Likewise.
19234         (__libc_calloc): Likewise.
19236 2012-09-05  John Tobey  <john.tobey@gmail.com>
19238         [BZ #13542]
19239         * manual/arith.texi (Operations on Complex): Fix description
19240         of carg branch cut.
19242 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19244         [BZ #10014]
19245         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19246         host name.
19248         [BZ #10038]
19249         * manual/memory.texi (Memory): Make order of menu items match
19250         order of sections.
19252 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19254         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19255         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19256         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19258 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19260         * csu/libc-tls.c (static_dtv): Renamed to ...
19261         (_dl_static_dtv): This.  Make it global.
19262         (_dl_initial_dtv): Removed.
19263         (__libc_setup_tls): Updated.
19264         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19265         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19266         DL_INITIAL_DTV.
19268 2012-09-06  Petr Machata  <pmachata@redhat.com>
19270         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19271         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19272         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19273         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19275 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19277         [BZ #14545]
19278         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19279         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19280         freeing dtv[-1].
19282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19284         [BZ #14544]
19285         * Makeconfig (link-static-before-libc): Replace $(+prector)
19286         with $(+prectorT).
19287         (link-static-after-libc): Replace $(+postctor) with
19288         $(+postctorT).
19289         (link-bounded): Replace $(+prector)/$(+postctor) with
19290         $(+prectorT)/$(+postctorT).
19291         (+prectorT): New macro.
19292         (+postctorT): Likewise.
19294 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19296         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19297         (round_str): Handle values above the maximum for IBM long double
19298         as inexact.
19299         * stdlib/tst-strtod-round.c (tests): Regenerated.
19301 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19303         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19304         assembler flag.
19305         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19306         zarch_nohighgprs around the zarch optimized routines.
19307         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19308         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19310         for zarch.
19312 2012-09-05  David S. Miller  <davem@davemloft.net>
19314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19316         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19317         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19318         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19319         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19320         entries.
19322 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19324         * malloc/arena.c: Fold copyright years.
19325         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19327 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19329         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19333         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19337         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19338         change internal state upon failure.
19340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19342         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19343         * malloc/memusage.c (mmap): Likewise.
19344         (mmap64, mremap): Likewise.  Adjust name in comment.
19346 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19348         * libio/fileops.c: Fix typos in comments.
19349         * libio/oldfileops.c: Likewise.
19350         * libio/wfileops.c: Likewise.
19352 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19354         [BZ #1349]
19355         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19356         (tst-malloc-usable-ENV): Set environment for test case.
19357         * malloc/hooks.c (malloc_check_get_size): New function to get
19358         requested size.
19359         * malloc/malloc.c (musable): Use malloc_check_get_size.
19360         * malloc/tst-malloc-usable.c: New test case.
19362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19364         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19366 2012-09-05  Allan McRae  <allan@archlinux.org>
19368         [BZ #13966]
19369         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19370         determine header location.
19371         * configure: Regenerated.
19373 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19375         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19376         float format.
19377         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19378         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19379         format.
19380         (test): Regenerate.
19382 2012-09-04  David S. Miller  <davem@davemloft.net>
19384         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19385         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19386         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19388 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19390         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19391         failures.
19393         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19395 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19397         [BZ #9914]
19398         * libio/iogetdelim.c: Include <limits.h>.
19399         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19400         + len + 1 would overflow.
19402 2012-09-03  Andreas Jaeger  <aj@suse.de>
19404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19405         * sysdeps/i386/fpu/libm-test-ulps: Update.
19407 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19409         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19410         Add s_sinf-sse2, s_conf-sse2.
19412         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19413         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19414         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19415         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19417         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19418         for using routine as __sinf_ia32.
19419         Use macro for function declaration and weak_alias.
19420         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19421         for using routine as __cosf_ia32.
19422         Use macro for function declaration and weak_alias.
19424         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19425         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19427         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19428         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19431         * math/libm-test.inc (cos_test): Add more test cases.
19432         (sin_test): Likewise.
19433         (sincos_test): Likewise.
19435 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19438         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19439         hidden.
19440         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19442 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19444         [BZ #14538]
19445         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19446         first element of the GOT.
19447         (elf_machine_load_address): Return the difference between
19448         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19450 2012-09-01  Allan McRae  <allan@archlinux.org>
19452         [BZ #13412]
19453         * configure.in (AWK): Require gawk version 3.0 or later.
19454         * configure: Regenerated.
19456 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19458         * sysdeps/unix/sysv/linux/kernel-features.h
19459         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19461         [__NR_clock_getres]: Make code unconditional.
19462         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19463         (clock_getcpuclockid): Remove code left unreachable by removal of
19464         conditionals.
19465         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19466         code unconditional.
19467         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19468         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19469         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19470         Make code unconditional.
19471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19473         * sysdeps/unix/sysv/linux/clock_settime.c
19474         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19475         conditional code.
19476         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19477         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19479 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19481         [BZ #14476]
19482         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19483         scripts/test-installation.pl.
19485         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19486         and $ld_so_version if it is set.
19488 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19490         [BZ #14516]
19491         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19492         failure if reading from procfs failed.
19493         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19495 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19497         * sysdeps/unix/sysv/linux/kernel-features.h
19498         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19499         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19500         Remove conditional code.
19501         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19502         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19503         Remove conditional code.
19504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19505         * sysdeps/unix/sysv/linux/i386/fxstat.c
19506         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19508         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19509         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19511         * sysdeps/unix/sysv/linux/i386/lxstat.c
19512         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19513         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19514         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19515         Remove conditional code.
19516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19517         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19518         Remove conditional code.
19519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19520         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19521         <kernel-features.h>.
19522         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19523         Remove.
19524         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19525         Remove conditional code.
19526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19527         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19528         Remove conditional.
19530 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19532         [BZ #5400]
19533         * NEWS: Add fixed bug number.
19535 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19537         [BZ #14519]
19538         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19539         underflowing exponent in case of negative sign.
19540         * stdlib/tst-strtod-round-data: Add more tests.
19541         * stdlib/tst-strtod-round.c (tests): Regenerated.
19543         [BZ #3479]
19544         * stdlib/strtod_l.c (NDIG): Remove.
19545         (HEXNDIG): Likewise.
19546         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19547         smallest representable value.
19548         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19549         lie within an exact representation of 1/2 ulp of the result.
19550         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19551         unconditionally.
19552         (TENS_P9_IDX): Define unconditionally.
19553         (TENS_P9_SIZE): Likewise.
19554         (TENS_P10_IDX): Likewise.
19555         (TENS_P10_SIZE): Likewise.
19556         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19557         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19558         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19559         entries for 10^2^13 and 10^2^14.
19560         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19561         (TENS_P13_IDX): Define.
19562         (TENS_P13_SIZE): Likewise.
19563         (TENS_P14_IDX): Likewise.
19564         (TENS_P14_SIZE): Likewise.
19565         (_fpioconst_pow10): Change array size to
19566         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19567         unconditional.
19568         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19569         1024]: Add entries for 10^2^13 and 10^2^14.
19570         [LAST_POW10 > _LAST_POW10]: Remove #error.
19571         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19572         (_fpioconst_pow10): Change array size to
19573         FPIOCONST_POW10_ARRAY_SIZE.
19574         * stdlib/gen-fpioconst.c: New file.
19575         * stdlib/gen-tst-strtod-round.c: Likewise.
19576         * stdlib/tst-strtod-round-data: Likewise.
19577         * stdlib/tst-strtod-round.c: Likewise.
19578         * stdlib/Makefile (tests): Add tst-strtod-round.
19580         [BZ #14459]
19581         * stdlib/strtod_l.c: Include <stdint.h>.
19582         (NDEBUG): Do not define.
19583         (round_and_return): Change EXPONENT parameter to type intmax_t.
19584         Rearrange calculations to avoid internal overflow possibilities.
19585         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19586         Rearrange calculations to avoid internal overflow possibilities.
19587         Assert that number fits inside MPNSIZE limbs.
19588         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19589         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19590         calculations and add assertions to avoid internal overflow
19591         possibilities.  Add casts to avoid signed/unsigned operations.
19592         * stdlib/tst-strtod-overflow.c: New file.
19593         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19595 2012-08-25  Marek Polacek  <polacek@redhat.com>
19597         * time/time.h: Fix some typos in comments.
19599 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19601         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19602         * posix/tst-rfc3484-2.c: Likewise.
19603         * posix/tst-rfc3484-3.c: Likewise.
19605 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19607         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19608         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19610 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19612         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19613         #include of fxstatat64.c.
19615 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19617         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19618         * shadow/getspent_r.c: Likewise.
19619         * shadow/getspnam.c: Likewise.
19620         * shadow/getspnam_r.c: Likewise.
19621         * gshadow/getsgent.c: Likewise.
19622         * gshadow/getsgent_r.c: Likewise.
19623         * gshadow/getsgnam.c: Likewise.
19624         * gshadow/getsgnam_r.c: Likewise.
19625         * inet/getnetbyad.c: Likewise.
19626         * inet/getnetbyad_r.c: Likewise.
19627         * inet/getnetbynm.c: Likewise.
19628         * inet/getnetbynm_r.c: Likewise.
19629         * inet/getnetent.c: Likewise.
19630         * inet/getnetent_r.c: Likewise.
19631         * inet/getproto.c: Likewise.
19632         * inet/getproto_r.c: Likewise.
19633         * inet/getprtent.c: Likewise.
19634         * inet/getprtent_r.c: Likewise.
19635         * inet/getprtname.c: Likewise.
19636         * inet/getprtname_r.c: Likewise.
19637         * inet/getrpcbyname.c: Likewise.
19638         * inet/getrpcbyname_r.c: Likewise.
19639         * inet/getrpcbynumber.c: Likewise.
19640         * inet/getrpcbynumber_r.c: Likewise.
19641         * inet/getrpcent.c: Likewise.
19642         * inet/getrpcent_r.c: Likewise.
19643         * inet/getaliasent.c: Likewise.
19644         * inet/getaliasent_r.c: Likewise.
19645         * inet/getaliasname.c: Likewise.
19646         * inet/getaliasname_r.c: Likewise.
19647         * nscd/getgrgid_r.c: Likewise.
19648         * nscd/getgrnam_r.c: Likewise.
19649         * nscd/gethstbyad_r.c: Likewise.
19650         * nscd/gethstbynm3_r.c: Likewise.
19651         * nscd/getpwnam_r.c: Likewise.
19652         * nscd/getpwuid_r.c: Likewise.
19653         * nscd/getsrvbynm_r.c: Likewise.
19654         * nscd/getsrvbypt_r.c: Likewise.
19655         * nscd/gai.c: Likewise.
19657         * configure.in (build_nscd): New substituted variable, set
19658         by --disable-build-nscd and defaults to $use_nscd.
19659         * configure: Regenerated.
19660         * config.make.in (build-nscd): New substituted variable.
19661         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19662         Change conditional to require [$(build-nscd) = yes] as well.
19663         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19665         [BZ# 13696]
19666         * configure.in (use_nscd): New substituted variable, set by
19667         --disable-nscd.  If enabled, define USE_NSCD.
19668         * configure: Regenerated.
19669         * config.h.in: Add USE_NSCD.
19670         * config.make.in (use-nscd): New substituted variable.
19671         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19672         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19673         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19674         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19675         (CFLAGS-getgrnam_r.c): Likewise.
19676         (CFLAGS-initgroups.c): Likewise.
19677         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19678         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19679         Variables removed.
19680         * inet/getnetgrent_r.c
19681         (nscd_setnetgrent): New function, broken out of ...
19682         (setnetgrent): ... here.  Call it.
19683         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19684         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19685         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19686         * nscd/Makefile (routines, aux): Move definitions after include of
19687         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19688         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19689         Conditionalize on [USE_NSCD].
19690         (is_nscd, nscd_init_cb): Likewise.
19691         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19692         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19693         * nss/nss_db/db-init.c: Likewise.
19694         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19695         [USE_NSCD].
19696         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19697         (make_request): Use it.
19698         (cache_valid_p): New function.
19699         (__check_pf): Use it.
19700         * NEWS: Add item for --disable-nscd.
19702 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19704         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19705         to support sed >= 4.2.1-20-ga9bf076.
19706         * configure: Regenerated.
19708 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19710         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19711         Conditionalize whole body on [IREL].
19713 2012-08-22  Jeff Law <law@redhat.com>
19715         [BZ #14505]
19716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19717         if the family is PF_UNSPEC.
19719 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19721         * Makerules (lib-version): Rename from V.
19722         (install-lib-nosubdir): Change V to lib-version.
19724 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19726         [BZ #14252]
19727         * powerpc32/power6/wcschr.c: New file.
19728         * powerpc32/power6/wcscpy.c: New file.
19729         * powerpc32/power6/wcsrchr.c: New file.
19730         * powerpc64/power6/wcschr.c: New file.
19731         * powerpc64/power6/wcscpy.c: New file.
19732         * powerpc64/power6/wcsrchr.c: New file.
19734 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19736         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19737         (two_way_short_needle): Use it.
19738         * string/strstr.c (AVAILABLE1_USES_J): Define.
19739         * string/strcasestr.c: Likewise.
19741         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19742         array references.
19743         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19745         [BZ #11607]
19746         * NEWS: Add an entry.
19747         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19748         define their defaults.
19749         (two_way_short_needle): Detect end-of-string on-the-fly.
19750         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19751         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19752         * string/bug-strcasestr1.c: New test.
19753         * string/Makefile: Run it.
19755 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19757         [BZ #11607]
19758         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19759         the first character.
19761 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19763         * csu/elf-init.c (__libc_csu_irel): Function removed.
19764         * csu/libc-start.c (apply_irel): New function.
19765         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19767 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19769         * sysdeps/unix/sysv/linux/kernel-features.h
19770         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19771         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19772         <kernel-features.h>.
19773         [__NR_fadvise64_64]: Make code unconditional.
19774         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19775         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19776         !__NR_fadvise64_64)]: Likewise.
19777         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19778         !__NR_fadvise64_64))]: Likewise.
19779         [__NR_fadvise64]: Make code unconditional.
19780         [!__NR_fadvise64]: Remove conditional code.
19781         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19782         <kernel-features.h>.
19783         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19784         unconditional.
19785         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19786         conditional code.
19787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19788         not include <kernel-features.h>.
19789         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19790         unconditional.
19791         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19792         conditional code.
19793         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19794         include <kernel-features.h>.
19795         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19796         unconditional.
19797         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19798         conditional code.
19800 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19803         slight instruction rearrangements per scrollpipe analysis.
19804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19806 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19808         * manual/syslog.texi (syslog; vsyslog, closelog):
19809         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19810         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19812         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19813         DSOCAPS to match condition on defining it.
19815 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19817         * sysdeps/unix/sysv/linux/kernel-features.h
19818         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19820         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19821         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19823         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19824         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19826         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19827         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19829         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19830         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19832         * sysdeps/unix/sysv/linux/kernel-features.h
19833         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19834         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19835         unconditional.
19836         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19837         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19838         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19839         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19840         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19841         Make code unconditional.
19842         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19843         (__mmap64) [!__NR_mmap2]: Likewise.
19844         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19848         [__NR_mmap2]: Make code unconditional.
19849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19850         (__mmap64) [!__NR_mmap2]: Likewise.
19852 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19854         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19856 2012-08-18  Andreas Jaeger  <aj@suse.de>
19858         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19860 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19862         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19863         * include/unistd.h (__have_sock_cloexec): Likewise.
19864         (__have_pipe2): Likewise.
19865         (__have_dup3): Likewise.
19867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19869         [BZ #9685]
19870         * include/unistd.h (__have_pipe2): Change define into an extern int.
19871         (__have_dup3): Likewise.
19872         * socket/have_sock_cloexec.c: Include fcntl.h.
19873         (__have_pipe2): New variable.
19874         (__have_dup3): Likewise.
19876 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19878         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19880 2012-08-17  Marek Polacek  <polacek@redhat.com>
19882         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19883         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19885 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19887         * configure.in: Add AC_SUBST for sysheaders.
19888         * configure: Regenerated.
19889         * config.make.in (sysheaders): New substituted variable.
19891         * sysdeps/unix/mkfifo.c: Moved ...
19892         * sysdeps/posix/mkfifo.c: ... here.
19893         * sysdeps/unix/mkfifoat.c: Moved ...
19894         * sysdeps/posix/mkfifoat.c: ... here.
19896         * sysdeps/unix/utime.c: Moved ...
19897         * sysdeps/posix/utime.c: ... here.
19899         * sysdeps/unix/time.c: Moved ...
19900         * sysdeps/posix/time.c: ... here.
19901         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19902         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19904         * sysdeps/unix/nice.c: Moved ...
19905         * sysdeps/posix/nice.c: ... here.
19907         * sysdeps/unix/alarm.c: Moved ...
19908         * sysdeps/posix/alarm.c: ... here.
19910         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19912 2012-08-17  Jeff Law <law@redhat.com>
19914         * intl/Makefile (codeset_mo): New variable.
19915         ($(codeset_mo)): New target.
19916         (tst-codeset.out): Depend on that.  Remove explicit rule.
19917         (tst-gettext3.out, tst-gettext5.out): Likewise.
19918         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19919         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19920         * intl/tst-codeset.sh: Remove.
19921         * intl/tst-gettext3.sh: Likewise.
19922         * intl/tst-gettext5.sh: Likewise.
19924 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19926         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19927         * sysdeps/unix/syscalls.list: ... here.
19929         * sysdeps/posix/getaddrinfo.c
19930         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19931         (gaiconf_init, gaiconf_reload): Use them.
19932         [!_STATBUF_ST_NSEC]
19933         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19934         Define using time_t rather than struct timespec.
19936         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19937         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19938         Macros removed.
19939         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19940         [!NO_THREADS].
19941         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19942         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19943         Likewise.
19945         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19946         __libc_cleanup_push argument.
19948         * bits/param.h: New file.
19949         * misc/sys/param.h: New file.
19950         * include/sys/param.h: New file.
19951         * misc/Makefile (headers): Add bits/param.h.
19952         * sysdeps/generic/sys/param.h: File removed.
19953         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19954         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19955         * sysdeps/mach/hurd/bits/param.h: New file.
19956         * sysdeps/mach/hurd/sys/param.h: File removed.
19958         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19959         last change.
19961         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19962         [_IO_MTSAFE_IO].
19963         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19964         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19965         New macros.
19967         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19968         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19969         rather than -D_IO_MTSAFE_IO conditionally.
19970         * stdio-common/Makefile (CPPFLAGS): Likewise.
19971         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19972         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19973         Use $(libio-mtsafe).
19974         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19975         of -D_IO_MTSAFE_IO.
19976         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19977         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19978         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19979         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19980         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19981         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19982         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19983         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19984         (CFLAGS-fread_u_chk.c): Likewise.
19985         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19986         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19987         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19988         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19989         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19990         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19991         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19992         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19993         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19995         * libio/Makefile: Test [$(libc-reentrant) = yes]
19996         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19998         * Makeconfig
19999         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20000         * sysdeps/pthread/configure: File removed.
20001         * sysdeps/pthread/Makeconfig: New file.
20002         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20003         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20005 2012-08-16  Gary Benson  <gbenson@redhat.com>
20007         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20008         unmapping the first object in a namespace.
20010 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20012         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20013         (__internal_setnetgrent): ... this.  Add internal_function to
20014         definition.  Add libc_hidden_def.
20015         (setnetgrent): Update caller.
20016         (internal_endnetgrent): Renamed to ...
20017         (__internal_endnetgrent): ... this.  Add internal_function to
20018         definition.  Add libc_hidden_def.
20019         (endnetgrent): Update caller.
20020         (internal_getnetgrent_r): Renamed to ...
20021         (__internal_getnetgrent_r): ... this.  Add internal_function to
20022         definition.  Add libc_hidden_def.
20023         (__getnetgrent_r): Update caller.
20024         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20028         * stdlib/longlong.h: Update from GCC.
20030 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20032         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20033         on _QL, which is set by umul_ppmm but never used.
20034         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20035         variables, which are set by GMP macros but never used.
20036         * stdio-common/_itowa.c (_itowa): Likewise.
20037         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20038         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20040 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20042         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20043         struct La_sh_regs is not constant.
20044         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20045         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20046         and struct La_sparc64_regs are not constant.
20048 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20050         * sysdeps/unix/sysv/linux/kernel-features.h
20051         (__ASSUME_POSIX_TIMERS): Remove.
20052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20053         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20054         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20055         Make code unconditional.
20056         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20057         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20058         Make code unconditional.
20059         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20060         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20061         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20062         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20063         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20064         Make code unconditional.
20065         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20066         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20067         (__libc_missing_posix_timers): Remove.
20069 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20071         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20072         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20074         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20076         * elf/dl-sym.c: Include <stdlib.h>.
20078         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20079         constants, which avoids warnings in 32-bit builds.
20081         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20082         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20084         * misc/lseek.c: File moved to ...
20085         * io/lseek.c: ... here.
20087         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20089         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20090         shifting LEN more than 31 bits at once.
20092 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20094         [BZ #14195]
20095         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20096         segmentation fault for a case of two empty input strings.
20097         * string/test-strncasecmp.c (check1): Renamed to...
20098         (bz12205): ...this.
20099         (bz14195): Add new testcase for two empty input strings and N > 0.
20100         (test_main): Call new testcase, adapt for renamed function.
20102 2012-08-15  Andreas Jaeger  <aj@suse.de>
20104         [BZ #14090]
20105         * crypt/md5test2.c: New test, based on test supplied by Serge
20106         Belyshev <belyshev@depni.sinp.msu.ru>.
20107         * crypt/Makefile (xtests): Add md5test-giant..
20108         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20110 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20112         [BZ #14090]
20113         * crypt/md5.c (md5_process_block): Don't assume the buffer
20114         length is less than 2**32.
20115         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20116         length is less than 2**64.
20118 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20120         * string/str-two-way.h: Include <sys/param.h>.
20121         (MAX): Macro removed.
20123         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20124         Move #define and #undef of memmove to just before and after
20125         including <string.h>.
20127         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20128         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20129         and after including <string.h>.  Move declarations of
20130         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20131         to before #include "string/memmove.c".
20133         * include/dirent.h: Declare __getdirentries.
20135         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20136         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20138 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20140         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20141         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20142         * sysdeps/i386/configure: Regenerated.
20143         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20144         STABS_CURRENT_FILE, and STABS_FUN.
20145         (END): Remove call to STABS_FUN_END.
20146         (STABS_CURRENT_FILE1): Delete.
20147         (STABS_CURRENT_FILE): Likewise.
20148         (STABS_FUN): Likewise.
20149         (STABS_FUN_END): Likewise.
20150         (STABS_FUN2): Likewise.
20151         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20152         * sysdeps/x86_64/configure: Regenerated.
20154 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20156         * elf/dl-open.c: Include <atomic.h>.
20157         * elf/dl-lookup.c: Likewise.
20159 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20161         * sysdeps/unix/sysv/linux/kernel-features.h
20162         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20163         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20164         unconditionally.
20165         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20166         unconditionally.
20167         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20168         condition on __ASSUME_CLONE_THREAD_FLAGS.
20170 2012-08-14  Andreas Jaeger  <aj@suse.de>
20172         * sysdeps/i386/fpu/libm-test-ulps: Update.
20174 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20176         * include/atomic.h (atomic_exchange_and_add): Split into ...
20177         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20178         New atomic macros.
20180 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20184 2012-08-13  Jeff Law <law@redhat.com>
20186         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20187         null byte in the output string.
20189 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20191         * sysdeps/unix/sysv/linux/kernel-features.h
20192         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20193         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20194         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20196         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20197         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20198         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20200 2012-08-09  Jeff Law <law@redhat.com>
20202         [BZ #13939]
20203         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20204         When avoid_arena is set, don't retry in the that arena.  Pick the
20205         next one, whatever it might be.
20206         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20207         (arena_lock): Pass in new parameter to arena_get2.
20208         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20209         arena_get2.
20210         (__libc_malloc): Unify retrying after main arena failure with
20211         __libc_memalign version.
20212         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20214 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20216         [BZ #14166]
20217         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20218         to __redirect_strstr.
20219         (__strstr_sse42): Use typeof __redirect_strstr.
20220         (__strstr_ia32): Likewise.
20221         (__libc_strstr): New prototype.
20222         (strstr): Renamed to ...
20223         (__libc_strstr): This.
20224         (strstr): New strong alias of __libc_strstr.
20225         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20226         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20227         __redirect_time.
20228         Include <time.h>.
20229         (__libc_time): New prototype.
20230         (time_ifunc): Replace time with __libc_time.
20231         (time): New strong alias and hidden definition of __libc_time.
20232         (__GI_time): Remove strong alias.
20233         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20234         Include <stddef.h>.
20235         (memmove): Redefined to __redirect_memmove.
20236         (__memmove_sse2): Use typeof __redirect_memmove.
20237         (__memmove_ssse3): Likewise.
20238         (__memmove_ssse3_back): Likewise.
20239         (__libc_memmove): New prototype.
20240         (memmove): Renamed to ...
20241         (__libc_memmove): This.
20242         (memmove): New strong alias of __libc_memmove.
20244 2012-08-08  Mark Salter  <msalter@redhat.com>
20246         * elf/elf.h
20247         (R_MN10300_TLS_GD): Define.
20248         (R_MN10300_TLS_LD): Likewise.
20249         (R_MN10300_TLS_LDO): Likewise.
20250         (R_MN10300_TLS_GOTIE): Likewise.
20251         (R_MN10300_TLS_IE): Likewise.
20252         (R_MN10300_TLS_LE): Likewise.
20253         (R_MN10300_TLS_DTPMOD): Likewise.
20254         (R_MN10300_TLS_DTPOFF): Likewise.
20255         (R_MN10300_TLS_TPOFF): Likewise.
20256         (R_MN10300_SYM_DIFF): Likewise.
20257         (R_MN10300_ALIGN): Likewise.
20258         (R_MN10300_NUM): Update.
20260 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20263         Remove.
20265 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20267         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20269         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20270         sysdeps/unix -> sysdeps/posix move.
20271         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20273 2012-08-07      Allan McRae     <allan@archlinux.org>
20275         [BZ #14303]
20276         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20277         (SUNOS_CPP): Likewise.
20278         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20279         not found.
20280         (open_input): Call CPP using execvp.
20282 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20284         * sysdeps/unix/sysv/linux/kernel-features.h
20285         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20286         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20287         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20288         (__ASSUME_WAITID_SYSCALL): Likewise.
20289         * sysdeps/unix/sysv/linux/dl-execstack.c
20290         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20291         code unconditional.
20292         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20293         conditional code.
20294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20295         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20296         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20297         code.
20298         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20299         unconditional.
20300         [__ASSUME_WAITID_SYSCALL]: Likewise.
20301         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20303 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20305         * sysdeps/unix/closedir.c: Renamed to ...
20306         * sysdeps/posix/closedir.c: ... here.
20307         * sysdeps/unix/dirfd.c: Renamed to ...
20308         * sysdeps/posix/dirfd.c: ... here.
20309         * sysdeps/unix/dirstream.h: Renamed to ...
20310         * sysdeps/posix/dirstream.h: ... here.
20311         * sysdeps/unix/fdopendir.c: Renamed to ...
20312         * sysdeps/posix/fdopendir.c: ... here.
20313         * sysdeps/unix/opendir.c: Renamed to ...
20314         * sysdeps/posix/opendir.c: ... here.
20315         * sysdeps/unix/readdir.c: Renamed to ...
20316         * sysdeps/posix/readdir.c: ... here.
20317         * sysdeps/unix/readdir_r.c: Renamed to ...
20318         * sysdeps/posix/readdir_r.c: ... here.
20319         * sysdeps/unix/rewinddir.c: Renamed to ...
20320         * sysdeps/posix/rewinddir.c: ... here.
20321         * sysdeps/unix/seekdir.c: Renamed to ...
20322         * sysdeps/posix/seekdir.c: ... here.
20323         * sysdeps/unix/telldir.c: Renamed to ...
20324         * sysdeps/posix/telldir.c: ... here.
20325         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20326         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20327         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20328         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20330         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20331         * bits/fcntl.h: ... here.
20333         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20334         not 0.
20335         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20336         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20337         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20338         (struct flock): Move l_start, l_len to the beginning.
20339         Use __pid_t for l_pid.
20340         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20341         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20342         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20343         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20344         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20345         [__USE_LARGEFILE64] (struct flock64): New type.
20346         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20348         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20349         * bits/dirent.h: ... here.
20351         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20352         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20354 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20356         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20357         Change from 2.6.0 to 2.6.16.
20358         * sysdeps/unix/sysv/linux/configure: Regenerated.
20359         * sysdeps/unix/sysv/linux/kernel-features.h
20360         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20361         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20362         version.
20363         (__ASSUME_UTIMES): Likewise.
20364         (__ASSUME_CLONE_STOPPED): Remove.
20365         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20366         architectures, not kernel version.
20367         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20368         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20369         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20370         (__ASSUME_WAITID_SYSCALL): Likewise.
20371         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20372         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20373         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20374         refer to older versions.
20376 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20378         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20379         Define alphasort64 as an alias.
20380         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20381         Define versionsort64 as an alias.
20382         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20383         Define scandir64 as an alias.
20384         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20385         Define scandirat64 as an alias.
20386         * dirent/alphasort64.c (alphasort64):
20387         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20388         * dirent/versionsort64.c: Likewise.
20389         * dirent/scandir64.c: Likewise.
20390         * dirent/scandirat64.c: Likewise.
20391         * sysdeps/wordsize-64/alphasort.c: File removed.
20392         * sysdeps/wordsize-64/alphasort64.c: File removed.
20393         * sysdeps/wordsize-64/scandir.c: File removed.
20394         * sysdeps/wordsize-64/scandir64.c: File removed.
20395         * sysdeps/wordsize-64/scandirat.c: File removed.
20396         * sysdeps/wordsize-64/scandirat64.c: File removed.
20397         * sysdeps/wordsize-64/versionsort.c: File removed.
20398         * sysdeps/wordsize-64/versionsort64.c: File removed.
20399         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20400         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20402         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20404         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20405         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20406         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20408         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20410         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20412         [defined __arch64__ || defined __sparcv9]
20413         (__INO_T_MATCHES_INO64_T): New macro.
20414         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20415         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20416         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20417         * sysdeps/unix/sysv/linux/bits/dirent.h
20418         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20419         (_DIRENT_MATCHES_DIRENT64): New macro.
20421         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20422         Define lockf64 as an alias.
20423         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20424         Define fseeko64 as an alias.
20425         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20426         Define ftello64 as an alias.
20427         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20428         Define _IO_fgetpos64 and fgetpos64 as aliases.
20429         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20430         Define _IO_fsetpos64 and fsetpos64 as aliases.
20431         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20432         Conditionalize body on this.
20433         * libio/fseeko64.c: Likewise.
20434         * libio/ftello64.c: Likewise.
20435         * libio/iofgetpos64.c: Likewise.
20436         * libio/iofsetpos64.c: Likewise.
20437         * sysdeps/wordsize-64/lockf.c: File removed.
20438         * sysdeps/wordsize-64/lockf64.c: File removed.
20439         * sysdeps/wordsize-64/fseeko.c: File removed.
20440         * sysdeps/wordsize-64/fseeko64.c: File removed.
20441         * sysdeps/wordsize-64/ftello.c: File removed.
20442         * sysdeps/wordsize-64/ftello64.c: File removed.
20443         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20444         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20445         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20446         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20447         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20448         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20449         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20450         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20451         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20452         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20453         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20454         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20455         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20456         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20458         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20460         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20462         [defined __arch64__ || defined __sparcv9]
20463         (__OFF_T_MATCHES_OFF64_T): New macro.
20464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20465         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20467         (__OFF_T_MATCHES_OFF64_T): New macro.
20469 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20471         * stdlib/secure-getenv.c (__secure_getenv): Replace
20472         GLIBC_2_16 with GLIBC_2_17.
20474 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20476         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20477         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20479 2012-08-03  David S. Miller  <davem@davemloft.net>
20481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20483 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20486         Remove.
20487         (__ASSUME_CORRECT_SI_PID): Likewise.
20488         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20489         (__ASSUME_TMPFS_NAME): Likewise.
20490         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20491         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20492         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20493         (HAVE_AUX_SECURE): Make definition unconditional.
20494         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20495         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20497 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20499         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20500         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20501         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20502         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20503         __eloop_threshold instead of SYMLOOP_MAX.
20505         * sysdeps/generic/eloop-threshold.h: New file.
20506         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20507         of MAXSYMLINKS.
20508         * elf/chroot_canon.c (chroot_canon): Likewise.
20510 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20512         [BZ #13717]
20513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20514         Change to 2.6.0 everywhere.
20515         * sysdeps/unix/sysv/linux/configure: Regenerated.
20516         * sysdeps/unix/sysv/linux/kernel-features.h
20517         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20518         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20519         kernel versions.
20520         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20521         (__ASSUME_FUTEX_REQUEUE): Remove.
20522         (__ASSUME_STATFS64): Define unconditionally.
20523         (__ASSUME_AT_SECURE): Likewise.
20524         (__ASSUME_CORRECT_SI_PID): Likewise.
20525         (__ASSUME_TGKILL): Define without depending on kernel version for
20526         i386.
20527         (__ASSUME_UTIMES): Likewise.
20528         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20529         kernel version.
20530         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20531         (__ASSUME_TMPFS_NAME): Likewise.
20532         * README: Update reference to Linux kernel versions.
20534 2012-08-02  Marek Polacek  <polacek@redhat.com>
20536         [BZ# 14150]
20537         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20538         libc_cv_asm_type_prefix with %.
20539         * configure: Regenerated.
20540         * include/libc-symbols.h: Remove comment about
20541         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20542         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20543         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20544         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20545         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20546         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20547         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20548         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20549         * elf/tst-unique2mod1.c: Likewise.
20550         * elf/tst-unique1mod2.c: Likewise.
20551         * elf/tst-unique1mod1.c: Likewise.
20552         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20553         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20554         Replace ASM_TYPE_DIRECTIVE with .type.
20555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20556         * sysdeps/i386/sysdep.h: Likewise.
20557         * sysdeps/x86_64/sysdep.h: Likewise.
20558         * sysdeps/sh/sysdep.h: Likewise.
20559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20560         Do not define ASM_TYPE_DIRECTIVE.
20561         * sysdeps/powerpc/sysdep.h: Likewise.
20562         * sysdeps/powerpc/powerpc32/sysdep.h:
20563         Replace ASM_TYPE_DIRECTIVE with .type.
20564         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20565         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20566         * sysdeps/i386/fpu/e_powf.S: Likewise.
20567         * sysdeps/i386/fpu/e_expl.S: Likewise.
20568         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20569         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20570         * sysdeps/i386/fpu/e_pow.S: Likewise.
20571         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20572         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20573         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20574         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20575         * sysdeps/i386/fpu/e_log2.S: Likewise.
20576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20577         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20578         * sysdeps/i386/fpu/e_powl.S: Likewise.
20579         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20580         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20581         * sysdeps/i386/fpu/e_logl.S: Likewise.
20582         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20583         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20584         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20585         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20586         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20587         * sysdeps/i386/fpu/e_log.S: Likewise.
20588         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20589         * sysdeps/i386/fpu/e_logf.S: Likewise.
20590         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20591         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20592         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20593         * sysdeps/i386/fpu/e_log10.S: Likewise.
20594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20599         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20600         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20601         * sysdeps/i386/i686/strtok.S: Likewise.
20602         * sysdeps/i386/i386-mcount.S: Likewise.
20603         * sysdeps/i386/strtok.S: Likewise.
20604         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20606         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20607         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20608         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20609         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20610         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20611         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20612         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20613         * sysdeps/x86_64/_mcount.S: Likewise.
20614         * sysdeps/x86_64/strtok.S: Likewise.
20615         * sysdeps/sh/_mcount.S: Likewise.
20617 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20619         * libio/iofopen.c: Include <fcntl.h>.
20620         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20621         (_IO_fopen64, fopen64): Define as aliases.
20622         * libio/iofopen64.c: Include <fcntl.h>.
20623         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20624         Conditionalize body on this.
20625         * sysdeps/wordsize-64/iofopen.c: File removed.
20626         * sysdeps/wordsize-64/iofopen64.c: File removed.
20628 2012-08-01  Marek Polacek  <polacek@redhat.com>
20630         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20631         Use dlfcn directly instead of a variable.
20632         (binfmt-subdir): Do not define.
20633         (dlfcn): Likewise.
20635 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20637         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20638         Remove all definitions.
20639         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20640         <kernel-features.h>.
20641         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20642         (miss_F_GETOWN_EX): Remove all definitions.
20643         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20644         macro definition.
20645         [!__ASSUME_FCNTL64]: Remove conditional code.
20646         [__ASSUME_FCNTL64]: Make code unconditional.
20647         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20648         <kernel-features.h>.
20649         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20650         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20651         (lockf64) [__NR_fcntl64]: Make code unconditional.
20652         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20654         * sysdeps/unix/sysv/linux/kernel-features.h
20655         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20656         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20657         Make code unconditional.
20658         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20659         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20661         [__NR_vfork]: Make code unconditional.
20662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20665         [__NR_vfork]: Make code unconditional.
20666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20669 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20671         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20672         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20674         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20675         Define mkstemp64 as an alias.
20676         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20677         Define mkstemps64 as an alias.
20678         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20679         Define mkostemp64 as an alias.
20680         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20681         Define mkostemps64 as an alias.
20682         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20683         Conditionalize body on this.
20684         * misc/mkostemp64.c: Likewise.
20685         * misc/mkostemps64.c: Likewise.
20686         * misc/mkstemps64.c: Likewise.
20687         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20688         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20689         * sysdeps/wordsize-64/mkostemp.c: File removed.
20690         * sysdeps/wordsize-64/mkstemp.c: File removed.
20691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20692         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20693         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20694         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20696         [BZ #14138]
20697         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20698         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20699         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20700         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20702         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20703         compat_symbol macros from <shlib-compat.h> rather than the underlying
20704         default_symbol_version and symbol_version macros, so that DEFAULT
20705         lines in shlib-versions are respected.
20706         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20708 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20710         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20711         Declare with warn_unused_result.
20712         (setgid, setregid, setegid, setresgid): Likewise.
20713         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20714         Likewise.
20715         * WUR-REPORT: Remove set*id functions.
20717 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20719         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20721 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20723         [BZ #10191]
20724         * include/sys/socket.h (__libc_accept, __libc_accept4):
20725         Add attribute_hidden.
20726         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20728         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20729         use of PTR_MANGLE.
20730         * inet/getnetgrent_r.c (setup): Likewise.
20732         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20734 2012-07-31  David S. Miller  <davem@davemloft.net>
20736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20738 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20740         [BZ #13629]
20741         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20742         value between 1.0 and 2.0 and smaller part has absolute value less
20743         than 1.0.
20744         * math/s_clog10.c (__clog10): Likewise.
20745         * math/s_clog10f.c (__clog10f): Likewise.
20746         * math/s_clog10l.c (__clog10l): Likewise.
20747         * math/s_clogf.c (__clogf): Likewise.
20748         * math/s_clogl.c (__clogl): Likewise.
20749         * math/libm-test.inc (clog_test): Add more tests.
20750         (clog10_test): Likewise.
20751         * sysdeps/i386/fpu/libm-test-ulps: Update.
20752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20754 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20756         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20757         Exit with zero in case no suitable GID is found, and write a
20758         message to standard error.
20760 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20762         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20763         rather than to 1.
20764         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20765         (MAXPATHLEN): Removed.
20766         (NOGROUP, NODEV): New macros.
20767         (setbit, clrbit, isset, isclr): New macros.
20768         (howmany, roundup, powerof2): New macros.
20769         (DEV_BSIZE): New macro.
20771         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20772         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20774         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20775         definition on [!__NO_LONG_DOUBLE_MATH].
20777         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20778         PTR_MANGLE and PTR_DEMANGLE.
20780         * socket/accept4.c (accept4): Rename to __libc_accept4.
20781         Define accept4 as a weak alias.
20783         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20784         on [_DIRENT_HAVE_D_TYPE].
20785         * io/ftw.c (ftw_dir): Likewise.
20787         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20789         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20791         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20792         Use the BSD numbers rather than the arbitrary ones we had.
20793         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20794         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20795         (SIGXCPU, SIGXFSZ): New macros.
20796         (_NSIG): Now 32.
20798         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20799         initializer on [_LIBC_REENTRANT].
20801         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20802         definitions inside [_POSIX_MAPPED_FILES].
20804         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20806         * dirent/opendir.c: Include <fcntl.h>.
20808         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20809         (__libc_getspecific): Likewise.
20810         (__libc_key_create): Likewise.
20812         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20813         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20814         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20815         (tmpfile64): Define as alias.
20816         * sysdeps/wordsize-64/tmpfile.c: File removed.
20817         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20818         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20821         * stdio-common/vfscanf.c: Include <stdbool.h>.
20822         * nss/makedb.c: Likewise.
20823         * stdio-common/_i18n_number.h: Likewise.
20824         * argp/argp-help.c: Likewise.
20825         * posix/wordexp.c: Likewise.
20826         * sysdeps/posix/spawni.c: Likewise.
20827         * nss/nss_files/files-initgroups.c: Likewise.
20828         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20829         * nss/nss_files/files-initgroups.c: Likewise.
20830         * nss/nss_db/db-netgrp.c: Likewise.
20831         * nss/nss_db/db-initgroups.c: Likewise.
20832         * io/fchmodat.c: Include <sys/stat.h>.
20834         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20835         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20837         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20838         [HAVE_MMAP].
20840         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20841         Add multiple inclusion protection.
20843 2012-07-27  David S. Miller  <davem@davemloft.net>
20845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20847 2012-07-27  Gary Benson  <gbenson@redhat.com>
20849         [BZ #14298]
20850         * elf/rtld.c: Include <stap-probe.h>.
20851         (dl_main): Added static probes "init_start" and "init_complete".
20852         * elf/dl-load.c: Include <stap-probe.h>.
20853         (lose): Take new parameter "nsid".
20854         Added static probe "map_failed".
20855         (_dl_map_object_from_fd): Pass namespace id to lose.
20856         Added static probe "map_start".
20857         (open_verify): Pass namespace id to lose.
20858         * elf/dl-open.c: Include <stap-probe.h>.
20859         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20860         and "reloc_complete".
20861         * elf/dl-close.c: Include <stap-probe.h>.
20862         (_dl_close_worker): Added static probes "unmap_start" and
20863         "unmap_complete".
20864         * elf/rtld-debugger-interface.txt: New file documenting the above.
20866 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20868         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20869         rather than a string variable.
20870         * sunrpc/rpc_main.c (h_output): Likewise.
20871         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20873 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20875         * inet/check_native.c: New file.
20877 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20879         [BZ #13629]
20880         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20881         if larger part has absolute value 1.0.
20882         * math/s_clog10.c (__clog10): Likewise.
20883         * math/s_clog10f.c (__clog10f): Likewise.
20884         * math/s_clog10l.c (__clog10l): Likewise.
20885         * math/s_clogf.c (__clogf): Likewise.
20886         * math/s_clogl.c (__clogl): Likewise.
20887         * math/libm-test.inc (clog_test): Add more tests.
20888         (clog10_test): Likewise.
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20893         (pltexit): Likewise.
20894         (La_regs): Likewise.
20895         (La_retval): Likewise.
20896         (int_retval): Likewise.
20897         Update #error for removed macros to refer only to definitions in
20898         tst-audit.h.
20899         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20900         macro.
20901         (pltexit): Likewise.
20902         (La_regs): Likewise.
20903         (La_retval): Likewise.
20904         (int_retval): Likewise.
20905         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20906         macro.
20907         (pltexit): Likewise.
20908         (La_regs): Likewise.
20909         (La_retval): Likewise.
20910         (int_retval): Likewise.
20911         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20912         macro.
20913         (pltexit): Likewise.
20914         (La_regs): Likewise.
20915         (La_retval): Likewise.
20916         (int_retval): Likewise.
20917         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20918         macro.
20919         (pltexit): Likewise.
20920         (La_regs): Likewise.
20921         (La_retval): Likewise.
20922         (int_retval): Likewise.
20923         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20924         macro.
20925         (pltexit): Likewise.
20926         (La_regs): Likewise.
20927         (La_retval): Likewise.
20928         (int_retval): Likewise.
20929         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20930         macro.
20931         (pltexit): Likewise.
20932         (La_regs): Likewise.
20933         (La_retval): Likewise.
20934         (int_retval): Likewise.
20935         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20936         macro definitions in tst-audit.h.
20937         * sysdeps/i386/tst-audit.h: New file.
20938         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20939         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20940         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20941         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20942         * sysdeps/sh/tst-audit.h: Likewise.
20943         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20944         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20945         * sysdeps/x86_64/tst-audit.h: Likewise.
20947 2012-07-26  Andreas Jaeger  <aj@suse.de>
20949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20950         ptrace.
20952         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20953         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20954         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20955         PTRACE_O_MASK.
20956         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20957         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20958         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20960         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20961         value.
20963         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20964         _sigsys.
20965         (si_call_addr, si_syscall, si_arch): Define new macro.
20966         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20967         _sigsys.
20968         (si_call_addr, si_syscall, si_arch): Define new marcro.
20969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20970         _sigsys.
20971         (si_call_addr, si_syscall, si_arch): Define new macro.
20972         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20973         _sigsys.
20974         (si_call_addr, si_syscall, si_arch): Define new macro.
20976 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20978         [BZ #13717]
20979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20980         Change to 2.4.21 where previously 2.4.1.
20981         * sysdeps/unix/sysv/linux/configure: Regenerated.
20982         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20983         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20984         Linux kernel version.
20985         (__ASSUME_STD_AUXV): Remove.
20986         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20987         kernel version.
20988         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20989         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20990         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20991         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20992         (__ASSUME_NETLINK_SUPPORT): Likewise.
20993         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20994         (__no_netlink_support): Remove conditional definition.
20995         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20996         Remove.
20997         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20998         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20999         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21000         (if_nameindex_ioctl): Remove.
21001         (if_nameindex_netlink): Do not handle __no_netlink_support.
21002         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21003         code.
21004         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21005         Remove conditional code.
21006         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21007         code.
21008         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21009         unconditional.
21010         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21011         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21012         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21013         Remove.
21014         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21015         [!__ASSUME_STD_AUXV]: Remove conditional code.
21016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21017         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21018         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21020         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21021         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21022         code.
21023         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21025         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21026         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21027         conditional code.
21028         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21030         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21031         code.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21034         conditional code.
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21036         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21037         code unconditional.
21038         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21039         conditional code.
21040         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21041         unconditional.
21042         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21043         conditional code.
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21045         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21046         unconditional.
21047         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21048         conditional code.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21050         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21051         code unconditional.
21052         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21053         conditional code.
21054         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21055         unconditional.
21056         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21057         conditional code.
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21059         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21060         code unconditional.
21061         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21062         conditional code.
21063         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21064         unconditional.
21065         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21066         conditional code.
21068 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21070         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21071         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21072         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21073         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21074         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21077         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21078         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21079         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21080         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21081         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21082         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21083         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21084         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21085         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21086         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21087         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21088         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21090         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21091         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21094 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21096         * Versions.def: Add GLIBC_2.17.
21097         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21098         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21099         Introduce __libc_secure_getenv.
21100         * stdlib/Versions (2.17): Add secure_getenv
21101         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21102         * stdlib/secure-getenv.c: Rename __secure_getenv to
21103         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21104         symbol __secure_getenv for GLIBC_2.0.
21105         * stdlib/tst-secure-getenv.c: New.
21106         * stdlib/Makefile (tests): Add testcase.
21107         * manual/startup.texi (Environment Access): Document
21108         secure_getenv.
21109         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21110         __libc_secure_getenv.
21111         * inet/ruserpass.c (ruserpass): Likewise.
21112         * malloc/mtrace.c (mtrace): Likewise.
21113         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21114         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21115         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21116         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21117         HAVE_SECURE_GETENV.
21118         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21119         __secure_getenv to __libc_secure_getenv.
21120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21122         Likewise.
21123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21124         Likewise.
21125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21133 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21135         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21136         (struct La_i86_retval): Likewise.
21137         (struct La_x86_64_regs): Likewise.
21138         (struct La_x86_64_retval): Likewise.
21139         (struct La_x32_regs): Likewise.
21140         (struct La_x32_retval): Likewise.
21141         (struct La_ppc32_regs): Likewise.
21142         (struct La_ppc32_retval): Likewise.
21143         (struct La_ppc64_regs): Likewise.
21144         (struct La_ppc64_retval): Likewise.
21145         (struct La_sh_regs): Likewise.
21146         (struct La_sh_retval): Likewise.
21147         (struct La_s390_32_regs): Likewise.
21148         (struct La_s390_32_retval): Likewise.
21149         (struct La_s390_64_regs): Likewise.
21150         (struct La_s390_64_retval): Likewise.
21151         (struct La_sparc32_regs): Likewise.
21152         (struct La_sparc32_retval): Likewise.
21153         (struct La_sparc64_regs): Likewise.
21154         (struct La_sparc64_retval): Likewise.
21155         (struct audit_ifaces): Remove architecture-specific pltenter and
21156         pltexit members.
21157         * sysdeps/i386/ldsodefs.h: New file.
21158         * sysdeps/powerpc/ldsodefs.h: Likewise.
21159         * sysdeps/s390/ldsodefs.h: Likewise.
21160         * sysdeps/sh/ldsodefs.h: Likewise.
21161         * sysdeps/sparc/ldsodefs.h: Likewise.
21162         * sysdeps/x86_64/ldsodefs.h: Likewise.
21164 2012-07-25  Marek Polacek  <polacek@redhat.com>
21166         [BZ #6808]
21167         * math/libm-test.inc (yn_test): Add another test.
21168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21169         to ERANGE when the result is +-Inf.
21170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21171         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21173         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21175 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21177         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21178         equal to 0.
21179         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21180         clock_t.
21181         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21183 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21185         * configure.in <sysdeps resolving>: Correct printing
21186         Implies_before.
21187         * configure: Regenerate.
21189 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21191         * math/w_ilogb.c: Include <limits.h>.
21192         * math/w_ilogbl.c: Likewise.
21194 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21196         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21197         va_copy.  Document allowing for unavailable va_copy only as
21198         pre-C99 compatibility.
21199         * manual/string.texi (Copying and Concatenation): Use va_copy
21200         instead of __va_copy in concat example.
21202 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21204         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21205         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21206         it if not null.
21208         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21209         with O_NOLINK passed to __file_name_lookup.
21211         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21212         with O_NOLINK passed to __file_name_lookup.
21214         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21215         negative N or less than NGIDS.
21217         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21218         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21219         enough.  Use memcpy instead of strncpy.
21221 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21223         * elf/Makefile (check-data): Remove.
21224         (localplt.data): New vpath directive.
21225         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21226         instead of $(check-data).
21227         * scripts/data/localplt-generic.data: Move to ...
21228         * sysdeps/generic/localplt.data: ... here.
21229         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21230         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21231         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21233         ... here.
21234         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21236         ... here.
21237         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21239         ... here.
21240         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21242         ... here.
21243         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21245         ... here.
21246         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21248         ... here.
21250 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21252         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21253         PPC32 and PPC64 files.
21254         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21255         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21257 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21259         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21260         __makecontext_ret to ...
21261         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21262         ... here and call exit if uc_link is NULL.  New file.
21263         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21264         __makecontext_ret.S.
21265         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21266         __makecontext_ret to ...
21267         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21268         ... here and call exit if uc_link is NULL.  New file.
21269         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21270         __makecontext_ret.S.
21272 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21274         * elf/elf.h (R_390_IRELATIVE): New definition.
21275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21276         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21277         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21279         (elf_machine_lazy_rel): Likewise.
21280         * sysdeps/s390/dl-irel.h: New file.
21281         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21282         * sysdeps/s390/s390-64/memset.S: New asm code.
21283         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21284         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21285         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21286         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21287         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21288         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21290         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21291         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21292         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21293         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21294         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21295         * sysdeps/s390/s390-32/memset.S: New asm code.
21296         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21298 2012-07-17  Marek Polacek  <polacek@redhat.com>
21300         [BZ #14349]
21301         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21302         * sysdeps/s390/s390-64/configure.in: Likewise.
21303         * sysdeps/sparc/configure.in: Likewise.
21304         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21305         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21306         * sysdeps/i386/configure.in: Likewise.
21307         * sysdeps/x86_64/configure.in: Likewise.
21308         * sysdeps/sh/configure.in: Likewise.
21309         * sysdeps/s390/s390-32/configure: Regenerated.
21310         * sysdeps/s390/s390-64/configure: Likewise.
21311         * sysdeps/x86_64/configure: Likewise.
21312         * sysdeps/sh/configure: Likewise.
21313         * sysdeps/powerpc/powerpc64/configure: Likewise.
21314         * sysdeps/powerpc/powerpc32/configure: Likewise.
21315         * sysdeps/sparc/configure: Likwise.
21316         * sysdeps/i386/configure: Likewise.
21318         * elf/dl-open.c: Comment fixes.
21320 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21322         * Makefile [CXX] (check-data): Remove.
21323         [CXX] (c++-types.data): New vpath directive.
21324         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21325         vpath.  Do not allow for C++ type data being missing.
21326         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21327         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21328         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21329         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21330         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21331         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21332         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21334         ... here.
21335         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21337         ... here.
21338         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21340         ... here.
21341         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21343         ... here.
21344         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21346         ... here.
21347         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21349         ... here.
21350         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21352         ... here.
21353         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21356         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21357         definitions to architecture-specific files.
21358         (TLS_IE): Likewise.
21359         (TLS_LD): Likewise.
21360         (TLS_GD): Likewise.
21361         * sysdeps/i386/tls-macros.h: New file.
21362         * sysdeps/powerpc/tls-macros.h: Likewise.
21363         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21364         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21365         * sysdeps/sh/tls-macros.h: Likewise.
21366         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21367         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21368         * sysdeps/x86_64/tls-macros.h: Likewise.
21370 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21372         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21373         zero value for regular exit case.
21375         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21376         (__start_context): Preserve zero value for regular exit case.
21378 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21379             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21381         * manual/setjmp.texi (setcontext): Clarify normal process
21382         termination when uc_link is the null pointer.
21383         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21384         exit call.
21386 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21388         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21389         preprocessor.  Test for each exception mask separately.
21391 2012-07-16  Andreas Jaeger  <aj@suse.de>
21393         * po/ru.po: Update from translation team.
21395 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21397         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21398         equal to 0.
21399         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21400         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21401         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21402         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21405 2012-07-13  Andreas Jaeger  <aj@suse.de>
21407         * po/fr.po: Update from translation team.
21409 2012-07-12  Marek Polacek  <polacek@redhat.com>
21411         [BZ #14173]
21412         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21414         loop condition.
21416 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21418         [BZ #13717]
21419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21420         Change to 2.4.1 where previously 2.4.0.
21421         * sysdeps/unix/sysv/linux/configure: Regenerated.
21422         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21423         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21424         version.
21425         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21426         (__ASSUME_AT_CLKTCK): Remove.
21427         (__ASSUME_AT_PAGESIZE): Likewise.
21428         (__ASSUME_AT_XID): Likewise.
21429         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21430         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21431         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21432         unconditionally.
21433         (HAVE_AUX_PAGESIZE): Likewise.
21434         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21435         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21436         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21438 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21440         [BZ #14307]
21441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21442         the temporary buffer used to invoke __gethostbyname2_r,
21443         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21444         host_data / struct gaih_addrtuple.
21445         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21446         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21447         header file nss/nsswitch.h.
21448         * nss/nsswitch.h (global scope): Add definition of implementation
21449         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21450         resolv/nss_dns/dns-host.c).
21452 2012-07-11  Andreas Jaeger  <aj@suse.de>
21454         * po/fr.po: Update from translation team.
21456         * po/sv.po: Update from translation team
21457         * po/fr.po: Another update from translation team.
21459 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21462         for subnormals or multiply small sinh result by itself.
21463         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21466 2012-07-11  David S. Miller  <davem@davemloft.net>
21468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21470 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21472         [BZ #14347]
21473         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21474         (INTERNAL_MARK): Shift it here.
21476 2012-07-10  Marek Polacek  <polacek@redhat.com>
21478         [BZ #14151]
21479         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21480         libc_cv_asm_global_directive with .globl.
21481         * configure: Regenerated.
21482         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21483         with .globl.
21484         * sysdeps/i386/configure: Regenerated.
21485         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21486         with .globl.
21487         * sysdeps/x86_64/configure: Regenerated.
21488         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21489         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21490         * elf/tst-unique2mod2.c: Likewise.
21491         * elf/tst-unique2mod1.c: Likewise.
21492         * elf/tst-unique1mod2.c: Likewise.
21493         * elf/tst-unique1mod1.c: Likewise.
21494         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21495         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21496         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21497         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21498         * sysdeps/mach/sysdep.h: Likewise.
21499         * sysdeps/i386/sysdep.h: Likewise.
21500         * sysdeps/i386/i386-mcount.S: Likewise.
21501         * sysdeps/x86_64/_mcount.S: Likewise.
21502         * sysdeps/x86_64/sysdep.h: Likewise.
21503         * sysdeps/sh/_mcount.S: Likewise.
21504         * sysdeps/sh/sysdep.h: Likewise.
21505         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21506         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21507         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21508         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21509         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21510         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21511         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21512         * locale/localeinfo.h: Likewise.
21513         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21514         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21516 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21518         [BZ #14336]
21519         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21520         system".
21521         * manual/message.texi (The Uniforum approach): Likewise.
21522         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21523         (glibc iconv Implementation): Likewise.
21525 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21527         [BZ #14337]
21528         * math/s_clog.c (__clog): Avoid scaling a value down where that
21529         could result in underflow.
21530         * math/s_clog10.c (__clog10): Likewise.
21531         * math/s_clog10f.c (__clog10f): Likewise.
21532         * math/s_clog10l.c (__clog10l): Likewise.
21533         * math/s_clogf.c (__clogf): Likewise.
21534         * math/s_clogl.c (__clogl): Likewise.
21535         * math/libm-test.inc (clog_test): Add more tests.
21536         (clog10_test): Likewise.
21537         * sysdeps/i386/fpu/libm-test-ulps: Update.
21538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21540 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21542         [BZ #14283]
21543         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21544         by 7 not 8 to examine high bit of fractional part.
21546         [BZ #14042]
21547         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21548         for call to __mcount_internal.
21549         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21550         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21551         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21553 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21555         [BZ #14154]
21556         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21557         approximation for values within 0x1p-13f of an odd multiple of
21558         pi/4.
21559         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21560         exception.  Add more tests.
21561         * sysdeps/i386/fpu/libm-test-ulps: Update.
21563         [BZ #6778]
21564         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21565         inputs and return -1 for them.  Do not check for +Inf in case not
21566         reachable for +Inf.
21567         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21568         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21569         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21570         and return -1 for them.  Do not check for +Inf in case not
21571         reachable for +Inf.
21572         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21573         define.
21574         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21575         and return -1 for them.  Do not check for +Inf in case not
21576         reachable for +Inf.
21577         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21578         spurious underflow.
21579         * sysdeps/i386/fpu/libm-test-ulps: Update.
21580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21582 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21584         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21586 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21588         [BZ #14157]
21589         [BZ #14331]
21590         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21591         could result in spurious underflow.  Scale down values above
21592         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21593         * math/s_csqrtf.c (__csqrtf): Likewise.
21594         * math/s_csqrtl.c (__csqrtl): Likewise.
21595         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21596         spurious underflow.
21597         * sysdeps/i386/fpu/libm-test-ulps: Update.
21598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21600 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21602         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21603         xopen-msg.sed.
21604         * catgets/xopen-msg.awk: New file.
21605         * catgets/xopen-msg.sed: Removed.
21607         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21608         po2text.sed.
21609         * intl/po2test.awk: New file.
21610         * intl/po2test.sed: Removed.
21612 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21614         [BZ #14328]
21615         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21616         or multiply small sinh result by itself.
21617         * math/s_ctanf.c (__ctanf): Likewise.
21618         * math/s_ctanh.c (__ctanh): Likewise.
21619         * math/s_ctanhf.c (__ctanhf): Likewise.
21620         * math/s_ctanhl.c (__ctanhl): Likewise.
21621         * math/s_ctanl.c (__ctanl): Likewise.
21622         * math/libm-test.inc (ctan_test_tonearest): New function.
21623         (ctan_test_towardzero): Likewise.
21624         (ctan_test_downward): Likewise.
21625         (ctan_test_upward): Likewise.
21626         (ctanh_test_tonearest): Likewise.
21627         (ctanh_test_towardzero): Likewise.
21628         (ctanh_test_downward): Likewise.
21629         (ctanh_test_upward): Likewise.
21630         (main): Call these new functions.
21631         * sysdeps/i386/fpu/libm-test-ulps: Update.
21632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21634 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21636         * .gitignore: Delete /ports entry.
21638 2012-07-03  Andreas Jaeger  <aj@suse.de>
21640         * po/bg.po: Update from translation team.
21641         * po/cs.po: Likewise.
21642         * po/de.po: Likewise.
21643         * po/hr.po: Likewise.
21644         * po/nl.pl: Likewise.
21645         * po/pl.po: Likewise.
21646         * po/vi.po: Likewise.
21648 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21650         * Makeconfig [!+link] (+link-before-libc): New variable.
21651         [!+link] (+link-after-libc): Likewise.
21652         [!+link] (+link-tests): Likewise.
21653         [!+link] (+link): Define in terms of $(+link-before-libc) and
21654         $(+link-after-libc).
21655         [!+link-static] (+link-static-before-libc): New variable.
21656         [!+link-static] (+link-static-after-libc): Likewise.
21657         [!+link-static] (+link-static-tests): Likewise.
21658         [!+link-static] (+link-static): Define in terms of
21659         $(+link-static-before-libc) and $(+link-static-after-libc).
21660         [build-shared] (link-libc-before-gnulib): New variable.
21661         [build-shared] (link-libc-tests): Likewise.
21662         [build-shared] (link-libc): Define in terms of
21663         $(link-libc-before-gnulib).
21664         [!build-shared] (link-libc-tests): New variable.
21665         (link-libc-static-tests): New variable.
21666         [!gnulib] (gnulib-arch): New variable.
21667         [!gnulib] (gnulib-tests): Likewise.
21668         [!gnulib] (static-gnulib-arch): Likewise.
21669         [!gnulib] (static-gnulib-tests): Likewise.
21670         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21671         Define with "=" instead of ":=".
21672         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21673         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21674         * Rules (binaries-all-notests): New variable.
21675         (binaries-all-tests): Likewise.
21676         (binaries-static-notests): Likewise.
21677         (binaries-static-tests): Likewise.
21678         (binaries-all): Define using $(binaries-all-notests) and
21679         $(binaries-all-tests).
21680         (binaries-static): Define using $(binaries-static-notests) and
21681         $(binaries-static-tests).
21682         (binaries-shared-tests): New variable.
21683         (binaries-shared-notests): Likewise.
21684         (binaries-shared): Remove variable.
21685         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21686         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21687         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21688         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21689         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21690         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21691         * elf/Makefile (sln-modules): New variable.
21692         (extra-objs): Add $(sln-modules:=.o).
21693         (ldconfig-modules): Add static-stubs.
21694         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21695         * elf/static-stubs.c: New file.
21697         [BZ #14283]
21698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21699         by 7 not 8 to examine high bit of fractional part.  Use volatile
21700         variables when splitting into final array of floats if
21701         __FLT_EVAL_METHOD__ != 0.
21702         * math/libm-test.inc (cos_test): Add another test.
21703         (sin_test): Likewise.
21704         * sysdeps/i386/fpu/libm-test-ulps: Update.
21706         [BZ #14273]
21707         * math/libm-test.inc (cosh_test): Add more tests.
21709         * version.h (RELEASE): Set to "development".
21710         (VERSION): Set to "2.16.90".
21712 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21714         * NEWS: Update copyright. Remove last-updated date.
21715         Mention math library bug fixes and timezone data changes.
21716         * README: Mention GNU/Hurd, x32, and HPPA support status.
21718 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21720         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21722 2012-06-27  Andreas Jaeger  <aj@suse.de>
21724         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21726 2012-06-25  Andreas Jaeger  <aj@suse.de>
21728         * sysdeps/s390/fpu/libm-test-ulps: Update.
21730 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21731             Thomas Schwinge  <thomas@codesourcery.com>
21733         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21734         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21736         fanotify_mark.
21738 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21740         * sysdeps/mach/start.c: Remove file.
21741         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21742         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21743         * sysdeps/sh/init-first.c: Likewise.
21745         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21746         registers for frame unwinding purposes, add CFI directives.
21747         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21748         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21749         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21750         Likewise.
21752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21753         __fortify_fail returning.
21754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21756         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21757         sysdeps/sh/____longjmp_chk.S.
21758         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21759         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21760         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21761         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21763         * sysdeps/sh/abort-instr.h: New file.
21764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21765         process in case exit returns.
21767         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21768         initialize the GOT register before use.
21770         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21771         calculation of ARGC > 4.
21773         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21774         meaningful names to some local labels.
21776 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21777             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21779         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21780         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21781         (__arch_compare_and_exchange_val_16_acq): Likewise.
21782         (__arch_compare_and_exchange_val_32_acq): Likewise.
21783         (atomic_exchange_and_add): Fix gUSA sequence.
21784         (atomic_add): Likewise.
21785         (atomic_add_negative): Likewise.
21786         (atomic_add_zero): Likewise.
21787         (atomic_bit_test_set): Likewise.
21789 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21791         [BZ #13579]
21792         * include/link.h (struct link_map): Add l_free_initfini.
21793         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21794         l_initfini.
21795         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21796         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21797         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21798         set.
21800 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21802         * configure.in: Use AC_LANG_SOURCE.
21803         * configure: Regenerate.
21805 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21807         * configure.in (libc_cv_localstatedir): New substituted variable.
21808         * configure: Regenerated.
21809         * config.make.in (localstatedir): New variable, substituted from
21810         libc_cv_localstatedir.
21811         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21812         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21813         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21814         * sysdeps/gnu/configure: Regenerated.
21816 2012-06-21  Jeff Law  <law@redhat.com>
21818         [BZ #14277]
21819         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21820         free.  Simplify list management for _LIBC case.
21822 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21824         [BZ #14273]
21825         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21826         Clear sign bit of 64-bit integer value before comparing against
21827         overflow value.
21829         * sysdeps/mach/configure: Regenerated.
21831 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21833         [BZ #14278]
21834         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21836 2012-06-21  Jeff Law  <law@redhat.com>
21838         [BZ #13882]
21839         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21840         uint16_t for elements in the "seen" array to avoid char overflows.
21841         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21842         * elf/dl-open.c (dl_open_worker): Likewise.
21844 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21846         * scripts/list-sources.sh: Scan PORTS for translations.
21847         * po/libc.pot: Regenerated.
21849 2012-06-21  Andreas Jaeger  <aj@suse.de>
21851         [BZ #12194]
21852         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21853         warning.
21854         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21855         * bits/byteswap-16.h (__bswap_16): Likewise.
21856         * bits/byteswap.h (__bswap_constant_16): Likewise.
21858 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21860         [BZ #14117]
21861         * sysdeps/i386/fpu_control.h: Removed.
21862         * sysdeps/x86_64/fpu_control.h: Moved to ...
21863         * sysdeps/x86/fpu_control.h: Here.
21865         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21866         (_FPU_SETCW): Likewise.
21868 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21870         [BZ #14117]
21871         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21872         * sysdeps/x86/fpu/bits/mathinline.h: This.
21873         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21875         [BZ #14050]
21876         [BZ #14117]
21877         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21878         functions if __x86_64__ is defined.
21880 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21882         * string/endian.h: Add !__ASSEMBLER__ condition for including
21883         conversion interfaces.
21885 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #14241]
21888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21889         of ABS(x) in calculating zero to negative powers other than odd
21890         integers.
21891         * math/libm-test.inc (pow_test): Add more tests.
21893 2012-06-15  Andreas Jaeger  <aj@suse.de>
21895         * manual/contrib.texi (Contributors): Update entry of Liubov
21896         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21897         Machado Filho.
21899 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21901         * string/string.h: Add __wur to GNU version of strerror_r.
21903 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21905         [BZ #14229]
21906         * string/Makefile (tests): Add tst-strtok_r.
21907         * string/tst-strtok_r.c: New file.
21908         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21909         RAX_LP/RDX_LP on SAVE_PTR.
21911 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21913         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21915 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21917         * libm_test.inc (csqrt_test): Allow more spurious underflow
21918         exceptions.
21919         (j0_test): Likewise.
21920         (j1_test): Likewise.
21921         (y0_test): Likewise.
21922         (y1_test): Likewise.
21924 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21926         * po/Makefile (libc.pot): Use UTF-8 charset.
21928 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21930         [BZ #14210]
21931         Suppress sign-conversion warning from FD_SET.
21932         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21933         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21934         not unsigned long int.
21935         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21937 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21939         [BZ #14050]
21940         [BZ #14117]
21941         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21942         __extern_always_inline instead of __extern_inline.
21943         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21944         (__signbit): Likewise.
21945         (__signbitl): Support C++ namespace.
21946         (lrintf): New inline function.
21947         (lrint): Likewise.
21948         (llrintf): Likewise.
21949         (llrint): Likewise.
21950         (fmaxf): Likewise.
21951         (fmax): Likewise.
21952         (fminf): Likewise.
21953         (fmin): Likewise.
21954         (rint): Likewise.
21955         (rintf): Likewise.
21956         (ceil): Likewise.
21957         (ceilf): Likewise.
21958         (floor): Likewise.
21959         (floorf): Likewise.
21960         (nearbyint): Likewise.
21961         (nearbyintf): Likewise.
21963 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21965         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21966         non-default versions.
21968 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21970         [BZ #14218]
21971         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21973 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21975         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21976         (FE_UPWARD, FE_DOWNWARD): Don't define.
21977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21981         reading it.
21982         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21983         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21985 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21987         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21988         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21989         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21990         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21992 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21994         [BZ #14117]
21995         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21996         * sysdeps/i386/fpu/Implies: New file.
21997         * sysdeps/x86_64/fpu/Implies: Likewise.
21998         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21999         * sysdeps/x86/fpu/bits/fenv.h: This.
22001         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22002         __SSE_MATH__.
22004 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22006         [BZ #14134]
22007         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22008         character 0xffff that matches the last element of the
22009         conversion table.
22011 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22014         fmodl commit.
22016 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22019         values higher than 25.6283.
22021 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22024         subnormal exponent extraction and add some __builtin_expect.
22025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22026         Fix for subnormal mantissa calculation.
22028 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22030         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22031         cpu2 is -1 and errno is not ENOSYS.
22033 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22035         [BZ #14117]
22036         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22037         * sysdeps/x86/bits/string.h: This.
22038         * sysdeps/x86_64/bits/string.h: Removed.
22040         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22041         if not compiling for x86-64, but compiling for >= i486.
22043         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22044         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22046         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22047         New macro from Linux kernel 3.4.0.
22048         (FP_XSTATE_MAGIC2): Likewise.
22049         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22050         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22051         (struct _fpx_sw_bytes): New struct.
22052         (struct _xsave_hdr): Likewise.
22053         (struct _ymmh_state): Likewise.
22054         (struct _xstate): Likewise.
22056         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22057         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22059         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22060         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22061         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22063         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22064         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22065         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22066         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22067         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22068         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22070 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22072         [BZ #13743]
22073         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22074         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22075         (sysdep_headers): Include sys/platform/ppc.h.
22076         * sysdeps/powerpc/test-gettimebase.c: Test for
22077         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22078         * manual/Makefile (appendices): Include platform.texi.
22079         * manual/contrib.texi (Contributors): Update @node pointers.
22080         * manual/maint.texi (Maintenance): Likewise.
22081         (Platform): New node.
22082         * manual/platform.texi: New file.  Document the new features.
22084 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22085             Jakub Jelinek  <jakub@redhat.com>
22087         [BZ #14188]
22088         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22089         where __builtin_expect is unavailable.
22091 2012-06-03  David S. Miller  <davem@davemloft.net>
22093         * stdlib/longlong.h: Updated from GCC.
22095 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22097         [BZ #14042]
22098         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22099         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22100         __mcount_internal.
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22102         (GLIBC_2.16): Likewise.
22104 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22106         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22108 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22111         (default-abi): New variable.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22113         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22114         variable.
22115         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22116         Likewise.
22117         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22118         Likewise.
22119         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22120         Likewise.
22122         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22123         definition.  Document in comment.
22125 2012-06-01  David S. Miller  <davem@davemloft.net>
22127         * stdlib/longlong.h: Updated from GCC.
22129 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22131         [BZ #14117]
22132         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22133         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22134         sys/debugreg.h sys/io.h here.
22135         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22136         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22137         sys/io.h.
22138         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22139         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22140         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22141         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22142         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22143         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22145         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22146         Define only if __x86_64__ is defined.
22148 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22150         [BZ #14048]
22151         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22152         Use int64_t for variable i.
22153         * math/libm-test.inc (fmod_test): Add more tests.
22155         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22156         z computation is not scheduled after fetestexcept.
22157         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22158         Use math_force_eval instead of asm to ensure calculation scheduled
22159         before exception test.
22160         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22161         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22163 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22166         computation is not scheduled after fetestexcept.
22168 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22170         [BZ #14117]
22171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22172         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22174 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22176         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22177         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22179 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22181         [BZ #14117]
22182         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22183         <bits/wordsize.h>.
22184         (__WCHAR_MIN): Support __WORDSIZE == 64.
22185         (__WCHAR_MAX): Likewise.
22187         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22188         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22190         [BZ #14183]
22191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22192         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22194         [BZ #14117]
22195         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22196         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22198         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22199         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22201         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22202         Defined to 1 if __x86_64__ isn't defined.
22203         (_STAT_VER_LINUX_OLD): New.
22204         (st_atime): Remove duplicate.
22205         (st_mtime): Likewise.
22206         (st_ctime): Likewise.
22208 2012-05-31  David S. Miller  <davem@davemloft.net>
22210         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22211         entries.
22213 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22215         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22216         gen-libm-test.pl.
22218         [BZ #14132]
22219         * elf/dl-reloc.c: Include <_itoa.h>.
22220         (_dl_reloc_bad_type): Remove use of INTUSE.
22221         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22222         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22223         * stdio-common/psiginfo.c (psiginfo): Likewise.
22224         * stdio-common/psignal.c (psignal): Likewise.
22225         * string/strsignal.c (strsignal): Likewise.
22226         * include/signal.h (_sys_siglist): Declare hidden proto.
22227         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22228         INTVARDEF with libc_hidden_data_def.
22229         * stdio-common/itoa-udigits.c: Likewise.
22230         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22231         (_itoa_lower_digits_internal): Remove declaration.
22232         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22233         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22234         (_sys_sigabbrev_internal): Remove aliases.
22235         (_sys_siglist): Define hidden alias.
22237 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22240         bits/sysctl.h.
22242 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22244         [BZ #14117]
22245         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22246         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22248         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22249         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22250         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22251         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22253         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22255         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22256         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22257         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22259         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22260         with __addr.
22261         (insw): Likewise.
22262         (insl): Likewise.
22263         (outsb): Likewise.
22264         (outsw): Likewise.
22265         (outsl): Likewise.
22267         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22268         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22269         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22271         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22272         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22273         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22274         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22275         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22276         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22278         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22279         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22281         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22282         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22286         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22288         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22289         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22290         to ...
22291         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22293         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22294         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22295         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22297         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22298         for x86-64.
22299         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22301 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22303         * math/math.h (M_El): Use two more decimal places.
22304         (M_LOG2El): Likewise.
22305         (M_LOG10El): Likewise.
22306         (M_LN2l): Likewise.
22307         (M_LN10l): Likewise.
22308         (M_PIl): Likewise.
22309         (M_PI_2l): Likewise.
22310         (M_PI_4l): Likewise.
22311         (M_1_PIl): Likewise.
22312         (M_2_PIl): Likewise.
22313         (M_2_SQRTPIl): Likewise.
22314         (M_SQRT2l): Likewise.
22315         (M_SQRT1_2l): Likewise.
22317 2012-05-31  David S. Miller  <davem@davemloft.net>
22319         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22320         values between float registers.
22321         * sysdeps/sparc/sparc64/memset.S: Likewise.
22322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22324 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22326         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22327         -D_FORTIFY_SOURCE=1.
22328         (CPPFLAGS-tst-longjmp_chk.c): Define.
22329         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22330         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22331         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22332         CFLAGS-tst-wchar-h.c.
22334 2012-05-31  Marek Polacek  <polacek@redhat.com>
22336         [BZ #14132]
22337         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22338         __endmntent_internal): Remove declaration.
22339         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22340         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22341         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22343 2012-05-30  David S. Miller  <davem@davemloft.net>
22345         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22346         (___Q_simulate_exceptions): Use real FP ops rather than writing
22347         into the %fsr.
22348         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22349         Likewise.
22351 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22353         [BZ #14117]
22354         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22355         * sysdeps/x86/bits/xtitypes.h: This.
22357         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22358         * sysdeps/x86/bits/wordsize.h: This.
22360         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22361         * sysdeps/x86/bits/huge_vall.h: This.
22363         * sysdeps/i386/bits/select.h: Removed.
22364         * sysdeps/x86_64/bits/select.h: Renamed to ...
22365         * sysdeps/x86/bits/select.h: This.
22367         * sysdeps/i386/bits/setjmp.h: Removed.
22368         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22369         * sysdeps/x86/bits/setjmp.h: This.
22371         * sysdeps/i386/bits/mathdef.h: Removed.
22372         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22373         * sysdeps/x86/bits/mathdef.h: This.
22375 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22377         [BZ #14132]
22378         * include/sys/socket.h (__connect_internal)
22379         (__libc_sa_len_internal): Remove declaration.
22380         (__connect, __libc_sa_len): Declare hidden_proto.
22381         (SA_LEN): Remove use of INTUSE.
22382         * socket/connect.c: Add libc_hidden_def.
22383         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22384         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22385         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22386         alias.
22387         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22389         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22390         of adding _internal alias.
22392 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22394         [BZ #14117]
22395         * sysdeps/i386/bits/link.h: Removed.
22396         * sysdeps/i386/bits/linkmap.h: Likewise.
22397         * sysdeps/x86_64/bits/link.h: Renamed to ...
22398         * sysdeps/x86/bits/link.h: This.
22399         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22400         * sysdeps/x86/bits/linkmap.h: This.
22402         * sysdeps/i386/bits/endian.h: Removed.
22403         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22404         * sysdeps/x86/bits/endian.h: This.
22406         * sysdeps/i386/bits/byteswap.h: Removed.
22407         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22408         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22409         * sysdeps/x86/bits/byteswap.h: This.
22410         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22411         * sysdeps/x86/bits/byteswap-16.h: This.
22412         * sysdeps/i386/Implies: Add x86.
22413         * sysdeps/x86_64/Implies: Likewise.
22415 2012-05-30  David S. Miller  <davem@davemloft.net>
22417         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22418         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22419         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22420         (FP_TRAPPING_EXCEPTIONS): Define.
22421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22422         (FP_TRAPPING_EXCEPTIONS): Define.
22423         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22424         subnormals only when inexact has been signalled or underflow
22425         exceptions are enabled.
22426         (_FP_PACK_CANONICAL): Likewise.
22428 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22430         [BZ #14183]
22431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22432         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22434 2012-05-30  Richard Henderson  <rth@twiddle.net>
22436         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22437         with #ifndef NOT_IN_libc.
22439         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22440         marked to avoid plt entry.
22442 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22444         [BZ #14112]
22445         * Makeconfig (default-abi): New macro.
22446         (abi-includes): Likewise.
22447         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22448         $(abi-$(default-abi)-lib-soname) for soname if defined.
22449         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22450         abi-variants.
22451         * Makefile (installed-stubs): Likewise.
22452         * include/stubs-biarch.h: Removed.
22453         * scripts/lib-names.awk: Only handle one library at a time.
22454         * scripts/soversions.awk: Remove WORDSIZE support.
22455         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22456         entries.
22457         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22458         Removed.
22459         (syscall-list-default-condition): Likewise.
22460         (syscall-list-default-condition): Likewise.
22461         (syscall-list-includes): Likewise.
22462         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22463         syscall-list-* with abi-*.  Handle undefined abi-variants.
22464         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22465         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22466         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22467         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22468         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22469         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22470         Removed.
22471         (syscall-list-32-options): Likewise.
22472         (syscall-list-32-condition): Likewise.
22473         (syscall-list-64-options): Likewise.
22474         (syscall-list-64-condition): Likewise.
22475         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22476         macro.
22477         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22478         Renamed to ...
22479         (abi-*): This.
22480         (abi-64-ld-soname): New macro.
22481         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22482         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22483         Renamed to ...
22484         (abi-*): This.
22485         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22486         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22488 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22490         * sysdeps/unix/sysv/linux/kernel-features.h
22491         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22492         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22493         include <kernel-features.h>.
22494         [!__NR_ftruncate64]: Remove conditional code.
22495         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22496         [__NR_ftruncate64]: Make code unconditional.
22497         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22498         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22499         include <kernel-features.h>.
22500         [!__NR_ftruncate64]: Remove conditional code.
22501         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22502         [__NR_ftruncate64]: Make code unconditional.
22503         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22505         include <kernel-features.h>.
22506         [!__NR_ftruncate64]: Remove conditional code.
22507         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22508         [__NR_ftruncate64]: Make code unconditional.
22509         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22511         include <kernel-features.h>.
22512         [!__NR_ftruncate64]: Remove conditional code.
22513         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22514         [__NR_ftruncate64]: Make code unconditional.
22515         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22517         * configure.in (libc_cv_fpie): Weaken to a compile test using
22518         LIBC_TRY_CC_OPTION.
22519         * configure: Regenerated.
22521 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22527         Refreshed.
22528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22534         Refreshed.
22536 2012-05-27  David S. Miller  <davem@davemloft.net>
22538         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22539         (___Q_zero): New.
22540         (__Q_simulate_exceptions): Return void.  Change to simulate
22541         exceptions by writing into the %fsr.
22542         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22543         (__Qp_handle_exceptions): Likewise.
22544         (numbers): Delete.
22545         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22546         __Qp_handle_exceptions.
22547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22548         __Qp_handle_exceptions.
22549         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22550         as unused and give dummy FP_RND_NEAREST initializer.
22551         (FP_INHIBIT_RESULTS): Define.
22552         (___Q_simulate_exceptions): Update declaration.
22553         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22554         formatting.
22555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22556         as unused and give dummy FP_RND_NEAREST initializer.
22557         (__Qp_handle_exceptions): Update declaration.
22558         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22559         formatting.
22561 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22563         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22564         the temporary FPU control word.
22565         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22566         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22567         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22568         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22569         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22570         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22571         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22572         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22573         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22574         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22575         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22577 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22579         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22580         fields.
22582 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22584         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22585         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22586         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22587         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22588         Likewise.
22589         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22590         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22591         Likewise.
22593 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22595         * po/h.po: Update from translation team.
22597 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22599         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22601         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22602         handling of denormals.
22603         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22604         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22605         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22606         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22610         Likewise.
22612 2012-05-26  Marek Polacek  <polacek@redhat.com>
22614         [BZ #14152]
22615         * math/libm-test.inc (fma_test): Don't always expect underflow
22616         exception.
22618 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22620         [BZ #12416]
22621         * elf/tst-execstack.c: Include stackinfo.h.
22622         (do_test): Adjust test case to ensure that pthread_getattr_np
22623         behaviour remains the same after marking stack executable.
22625 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22627         * sysdeps/unix/sysv/linux/kernel-features.h
22628         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22629         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22630         kernel-features.h.
22631         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22632         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22633         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22634         kernel-features.h.
22635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22638 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22640         * configure.in: Define the default includes to being none.
22641         * configure: Regenerated.
22643 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22645         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22646         * sysdeps/x86_64/setjmp.S: Likewise.
22647         * sysdeps/i386/bsd-setjmp.S: Likewise.
22648         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22649         * sysdeps/i386/setjmp.S: Likewise.
22650         * sysdeps/i386/__longjmp.S: Likewise.
22651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22652         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22654         * include/stap-probe.h: New file.
22655         * configure.in: Handle --enable-systemtap.
22656         * configure: Regenerated.
22657         * config.h.in (USE_STAP_PROBE): New #undef.
22658         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22659         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22660         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22662 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22664         [BZ #13717]
22665         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22666         to 2.4.0 where earlier.
22667         * sysdeps/unix/sysv/linux/configure: Regenerated.
22668         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22669         <kernel-features.h>.
22670         [__ASSUME_32BITUIDS]: Make code unconditional.
22671         [!__ASSUME_32BITUIDS]: Remove conditional code.
22672         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22673         <kernel-features.h>.
22674         [__ASSUME_32BITUIDS]: Make code unconditional.
22675         [!__ASSUME_32BITUIDS]: Remove conditional code.
22676         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22677         [__ASSUME_32BITUIDS]: Make code unconditional.
22678         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22679         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22680         <kernel-features.h>.
22681         [__ASSUME_32BITUIDS]: Make code unconditional.
22682         [!__ASSUME_32BITUIDS]: Remove conditional code.
22683         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22684         <kernel-features.h>.
22685         [__ASSUME_32BITUIDS]: Make code unconditional.
22686         [!__ASSUME_32BITUIDS]: Remove conditional code.
22687         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22688         <kernel-features.h>.
22689         [__ASSUME_32BITUIDS]: Make code unconditional.
22690         [!__ASSUME_32BITUIDS]: Remove conditional code.
22691         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22692         <kernel-features.h>.
22693         [__ASSUME_32BITUIDS]: Make code unconditional.
22694         [!__ASSUME_32BITUIDS]: Remove conditional code.
22695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22696         <kernel-features.h>.
22697         [__ASSUME_32BITUIDS]: Make code unconditional.
22698         [!__ASSUME_32BITUIDS]: Remove conditional code.
22699         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22700         <kernel-features.h>.
22701         [__ASSUME_32BITUIDS]: Make code unconditional.
22702         [!__ASSUME_32BITUIDS]: Remove conditional code.
22703         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22704         <kernel-features.h>.
22705         [__ASSUME_32BITUIDS]: Make code unconditional.
22706         [!__ASSUME_32BITUIDS]: Remove conditional code.
22707         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22708         <kernel-features.h>.
22709         [__ASSUME_32BITUIDS]: Make code unconditional.
22710         [!__ASSUME_32BITUIDS]: Remove conditional code.
22711         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22712         <kernel-features.h>.
22713         [__ASSUME_32BITUIDS]: Make code unconditional.
22714         [!__ASSUME_32BITUIDS]: Remove conditional code.
22715         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22716         <kernel-features.h>.
22717         [__ASSUME_32BITUIDS]: Make code unconditional.
22718         [!__ASSUME_32BITUIDS]: Remove conditional code.
22719         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22720         <kernel-features.h>.
22721         [__NR_setresgid] (__setresgid): Do not declare.
22722         [__ASSUME_32BITUIDS]: Make code unconditional.
22723         [!__ASSUME_32BITUIDS]: Remove conditional code.
22724         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22725         <kernel-features.h>.
22726         [__NR_setresuid] (__setresuid): Do not declare.
22727         [__ASSUME_32BITUIDS]: Make code unconditional.
22728         [!__ASSUME_32BITUIDS]: Remove conditional code.
22729         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22730         <kernel-features.h>.
22731         [__ASSUME_32BITUIDS]: Make code unconditional.
22732         [!__ASSUME_32BITUIDS]: Remove conditional code.
22733         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22734         <kernel-features.h>.
22735         [__ASSUME_32BITUIDS]: Make code unconditional.
22736         [!__ASSUME_32BITUIDS]: Remove conditional code.
22737         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22738         <kernel-features.h>.
22739         [__ASSUME_32BITUIDS]: Make code unconditional.
22740         [!__ASSUME_32BITUIDS]: Remove conditional code.
22741         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22742         <kernel-features.h>.
22743         [__ASSUME_32BITUIDS]: Make code unconditional.
22744         [!__ASSUME_32BITUIDS]: Remove conditional code.
22745         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22746         <kernel-features.h>.
22747         [__ASSUME_32BITUIDS]: Make code unconditional.
22748         [!__ASSUME_32BITUIDS]: Remove conditional code.
22749         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22750         <kernel-features.h>.
22751         [__ASSUME_32BITUIDS]: Make code unconditional.
22752         [!__ASSUME_32BITUIDS]: Remove conditional code.
22753         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22754         <kernel-features.h>.
22755         [__ASSUME_32BITUIDS]: Make code unconditional.
22756         [!__ASSUME_32BITUIDS]: Remove conditional code.
22757         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22758         <kernel-features.h>.
22759         [__ASSUME_32BITUIDS]: Make code unconditional.
22760         [!__ASSUME_32BITUIDS]: Remove conditional code.
22761         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22762         <kernel-features.h>.
22763         [__ASSUME_32BITUIDS]: Make code unconditional.
22764         [!__ASSUME_32BITUIDS]: Remove conditional code.
22765         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22766         <kernel-features.h>.
22767         [__ASSUME_32BITUIDS]: Make code unconditional.
22768         [!__ASSUME_32BITUIDS]: Remove conditional code.
22769         * sysdeps/unix/sysv/linux/kernel-features.h
22770         (__ASSUME_SETRESUID_SYSCALL): Remove.
22771         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22772         (__ASSUME_32BITUIDS): Likewise.
22773         (__ASSUME_LDT_WORKS): Likewise.
22774         (__ASSUME_O_DIRECTORY): Likewise.
22775         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22776         architecture but not kernel version.
22777         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22778         (__ASSUME_MMAP2_SYSCALL): Likewise.
22779         (__ASSUME_STAT64_SYSCALL): Likewise.
22780         (__ASSUME_IPC64): Likewise.
22781         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22782         <kernel-features.h>.
22783         [__ASSUME_32BITUIDS]: Make code unconditional.
22784         [!__ASSUME_32BITUIDS]: Remove conditional code.
22785         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22786         <kernel-features.h>.
22787         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22788         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22789         132096]: Remove conditional code.
22790         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22791         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22792         <kernel-features.h>.
22793         [__ASSUME_32BITUIDS]: Make code unconditional.
22794         [!__ASSUME_32BITUIDS]: Remove conditional code.
22795         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22796         <kernel-features.h>.
22797         [__ASSUME_32BITUIDS]: Make code unconditional.
22798         [!__ASSUME_32BITUIDS]: Remove conditional code.
22799         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22800         <kernel-features.h>.
22801         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22802         unconditional.
22803         (__setresgid): Do not declare.
22804         [__ASSUME_32BITUIDS]: Make code unconditional.
22805         [!__ASSUME_32BITUIDS]: Remove conditional code.
22806         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22807         <kernel-features.h>.
22808         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22809         unconditional.
22810         (__setresuid): Do not declare.
22811         [__ASSUME_32BITUIDS]: Make code unconditional.
22812         [!__ASSUME_32BITUIDS]: Remove conditional code.
22813         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22814         <kernel-features.h>.
22815         [__ASSUME_32BITUIDS]: Make code unconditional.
22816         [!__ASSUME_32BITUIDS]: Remove conditional code.
22817         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22818         <kernel-features.h>.
22819         [__ASSUME_32BITUIDS]: Make code unconditional.
22820         [!__ASSUME_32BITUIDS]: Remove conditional code.
22822 2012-05-25  Richard Henderson  <rth@twiddle.net>
22824         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22825         dl_hwcap to ifunc resolver.
22826         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22827         elf_ifunc_invoke.
22828         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22829         dl_hwcap to ifunc resolver.
22830         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #14153]
22835         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22836         for |x| <= 2**-26, not 2**-57.
22837         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22838         exception.
22840 2012-05-24  Jeff Law  <law@redhat.com>
22842         * stdio-common/Makefile (tests): Add bug25.
22843         * stdio-common/bug25.c: New test.
22845 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22847         [BZ #13576]
22848         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22849         multiple of MALLOC_ALIGNMENT in size.
22850         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22852 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22854         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22855         Require >= 256.
22856         (FILENAME_MAX): Use macro-int-constant.
22857         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22858         (_IOFBF): Use macro-int-constant.
22859         (_IOLBF): Likewise.
22860         (_IONBF): Likewise.
22861         (SEEK_CUR): Likewise.
22862         (SEEK_END): Likewise.
22863         (SEEK_SET): Likewise.
22864         (TMP_MAX): Likewise.
22865         (EOF): Use macro-int-constant.  Require < 0.
22866         (NULL): Use macro-constant.  Require == 0.
22867         (stdin): Require type to be FILE *.
22868         (stdout): Likewise.
22869         (stderr): Likewise.
22870         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22871         macro-int-constant.
22872         (EXIT_SUCCESS): Likewise.
22873         (NULL): Use macro-constant.  Require == 0.
22874         (RAND_MAX): Use macro-int-constant.
22875         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22876         [C99-based standards] (strtof): Require function.
22877         [C99-based standards] (strtold): Likewise.
22878         [C99-based standards] (strtoll): Likewise.
22879         [C99-based standards] (strtoull): Likewise.
22880         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22881         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22882         [ISO || ISO99 || ISO11] (math.h): Likewise.
22883         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22884         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22887 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22889         [BZ #14132]
22890         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22891         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22892         * intl/dgettext.c (DCGETTEXT): Likewise.
22893         * intl/gettext.c (DCGETTEXT): Likewise.
22894         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22895         * posix/regex_internal.h (gettext): Likewise.
22896         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22897         Remove declaration.
22898         * include/argz.h (__argz_count_internal)
22899         (__argz_stringify_internal): Remove declaration.
22900         (__argz_count, __argz_stringify): Declare hidden proto.
22901         * intl/dcgettext.c: Remove use of INTDEF.
22902         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22903         * string/argz-stringify.c: Likewise.
22904         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22905         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22906         Declare hidden proto.
22907         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22908         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22909         Declare hidden proto.
22910         * include/stdio.h (__asprintf_internal): Don't declare.
22911         (__asprintf): Don't define as macro.  Declare hidden proto.
22912         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22913         (__fsetlocking): Declare hidden proto.
22914         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22915         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22916         hidden proto.
22917         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22918         (_IO_setlinebuf): Remove use of INTUSE.
22919         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22920         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22921         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22922         Remove declaration.
22923         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22924         (_IO_do_flush): Remove use of INTUSE.
22925         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22926         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22927         (_IO_adjust_column, _IO_least_wmarker)
22928         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22929         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22930         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22931         (_IO_default_doallocate, _IO_wdefault_doallocate)
22932         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22933         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22934         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22935         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22936         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22937         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22938         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22939         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22940         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22941         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22942         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22943         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22944         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22945         proto.
22946         (_IO_flush_all_internal, _IO_adjust_column_internal)
22947         (_IO_default_uflow_internal, _IO_default_finish_internal)
22948         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22949         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22950         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22951         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22952         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22953         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22954         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22955         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22956         (_IO_file_close_internal, _IO_file_close_it_internal)
22957         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22958         (_IO_file_init_internal, _IO_file_attach_internal)
22959         (_IO_file_fopen_internal, _IO_file_read_internal)
22960         (_IO_file_sync_internal, _IO_file_seek_internal)
22961         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22962         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22963         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22964         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22965         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22966         (_IO_list_all_internal, _IO_link_in_internal)
22967         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22968         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22969         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22970         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22971         (_IO_do_write_internal, _IO_padn_internal)
22972         (_IO_getline_info_internal, _IO_getline_internal)
22973         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22974         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22975         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22976         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22977         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22978         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22979         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22980         with libc_hidden_ver, remove use of INTUSE.
22981         * libio/genops.c: Likewise.
22982         * libio/freopen.c: Likewise.
22983         * libio/freopen64.c: Likewise.
22984         * libio/iofclose.c: Likewise.
22985         * libio/iofdopen.c: Likewise.
22986         * libio/iofflush.c: Likewise.
22987         * libio/iofflush_u.c: Likewise.
22988         * libio/iofgets.c: Likewise.
22989         * libio/iofgets_u.c: Likewise.
22990         * libio/iofopen.c: Likewise.
22991         * libio/iofopncook.c: Likewise.
22992         * libio/iofread.c: Likewise.
22993         * libio/iofread_u.c: Likewise.
22994         * libio/ioftell.c: Likewise.
22995         * libio/iofwrite.c: Likewise.
22996         * libio/iogetline.c: Likewise.
22997         * libio/iogets.c: Likewise.
22998         * libio/iogetwline.c: Likewise.
22999         * libio/iopadn.c: Likewise.
23000         * libio/iopopen.c: Likewise.
23001         * libio/ioseekoff.c: Likewise.
23002         * libio/ioseekpos.c: Likewise.
23003         * libio/iosetbuffer.c: Likewise.
23004         * libio/iosetvbuf.c: Likewise.
23005         * libio/ioungetc.c: Likewise.
23006         * libio/ioungetwc.c: Likewise.
23007         * libio/iovdprintf.c: Likewise.
23008         * libio/iovsprintf.c: Likewise.
23009         * libio/iovsscanf.c: Likewise.
23010         * libio/memstream.c: Likewise.
23011         * libio/obprintf.c: Likewise.
23012         * libio/oldfileops.c: Likewise.
23013         * libio/oldiofclose.c: Likewise.
23014         * libio/oldiofdopen.c: Likewise.
23015         * libio/oldiofopen.c: Likewise.
23016         * libio/oldiopopen.c: Likewise.
23017         * libio/oldstdfiles.c: Likewise.
23018         * libio/putc.c: Likewise.
23019         * libio/setbuf.c: Likewise.
23020         * libio/setlinebuf.c: Likewise.
23021         * libio/stdfiles.c: Likewise.
23022         * libio/strops.c: Likewise.
23023         * libio/vasprintf.c: Likewise.
23024         * libio/vscanf.c: Likewise.
23025         * libio/vsnprintf.c: Likewise.
23026         * libio/vswprintf.c: Likewise.
23027         * libio/wfiledoalloc.c: Likewise.
23028         * libio/wfileops.c: Likewise.
23029         * libio/wgenops.c: Likewise.
23030         * libio/wmemstream.c: Likewise.
23031         * libio/wstrops.c: Likewise.
23032         * libio/__fpurge.c: Likewise.
23033         * libio/__fsetlocking.c: Likewise.
23034         * assert/assert.c: Likewise.
23035         * debug/fgets_chk.c: Likewise.
23036         * debug/fgets_u_chk.c: Likewise.
23037         * debug/fread_chk.c: Likewise.
23038         * debug/fread_u_chk.c: Likewise.
23039         * debug/gets_chk.c: Likewise.
23040         * debug/obprintf_chk.c: Likewise.
23041         * debug/vasprintf_chk.c: Likewise.
23042         * debug/vdprintf_chk.c: Likewise.
23043         * debug/vsnprintf_chk.c: Likewise.
23044         * debug/vsprintf_chk.c: Likewise.
23045         * malloc/mtrace.c: Likewise.
23046         * misc/error.c: Likewise.
23047         * misc/syslog.c: Likewise.
23048         * stdio-common/asprintf.c: Likewise.
23049         * stdio-common/fxprintf.c: Likewise.
23050         * stdio-common/getw.c: Likewise.
23051         * stdio-common/isoc99_fscanf.c: Likewise.
23052         * stdio-common/isoc99_scanf.c: Likewise.
23053         * stdio-common/isoc99_vfscanf.c: Likewise.
23054         * stdio-common/isoc99_vscanf.c: Likewise.
23055         * stdio-common/isoc99_vsscanf.c: Likewise.
23056         * stdio-common/printf-prs.c: Likewise.
23057         * stdio-common/printf_fp.c: Likewise.
23058         * stdio-common/printf_fphex.c: Likewise.
23059         * stdio-common/printf_size.c: Likewise.
23060         * stdio-common/putw.c: Likewise.
23061         * stdio-common/scanf.c: Likewise.
23062         * stdio-common/sprintf.c: Likewise.
23063         * stdio-common/tmpfile.c: Likewise.
23064         * stdio-common/vfprintf.c: Likewise.
23065         * stdio-common/vfscanf.c: Likewise.
23066         * stdlib/strfmon_l.c: Likewise.
23067         * sunrpc/openchild.c: Likewise.
23068         * sunrpc/xdr_stdio.c: Likewise.
23069         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23070         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23072 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23074         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23076         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23077         in the third column, to generate for the shared library an IFUNC
23078         that uses _dl_vdso_vsym.
23079         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23080         * Makeconfig (object-suffixes-noshared): New variable.
23082         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23083         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23084         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23085         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23087         [BZ #14132]
23088         * include/sys/time.h (__gettimeofday): Remove macro.
23089         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23090         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23091         Remove INTDEF.
23092         (__gettimeofday): Add libc_hidden_def.
23093         (gettimeofday): Add libc_hidden_weak.
23094         * sysdeps/mach/gettimeofday.c: Likewise.
23095         * sysdeps/posix/gettimeofday.c: Likewise.
23096         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23097         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23099         (__gettimeofday_internal): Remove strong_alias.
23100         (__gettimeofday): Add libc_hidden_def.
23101         (gettimeofday): Add libc_hidden_weak.
23102         * sysdeps/unix/syscalls.list (gettimeofday):
23103         Remove __gettimeofday_internal alias.
23105 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23106             H.J. Lu  <hongjiu.lu@intel.com>
23108         [BZ #12495]
23109         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23110         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23111         (largebin_index_32_big): New.
23112         (largebin_index): Use it for 16-byte alignment.
23113         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23114         correction with front_misalign.
23116 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23120         Likewise.
23121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23122         Likewise.
23123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23124         Likewise.
23125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23126         Likewise.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23128         Likewise.
23129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23130         Likewise.
23131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23132         Likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23134         Likewise.
23135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23136         Likewise.
23137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23138         Likewise.
23139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23140         Likewise.
23141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23142         Likewise.
23144         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23145         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23147 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23149         [BZ #10846]
23150         [BZ #14036]
23151         * math/libm-test.inc (exp_test): Add test from bug 14036.
23152         (pow_test): Add test from bug 10846.
23154         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23155         and other flags.
23156         (special_function): Do not include flags in test name.
23157         (parse_args): Likewise.
23158         * sysdeps/i386/fpu/libm-test-ulps: Update.
23159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23161         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23164         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23165         exceptions.
23166         * math/libm-test.inc ("Philosophy"): Update comment about
23167         exception testing.
23168         (UNDERFLOW_EXCEPTION): New macro.
23169         (UNDERFLOW_EXCEPTION_OK): Likewise.
23170         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23171         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23172         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23173         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23174         (INVALID_EXCEPTION_OK): Update value.
23175         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23176         (OVERFLOW_EXCEPTION_OK): Likewise.
23177         (IGNORE_ZERO_INF_SIGN): Likewise.
23178         (test_exceptions): Handle underflow exceptions.
23179         (acos_test): Update for underflow exception expectations.
23180         (cexp_test): Likewise.
23181         (clog_test): Likewise.
23182         (clog10_test): Likewise.
23183         (csqrt_test): Likewise.
23184         (ctan_test): Likewise.
23185         (ctanh_test): Likewise.
23186         (exp_test): Likewise.
23187         (exp10_test): Likewise.
23188         (exp2_test): Likewise.
23189         (expm1_test): Likewise.
23190         (fma_test): Likewise.
23191         (j0_test): Likewise.
23192         (jn_test): Likewise.
23193         (nexttoward_test): Likewise.
23194         (pow_test): Likewise.
23195         (scalbn_test): Likewise.
23196         (scalbln_test): Likewise.
23197         (tan_test): Likewise.
23198         (y1_test): Likewise.
23199         * sysdeps/i386/fpu/libm-test-ulps: Update.
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202 2012-05-23  David S. Miller  <davem@davemloft.net>
23204         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23205         (__libc_sigaction): Remove unused local variables.
23207 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23209         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23211 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23213         mktime: avoid signed integer overflow
23214         * time/mktime.c (__mktime_internal): Do not mishandle the case
23215         where diff == INT_MIN.
23217         mktime: simplify computation of average
23218         * time/mktime.c (ranged_convert): Use new time_t_avg function
23219         instead of rolling our own (probably-slower) code.
23221         mktime: do not assume signed right shift propagates sign bit
23222         * time/mktime.c (isdst_differ): New static function.
23223         (__mktime_internal): No need to normalize tm_isdst now.
23224         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23225         tm_isdst values.
23227         mktime: merge another wrapv change from gnulib
23228         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23229         from some compilers.
23231         mktime: remove incorrect attempt at unusual arithmetics
23232         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23233         The code didn't really work on such machines anyway.
23234         (TYPE_MINIMUM): Assume two's complement.
23235         (twos_complement_arithmetic): Verify that long_int and time_t
23236         are two's complement (or unsigned, in the latter case).
23238         mktime: check signed shifts on long_int and time_t, too
23239         * time/mktime.c (SHR): Check that shifts work as desired
23240         on the types long_int and time_t too, as SHR is used on
23241         such types.
23243         mktime: do not assume 'long' is wide enough
23244         * time/mktime.c (verify): Move decl up.
23245         (long_int): New type.
23246         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23247         to remove assumption in the code that 'long' is wide enough to
23248         store year values.  This assumption is not true on x32 and on
23249         some non-glibc platforms.
23251         mktime: merge wrapv change from gnulib
23252         * time/mktime.c (WRAPV): New macro.
23253         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23254         (guess_time_tm, __mktime_internal): Do not assume that signed
23255         integer overflow wraps around; modern compilers generate code
23256         where this assumption is no longer valid.
23258 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23260         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23261         Replace "jmp L(pseudo_end)" with "ret".
23262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23263         Likewise.
23265 2012-05-23  Andreas Jaeger  <aj@suse.de>
23267         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23268         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23270 2012-05-23  Andreas Jaeger  <aj@suse.de>
23271             Maximilian Attems  <max@stro.at>
23273         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23274         New macros.
23276 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23279         code so that pseudo_end is just ret and the stack pointer is
23280         correct also for static library in error case.
23282 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23284         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23285         move to syscalls.list.
23286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23291         * manual/install.texi (Running make install): Do not mention Linux
23292         kernel version for which pt_chown is not needed.
23293         (Linux): Do not mention problems with nscd with 2.0 kernels.
23294         * INSTALL: Regenerated.
23296 2012-05-23  Andreas Jaeger  <aj@suse.de>
23298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23299         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23300         macro.
23301         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23302         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23303         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23305         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23309         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23311         * sysdeps/unix/sysv/linux/bits/in.h
23312         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23314 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23316         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23317         (PREPARE_VERSION): Just use assert instead, it will be elided
23318         under [NDEBUG] anyway.
23320 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23322         * sysdeps/unix/sysv/linux/Makefile: Include
23323         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23324         (sysdep_routines): Remove sysctl.
23325         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23326         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23327         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23328         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23329         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23331 2012-05-22  Andreas Jaeger  <aj@suse.de>
23333         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23334         that pseudo_end is just ret and the stack pointer is correct also
23335         for static library in error case.
23337 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23339         [BZ #14122]
23340         * nss/nsswitch.c (defconfig_entries): New variable.
23341         (__nss_database_lookup): Don't leak defconfig entries.
23342         (nss_parse_service_list): Don't leak on error paths.
23343         (free_database_entries): New function.
23344         (free_defconfig): New function.
23345         (free_mem): Move common code to free_database_entries.
23347 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23349         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23350         Add arch_prctl.
23351         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23353         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23354         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23356         New macro.
23357         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23358         (INTERNAL_SYSCALL_TYPES): Likewise.
23359         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23360         (LOAD_REGS_TYPES_[1-6]): Likewise.
23361         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23362         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23364 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23366         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23367         copysignl for GLIBC_2_0.
23368         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23369         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23371         logbl for GLIBC_2_0.
23372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23373         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23375 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23378         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23380         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23381         Use "neg %eax".
23383         * time/mktime.c: Update copyright years.
23385 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23387         mktime: merge comment-quoting-style change from gnulib
23388         * time/mktime.c: Quote 'like this' in comments.
23389         The GNU coding standards suggest that we no longer quote `like this',
23390         as "`" and "'" are typically rendered asymmetrically nowadays.
23391         The typical gnulib style is to quote 'like this' when quoting
23392         code, and "like this" when quoting English.
23394         * time/mktime.c (compile-command): Add "-I.".
23396         mktime: merge mktime-internal.h change from gnulib
23397         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23399         mktime: merge time_r change from gnulib
23400         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23402         mktime: merge DEBUG change from gnulib
23403         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23404         case system <time.h> has a #define.
23406         mktime: merge <sys/types.h> change from gnulib
23407         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23408         since <time.t> is now guaranteed to define time_t.
23410         mktime: merge HAVE_CONFIG_H change from gnulib
23411         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23413 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23416         Use "neg %eax".
23418         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23419         __rlim_t cast.
23420         (struct rusage): Use anonymous union to pad each field to
23421         __syscall_slong_t.
23423 2012-05-21  David S. Miller  <davem@davemloft.net>
23425         * Makefules (o-iterator): Remove .s cases.
23426         (compile-command.s): Delete.
23427         (COMPILE.s): Delete.
23428         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23430 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23432         * configure.in (libc_cv_predef_stack_protector): Only consider
23433         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23434         * configure: Regenerated.
23436 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23439         New macro.  Use R*LP on int and pointer.
23440         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23441         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23442         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23443         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23445         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23446         [__WORDSIZE_TIME64_COMPAT32] instead of
23447         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23448         (struct utmp): Likewise.
23449         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23450         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23451         Renamed to ...
23452         (__WORDSIZE_TIME64_COMPAT32): This.
23453         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23454         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23455         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23456         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23457         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23458         (__WORDSIZE_TIME64_COMPAT32): New macro.
23460 2012-05-21  Andreas Jaeger  <aj@suse.de>
23462         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23463         only if [SHARED]. Add prototype for __wcschr_ia32.
23465 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23467         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23468         of %rbp unmolested in the jmp_buf while mangling the low bits.
23469         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23470         unmolested high bits of %rbp while demangling the low bits.
23471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23473 2012-05-21  Andreas Jaeger  <aj@suse.de>
23475         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23476         * sunrpc/svc_simple.c: Use it for registerrpc.
23477         * sunrpc/xcrypt.c: Use it for passwd2des.
23479         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23481 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23483         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23484         Don't define if [__SYSCALL_WORDSIZE != 32].
23485         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23486         New macro.
23488 2012-05-21  Bruno Haible  <bruno@clisp.org>
23489             Andreas Jaeger  <aj@suse.de>
23491         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23492         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23493         inptr and inend for must_buffer_ch.
23494         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23495         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23496         * stdio-common/Makefile (tests): Remove bug15.
23497         (bug15-ENV): Remove macro.
23498         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23499         anymore.
23501 2012-05-19  Andreas Jaeger  <aj@suse.de>
23502             Roland McGrath  <roland@hack.frob.com>
23504         * manual/contrib.texi: Completely rewritten. It contains now an
23505         alphabetical list of contributors and their contributions.
23507 2012-05-21  Richard Henderson  <rth@twiddle.net>
23509         * misc/getauxval.c (__getauxval): Use unsigned long int.
23510         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23511         (getauxval): Use unsigned long int.
23513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23515         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23517 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23519         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23520         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23521         __alignof__ (long double).
23523 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23527 2012-05-20  Richard Henderson  <rth@twiddle.net>
23529         * misc/getauxval.c: New file.
23530         * misc/sys/auxv.h: New file.
23531         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23532         (routines): Add getauxval.
23533         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23534         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23535         * elf/dl-sysdep.c (_dl_auxv): Remove.
23536         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23537         * elf/dl-support.c (_dl_auxv): New variable.
23538         (_dl_aux_init): Initialize it.
23539         * manual/startup.texi (Auxiliary Vector): New node.
23540         * sysdeps/generic/bits/hwcap.h: New file.
23541         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23542         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23543         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23544         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23545         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23548         Update.
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23558 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23562 2012-05-19  David S. Miller  <davem@davemloft.net>
23564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23566 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23568         [BZ #14123]
23569         * math/s_ccosh.c: Include <float.h>
23570         (__ccosh): Avoid internal overflow calculating sinh and cosh
23571         values before multiplying by sin and cos values.
23572         * math/s_ccoshf.c: Likewise.
23573         * math/s_ccoshl.c: Likewise.
23574         * math/s_csin.c: Likewise.
23575         * math/s_csinf.c: Likewise.
23576         * math/s_csinl.c: Likewise.
23577         * math/s_csinh.c: Likewise.
23578         * math/s_csinhf.c: Likewise.
23579         * math/s_csinhl.c: Likewise.
23580         * math/libm-test.inc (ccos_test): Add more tests.
23581         (ccosh_test): Likewise.
23582         (csin_test): Likewise.
23583         (csinh_test): Likewise.
23584         * sysdeps/i386/fpu/libm-test-ulps: Update.
23585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23587 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23589         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23590         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23592         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23594 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23596         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23597         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23598         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23599         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23600         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23601         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23602         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23603         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23604         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23605         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23606         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23607         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23608         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23609         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23610         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23611         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23612         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23613         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23614         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23615         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23616         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23617         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23618         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23619         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23620         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23621         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23622         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23623         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23624         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23625         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23626         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23628 2012-05-18  Andreas Jaeger  <aj@suse.de>
23630         * csu/.gitignore: Delete.
23632 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23634         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23635         (timex): Use __syscall_slong_t.
23637 2012-05-18  Andreas Jaeger  <aj@suse.de>
23638             Carlos O'Donell  <carlos_odonell@mentor.com>
23640         * manual/install.texi (Configuring and compiling): Update
23641         description about files modified in the source directory.
23642         * INSTALL: Regenerated.
23644 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23646         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23647         value.  Use "or" to set return value to -1.
23648         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23649         negate return value.
23651 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23653         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23654         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23655         failure if the compiler has Graphite support disabled.
23656         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23657         Likewise.
23658         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23659         CFLAGS-memmove.c): Likewise.
23660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23661         Likewise.
23663 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23665         * sysdeps/x86_64/x32/_itoa.h: New file.
23667         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23668         getdents system call only if kernel and user dirents have the
23669         same d_ino and d_off.
23671         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23672         LLONG_MAX != LONG_MAX.
23673         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23674         (_fitoa_word): Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23677         years.
23678         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23679         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23682         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23683         include <bits/wordsize.h>.  Check __x86_64__ instead of
23684         __WORDSIZE.
23685         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23686         if __x86_64__ is defined.  Use anonymous union on fpstate.
23688         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23689         anonymous union.
23691 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23693         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23694         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23695         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23696         Refer to _rtld_local_ro instead of _rtld_global_ro.
23697         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23698         Likewise.
23699         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23700         Likewise.
23701         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23702         Likewise.
23703         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23704         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23705         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23707         * sysdeps/powerpc/powerpc32/dl-machine.c
23708         (__elf_machine_runtime_setup) [PROF]: Don't reference
23709         _dl_prof_resolve.
23711 2012-05-18  Andreas Jaeger  <aj@suse.de>
23713         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23714         function only available for GCCs before 3.4 since GCC 3.4
23715         introduced a builtin.
23716         (lrint): Likewise.
23717         (llrintf): Likewise.
23718         (llrint): Likewise.
23719         (fmaxf): Likewise.
23720         (fmax): Likewise.
23721         (fminf): Likewise.
23722         (fmin): Likewise.
23723         (rint): Likewise.
23724         (rintf): Likewise.
23725         (nearbyint): Likewise.
23726         (nearbyintf): Likewise.
23727         (ceil): Likewise.
23728         (ceilf): Likewise.
23729         (floor): Likewise.
23730         (floorf): Likewise.
23732 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23734         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23735         on both fields and cast pointer to __syscall_ulong_t.
23737         * bits/types.h (__fsword_t): New type.
23738         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23739         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23741         (__FSWORD_T_TYPE): Likewise.
23742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23743         (__FSWORD_T_TYPE): Likewise.
23744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23745         (__FSWORD_T_TYPE): Likewise.
23746         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23747         (__FSWORD_T_TYPE): Likewise.
23748         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23749         __SWORD_TYPE with __fsword_t.
23750         (statfs64): Likewise.
23752 2012-05-17  David S. Miller  <davem@davemloft.net>
23754         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23756 2012-05-17  Andreas Jaeger  <aj@suse.de>
23758         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23759         warning.
23761 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23763         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23765 2012-05-17  Andreas Jaeger  <aj@suse.de>
23767         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23768         when it is used.
23770 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23772         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23774 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23776         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23777         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23779 2012-05-17  Andreas Jaeger  <aj@suse.de>
23780             Carlos O'Donell  <carlos_odonell@mentor.com>
23782         [BZ #14059]
23783         * sysdeps/x86_64/multiarch/init-arch.h
23784         (bit_YMM_Usable): Rename to...
23785         (bit_AVX_Usable): ... this.
23786         (bit_FMA4_Usable): New macro.
23787         (bit_XMM_state): New macro.
23788         (bit_YMM_state): New macro.
23789         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23790         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23791         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23792         (CPUID_OSXSAVE): New macro.
23793         (CPUID_AVX): New macro.
23794         (CPUID_FMA4): New macro.
23795         (index_YMM_Usable): Rename to...
23796         (index_AVX_Usable): ... this.
23797         (HAS_AVX): Use HAS_ARCH_FEATURE.
23798         (HAS_FMA4): Likewise.
23799         (HAS_YMM_USABLE): Remove.
23800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23801         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23802         are present.
23803         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23804         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23805         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23806         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23807         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23809 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23811         * math/libm-test.c: Support platforms without multiple rounding modes.
23812         * math/bug-nextafter.c: Support platforms without FP exceptions.
23813         * math/bug-nexttoward.c: Likewise.
23814         * math/test-fenv.c: Likewise.
23815         * math/test-misc.c: Likewise.
23816         * stdlib/bug-getcontext.c: Likewise.
23818 2012-05-17  Andreas Jaeger  <aj@suse.de>
23820         * manual/examples/search.c (critter_cmp): Change signature to
23821         avoid warnings.
23822         * manual/string.texi (Collation Functions): Likewise.
23824 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23826         * bits/types.h: Fold copyright years.
23827         * bits/typesizes.h: Likewise.
23828         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23829         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23830         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23832         * time/time.h: Likewise.
23834 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23836         [BZ #208]
23837         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23838         in instead of returning them.  Return void.
23839         (__libc_mallinfo): Accumulate over all arenas.
23840         (__malloc_stats): Adjust for change in int_mallinfo interface.
23842 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23844         [BZ #10375]
23845         * configure.in (NM): Add AC_CHECK_TOOL for it.
23846         (libc_extra_cflags): New substituted variable.
23847         Check for -fstack-protector being used implicitly.
23848         * configure: Regenerated.
23849         * config.make.in (config-extra-cflags): New variable,
23850         gets @libc_extra_cflags@.
23851         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23853         [BZ #10375]
23854         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23855         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23856         * configure: Regenerated.
23857         * config.make.in (CPPUNDEFS): New substituted variable.
23858         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23859         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23860         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23864         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23865         (mq_attr): Use __syscall_slong_t.
23867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23869         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23870         Check __x86_64__ instead of __WORDSIZE.
23871         (_STAT_VER_LINUX): Likewise.
23872         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23873         __syscall_ulong_t and __syscall_slong_t.
23874         (stat64): Likewise.
23876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23878         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23880 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23882         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23886         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23887         __syscall_ulong_t.
23889         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23890         include <bits/wordsize.h>.  Check __x86_64__ instead of
23891         __WORDSIZE.
23892         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23893         defined.
23894         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23897         include <bits/wordsize.h>.  Check __x86_64__ instead of
23898         __WORDSIZE.
23899         (user_regs_struct): Use "__extension__ unsigned long long"
23900         instead of "unsigned long" if __x86_64__ is defined.
23901         (user): Likewise.  Pad after pointer field if __ILP32__ is
23902         defined.
23904 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23906         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23907         versions 5 to 9.
23908         * configure: Regenerated.
23909         * manual/install.texi (texinfo): Increase version requirement to
23910         4.5 or later.
23911         * INSTALL: Regenerated.
23913         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23917         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23919         * sysdeps/x86_64/x32/ffs.c: New file.
23921         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23922         __syscall_ulong_t.
23923         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23924         defined.  Use __syscall_ulong_t.
23925         (shminfo): Use __syscall_ulong_t.
23926         (shm_info): Likewise.
23928         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23929         __syscall_ulong_t.
23931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23932         <bits/wordsize.h>.
23933         (msgqnum_t): Use __syscall_ulong_t.
23934         (msglen_t): Likewise.
23935         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23936         __syscall_ulong_t.
23938         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23939         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23941         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23943         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23944         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23946         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23947         __syscall_slong_t.
23949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23950         include <bits/wordsize.h>.  Check __x86_64__ instead of
23951         __WORDSIZE.
23953         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23954         "unsigned long long int" if __x86_64__ is defined.
23955         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23957         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23958         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23959         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23961         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23962         <stdint.h>.
23963         (GET_PC): Cast to uintptr_t first.
23964         (GET_FRAME): Likewise.
23965         (GET_STACK): Likewise.
23967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23968         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23969         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23971         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23973         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23974         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23975         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23976         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23977         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23979         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23980         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23982         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23983         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23984         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23985         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23986         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23987         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23988         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23989         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23990         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23991         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23992         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23994         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23995         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23997 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23999         * Makerules (+depfiles): Also collect depfiles from .oS in
24000         $(extra-objs).
24001         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24002         .oS, $(libnldbl-routines)).
24004         * Makerules (native-compile-mkdep-flags): Define.
24005         * sunrpc/Makefile (extra-objs): Add $(addprefix
24006         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24007         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24008         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24009         calling $(make-target-directory).
24011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24013         * bits/types.h (__snseconds_t): Removed.
24014         * time/time.h (struct timespec): Replace __snseconds_t with
24015         __syscall_slong_t.
24016         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24017         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24018         Likewise.
24019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24020         (__SNSECONDS_T_TYPE): Likewise.
24021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24022         (__SNSECONDS_T_TYPE): Likewise.
24023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24024         (__SNSECONDS_T_TYPE): Likewise.
24026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24028         * sysdeps/mach/hurd/bits/typesizes.h
24029         (__SYSCALL_SLONG_TYPE): New macro.
24030         (__SYSCALL_ULONG_TYPE): Likewise.
24032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24034         * bits/types.h (__syscall_slong_t): New type.
24035         (__syscall_ulong_t): Likewise.
24037         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24038         (__SYSCALL_ULONG_TYPE): Likewise.
24039         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24040         (__SYSCALL_SLONG_TYPE): Likewise.
24041         (__SYSCALL_ULONG_TYPE): Likewise.
24042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24043         (__SYSCALL_SLONG_TYPE): Likewise.
24044         (__SYSCALL_ULONG_TYPE): Likewise.
24045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24046         (__SYSCALL_SLONG_TYPE): Likewise.
24047         (__SYSCALL_ULONG_TYPE): Likewise.
24049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24051         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24052         Add sigaltstack-offsets.sym.
24053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24054         <sigaltstack-offsets.h>.
24055         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24056         longjmp_msg pointer.
24057         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24058         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24059         signal stack.
24060         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24062 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24064         * elf/stackguard-macros.h: Remove file.
24065         * sysdeps/generic/stackguard-macros.h: New file.
24066         * sysdeps/i386/stackguard-macros.h: Likewise.
24067         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24068         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24069         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24070         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24071         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24072         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24073         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24074         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24075         <elf/stackguard-macros.h>.
24077         [BZ #14109]
24078         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24079         __aligned__ in attribute.
24080         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24081         (gregset_t): Likewise.
24083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24085         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24086         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24087         * sysdeps/x86_64/x32/Implies-after: New file.
24089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24091         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24092         and access return value for _dl_profile_fixup.  Use R10_LP to
24093         load frame size.
24095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24097         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24101         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24102         * sysdeps/x86_64/x32/sysdep.h: New file.
24104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24106         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24107         * sysdeps/x86_64/setjmp.S: Likewise.
24109 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24113         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24114         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24115         remove unused global constant.
24117 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24119         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24120         include of <not-cancel.h>.
24122 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24124         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24126 2012-05-15  Jeff Law  <law@redhat.com>
24127             Andreas Jaeger  <aj@suse.de>
24129         [BZ #13594]
24130         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24131         out from...
24132         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24133         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24134         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24135         code changing __hst_map_handle.map.
24137 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24139         * configure.in (sysnames): Look for Implies-before and Implies-after
24140         files.
24141         * configure: Regenerated.
24143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24145         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24146         8-byte data alignment with LP_SIZE alignment.
24148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24151         into R10_LP.
24153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24155         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24159         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24160         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24161         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24162         Likewise.
24163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24167         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24168         (stackinfo_sub_sp): Likewise.
24170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24173         RAX_LP.
24175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24178         into R*_LP.
24180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24182         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24183         sizes into R*_LP.
24185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24187         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24191         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24192         into R11_LP and load __x86_64_shared_cache_size_half into
24193         R8_LP.
24195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24198         R8_LP.
24200 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24203         logb for POWER7.
24204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24205         logbf for POWER7.
24206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24207         logbl for POWER7.
24208         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24209         powerpc32/power7/fpu/s_logb.c via #include.
24210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24211         powerpc32/power7/fpu/s_logbf.c via #include.
24212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24213         powerpc32/power7/fpu/s_logbl.c via #include.
24215 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24217         * README.libm: Remove file.
24219 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24221         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24222         count for x32.  Use R*_LP and omit operand-size suffix.
24224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24226         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24227         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24228         * sysdeps/x86_64/x32/shlib-versions: New file.
24230 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24232         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24233         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24234         Use _dl_fatal_printf instead.
24236 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24238         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24239         set if not set by the user.  Do not allow for being unset.
24240         * sysdeps/unix/sysv/linux/configure: Regenerated.
24242 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24244         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24245         the `q' suffix from lea and replace .quad with ASM_ADDR.
24247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24250         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24251         instead of $17.
24252         (PTR_DEMANGLE): Likewise.
24254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24256         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24257         (LP_OP): Likewise.
24258         (ASM_ADDR): Likewise.
24259         (RAX_LP): Likewise.
24260         (RBP_LP): Likewise.
24261         (RBX_LP): Likewise.
24262         (RCX_LP): Likewise.
24263         (RDI_LP): Likewise.
24264         (RSI_LP): Likewise.
24265         (RSP_LP): Likewise.
24266         (R8_LP): Likewise.
24267         (R9_LP): Likewise.
24268         (R10_LP): Likewise.
24269         (R10_LP): Likewise.
24270         (R11_LP): Likewise.
24271         (R12_LP): Likewise.
24272         (R13_LP): Likewise.
24273         (R14_LP): Likewise.
24274         (R15_LP): Likewise.
24276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24278         * sysdeps/x86_64/x32/dl-machine.h: New file.
24280 2012-05-14  Andreas Jaeger  <aj@suse.de>
24282         * manual/Makefile (subdir): Remove export of subdir.
24283         (all): Remove target.
24284         (.PHONY): Remove all from list.
24285         (mkinstalldirs): Remove.
24286         (.PHONY): Remove installdirs from list.
24287         ($(inst_infodir)/libc.info): Use make-target-directory.
24288         (installdirs): Remove.
24289         (subdir_%): Remove.
24290         (glibc-targets): Remove.
24291         (lib): Remove.
24292         (stubs): Remove.
24293         ($(objpfx)stubs ../po/manual.pot): Remove.
24294         ($(objpfx)stamp%): Remove.
24295         (make-target-directory): Remove.
24296         (subdir_install): Remove.
24297         (routines): Remove.
24298         (aux): Remove.
24299         (sources): Remove.
24300         (objects): Remove.
24301         (headers): Remove.
24303         [BZ #13750]
24304         * manual/.gitignore: Remove, it's not needed anymore.
24305         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24306         all files in it.
24307         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24308         directory.
24309         (texis): Renamed to $(objpfx)texis.
24310         (texis-path): New, contains path to generated files.
24311         (chapters.%): Use texis-path for complete path, add extra argument
24312         libc-texinfo.sh.
24313         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24314         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24315         (summary,texi, stamp-summary): Use complete path of
24316         files. Generate files in build dir.
24317         (dir-add.texi): Build in build dir.
24318         (libm-err.texi,stamp-libm-err): Likewise.
24319         (version.texi, stamp-version): Likewise.
24320         (.%c.texi): Likewise.
24321         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24322         (mostlyclean): Remove target.
24323         (realclean): Remove target.
24324         (generated): Add new variable with contents from mostlyclean and
24325         realclean, remove entries duplicated in common-mostlyclean, add
24326         stamp-libm-err and stamp-version.
24327         (generated-dirs): Add libc directory.
24328         ($(inst_infodir)/libc.info): Install files from build dir.
24330         * manual/install.texi (Configuring and compiling): Adjust since
24331         the info files are not part of the tar ball anymore.
24333 2012-05-14  Andreas Jaeger  <aj@suse.de>
24335         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24336         variable.
24338 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24340         [BZ #13717]
24341         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24342         to 2.2.0 where earlier.
24343         * sysdeps/unix/sysv/linux/configure: Regenerated.
24344         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24345         Remove conditional code.
24346         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24347         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24348         Remove conditional code.
24349         [!__NR_lchown]: Likewise.
24350         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24351         [__NR_lchown]: Likewise.
24352         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24353         comment referencing __ASSUME_LCHOWN_SYSCALL.
24354         * sysdeps/unix/sysv/linux/i386/sigaction.c
24355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24357         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24358         Remove conditional code.
24359         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24360         (__protocol_available): Remove #if 0 code.
24361         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24362         conditional code.
24363         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24364         * sysdeps/unix/sysv/linux/kernel-features.h
24365         (__ASSUME_GETCWD_SYSCALL): Don't define.
24366         (__ASSUME_REALTIME_SIGNALS): Likewise.
24367         (__ASSUME_PREAD_SYSCALL): Likewise.
24368         (__ASSUME_PWRITE_SYSCALL): Likewise.
24369         (__ASSUME_POLL_SYSCALL): Likewise.
24370         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24371         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24372         non-SPARC.
24373         (__ASSUME_SIOCGIFNAME): Don't define.
24374         (__ASSUME_MSG_NOSIGNAL): Likewise.
24375         (__ASSUME_SENDFILE): Define unconditionally.
24376         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24377         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24378         conditional code.
24379         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24380         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24381         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24382         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24383         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24384         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24385         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24399         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24402         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24405         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24406         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24408         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24410         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24411         Remove conditional code.
24412         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24413         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24414         Remove conditional code.
24415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24416         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24417         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24418         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24419         Remove conditional code.
24420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24421         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24422         Remove conditional code.
24423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24424         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24425         Remove conditional code.
24426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24427         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24428         Remove conditional code.
24429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24430         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24431         Remove conditional code.
24432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24433         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24434         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24435         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24436         * sysdeps/unix/sysv/linux/sigaction.c
24437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24439         * sysdeps/unix/sysv/linux/sigpending.c
24440         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24441         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24442         * sysdeps/unix/sysv/linux/sigprocmask.c
24443         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24444         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24445         * sysdeps/unix/sysv/linux/sigsuspend.c
24446         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24447         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24448         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24449         (__libc_missing_rt_sigs): Remove.
24450         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24451         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24452         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24453         Remove conditional code.
24454         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24455         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24456         return 1.
24457         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24458         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24459         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24460         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24462 2012-05-14  Andreas Jaeger  <aj@suse.de>
24464         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24465         it's not used in glibc.
24466         (__coshm1): Likewise.
24467         (__acosh1p): Likewise.
24468         (__sgn): Likewise.
24470         * manual/string.texi (Copying and Concatenation): Add missing
24471         variable in concat example.
24472         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24476         [BZ #14103]
24477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24478         __builtin_clzl with __builtin_clzll.
24480 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24482         [BZ #14104]
24483         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24484         libc_freeres_ptr.
24486 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24488         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24489         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24490         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24491         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24493 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24495         * NEWS: Update ia64 info.
24497 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24499         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24500         used as bcopy.
24502 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24504         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24505         * sysdeps/unix/syscalls.list (dup3): Likewise.
24506         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24507         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24509 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24511         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24512         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24514 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24516         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24517         thread pointer.
24518         (TLS_IE): Use mov/add instead of movq/addq to load thread
24519         pointer.
24520         (TLS_GD_PREFIX): New.
24521         (TLS_GD): Use it.
24523 2012-05-11  David S. Miller  <davem@davemloft.net>
24525         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24526         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24527         (_FPU_SETCW): Likewise.
24529 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24531         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24532         is 32-byte aligned.
24534 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24536         [BZ #11837]
24537         * iconvdata/gb18030.c: Update tables.
24538         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24539         characters specially.
24540         (BODY for TO_LOOP): Add encoding of missing ranges.
24542 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24544         [BZ #13673]
24545         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24546         * sysdeps/mach/hurd/dup3.c: Likewise.
24547         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24548         * sysdeps/powerpc/memmove.c:: Likewise.
24550 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24552         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24553         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24555 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24557         * elf/elf.h (R_X86_64_RELATIVE64): New.
24558         (R_X86_64_NUM): Updated.
24559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24560         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24561         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24562         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24563         tst-quad1pie tst-quad2pie
24564         (modules-names): Add tst-quadmod1 tst-quadmod2.
24565         ($(objpfx)tst-quad1): New dependency.
24566         ($(objpfx)tst-quad2): Likewise.
24567         ($(objpfx)tst-quad1pie): Likewise.
24568         ($(objpfx)tst-quad2pie): Likewise.
24569         * sysdeps/x86_64/tst-quad1.c: New file.
24570         * sysdeps/x86_64/tst-quad1pie.c: New file.
24571         * sysdeps/x86_64/tst-quad2.c: Likewise.
24572         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24573         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24574         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24575         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24576         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24580         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24581         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24582         * streams/stropts.h (t_scalar_t): Define type.
24584         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24585         (_PATH_PRESERVE): Set to "/var/lib".
24586         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24588         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24589         instead of int.
24591         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24592         if __dir_mkfile succeeded.
24594         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24595         checking for _hurd_dtablesize.  Unlock it right after having
24596         finished _hurd_dtable allocation.
24598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24600         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24601         * sysdeps/mach/hurd/configure: Regenerated.
24602         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24603         special-casing to...
24604         * sysdeps/gnu/configure.in: ... this new file.
24605         * sysdeps/unix/sysv/linux/configure: Regenerated.
24606         * sysdeps/gnu/configure: New generated file.
24608         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24609         for Linux: use nsec instead of usec, as well as:
24610         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24611         members of type struct timespec.
24612         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24613         New macros.
24614         (struct stat64): Likewise.
24615         (_STATBUF_ST_NSEC): New macro.
24616         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24618         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24619         __strtoul_internal rather than strtoul.
24621 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24623         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24624         and reject them.
24626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24628         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24629         which preserves existing values.
24630         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24632 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24634         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24635         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24636         greater than FD_SETSIZE.
24638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24640         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24641         allocated, call __vm_protect to finish enabling the existing space, and
24642         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24643         allocate the remainder.
24645 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24647         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24648         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24652         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24653         sysdeps/mach/hurd/readlink.c.
24655         * posix/tst-sysconf.c (posix_options): Only use
24656         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24657         _POSIX_SYNCHRONIZED_IO when they are defined
24658         * sysdeps/mach/hurd/bits/posix_opt.h:
24659         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24660         (_XOPEN_REALTIME): Undefine macro.
24661         (_XOPEN_REALTIME_THREADS): Undefine macro.
24662         (_XOPEN_SHM): Undefine macro.
24663         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24664         macro to -1.
24665         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24666         macro to -1.
24667         (_POSIX_ASYNC_IO): Undefine macro.
24668         (_POSIX_PRIORITIZED_IO): Undefine macro.
24669         (_POSIX_SPIN_LOCKS): Define macro to -1.
24671         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24672         SA_NODEFER, SA_RESETHAND.
24673         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24674         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24675         F_DUPFD_CLOEXEC.
24677 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24679         * elf/Makefile (pldd-modules): Define unconditionally.
24681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24683         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24687         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24688         Return ENOENT when name is empty.
24689         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24693         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24695         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24699         Fix mlock in all cases except non-readable pages.
24700         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24701         instead of VM_PROT_ALL as parameter to __vm_wire function.
24703         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24704         (__mkdir): When path is `/', just fail with EEXIST.
24705         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24709         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24710         <sys/uio.h> (for writev).
24711         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24712         and <sys/param.h> (for MIN).
24714 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24716         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24717         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24718         if interrupted.
24720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24722         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24723         Depend on against $(link-rpcuserlibs).
24725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24727         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24728         (__libc_stack_end): Do not use attribute_relro.
24729         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24730         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24731         to libthread-provided value.
24732         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24733         attribute_relro.
24735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24737         [BZ #3748]
24738         * bits/libc-lock.h (__libc_once_get): New macro.
24739         * sysdeps/mach/bits/libc-lock.h: Likewise.
24740         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24741         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24742         instead of using implementation details.
24744         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24745         * libio/freopen.c: Likewise.
24746         * libio/freopen64.c: Likewise.
24747         * misc/syslog.c: Likewise.
24748         * nscd/connections.c: Likewise.
24749         * nscd/netgroupcache.c: Likewise.
24750         * sysdeps/posix/getcwd.c: Likewise.
24752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24754         * math/w_ilogbf.c: Add #include <limits.h>.
24756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24758         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24759         path instead of returning without unlocking.
24761         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24762         immediate-write ioctls.
24763         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24765 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24767         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24768         __builtin_frame_address instead of making assumptions about the
24769         location of the return address relative to DATA.  Force early load of
24770         the return address.
24771         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24772         __builtin_frame_address.
24774         dup3 for GNU Hurd.
24775         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24776         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24777         implement dup3 and do some further code clean-ups.
24778         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24779         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24781 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24783         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24785         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24786         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24787         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24788         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24789         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24790         d->port.lock.
24792         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24793         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24794         when handler == SIG_ERR, not when handler != SIG_ERR.
24796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24798         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24799         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24800         definitions.
24802         accept4 for GNU Hurd.
24803         * include/sys/socket.h (__libc_accept4): New prototype.
24804         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24805         to implement __libc_accept4.
24806         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24807         __libc_accept4.
24808         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24810         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24811         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24812         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24813         signal-defines.sym.
24815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24817         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24821         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24822         assertion on O_CLOEXEC flag.
24823         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24824         * hurd/intern-fd.c: Likewise.
24825         * hurd/port2fd.c: Likewise.
24827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24829         [BZ #3906]
24830         * bits/in.h (IPV6_PKTINFO): Define new macro.
24831         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24833 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24835         [BZ #13954]
24836         [BZ #13955]
24837         [BZ #13956]
24838         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24839         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24840         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24841         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24843         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24844         * math/libm-test.inc (logb_test) : Additional logb tests.
24846 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24847             Andreas Jaeger  <aj@suse.de>
24849         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24850         * configure: Regenerated.
24851         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24852         * config.make.in (link-obsolete-rpc): New substituted variable.
24853         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24854         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24855         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24856         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24857         so that libc.a contains the symbols.
24858         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24859         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24860         * sunrpc/auth_none.c: Likewise.
24861         * sunrpc/auth_unix.c: Likewise.
24862         * sunrpc/authdes_prot.c: Likewise.
24863         * sunrpc/authuxprot.c: Likewise.
24864         * sunrpc/clnt_gen.c: Likewise.
24865         * sunrpc/clnt_perr.c: Likewise.
24866         * sunrpc/clnt_raw.c: Likewise.
24867         * sunrpc/clnt_simp.c: Likewise.
24868         * sunrpc/clnt_tcp.c: Likewise.
24869         * sunrpc/clnt_udp.c: Likewise.
24870         * sunrpc/clnt_unix.c: Likewise.
24871         * sunrpc/des_crypt.c: Likewise.
24872         * sunrpc/des_soft.c: Likewise.
24873         * sunrpc/get_myaddr.c: Likewise.
24874         * sunrpc/key_call.c: Likewise.
24875         * sunrpc/key_prot.c: Likewise.
24876         * sunrpc/netname.c: Likewise.
24877         * sunrpc/pm_getmaps.c: Likewise.
24878         * sunrpc/pm_getport.c: Likewise.
24879         * sunrpc/pmap_clnt.c: Likewise.
24880         * sunrpc/pmap_prot.c: Likewise.
24881         * sunrpc/pmap_prot2.c: Likewise.
24882         * sunrpc/pmap_rmt.c: Likewise.
24883         * sunrpc/publickey.c: Likewise.
24884         * sunrpc/rpc_cmsg.c: Likewise.
24885         * sunrpc/rpc_common.c: Likewise.
24886         * sunrpc/rpc_dtable.c: Likewise.
24887         * sunrpc/rpc_prot.c: Likewise.
24888         * sunrpc/rpc_thread.c: Likewise.
24889         * sunrpc/rtime.c: Likewise.
24890         * sunrpc/svc.c: Likewise.
24891         * sunrpc/svc_auth.c: Likewise.
24892         * sunrpc/svc_raw.c: Likewise.
24893         * sunrpc/svc_run.c: Likewise.
24894         * sunrpc/svc_tcp.c: Likewise.
24895         * sunrpc/svc_udp.c: Likewise.
24896         * sunrpc/svc_unix.c: Likewise.
24897         * sunrpc/svcauth_des.c: Likewise.
24898         * sunrpc/xcrypt.c: Likewise.
24899         * sunrpc/xdr.c: Likewise.
24900         * sunrpc/xdr_array.c: Likewise.
24901         * sunrpc/xdr_float.c: Likewise.
24902         * sunrpc/xdr_intXX_t.c: Likewise.
24903         * sunrpc/xdr_mem.c: Likewise.
24904         * sunrpc/xdr_rec.c: Likewise.
24905         * sunrpc/xdr_ref.c: Likewise.
24906         * sunrpc/xdr_sizeof.c: Likewise.
24907         * sunrpc/xdr_stdio.c: Likewise.
24909 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24912         change.  Update copyright years.
24914 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24916         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24918 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24919             Joseph Myers  <joseph@codesourcery.com>
24920             Paul Pluzhnikov  <ppluzhnikov@google.com>
24922         [BZ #14012]
24923         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24924         requiring rpcgen.
24925         [cross-compiling] (extra-libs): Likewise.
24926         [cross-compiling] (extra-libs-others): Likewise.
24927         [cross-compiling] (librpcsvc-routines): Likewise.
24928         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24929         [cross-compiling] (omit-deps): Likewise.
24930         (sunrpc-CPPFLAGS): New variable.
24931         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24932         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24933         (cross-rpcgen-objs): New variable.
24934         (extra-objs): Append $(cross-rpcgen-objs).
24935         ($(cross-rpcgen-objs)): New rule.
24936         ($(objpfx)cross-rpcgen): Likewise.
24937         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24938         comment.
24939         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24940         ($(objpfx)x%.stmp): Likewise.
24941         * sunrpc/proto.h [IS_IN_build] (_): Define.
24942         [IS_IN_build] (_libc_intl_domainname): Likewise.
24944 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24946         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24947         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24948         and R_X86_64_TPOFF64.
24950 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24952         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24953         sysdeps/unix/sysv/syscalls.list.
24954         (stime): Likewise.
24955         (utime): Likewise.
24956         * sysdeps/unix/sysv/syscalls.list: Remove file.
24958 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24960         [BZ #3440]
24961         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24962         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24963         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24964         (__LC_IDENTIFICATION): Make these macros useful in #if
24965         expressions, as required by C99.
24967 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24969         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24970         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24971         after this.
24973 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24975         * stdlib/longlong.h: Updated from GCC.
24977 2012-05-09  Andreas Jaeger  <aj@suse.de>
24979         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24980         default is first entry.
24981         (run_mode): Set type.
24982         (main): Remove informal message about syslog.
24983         (options): Fix typo.
24985         [BZ #14053]
24986         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24987         to asm.
24988         (lrint): Likewise.
24989         (llrintf): Likewise.
24990         (llrint): Likewise.
24991         (rint): Likewise.
24992         (rintf): Likewise.
24993         (nearbyint): Likewise.
24994         (nearbyintf): Likewise.
24996 2012-05-09  Andreas Jaeger  <aj@suse.de>
24997             Pedro Alves  <palves@redhat.com>
24999         * nscd/nscd.c (run_mode): Use enum.
25000         (main): Cleanup coding style issue.
25002 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25003             Andreas Jaeger  <aj@suse.de>
25005         * nscd/nscd.c (go_background): Replaced with...
25006         (run_mode): ... this.
25007         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25008         (options): Add -F --foreground.
25009         (main): Implement it.
25010         (parse_opt): Parse it.
25012 2012-05-09  Andreas Jaeger  <aj@suse.de>
25014         [BZ #14083]
25015         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25016         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25017         -Wconversion warning.
25018         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25019         Likewise.
25021 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25023         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25024         == 0.
25025         (LC_ALL): Use macro-int-constant.
25026         (LC_COLLATE): Likewise.
25027         (LC_CTYPE): Likewise.
25028         (LC_MESSAGES): Likewise.
25029         (LC_MONETARY): Likewise.
25030         (LC_NUMERIC): Likewise.
25031         (LC_TIME): Likewise.
25032         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25033         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25035         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25036         Specify type.
25037         [C99-based standards] (float_t): Expect type.
25038         [C99-based standards] (double_t): Expect type.
25039         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25040         type.
25041         [C99-based standards] (HUGE_VALL): Likewise.
25042         [C99-based standards] (INFINITY): Likewise.
25043         [C99-based standards] (NAN): Likewise.
25044         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25045         [C99-based standards] (FP_NAN): Likewise.
25046         [C99-based standards] (FP_NORMAL): Likewise.
25047         [C99-based standards] (FP_SUBNORMAL): Likewise.
25048         [C99-based standards] (FP_ZERO): Likewise.
25049         [C99-based standards] (FP_FAST_FMA): Use
25050         optional-macro-int-constant.  Specify type.  Require == 1.
25051         [C99-based standards] (FP_FAST_FMAF): Likewise.
25052         [C99-based standards] (FP_FAST_FMAL): Likewise.
25053         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25054         [C99-based standards] (FP_ILOGBNAN): Likewise.
25055         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25056         Specify type.
25057         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25058         [C99-based standards] (math_errhandling): Specify type.
25059         [ISO99 || ISO11] (signgam): Do not allow.
25060         [non-C99-based standards] (copysignf): Do not allow.
25061         [non-C99-based standards] (exp2f): Likewise.
25062         [non-C99-based standards] (log2f): Likewise.
25063         [non-C99-based standards] (modff): Allow.
25064         [non-C99-based standards] (erff): Do not allow.
25065         [non-C99-based standards] (erfcf): Likewise.
25066         [non-C99-based standards] (gammaf): Likewise.
25067         [non-C99-based standards] (hypotf): Likewise.
25068         [non-C99-based standards] (j0f): Likewise.
25069         [non-C99-based standards] (j1f): Likewise.
25070         [non-C99-based standards] (jnf): Likewise.
25071         [non-C99-based standards] (lgammaf): Likewise.
25072         [non-C99-based standards] (tgammaf): Likewise.
25073         [non-C99-based standards] (y0f): Likewise.
25074         [non-C99-based standards] (y1f): Likewise.
25075         [non-C99-based standards] (ynf): Likewise.
25076         [non-C99-based standards] (isnanf): Likewise.
25077         [non-C99-based standards] (acoshf): Likewise.
25078         [non-C99-based standards] (asinhf): Likewise.
25079         [non-C99-based standards] (atanhf): Likewise.
25080         [non-C99-based standards] (cbrtf): Likewise.
25081         [non-C99-based standards] (expm1f): Likewise.
25082         [non-C99-based standards] (ilogbf): Likewise.
25083         [non-C99-based standards] (log1pf): Likewise.
25084         [non-C99-based standards] (logbf): Likewise.
25085         [non-C99-based standards] (nextafterf): Likewise.
25086         [non-C99-based standards] (remainderf): Likewise.
25087         [non-C99-based standards] (rintf): Likewise.
25088         [non-C99-based standards] (scalbf): Likewise.
25089         [non-C99-based standards] (copysignl): Likewise.
25090         [non-C99-based standards] (exp2l): Likewise.
25091         [non-C99-based standards] (log2l): Likewise.
25092         [non-C99-based standards] (modfl): Allow.
25093         [non-C99-based standards] (erfl): Do not allow.
25094         [non-C99-based standards] (erfcl): Likewise.
25095         [non-C99-based standards] (gammal): Likewise.
25096         [non-C99-based standards] (hypotl): Likewise.
25097         [non-C99-based standards] (j0l): Likewise.
25098         [non-C99-based standards] (j1l): Likewise.
25099         [non-C99-based standards] (jnl): Likewise.
25100         [non-C99-based standards] (lgammal): Likewise.
25101         [non-C99-based standards] (tgammal): Likewise.
25102         [non-C99-based standards] (y0l): Likewise.
25103         [non-C99-based standards] (y1l): Likewise.
25104         [non-C99-based standards] (ynl): Likewise.
25105         [non-C99-based standards] (isnanl): Likewise.
25106         [non-C99-based standards] (acoshl): Likewise.
25107         [non-C99-based standards] (asinhl): Likewise.
25108         [non-C99-based standards] (atanhl): Likewise.
25109         [non-C99-based standards] (cbrtl): Likewise.
25110         [non-C99-based standards] (expm1l): Likewise.
25111         [non-C99-based standards] (ilogbl): Likewise.
25112         [non-C99-based standards] (log1pl): Likewise.
25113         [non-C99-based standards] (logbl): Likewise.
25114         [non-C99-based standards] (nextafterl): Likewise.
25115         [non-C99-based standards] (remainderl): Likewise.
25116         [non-C99-based standards] (rintl): Likewise.
25117         [non-C99-based standards] (scalbl): Likewise.
25118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25119         [non-C99-based standards] (FP_*): Do not allow.
25120         [C99-based standards] (FP_*): Change to
25121         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25122         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25123         allow.
25124         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25125         (SIG_ERR): Likewise.
25126         [X/Open-based standards] (SIG_HOLD): Likewise.
25127         (SIG_IGN): Likewise.
25128         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25129         positive value.
25130         (SIGFPE): Likewise.
25131         (SIGILL): Likewise.
25132         (SIGINT): Likewise.
25133         (SIGSEGV): Likewise.
25134         (SIGTER): Likewise.
25135         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25136         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25137         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25138         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25139         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25140         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25141         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25142         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25143         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25144         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25145         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25146         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25147         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25148         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25149         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25150         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25151         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25152         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25153         [X/Open-based standards] (SIGTRAP): Likewise.
25154         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25155         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25156         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25157         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25158         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25159         allow.
25161 2012-05-08  Ian Wienand  <ianw@vmware.com>
25163         [BZ #14080]
25164         * time/tzset.c (__tzset_parse_tz): Update default rules for
25165         daylight time changes in the Energy Policy Act of 2005.
25167 2012-05-09  Andreas Jaeger  <aj@suse.de>
25169         [BZ #13983]
25170         * elf/ldconfig.c (parse_conf): Change string to make clear that
25171         ldconfig only issued a warning if ld.so.conf does not exist.
25173 2012-05-08  David S. Miller  <davem@davemloft.net>
25175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25176         movxtod instead of popping the value on the stack.
25178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25180 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25182         * config.h.in: Add HAVE_ARM_PCS_VFP.
25184 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25186         [BZ #13979]
25187         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25188         checking but the checks are disabled for any reason.
25190 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25192         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25193         and ELF64_R_TYPE with ELFW(R_TYPE).
25195 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25197         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25198         (ulimit): Likewise.
25200         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25201         (settimeofday): Likewise.
25203 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25205         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25206         a struct th_u2 inside the union, and move tu_block/tu_code into
25207         a new th_u3 union of tu_block/tu_code inside of that.  Move
25208         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25209         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25210         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25211         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25212         (th_stuff): Change to th_u1.tu_stuff.
25213         (th_data): Define.
25214         (th_msg): Change to th_u1.th_u2.tu_data.
25216 2012-05-07  David S. Miller  <davem@davemloft.net>
25218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25220         [BZ #14074]
25221         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25222         (SETUP_PIC_REG): Use it.
25223         (SETUP_PIC_REG_LEAF): Use it.
25225 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25227         [BZ #13885]
25228         [BZ #13923]
25229         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25230         USE_AS_EXPM1L.
25231         (EXPL_FINITE): Likewise.
25232         (FLDLOG): Likewise.
25233         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25234         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25235         e_expl.S.
25236         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25237         USE_AS_EXPM1L.
25238         (EXPL_FINITE): Likewise.
25239         (FLDLOG): Likewise.
25240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25241         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25242         e_expl.S.
25243         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25244         test of -max_value argument for long double.
25245         * sysdeps/i386/fpu/libm-test-ulps: Update.
25246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25248 2012-05-06  David S. Miller  <davem@davemloft.net>
25250         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25251         quad soft-float symbols whose references which are compiler
25252         generated.
25253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25255 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25257         [BZ #13884]
25258         [BZ #13914]
25259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25260         USE_AS_EXP10L.
25261         (EXPL_FINITE): Likewise.
25262         (FLDLOG): Likewise.
25263         (c0): Likewise.
25264         (c1): Likewise.
25265         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25266         Adjust comments for base varying.
25267         (__expl_finite): Change alias to EXPL_FINITE.
25268         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25269         e_expl.S.
25270         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25273         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25275         USE_AS_EXP10L.
25276         (EXPL_FINITE): Likewise.
25277         (FLDLOG): Likewise.
25278         (c0): Likewise.
25279         (c1): Likewise.
25280         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25281         Adjust comments for base varying.
25282         (__expl_finite): Change alias to EXPL_FINITE.
25283         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25284         tests for bugs.
25285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25287         [BZ #14064]
25288         * math/libm-test.inc (check_float_internal): Correct ulp
25289         calculation for subnormal expected results.
25291 2012-05-06  Andreas Jaeger  <aj@suse.de>
25293         * Makeconfig (+math-flags): New, set to -frounding-math.
25294         (+cflags): Add +math-flags so that all of glibc gets compiled with
25295         it.
25297         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25299 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25301         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25302         Disable one test.
25304         [BZ #13787]
25305         [BZ #13922]
25306         [BZ #14036]
25307         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25308         (__ieee754_expl): Allow for and saturate large arguments.
25309         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25310         (u_threshold): Likewise.
25311         (__exp): Call __ieee754_exp before checking for overflow and
25312         underflow.
25313         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25314         (u_threshold): Likewise.
25315         (__expf): Call __ieee754_expf before checking for overflow and
25316         underflow.
25317         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25318         (u_threshold): Likewise.
25319         (__expl): Call __ieee754_expl before checking for overflow and
25320         underflow.
25321         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25322         (__ieee754_expl): Allow for and saturate large arguments.
25323         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25324         missing overflow exception on overflow.
25325         (expm1_test): Do not allow missing overflow exception on overflow.
25327         * sysdeps/i386/fpu/e_expl.c: Move to ...
25328         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25329         rather than using inline asm.
25330         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25331         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25332         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25334         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25335         (nice): Likewise.
25336         (poll): Likewise.
25337         (signal): Likewise.
25338         (time): Likewise.
25339         (times): Likewise.
25341 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25343         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25344         sysdeps/unix/common/syscalls.list.
25345         (fchmod): Likewise.
25346         (fchown): Likewise.
25347         (ftruncate): Likewise.
25348         (getrusage): Likewise.
25349         (gettimeofday): Likewise.
25350         (setpgid): Likewise.
25351         (setregid): Likewise.
25352         (setreuid): Likewise.
25353         (sigaction): Likewise.
25354         (truncate): Likewise.
25355         (vhangup): Likewise.
25356         * sysdeps/unix/common/syscalls.list: Remove file.
25357         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25358         * sysdeps/unix/sysv/linux/Implies: Likewise.
25360 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25362         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25364         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25365         Moved to ...
25366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25367         Here.
25368         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25369         to ...
25370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25371         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25372         to ...
25373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25374         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25375         to ...
25376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25377         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25378         to ...
25379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25380         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25381         to ...
25382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25383         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25384         to ...
25385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25386         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25387         to ...
25388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25389         Here.
25390         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25391         to ...
25392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25393         Here.
25394         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25395         to ...
25396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25397         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25398         Moved to ...
25399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25400         Here.
25401         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25402         to ...
25403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25405 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25407         * sysdeps/unix/common/bits/dirent.h: Remove file.
25408         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25410         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25411         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25412         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25413         * sysdeps/unix/bsd/isatty.c: Likewise.
25414         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25415         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25416         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25418 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25420         [BZ #13563]
25421         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25422         long double comparison inaccuracies.
25423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25426 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25428         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25429         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25431 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25433         [BZ #14049]
25434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25435         nonzero digits before rounding a hex value.
25436         * stdlib/tst-strtod.c (tests): Add another test.
25438 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25440         * sysdeps/s390/fpu/libm-test-ulps: Update.
25442 2012-05-03  Andreas Jaeger  <aj@suse.de>
25444         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25445         does not get optimized out.
25446         (malloc_opt_barrier): New.
25448 2012-05-03  Andreas Jaeger  <aj@suse.de>
25449             Roland McGrath  <roland@hack.frob.com>
25451         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25452         intermediate file deletion.
25453         (generated): Add .symlist files.
25455 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25457         [BZ #13775]
25458         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25459         Redirect under this condition.
25460         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25461         [__USE_GNU] (__dprintf_chk): Not under this condition.
25462         [__USE_GNU] (__vdprintf_chk): Likewise.
25463         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25464         under this condition.
25465         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25466         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25467         [__USE_XOPEN2K8] (vdprintf): Likewise.
25468         [__USE_GNU] (__dprintf_chk): Not under this condition.
25469         [__USE_GNU] (__vdprintf_chk): Likewise.
25470         [__USE_GNU] (dprintf): Likewise.
25471         [__USE_GNU] (vdprintf): Likewise.
25473 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25475         * elf/Makefile (common-generated): Set this instead of generated for
25476         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25477         $(all-built-dso)-derived lists.
25479 2012-05-03  Andreas Jaeger  <aj@suse.de>
25481         * sysdeps/i386/fpu/libm-test-ulps: Update.
25483         * FAQ: Removed.
25484         * FAQ.in: Likewise.
25485         * scripts/gen-FAQ.pl: Likewise.
25486         * manual/install.texi (Installation): Point to online location of
25487         FAQ.
25488         * Makefile (files-for-dist): Remove FAQ.
25489         (FAQ): Remove.
25491 2012-05-02  Allan McRae  <allan@archlinux.org>
25493         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25494         (LDFLAGS-reldepmod5.so): Likewise.
25495         (LDFLAGS-reldep6mod1.so): Likewise.
25496         (LDFLAGS-reldep6mod4.so): Likewise.
25497         (LDFLAGS-reldep8mod3.so): Likewise.
25498         (LDFLAGS-unload4mod1.so): Likewise.
25499         (LDFLAGS-unload4mod2.so): Likewise.
25500         (LDFLAGS-tst-initorder): Likewise.
25501         (LDFLAGS-tst-initordera2.so): Likewise.
25502         (LDFLAGS-tst-initordera3.so): Likewise.
25503         (LDFLAGS-tst-initordera4.so): Likewise.
25504         (LDFLAGS-tst-initorderb2.so): Likewise.
25505         (LDFLAGS-noload): Likewise.
25506         (LDFLAGS-next): Likewise.
25507         (LDFLAGS-order2mod1.so): Likewise.
25508         (LDFLAGS-order2mod2.so): Likewise.
25509         (LDFLAGS-tst-initorder2): Likewise.
25510         (LDFLAGS-tst-initorder2a.so): Likewise.
25511         (LDFLAGS-tst-initorder2b.so): Likewise.
25512         (LDFLAGS-tst-initorder2c.so): Likewise.
25513         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25515 2012-05-02  David S. Miller  <davem@davemloft.net>
25517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25519 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25521         [BZ #14055]
25522         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25524 2012-05-02  Andreas Jaeger  <aj@suse.de>
25526         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25527         since we manipulate rounding mode.
25528         (CPPFLAGS-test-idouble.c): Likewise.
25529         (CPPFLAGS-test-ifloat.c): Likewise.
25530         (CFLAGS-test-ldouble.c): Likewise.
25531         (CFLAGS-test-double.c): Likewise.
25532         (CFLAGS-test-float.c): Likewise.
25533         (CFLAGS-test-misc.c): Likewise.
25534         (CFLAGS-test-test-fenv.c): Likewise.
25536 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25538         [BZ #2550]
25539         [BZ #2570]
25540         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25541         comparisons to determine direction to adjust input.
25543 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25545         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25546         output to the target.
25548         * scripts/localplt.awk: New file.
25549         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25550         (check-localplt-CFLAGS): Variable removed.
25551         ($(all-built-dso:=.jmprel)): New static pattern rule.
25552         (generated): Add those targets.
25553         (localplt-built-dso): New variable.
25554         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25556         * elf/check-localplt.c: File removed.
25558         * scripts/check-execstack.awk: New file.
25559         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25560         (check-execstack-CFLAGS): Variable removed.
25561         ($(objpfx)check-execstack.h): Target removed.
25562         ($(objpfx)execstack-default): New target.
25563         (generated): Add that instead of check-execstack.h.
25564         ($(all-built-dso:=.phdr)): New static pattern rule.
25565         (generated): Add those targets.
25566         * elf/check-execstack.c: File removed.
25568         * scripts/check-textrel.awk: New file.
25569         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25570         (check-textrel-CFLAGS): Variable removed.
25571         (all-built-dso): Use := to define.o
25572         ($(all-built-dso:=.dyn)): New static pattern rule.
25573         (generated): Add those targets.
25574         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25575         * config.make.in (READELF): New substituted variable.
25576         * elf/check-textrel.c: File removed.
25578 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25580         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25581         allow.
25582         * conform/data/ctype.h-data [C99-based standards] (isblank):
25583         Expect function.
25584         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25585         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25587         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25588         Specify type.  Require positive value.
25589         (EILSEQ): Likewise.
25590         (ERANGE): Likewise.
25591         [ISO || POSIX] (EILSEQ): Do not expect.
25592         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25593         Specify type.  Require positive value.
25594         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25595         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25596         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25597         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25598         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25599         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25600         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25601         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25602         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25603         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25604         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25605         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25606         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25607         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25608         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25609         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25610         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25611         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25612         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25613         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25614         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25615         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25616         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25617         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25618         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25619         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25620         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25621         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25622         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25623         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25624         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25625         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25626         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25627         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25628         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25629         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25630         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25631         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25632         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25633         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25634         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25635         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25636         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25637         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25638         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25639         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25640         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25641         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25642         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25643         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25644         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25645         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25646         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25647         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25648         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25649         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25650         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25651         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25652         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25653         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25654         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25655         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25656         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25657         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25658         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25659         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25660         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25661         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25662         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25663         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25664         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25665         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25666         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25667         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25668         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25669         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25670         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25671         Require >= 2.
25672         (FLT_ROUNDS): Expect as macro, not constant.
25673         (FLT_MANT_DIG): Use macro-int-constant.
25674         (DBL_MANT_DIG): Likewise.
25675         (LDBL_MANT_DIG): Likewise.
25676         (FLT_DIG): Likewise.
25677         (DBL_DIG): Likewise.
25678         (LDBL_DIG): Likewise.
25679         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25680         (DBL_MIN_EXP): Likewise.
25681         (LDBL_MIN_EXP): Likewise.
25682         (FLT_MAX_EXP): Use macro-int-constant.
25683         (DBL_MAX_EXP): Likewise.
25684         (LDBL_MAX_EXP): Likewise.
25685         (FLT_MAX_10_EXP): Likewise.
25686         (DBL_MAX_10_EXP): Likewise.
25687         (LDBL_MAX_10_EXP): Likewise.
25688         (FLT_MAX): Use macro-constant.
25689         (DBL_MAX): Likewise.
25690         (LDBL_MAX): Likewise.
25691         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25692         (DBL_EPSILON): Likewise.
25693         (LDBL_EPSILON): Likewise.
25694         (FLT_MIN): Likewise.
25695         (DBL_MIN): Likewise.
25696         (LDBL_MIN): Likewise.
25697         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25698         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25699         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25700         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25701         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25702         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25703         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25704         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25705         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25706         [ISO11] (FLT_TRUE_MIN): Likewise.
25707         [ISO11] (LDBL_TRUE_MIN): Likewise.
25708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25709         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25710         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25711         (SCHAR_MAX): Likewise.
25712         (UCHAR_MAX): Likewise.
25713         (CHAR_MIN): Likewise.
25714         (CHAR_MAX): Likewise.
25715         (MB_LEN_MAX): Use macro-int-constant.
25716         (SHRT_MIN): Use macro-int-constant.  Specify type.
25717         (SHRT_MAX): Likewise.
25718         (USHRT_MAX): Likewise.
25719         (INT_MAX): Likewise.
25720         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25721         bound negative.
25722         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25723         bound with "U".
25724         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25725         bound with "L".
25726         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25727         bound negative.  Suffix upper bound with "L".
25728         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25729         bound with "UL".
25730         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25731         Specify type.
25732         [C99-based standards] (LLONG_MAX): Likewise.
25733         [C99-based standards] (ULLONG_MAX): Likewise.
25734         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25735         == 0.
25736         [ISO11] (max_align_t): Require type.
25737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25739         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25740         from $CFLAGS, without defining away __attribute__ calls.
25741         (checknamespace): Use $CFLAGS_namespace.
25743         * conform/conformtest.pl (@keywords): Only include C99 keywords
25744         for standards based on C99 or C11.
25746         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25747         Disable tests.
25748         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25749         UNIX98]: Likewise.
25751         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25752         usability of symbols in #if.
25754         * conform/conformtest.pl: If macro or constant types start
25755         "promoted:", expect the symbol to be of the following type
25756         promoted by the integer promotions.
25758         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25759         in one place.  Also handle "macro-constant".
25761         * conform/conformtest.pl: Only accept expected macro values with
25762         "==".  Parse all "macro" lines in one place.
25763         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25765         * conform/conformtest.pl: Handle braced types on "constant" lines
25766         instead of handling "typed-constant".
25767         * conform/data/signal.h-data: Use "constant" instead of
25768         "typed-constant".
25770         * conform/conformtest.pl: Handle "optional-" at start of lines in
25771         one place rather than duplicating several cases.  Handle each
25772         format of "macro" line with initial "optional-".
25774         * conform/conformtest.pl: Only accept expected constant or
25775         optional-constant values with "==".  Parse all "constant" lines in
25776         one place.  Parse all "optional-constant" lines in one place.
25777         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25778         * conform/data/fmtmsg.h-data: Likewise.
25779         * conform/data/netinet/in.h-data: Likewise.
25780         * conform/data/tar.h-data: Likewise.
25781         * conform/data/limits.h-data: Use "==" form on "constant" and
25782         "optional-constant" lines.
25784         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25785         Use -std=c99 for XOPEN2K.
25786         (@knownproblems): Remove.
25787         (newtoken): Don't check %isknown.
25789         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25790         Do not expect macro.
25791         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25792         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25793         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25794         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25795         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25796         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25797         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25798         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25799         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25800         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25801         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25802         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25803         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25804         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25805         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25806         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25807         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25808         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25809         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25810         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25811         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25812         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25813         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25814         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25815         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25816         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25817         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25818         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25819         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25820         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25821         [XPG3] (acosh): Likewise.
25822         [XPG3] (asinh): Likewise.
25823         [XPG3] (atanh): Likewise.
25824         [XPG3] (cbrt): Likewise.
25825         [XPG3] (expm1): Likewise.
25826         [XPG3] (ilogb): Likewise.
25827         [XPG3] (log1p): Likewise.
25828         [XPG3] (logb): Likewise.
25829         [XPG3] (nextafter): Likewise.
25830         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25831         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25832         [XPG3] (remainder): Likewise.
25833         [XPG3] (rint): Likewise.
25834         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25835         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25836         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25837         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25838         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25839         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25840         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25841         [UNIX98 || XOPEN2K] (scalb): Expect.
25842         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25843         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25844         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25845         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25846         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25847         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25848         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25849         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25850         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25851         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25852         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25853         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25854         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25855         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25856         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25857         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25858         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25859         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25860         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25861         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25862         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25863         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25864         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25865         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25866         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25867         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25868         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25869         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25870         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25871         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25872         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25873         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25874         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25875         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25876         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25877         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25878         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25879         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25880         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25881         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25882         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25883         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25884         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25885         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25886         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25887         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25888         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25889         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25890         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25891         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25892         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25893         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25894         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25895         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25896         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25897         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25898         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25899         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25900         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25901         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25902         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25903         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25904         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25905         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25906         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25907         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25908         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25909         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25910         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25911         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25912         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25913         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25914         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25915         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25916         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25917         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25918         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25919         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25920         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25921         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25922         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25923         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25924         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25925         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25926         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25927         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25928         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25929         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25930         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25931         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25932         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25933         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25934         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25935         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25936         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25937         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25938         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25939         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25940         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25941         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25942         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25944         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25945         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25946         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25947         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25948         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25950         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25951         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25953         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25954         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25955         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25956         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25957         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25958         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25959         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25960         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25961         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25962         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25963         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25964         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25965         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25966         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25967         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25968         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25969         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25970         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25971         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25972         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25973         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25974         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25975         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25976         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25977         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25978         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25980         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25981         _XOPEN_SOURCE_EXTENDED for XPG4.
25983         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25985         * Makeconfig (localtime): Remove variable.
25986         (inst_localtime-file): Likewise.
25988 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25991         Update.
25992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25993         Update.
25994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25995         Update.
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25997         Update.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25999         Update.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26001         Update.
26002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26003         Update.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26005         Update.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26007         Update.
26009 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26011         [BZ #2550]
26012         [BZ #2570]
26013         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26014         comparisons to determine direction to adjust input.
26015         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26016         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26017         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26018         Likewise.
26019         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26020         Likewise.
26021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26022         Likewise.
26023         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26025         Likewise.
26026         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26027         Likewise.
26028         * math/libm-test.inc (nexttoward_test): Add more tests.
26030 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26032         [BZ #14040]
26033         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26034         in version GLIBC_2.1, not GLIBC_2.0.
26035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26036         Likewise.
26038 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26040         [BZ #13942]
26041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26042         (1 - x) * (1 + x).
26043         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26044         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26045         * math/libm-test.inc (acos_test): Add more tests.
26046         (asin_test): Likewise.
26047         * sysdeps/i386/fpu/libm-test-ulps: Update.
26048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26050         [BZ #14034]
26051         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26052         of square root.
26053         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26054         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26055         * math/libm-test.inc (acos_test_tonearest): New function.
26056         (acos_test_towardzero): Likewise.
26057         (acos_test_downward): Likewise.
26058         (acos_test_upward): Likewise.
26059         (asin_test_tonearest): Likewise.
26060         (asin_test_towardzero): Likewise.
26061         (asin_test_downward): Likewise.
26062         (asin_test_upward): Likewise.
26063         (main): Call the new functions.
26064         * sysdeps/i386/fpu/libm-test-ulps: Update.
26065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26067         [BZ #13884]
26068         [BZ #13924]
26069         * math/e_exp10.c: Include <float.h>.
26070         (__ieee754_exp10): Handle underflow here rather than multiplying
26071         large negative argument by M_LN10.
26072         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26073         of __ieee754_expf.
26074         * math/e_exp10l.c: Include <float.h>.
26075         (__ieee754_exp10l): Handle underflow here rather than multiplying
26076         large negative argument by M_LN10l.
26077         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26078         spurious overflow exception on underflow.
26080 2012-04-29  Marek Polacek  <polacek@redhat.com>
26082         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26083         (__fortify_function): New macro.
26084         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26085         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26086         __extern_always_inline.
26087         * libio/bits/stdio2.h: Likewise.
26088         * libio/bits/stdio.h: Likewise.
26089         * string/string.h: Likewise.
26090         * string/bits/string3.h: Likewise.
26091         * include/stdio.h: Likewise.
26092         * stdlib/bits/stdlib.h: Likewise.
26093         * stdlib/stdlib.h: Likewise.
26094         * rt/bits/mqueue2.h: Likewise.
26095         * rt/mqueue.h: Likewise.
26096         * posix/bits/unistd.h: Likewise.
26097         * posix/unistd.h: Likewise.
26098         * io/bits/poll2.h: Likewise.
26099         * io/bits/fcntl2.h: Likewise.
26100         * io/fcntl.h: Likewise.
26101         * io/sys/poll.h: Likewise.
26102         * misc/bits/syslog.h: Likewise.
26103         * misc/bits/syslog-ldbl.h: Likewise.
26104         * misc/sys/syslog.h: Likewise.
26105         * socket/bits/socket2.h: Likewise.
26106         * socket/sys/socket.h: Likewise.
26107         * debug/tst-chk1.c: Likewise.
26108         * wcsmbs/bits/wchar2.h: Likewise.
26109         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26110         * wcsmbs/wchar.h: Likewise.
26112 2012-04-29  Andreas Jaeger  <aj@suse.de>
26114         * Makerules (tests): Remove enable-check-abi protection.
26115         (check-abi-warn): Remove.
26116         (check-abi-%): Remove check-abi-warn usage.
26118         * configure.in: Remove check-abi configure option.
26119         * configure: Regenerated.
26120         * config.make.in (enable-check-abi): Remove.
26122 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26124         [BZ #14033]
26125         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26126         double functions to double *_finite functions.
26128         [BZ #13941]
26129         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26130         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26131         LDBL_MIN_EXP.
26132         * stdio-common/Makefile (tests): Add tst-sprintf3.
26133         * stdio-common/tst-sprintf3.c: New file.
26135         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26136         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26138 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26140         * conform/conformtest.pl: Remove duplicate typed-constant
26141         handling.
26143 2012-04-28  David S. Miller  <davem@davemloft.net>
26145         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26146         (check-abi-%): Remove AWK script prerequisite and explicit
26147         abilist directory.
26148         (check-abi): Rewrite to just diff the symlist with the abilist.
26149         (config-tls, config-abi-config): Delete, no longer used.
26150         (update-abi-%): Remove AWK script and explicit abilist directory.
26151         (update-abi): Rewrite to simply compare and conditionally copy the
26152         symlist and the sysdep abilist file.  Remove update-abi-config
26153         checks.
26154         * abilist/ld.abilist: Remove.
26155         * abilist/libBrokenLocale.abilist: Remove.
26156         * abilist/libanl.abilist: Remove.
26157         * abilist/libcrypt.abilist: Remove.
26158         * abilist/libdl.abilist: Remove.
26159         * abilist/librt.abilist: Remove.
26160         * abilist/libthread_db.abilist: Remove.
26161         * abilist/libutil.abilist: Remove.
26162         * scripts/extract-abilist.awk: Remove.
26163         * scripts/merge-abilist.awk: Remove.
26164         * sysdeps/generic/libcidn.abilist: New file.
26165         * sysdeps/generic/libnss_compat.abilist: New file.
26166         * sysdeps/generic/libnss_db.abilist: New file.
26167         * sysdeps/generic/libnss_dns.abilist: New file.
26168         * sysdeps/generic/libnss_files.abilist: New file.
26169         * sysdeps/generic/libnss_hesiod.abilist: New file.
26170         * sysdeps/generic/libnss_nis.abilist: New file.
26171         * sysdeps/generic/libnss_nisplus.abilist: New file.
26172         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26173         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26174         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26175         file.
26176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26177         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26178         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26179         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26180         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26181         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26182         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26183         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26184         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26185         file.
26186         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26187         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26188         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26189         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26190         file.
26191         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26192         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26193         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26194         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26195         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26196         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26197         file.
26198         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26199         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26200         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26201         file.
26202         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26204         New file.
26205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26206         New file.
26207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26208         New file.
26209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26210         New file.
26211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26212         New file.
26213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26214         New file.
26215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26216         New file.
26217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26218         New file.
26219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26220         New file.
26221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26222         New file.
26223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26224         New file.
26225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26226         New file.
26227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26228         New file.
26229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26230         file.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26232         New file.
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26234         New file.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26236         file.
26237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26238         New file.
26239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26240         New file.
26241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26242         file.
26243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26244         New file.
26245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26246         New file.
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26248         New file.
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26250         New file.
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26252         New file.
26253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26254         New file.
26255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26257         file.
26258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26259         New file.
26260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26261         file.
26262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26263         file.
26264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26265         file.
26266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26267         file.
26268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26269         file.
26270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26271         New file.
26272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26273         file.
26274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26275         file.
26276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26277         New file.
26278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26279         file.
26280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26282         file.
26283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26284         New file.
26285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26286         file.
26287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26288         file.
26289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26290         file.
26291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26292         file.
26293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26294         file.
26295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26296         New file.
26297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26298         file.
26299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26300         file.
26301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26302         New file.
26303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26304         file.
26305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26306         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26307         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26308         file.
26309         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26310         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26311         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26312         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26313         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26314         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26315         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26316         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26317         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26318         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26321         file.
26322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26323         New file.
26324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26325         file.
26326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26327         file.
26328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26329         file.
26330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26331         file.
26332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26333         file.
26334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26335         New file.
26336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26337         New file.
26338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26339         file.
26340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26341         New file.
26342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26343         file.
26344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26346         file.
26347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26348         New file.
26349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26350         file.
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26352         file.
26353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26354         file.
26355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26356         file.
26357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26358         file.
26359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26360         New file.
26361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26362         New file.
26363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26364         file.
26365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26366         New file.
26367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26368         file.
26370 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26372         * conform/conformtest.pl: Fix typo in handling typed-constant from
26373         allow-header.
26375 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26377         * README: Cut down references to pre-2.6 Linux kernels and
26378         Linuxthreads.  Update lists of configurations in libc and ports
26379         and sort alphabetically.  Say "or newer" with Linux kernel version
26380         requirements.
26382         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26384 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26386         [BZ #887]
26387         * math/libm-test.inc (logb_test_downward): New test to expose
26388         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26389         rounding mode.
26391 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26393         [BZ #14027]
26394         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26395         to be done.
26396         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26397         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26399 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26401         * sysdeps/unix/i386/brk.S: Remove file.
26402         * sysdeps/unix/i386/dl-brk.S: Likewise.
26403         * sysdeps/unix/i386/pipe.S: Likewise.
26404         * sysdeps/unix/i386/sigreturn.S: Likewise.
26405         * sysdeps/unix/i386/syscall.S: Likewise.
26406         * sysdeps/unix/i386/vfork.S: Likewise.
26407         * sysdeps/unix/i386/wait.S: Likewise.
26409         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26410         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26412         * configure.in (arm*-none*): Do not allow without
26413         --enable-hacker-mode.
26414         (netbsd*): Remove case setting base_os.
26415         (386bsd*): Likewise.
26416         (freebsd*): Likewise.
26417         (bsdi*): Likewise.
26418         (osf*): Likewise.
26419         (sunos*): Likewise.
26420         (ultrix*): Likewise.
26421         (newsos*): Likewise.
26422         (dynix*): Likewise.
26423         (*bsd*): Likewise.
26424         (sysv*): Likewise.
26425         (isc*): Likewise.
26426         (esix*): Likewise.
26427         (sco*): Likewise.
26428         (minix*): Likewise.
26429         (irix4*): Likewise.
26430         (irix6*): Likewise.
26431         (solaris[2-9]*): Likewise.
26432         (none): Likewise.
26433         * configure: Regenerated.
26435 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26437         [BZ #11521]
26438         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26439         overflow or cancellation in calculating denominator.
26440         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26442         down expression to avoid unexpected rounding in newer GCCs.
26443         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26445 2012-04-26  David S. Miller  <davem@davemloft.net>
26447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26448         long-double compat symbols.
26449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26463 2012-04-25  David S. Miller  <davem@davemloft.net>
26465         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26466         HWCAP_* values only after the memory barriers have been defined.
26467         (atomic_full_barrier): Define.
26468         (atomic_read_barrier): Define.
26469         (atomic_write_barrier): Define.
26471 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26473         * shlib-versions: Add libgcc_s version information.
26474         * sysdeps/generic/libgcc_s.h: Remove.
26475         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26476         libgcc_s.h.
26477         * sysdeps/gnu/unwind-resume.c: Likewise.
26478         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26480 2012-04-25  David S. Miller  <davem@davemloft.net>
26482         * sysdeps/unix/sparc/brk.S: Delete.
26483         * sysdeps/unix/sparc/dl-brk.S: Delete.
26484         * sysdeps/unix/sparc/pipe.S: Delete.
26485         * sysdeps/unix/sparc/sysdep.S: Delete.
26486         * sysdeps/unix/sparc/sysdep.h: Delete.
26487         * sysdeps/unix/sparc/vfork.S: Delete.
26488         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26489         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26491         ret_ERRVAL, r0, r1, MOVE): Define.
26492         (JUMPTARGET): Remove.
26493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26494         sysdeps/unix/sparc/sysdep.h
26495         (ENTRY, END): Remove.
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26498 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26500         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26501         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26502         -DIS_IN_build.
26504         * timezone/README: Update upstream location and email address for
26505         tzcode and tzdata.
26506         * timezone/zdump.c: Update from tzcode 2012b.
26507         * timezone/zic.c: Likewise.
26509         * configure.in (libc_cv_as_needed): Remove test.
26510         * configure: Regenerated.
26511         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26512         conditional definition.
26513         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26514         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26515         * config.make.in (have-as-needed): Remove variable.
26517 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518             Paul Pluzhnikov  <ppluzhnikov@google.com>
26520         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26521         strings correctly.
26523 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26525         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26526         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26527         * sysdeps/sh/strlen.S: Likewise.
26529 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26531         * sysdeps/unix/fork.S: Remove file.
26532         * sysdeps/unix/i386/fork.S: Likewise.
26533         * sysdeps/unix/sparc/fork.S: Likewise.
26535         * sysdeps/unix/system.c: Remove file.
26536         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26538         * sysdeps/unix/getegid.S: Remove file.
26539         * sysdeps/unix/geteuid.S: Likewise.
26541 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26543         * scripts/check-localplt.awk: New file.
26544         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26545         of diff.
26546         * scripts/data/localplt-generic.data: Add a comment.
26548         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26549         NODE when __dir_mkfile failed.
26550         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26551         Reported by Ludovic Courtès <ludo@gnu.org>.
26553 2012-04-24  Andreas Jaeger  <aj@suse.de>
26555         * Makerules (common-clean): Also remove gen-as-const-headers
26556         files.
26558 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26560         * Makerules (native-compile): Do not change working directory for
26561         build.  Use $(OUTPUT_OPTION) in command.
26562         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26564 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26566         [BZ #13886]
26567         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26568         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26569         * math/libm-test.inc (floor_test): Add more tests.
26570         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26572 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26574         * sysdeps/unix/getdents.c: Remove file.
26575         * sysdeps/unix/sysv/getdents.c: Likewise.
26576         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26578         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26579         sysdeps/unix/mman/syscalls.list.
26580         (mmap): Likewise.
26581         (mprotect): Likewise.
26582         (msync): Likewise.
26583         (munmap): Likewise.
26584         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26585         * sysdeps/unix/mman/syscalls.list: Remove.
26586         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26588         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26589         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26590         * configure: Regenerated.
26591         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26592         $(libgcc_s_suffix).
26593         * config.make.in (libgcc_s_suffix): Remove variable.
26595 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26597         * sysdeps/unix/sysv/gethostname.c: Move to ...
26598         * sysdeps/posix/gethostname.c: ... here.
26600         * sysdeps/unix/execve.S: Remove file.
26602         * sysdeps/unix/_exit.S: Remove file.
26604 2012-04-23  Andreas Jaeger  <aj@suse.de>
26606         [BZ #13739]
26607         * manual/Makefile: Remove make dist support, there's no
26608         need for a stand-alone documentation tar ball.
26609         (TEXI2DVI): Define always, it's not in Makeconfig.
26610         (dist): Removed.
26611         (tar-it): Removed.
26612         (edition): Removed.
26613         (glibc-doc-$(edition).tar): Removed
26614         (%.Z): Removed.
26615         (%.gz): Removed.
26616         (%.uu): Removed.
26617         (ETAGS): Remove, it's in Makeconfig.
26618         (move-if-change): Remove, it's in Makeconfig.
26620 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26622         [BZ #13970]
26623         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26624         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26625         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26626         (strtod_l, strtof_l, strtold_l): Remove __wur.
26627         It is not necessarily an error to ignore strtol's return value.
26628         One can reliably look at the stored endptr to decide whether
26629         the number had valid syntax.
26631 2012-04-21  Andreas Jaeger  <aj@suse.de>
26633         [BZ #13739]
26634         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26636 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26638         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26639         * sysdeps/unix/sysv/Versions: Remove file.
26641 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26643         [BZ #13927]
26644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26646 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26648         [BZ #7064]
26649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26650         version from __vm86.
26652 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26654         * sysdeps/unix/common/lxstat.c: Remove file.
26655         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26657         * sysdeps/unix/sysv/Makefile: Remove file.
26659         * sysdeps/unix/sysv/direct.h: Remove file.
26661         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26662         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26663         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26664         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26665         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26666         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26667         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26669         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26671         * sysdeps/unix/xmknod.c: Remove file.
26672         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26674         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26676         * sysdeps/unix/sysv/i386/time.S: Remove file.
26678         * sysdeps/unix/fxstat.c: Remove file.
26679         * sysdeps/unix/xstat.c: Likewise.
26680         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26682         * sysdeps/unix/sysv/sigaction.c: Remove file.
26684         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26685         (sysdep_headers): Remove variable.
26686         [termio.h not in sysdep_headers] (generated): Likewise.
26687         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26688         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26689         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26690         * sysdeps/unix/sysv/tcflow.c: Likewise.
26691         * sysdeps/unix/sysv/tcflush.c: Likewise.
26692         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26693         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26694         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26695         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26696         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26698         * sysdeps/unix/siglist.c: Remove file.
26700         * sysdeps/unix/getppid.S: Remove file.
26702         * sysdeps/unix/mkdir.c: Remove file.
26703         * sysdeps/unix/rmdir.c: Likewise.
26705 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26707         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26708         ERR_MAX value.
26709         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26710         errlist-compat value.
26712 2012-04-18  David S. Miller  <davem@davemloft.net>
26714         * sysdeps/generic/memcopy.h (reg_char): Delete.
26715         * debug/strcat_chk.c: Use char, not reg_char.
26716         * debug/strcpy_chk.c: Likewise.
26717         * debug/strncat_chk.c: Likewise.
26718         * debug/strncpy_chk.c: Likewise.
26719         * string/memchr.c: Likewise.
26720         * string/memrchr.c: Likewise.
26721         * string/rawmemchr.c: Likewise.
26722         * string/strcat.c: Likewise.
26723         * string/strchr.c: Likewise.
26724         * string/strchrnul.c: Likewise.
26725         * string/strcmp.c: Likewise.
26726         * string/strcpy.c: Likewise.
26727         * string/strncat.c: Likewise.
26728         * string/strncmp.c: Likewise.
26729         * string/strncpy.c: Likewise.
26731 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26733         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26734         __builtin_memcopy is called when src and dest ranges are known to not
26735         overlap.
26737 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26739         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26740         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26741         fwd_align_merge macro call.
26742         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26743         bwd_align_merge macro call.
26744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26746 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26748         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26749         bwd_align_merge macros.
26750         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26751         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26754 2012-04-18  David S. Miller  <davem@davemloft.net>
26756         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26758 2012-04-18  Andreas Jaeger  <aj@suse.de>
26760         [BZ# 6794]
26761         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26762         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26763         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26765         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26766         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26767         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26769         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26770         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26771         Adjust for changed ldbl-128 files.
26773         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26774         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26775         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26777 2012-04-17  David S. Miller  <davem@davemloft.net>
26779         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26781 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26783         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26784         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26785         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26786         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26787         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26788         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26790 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26792         [BZ #6794]
26793         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26794         * math/libm-test.inc: Add ilogb errno and exception tests.
26795         * math/w_ilogb.c: New file: ilogb wrapper.
26796         * math/w_ilogbf.c: New file: ilogbf wrapper.
26797         * math/w_ilogbl.c: New file: ilogbl wrapper.
26798         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26799         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26800         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26801         exception being thrown with 0.0 as argument.
26802         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26803         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26804         exception being thrown with 0.0 as argument.
26805         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26806         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26807         exception being thrown with 0.0 as argument.
26808         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26809         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26810         exception being thrown with 0.0 as argument.
26811         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26812         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26813         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26814         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26815         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26816         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26817         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26818         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26819         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26821 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26823         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26824         with altivec.
26826 2012-04-16  Marek Polacek  <polacek@redhat.com>
26828         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26830 2012-04-16  Marek Polacek  <polacek@redhat.com>
26832         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26833         operands of fdivp instruction.
26835 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26837         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26838         * elf/tst-auditmod3b.c: Likewise.
26839         * elf/tst-auditmod4b.c: Likewise.
26840         * elf/tst-auditmod5b.c: Likewise.
26841         * elf/tst-auditmod6b.c: Likewise.
26842         * elf/tst-auditmod6c.c: Likewise.
26843         * elf/tst-auditmod7b.c: Likewise.
26844         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26845         * sysdeps/x86_64/preconfigure.in: Likewise.
26846         * sysdeps/x86_64/preconfigure: Regenerated.
26848 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26850         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26851         __ILP32__.
26853 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26856         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26858 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26860         [BZ #13973]
26861         * locale/iso-639.def: Fix gl language name. Spotted by
26862         Yaron Shahrabani.
26864 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26866         [BZ #2074]
26867         * libio/libio.h (__io_write_fn): Update comment.
26869 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26871         [BZ #2074]
26872         * stdio.texi (Hook Functions): The user provided writer function
26873         is not allowed to return -1.
26875 2012-04-11  David S. Miller  <davem@davemloft.net>
26877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26879 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26881         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26882         Add a leading slash to rtkaio.
26884 2012-04-11  Jim Meyering  <meyering@redhat.com>
26886         [BZ #11959]
26887         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26888         It is not necessarily an error to ignore fwrite's return
26889         value.  One can reliably use ferror to test for errors after
26890         the fact.
26892 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26894         * bits/types.h (__snseconds_t): New type.
26895         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26897         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26899         (__SNSECONDS_T_TYPE): Likewise.
26900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26901         (__SNSECONDS_T_TYPE): Likewise.
26902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26903         (__SNSECONDS_T_TYPE): Likewise.
26905 2012-04-10  Andreas Jaeger  <aj@suse.de>
26907         [BZ #2636]
26908         * manual/time.texi (Processor Time): Return type of times is
26909         elapsed real time since an arbitrary point in the past.
26910         (CPU Time): Move CLK_TCK from here...
26911         (Processor Time): ...to here.  Correct description.
26912         * manual/conf.texi (Constants for Sysconf): Correct description of
26913         _SC_CLK_TCK.
26915 2012-04-10  David S. Miller  <davem@davemloft.net>
26917         [BZ #13967]
26918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26919         where the is a gap between DT_REL(A) and DT_JMPREL.
26921 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26923         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26927 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26929         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26930         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26931         (dl_main): Handle --inhibit-cache.
26932         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26933         _dl_inhibit_cache.
26934         * elf/dl-load.c (_dl_map_object): Use it.
26935         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #13872]
26940         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26941         (__ieee754_powl): Saturate large exponents rather than testing for
26942         overflow of y*log2(x).
26943         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26944         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26945         exceptions.
26947         [BZ #11521]
26948         * math/s_ctan.c: Include <float.h>.
26949         (__ctan): Avoid internal overflow or cancellation in calculating
26950         denominator.
26951         * math/s_ctanf.c: Likewise.
26952         * math/s_ctanl.c: Likewise.
26953         * math/s_ctanh.c: Likewise.
26954         * math/s_ctanhf.c: Likewise.
26955         * math/s_ctanhl.c: Likewise.
26956         * math/libm-test.inc (ctan_test): Add more tests.
26957         (ctanh_test): Likewise.
26958         * sysdeps/i386/fpu/libm-test-ulps: Update.
26959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26961 2012-04-09  Andreas Jaeger  <aj@suse.de>
26963         [BZ #6894]
26964         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26965         is an optional BSD extension.
26967         [BZ #10254]
26968         * manual/stdio.texi (Opening Streams): Document additional fopen
26969         parameters.
26971 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26973         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26974         %eax without telling the compiler.
26976 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26978         [BZ # 13963]
26979         * manual/install.texi: Use sourceware.org.
26981 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26983         [BZ #13873]
26984         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26985         (__ieee754_pow): Generate overflow and underflow using huge*huge
26986         and tiny*tiny rather than just returning constant infinity or zero
26987         for large exponents.
26988         * math/libm-test.inc (pow_test): Require overflow exceptions for
26989         applicable cases of large exponents.
26991         [BZ #706]
26992         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26993         (__ieee754_pow): Use iterative multiplication algorithm only for
26994         integer exponents with absolute value below 1024.  Check for odd
26995         integer exponents when using algorithm for real exponents.
26996         * math/libm-test.inc (pow_test): Add more tests.
26997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26999 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27001         [BZ #13705]
27002         * math/libm-test.inc (exp_test): Do not allow overflow exception
27003         on underflow test.
27005 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27007         [BZ #13705]
27008         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27009         instead of __kernel_standard_f.
27011 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27013         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27014         * sysdeps/x86_64/memset_chk.S: Likewise.
27016 2012-04-08  Andreas Jaeger  <aj@suse.de>
27018         [BZ #10153]
27019         * manual/startup.texi (Environment Access): Describe return value
27020         for putenv and setenv.
27022         [BZ #6895]
27023         * manual/filesys.texi (Directory Entries): Add description for
27024         DT_LNK.
27026         [BZ #6890]
27027         * manual/filesys.texi (Directory Entries): Clarify that it's file
27028         system not operating system in the description of DT_UNKNOWN.
27030         [BZ #6578]
27031         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27033 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27035         [BZ #6649]
27036         * manual/llio.texi (Opening and Closing Files): Add cross
27037         reference to explain mode argument.
27039 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27041         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27042         * sysdeps/x86_64/memset_chk.S: Likewise.
27044 2012-04-07  David S. Miller  <davem@davemloft.net>
27046         * elf/elf.h (R_SPARC_WDISP10): Define.
27047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27048         R_SPARC_SIZE32.
27049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27050         R_SPARC_SIZE64 and R_SPARC_H34.
27052 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27055         conditions and remove no longer applicable assertion.
27057 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27059         * bits/byteswap.h: Include <features.h>.
27060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27063 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27065         * bits/byteswap.h (__bswap_16): Removed.
27066         Include <bits/byteswap-16.h> to get __bswap_16.
27067         * sysdeps/i386/bits/byteswap.h: Likewise.
27068         * sysdeps/s390/bits/byteswap.h: Likewise.
27069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27070         * bits/byteswap-16.h: New file.
27071         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27072         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27073         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27074         * string/Makefile (headers): Add bits/byteswap-16.h.
27076 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27078         [BZ #13895]
27079         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27080         extra indirection.
27081         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27082         * nss/tst-nss-static.c: New.
27084 2012-04-06  Robert Millan  <rmh@gnu.org>
27086         [BZ #6486]
27087         * manual/llio.texi (File Position Primitive): lseek
27088         refers to WHENCE when it really means OFFSET.
27090 2012-04-06  Andreas Jaeger  <aj@suse.de>
27092         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27093         strncmp declarations.
27095         * abilist/libc.abilist: Add __poll and __ppoll.
27097 2012-04-05  David S. Miller  <davem@davemloft.net>
27099         * scripts/check-local-headers.sh: Accept a host triplet in the
27100         path matched by the exclude regexp.
27102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27103         definition.
27104         * sysdeps/powerpc/powerpc32/dl-machine.h
27105         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27106         * sysdeps/s390/s390-32/dl-machine.h
27107         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27108         * sysdeps/sparc/sparc32/dl-machine.h
27109         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27110         * sysdeps/sparc/sparc64/dl-machine.h
27111         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27113         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27114         lazy binding.
27115         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27116         undefined symbol errors.
27118         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27119         DT_NEEDED entries.
27121 2012-04-05  Michael Matz  <matz@suse.de>
27123         [BZ #13592]
27124         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27126 2012-04-05  Andreas Jaeger  <aj@suse.de>
27128         [BZ #13908]
27129         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27130         comment.
27132 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27134         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27135         which ROUND is no valid rounding mode.
27137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27139         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27140         read again.
27141         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27143 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27145         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27146         an exception using FPU order intentionally.
27148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27150         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27151         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27152         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27153         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27155 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27157         [BZ #12340]
27158         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27159         EINVAL when BUFLEN is too smal.
27161 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27163         [BZ #13553]
27164         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27165         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27167 2012-04-03  Andreas Jaeger  <aj@suse.de>
27169         [BZ #13938]
27170         * manual/setjmp.texi (System V contexts): Fix sentence.
27172         [BZ #13926]
27173         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27174         New macro for this case.
27175         [!__GNUC__] (__bswap_64): New inline function for this case.
27176         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27177         * bits/byteswap.h: Likewise.
27178         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27179         ull, guard with __GLIBC_HAVE_LONG_LONG.
27181         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27182         __GLIBC_HAVE_LONG_LONG.
27184         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27185         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27187 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27189         [BZ #13691]
27190         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27191         inptr and inend, rather than using last_ch.
27193 2012-04-02  David S. Miller  <davem@davemloft.net>
27195         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27196         * stdio-common/printf-parse.h (read_int): Change return type to
27197         'int', return -1 on INT_MAX overflow.
27198         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27199         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27200         overflows INT_MAX.  Check for overflow of in-format-string precision
27201         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27202         SIZE_MAX not INT_MAX for integer overflow test.
27203         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27204         skip the construct in the format string but do not record anything.
27205         * stdio-common/bug22.c: Adjust to test both width/prevision
27206         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27207         explicitly for proper errno values.
27209 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27211         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27212         CHAR_MAX.
27213         * string/test-strcmp.c [! WIDE]: Likewise.
27214         * time/tst-mktime2.c: Likewise for INT_MAX.
27215         * string/test-string.h: #include <sys/param.h> for MIN.
27217         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27218         * sysdeps/i386/init-first.c (init): Likewise.
27219         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27220         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27221         * sysdeps/sh/init-first.c (init): Likewise.
27223 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27225         * po/ru.po: Update from translation team.
27226         * po/vi.po: Likewise.
27228 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27230         * resolv/nss_dns/dns-host.c: Merge copyright years.
27232 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27235         Optimize memcpy with prefetch if
27236         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27237         src, dst pointers have unequal 16 byte alignments.
27239 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27241         [BZ #13928]
27242         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27243         from a CNAME entry and return the minimum ttl for the query.
27244         (gaih_getanswer_slice): Likewise.
27246 2012-03-30  Jeff Law  <law@redhat.com>
27248         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27249         due to long keys.
27250         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27251         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27253         * resolv/nss_dns/dns-host.c: Update copyright year.
27255 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27257         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27258         requests to save a system call.  Fix check that all bytes are sent.
27260         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27261         comments for sendmmsg.
27263 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27265         [BZ #13691]
27266         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27267         with only 1 character between 0x0041 and 0x01b0.
27268         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27269         * wcsmbs/tst-mbsnrtowcs.c: New file.
27271 2012-03-29  David S. Miller  <davem@davemloft.net>
27273         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27274         small copies by hand.
27276 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278         [BZ #13761]
27279         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27280         _nss_compat_initgroups_dyn): Fall back to malloc/free
27281         for large group memberships.
27283 2012-03-28  David S. Miller  <davem@davemloft.net>
27285         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27286         that branches into memcpy.
27287         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27290         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27292         bits.
27293         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27294         implementation too.
27295         * sysdeps/sparc/mempcpy.S: New file.
27297         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27298         the IFUNC routine in the libc case.
27299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27301         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27302         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27303         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27304         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27305         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27306         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27307         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27308         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27310         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27311         loop to 256 bytes instead of 64 bytes and fix test signedness.
27313         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27314         * sysdeps/sparc/sparc32/Makefile: rather than here...
27315         * sysdeps/sparc/sparc64/Makefile: and here.
27317 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27319         * malloc/mallocbug.c: Avoid warnings about unused variables.
27321 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27323         [BZ #13760]
27324         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27325         in the right place. Discard and retry query if response is
27326         larger than input buffer size.
27328 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27330         [BZ #369]
27331         [BZ #2678]
27332         [BZ #3866]
27333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27334         x for large integer exponent.
27335         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27336         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27337         sign of result as needed afterwards.
27338         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27339         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27340         result for underflowing pow the same as for overflow.
27341         (__kernel_standard_l): Handle powl overflow and underflow here
27342         rather than calling __kernel_standard.
27343         * math/libm-test.inc (pow_test): Add more tests.
27345         [BZ #3868]
27346         [BZ #13879]
27347         [BZ #13910]
27348         [BZ #13911]
27349         [BZ #13912]
27350         [BZ #13913]
27351         [BZ #13915]
27352         [BZ #13916]
27353         [BZ #13917]
27354         [BZ #13918]
27355         [BZ #13919]
27356         [BZ #13920]
27357         [BZ #13921]
27358         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27359         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27360         (__kernel_standard_l): New function.
27361         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27362         __kernel_standard.
27363         * math/w_acosl.c (__acosl): Likewise.
27364         * math/w_asinl.c (__asinl): Likewise.
27365         * math/w_atan2l.c (__atan2l): Likewise.
27366         * math/w_atanhl.c (__atanhl): Likewise.
27367         * math/w_coshl.c (__coshl): Likewise.
27368         * math/w_exp10l.c (__exp10l): Likewise.
27369         * math/w_exp2l.c (__exp2l): Likewise.
27370         * math/w_fmodl.c (__fmodl): Likewise.
27371         * math/w_hypotl.c (__hypotl): Likewise.
27372         * math/w_j0l.c (__j0l, __y0l): Likewise.
27373         * math/w_j1l.c (__j1l, __y1l): Likewise.
27374         * math/w_jnl.c (__jnl, __ynl): Likewise.
27375         * math/w_lgammal.c (__lgammal): Likewise.
27376         * math/w_log10l.c (__log10l): Likewise.
27377         * math/w_log2l.c (__log2l): Likewise.
27378         * math/w_logl.c (__logl): Likewise.
27379         * math/w_powl.c (__powl): Likewise.
27380         * math/w_remainderl.c (__remainderl): Likewise.
27381         * math/w_scalbl.c (sysv_scalbl): Likewise.
27382         * math/w_sinhl.c (__sinhl): Likewise.
27383         * math/w_sqrtl.c (__sqrtl): Likewise.
27384         * math/w_tgammal.c (__tgammal): Likewise.
27385         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27386         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27387         * math/libm-test.inc (acos_test): Add more tests.
27388         (acosh_test): Likewise.
27389         (asin_test): Likewise.
27390         (atanh_test): Likewise.
27391         (exp_test): Likewise.
27392         (exp10_test): Likewise.
27393         (exp2_test): Likewise.
27394         (expm1_test): Likewise.
27395         (lgamma_test): Likewise.
27396         (log_test): Likewise.
27397         (log10_test): Likewise.
27398         (log1p_test): Likewise.
27399         (log2_test): Likewise.
27400         (pow_test): Do not allow some spurious overflow exceptions.
27401         (sqrt_test): Add more tests.
27402         (tgamma_test): Likewise.
27403         (y0_test): Likewise.
27404         (y1_test): Likewise.
27405         (yn_test): Likewise.
27407 2012-03-27  Anton Blanchard  <anton@samba.org>
27409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27410         MAP_HUGETLB.
27411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27412         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27415 2012-03-27  David S. Miller  <davem@davemloft.net>
27417         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27419         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27420         have-as-vis3 check.
27422 2012-03-27  Andreas Jaeger  <aj@suse.de>
27424         * sysdeps/x86_64/elf/configure.in: Moved to ...
27425         * sysdeps/x86_64/configure.in: ... here.
27426         * sysdeps/x86_64/elf/start.S: Moved to ...
27427         * sysdeps/x86_64/start.S: ... here.
27428         * sysdeps/x86_64/elf/configure: Delete.
27430         * sysdeps/x86_64/configure.in: Merge contents from
27431         sysdeps/i386/configure.in (without i686 check).
27433         * sysdeps/i386/elf/Versions: Merge into ...
27434         * sysdeps/i386/Versions: ... this.
27435         * sysdeps/i386/elf/Versions: Delete file.
27436         * sysdeps/i386/elf/start.S: Moved to ...
27437         * sysdeps/i386/start.S: ...here.
27438         * sysdeps/i386/elf/configure.in: Merge into...
27439         * sysdeps/i386/configure.in: ...here.
27440         * sysdeps/i386/elf/configure.in: Delete file.
27441         * sysdeps/i386/elf/configure: Delete file.
27443         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27444         * debug/backtracesyms.c: ... here.
27445         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27446         * debug/backtracesymsfd.c: ... here.
27447         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27448         * sysdeps/generic/ifunc-sel.h: ... here.
27450         * sysdeps/unix/i386/start.c: Delete file.
27451         * sysdeps/unix/sparc/start.c: Delete file.
27452         * sysdeps/unix/start.c: Delete file.
27454         * sysdeps/sh/elf/configure.in: Moved to ...
27455         * sysdeps/sh/configure.in: ... here.
27456         * sysdeps/sh/elf/start.S: Moved to ...
27457         * sysdeps/sh/start.S: ... here.
27458         * sysdeps/sh/elf/configure: Delete file.
27460         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27461         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27462         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27463         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27464         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27465         * sysdeps/powerpc/powerpc64/start.S: here.
27466         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27467         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27468         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27469         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27470         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27472         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27473         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27474         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27475         * sysdeps/powerpc/powerpc32/start.S: ... here.
27476         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27477         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27478         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27480         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27481         * sysdeps/powerpc/ifunc-sel.h: ... here.
27482         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27483         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27485         * sysdeps/sparc/elf/configure.in: Moved to ...
27486         * sysdeps/sparc/configure.in: ... here.
27487         * sysdeps/sparc/elf/configure: Delete file.
27488         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27489         * sysdeps/sparc/sparc32/start.S: ... here.
27490         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27491         * sysdeps/sparc/sparc64/start.S: ... here.
27492         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27493         * sysdeps/sparc/sparc32/Makefile: ... this.
27494         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27495         * sysdeps/sparc/sparc64/Makefile: ... this.
27497         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27498         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27499         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27500         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27501         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27502         * sysdeps/s390/s390-32/setjmp.S: ... here.
27503         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27504         * sysdeps/s390/s390-32/configure.in: ... here.
27505         * sysdeps/s390/s390-32/elf/configure: Delete file.
27506         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27507         * sysdeps/s390/s390-32/start.S: ... here.
27509         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27510         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27511         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27512         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27513         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27514         * sysdeps/s390/s390-64/setjmp.S: ... here.
27515         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27516         * sysdeps/s390/s390-64/configure.in: ... here
27517         * sysdeps/s390/s390-64/elf/configure: Delete file.
27518         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27519         * sysdeps/s390/s390-64/start.S: ... here.
27520         * sysdeps/s390/s390-64/elf/configure: Delete.
27522         * configure.in: Remove support for elf directories in sysdeps.
27524         * configure: Regenerated.
27525         * sysdeps/i386/configure: Regenerated.
27526         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27527         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27528         * sysdeps/s390/s390-32/configure: Regenerated.
27529         * sysdeps/s390/s390-64/configure: Regenerated.
27530         * sysdeps/sh/configure: Regenerated.
27531         * sysdeps/sparc/configure: Regenerated.
27532         * sysdeps/x86_64/configure: Regenerated.
27534 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27538         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27539         denormal result into account.
27541 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27543         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27544         Reported by Allan McRae <allan@archlinux.org>.
27546 2012-03-23  Jeff Law  <law@redhat.com>
27548         * nss/getnssent.c (__nss_getent): Fix typo.
27550 2012-03-23  David S. Miller  <davem@davemloft.net>
27552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27554 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27556         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27557         to pad to uint64_t for each field.
27558         (dl_tls_index): Replace unsigned long with uint64_t.
27560 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27561         Paul Pluzhnikov  <ppluzhnikov@google.com>
27563         [BZ #6528]
27564         * grp/Makefile (otherlibs): Don't set it.
27565         * inet/Makefile (otherlibs): Likewise.
27566         * login/Makefile (otherlibs): Likewise.
27567         * nscd/Makefile (otherlibs): Likewise.
27568         * posix/Makefile (otherlibs): Likewise.
27569         * pwd/Makefile (otherlibs): Likewise.
27570         * rt/Makefile (otherlibs): Likewise.
27571         * sunrpc/Makefile (otherlibs): Likewise.
27572         * nss/Makefile (otherlibs): Likewise.
27573         Add libnss_files to routines and static-only-routines.
27574         ($(objpfx)getent): Remove rule.
27575         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27576         static-only-routines.
27578 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27580         [BZ #13892]
27581         * math/s_cexp.c: Include <float.h>.
27582         (__cexp): Handle exp result overflowing not necessarily
27583         overflowing both real and imaginary parts of result.
27584         * math/s_cexpf.c: Likewise.
27585         * math/s_cexpl.c: Likewise.
27586         * math/libm-test.inc (cexp_test): Add more tests.
27587         * sysdeps/i386/fpu/libm-test-ulps: Update.
27588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27590 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27592         * include/link.h (ELFW): New macro.
27593         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27594         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27596 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27598         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27599         with uint64_t.
27601 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27603         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27604         declaration.
27605         (struct La_x32_retval): Likewise.
27607 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27609         * sysdeps/x86_64/preconfigure.in: New file.
27610         * sysdeps/x86_64/preconfigure: New generated file.
27612 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27614         [BZ #13824]
27615         * math/e_exp2l.c: Include <float.h>.
27616         (__ieee754_exp2l): Handle overflow and underflow cases
27617         separately.  Only pass fractional part of argument to
27618         __ieee754_expl.
27619         * math/libm-test.inc (exp2_test): Add more tests.
27621         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27622         negating x to take absolute value.
27623         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27624         Likewise.
27625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27627         Likewise.
27628         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27629         computing low part if x was negated.
27630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27632 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27634         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27635         la_x32_gnu_pltexit.
27636         (pltexit): Cast int_retval to ptrdiff_t.
27637         * elf/tst-auditmod3b.c: Likewise.
27638         * elf/tst-auditmod4b.c: Likewise.
27639         * elf/tst-auditmod5b.c: Likewise.
27640         * elf/tst-auditmod6b.c: Likewise.
27641         * elf/tst-auditmod6c.c: Likewise.
27642         * elf/tst-auditmod7b.c: Likewise.
27644         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27645         and x32_gnu_pltexit.
27647         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27648         __ELF_NATIVE_CLASS.
27649         (La_x32_regs): New macro.
27650         (La_x32_retval): Likewise.
27651         (la_x32_gnu_pltenter): New function prototype.
27652         (la_x32_gnu_pltexit): Likewise.
27654 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27656         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27657         exponent.
27659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27661         * configure.in (libc_cv_cc_nofma): Check for option to disable
27662         generation of FMA instructions.
27663         * configure: Regenerate.
27664         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27665         * sysdeps/ieee754/dbl-64/Makefile: New file.
27666         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27667         Remove brandred-fma4.
27668         (CFLAGS-brandred-fma4.c): Remove.
27669         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27670         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27671         define.
27672         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27673         define.
27675 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27677         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27678         LLONG_MAX != LONG_MAX.
27679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27680         (_fitoa_word): Likewise.
27681         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27682         LLONG_MAX != LONG_MAX.
27683         * stdio-common/_itowa.h: Include <_itoa.h>.
27684         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27685         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27686         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27687         only if not defined.
27688         (_ITOA_WORD_TYPE): Likewise.
27689         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27690         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27692 2012-03-21  David S. Miller  <davem@davemloft.net>
27694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27696 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27698         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27699         of x86_64 when setting libc_cv_slibdir, libdir and
27700         libc_cv_localedir.
27701         * sysdeps/unix/sysv/linux/configure: Regenerated.
27703 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27705         * manual/lang.texi (Old Varargs): Remove section.
27706         (How Variadic): Update menu.
27707         (va_start): Do not mention varargs.h.
27709 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27710             Joseph Myers  <joseph@codesourcery.com>
27712         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27713         link test.
27714         * configure: Regenerated.
27716 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27718         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27719         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27720         conformtest.pl
27722 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27724         * NOTES: Remove.
27725         * Makefile (files-for-dist): Remove NOTES.
27726         (NOTES): Remove rule.
27727         * README: Don't refer to NOTES.
27728         * manual/creature.texi: Don't include macros.texi.
27729         * manual/intro.texi (creature.texi): Remove comment referring to
27730         NOTES.
27732         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27733         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27734         * configure: Regenerated.
27735         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27736         LIBC_TRY_CC_OPTION.
27737         (libc_cv_as_i686): Likewise.
27738         (libc_cv_cc_avx): Likewise.
27739         (libc_cv_cc_sse2avx): Likewise.
27740         (libc_cv_cc_fma4): Likewise.
27741         (libc_cv_cc_novzeroupper): Likewise.
27742         * sysdeps/i386/configure: Regenerated.
27744         [BZ #13883]
27745         * sysdeps/i386/fpu/s_cexp.S: Remove.
27746         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27747         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27748         * math/libm-test.inc (cexp_test): Add more tests.
27749         * sysdeps/i386/fpu/libm-test-ulps: Update.
27750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27752 2012-03-21  Allan McRae  <allan@archlinux.org>
27754         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27756 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27758         [BZ #13871]
27759         * math/w_exp2.c: Do not include <float.h>.
27760         (o_threshold, u_threshold): Remove.
27761         (__exp2): Calculate result before checking finiteness and calling
27762         __kernel_standard.
27763         * math/w_exp2f.c: Likewise.
27764         * math/w_exp2l.c: Likewise.
27765         * math/libm-test.inc (exp2_test): Require overflow exception for
27766         1e6 input.
27768         [BZ #3866]
27769         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27770         range of signed 64-bit integers before using fistpll.  Remove
27771         checks for whether integers fit in mantissa bits.
27772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27773         the range of signed 32-bit integers before using fistpl.  Remove
27774         checks for whether integers fit in mantissa bits.
27775         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27776         (__ieee754_powl): Test for y outside the range of signed 64-bit
27777         integers before using fistpll.  Reduce 64-bit values to 63-bit
27778         ones as needed.
27779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27780         divide-by-zero is raised for zero to large negative powers.
27781         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27782         (__ieee754_powl): Test for y outside the range of signed 64-bit
27783         integers before using fistpll.  Reduce 64-bit values to 63-bit
27784         ones as needed.
27785         * math/libm-test.inc (pow_test): Add more tests.
27787 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27789         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27790         <stdio-common/_itoa.h>.
27791         * debug/segfault.c: Likewise.
27792         * elf/dl-cache.c: Likewise.
27793         * elf/dl-minimal.c: Likewise.
27794         * elf/dl-misc.c: Likewise.
27795         * elf/dl-sysdep.c: Likewise.
27796         * elf/dl-version.c: Likewise.
27797         * elf/rtld.c: Likewise.
27798         * hurd/hurdsock.c: Likewise.
27799         * hurd/lookup-retry.c: Likewise.
27800         * malloc/malloc.c: Likewise.
27801         * malloc/mtrace.c: Likewise.
27802         * nscd/nscd_getgr_r.c: Likewise.
27803         * nscd/nscd_getpw_r.c: Likewise.
27804         * nscd/nscd_getserv_r.c: Likewise.
27805         * posix/getopt_init.c: Likewise.
27806         * posix/wordexp.c: Likewise.
27807         * stdio-common/_itoa.c: Likewise.
27808         * stdio-common/printf_fphex.c: Likewise.
27809         * stdio-common/vfprintf.c: Likewise.
27810         * string/_strerror.c: Likewise.
27811         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27812         * sysdeps/i386/i686/hp-timing.h: Likewise.
27813         * sysdeps/mach/_strerror.c: Likewise.
27814         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27815         * sysdeps/mach/hurd/sethostid.c: Likewise.
27816         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27817         * sysdeps/mach/xpg-strerror.c: Likewise.
27818         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27820         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27821         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27822         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27823         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27824         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27825         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27826         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27827         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27828         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27829         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27830         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27831         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27833         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27834         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27835         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27836         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27837         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27838         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27840         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27842         * stdio-common/_itoa.h: Moved to ...
27843         * sysdeps/generic/_itoa.h: Here.
27845         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27847         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27848         instead of "_itoa.h" and "_itowa.h".
27849         * stdio-common/vfprintf.: Likewise.
27851 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27853         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27854         <bits/wordsize.h>.
27855         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27856         (__signbit): Likwise.
27857         (llrintf): Likwise.
27858         (llrint): Likwise.
27860 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27862         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27863         __WORDSIZE != 64.
27865 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27867         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27868         OVERFLOW_EXCEPTION_OK.
27869         * math/libm-test.inc ("Philosophy"): Update comment about
27870         exception testing.
27871         (OVERFLOW_EXCEPTION): Define.
27872         (OVERFLOW_EXCEPTION_OK): Likewise.
27873         (INVALID_EXCEPTION_OK): Renumber.
27874         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27875         (IGNORE_ZERO_INF_SIGN): Likewise.
27876         (test_exceptions): Handle FE_OVERFLOW.
27877         (exp10_test): Expect overflow exceptions.
27878         (exp2_test): Likewise.
27879         (expm1_test): Likewise.
27880         (nextafter_test): Likewise.
27881         (pow_test): Likewise.
27882         (scalbn_test): Likewise.
27883         (scalbln_test): Likewise.
27885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27887         * sysdeps/x86_64/bits/atomic.h
27888         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27889         64bit integer.
27890         (atomic_exchange_acq): Likewise.
27891         (__arch_exchange_and_add_body): Likewise.
27892         (__arch_add_body): Likewise.
27893         (atomic_add_negative): Likewise.
27894         (atomic_add_zero): Likewise.
27896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27898         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27899         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27901 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27903         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27904         Check __x86_64__ instead of __WORDSIZE.
27906 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27908         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27910 2012-03-19  David S. Miller  <davem@davemloft.net>
27912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27914         * sysdeps/sparc/fpu/fenv_private.h: New file.
27915         * sysdeps/sparc/fpu/math_private.h: Use it.
27916         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27917         Remove.
27918         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27919         (libc_feholdexcept_setroundl): Remove.
27920         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27921         Remove.
27922         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27923         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27925 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27927         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27928         int64_t instead of long int.
27929         (INSERT_WORDS64): Likwise.
27931 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27933         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27934         _Unwind_GetCFA return to _Unwind_Ptr first.
27936 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27938         [BZ #13629]
27939         * math/s_clog.c: Include <float.h>.
27940         (__clog): Scale large or subnormal inputs.
27941         * math/s_clogf.c: Likewise.
27942         * math/s_clogl.c: Likewise.
27943         * math/s_clog10.c: Include <float.h>.
27944         (M_LOG10_2): Define.
27945         (__clog10): Scale large or subnormal inputs.
27946         * math/s_clog10f.c: Likewise.
27947         * math/s_clog10l.c: Likewise.
27948         * math/libm-test.inc (clog_test): Add more tests.
27949         (clog10_test): Likewise.
27950         * sysdeps/i386/fpu/libm-test-ulps: Update.
27951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953         [BZ #11451]
27954         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27955         x and y.
27956         * math/libm-test.inc (atan2_test): Add another test.
27958         * Makerules (common-objdir-compile): Remove.
27959         * sysdeps/unix/Makefile (config-generated): Do not add
27960         $(unix-generated) to variable.
27961         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27962         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27963         Remove rule.
27964         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27965         Likewise.
27966         [generic bits/local_lim.h] (before-compile): Do not append to
27967         variable.
27968         [generic bits/local_lim.h] (common-generated): Likewise.
27969         [generic sys/param.h] (before-compile): Do not append to variable.
27970         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27971         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27972         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27973         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27974         include.
27975         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27976         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27977         [generic sys/param.h] ($(addprefix
27978         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27979         [generic sys/param.h] (common-generated): Do not append to
27980         variable.
27981         [generic sys/param.h] (sysdep_headers): Likewise.
27982         [generic bits/errno.h] (before-compile): Do not append to
27983         variable.
27984         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27985         rule.
27986         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27987         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27988         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27989         [generic bits/errno.h] (common-generated): Do not append to
27990         variable.
27991         [generic bits/ioctls.h] (before-compile): Do not append to
27992         variable.
27993         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27994         rule.
27995         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27996         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27997         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27998         rule.
27999         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28000         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28001         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28002         [generic bits/ioctls.h] (common-generated): Do not append to
28003         variable.
28004         [generic sys/syscall.h] (syscall.h): Remove variable.
28005         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28006         rule.
28007         [generic sys/syscall.h] (before-compile): Do not append to
28008         variable.
28009         [generic sys/syscall.h] (common-generated): Likewise.
28010         * sysdeps/unix/errnos-tmpl.c: Remove file.
28011         * sysdeps/unix/errnos.awk: Likewise.
28012         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28013         * sysdeps/unix/ioctls.awk: Likewise.
28014         * sysdeps/unix/mk-local_lim.c: Likewise.
28015         * sysdeps/unix/snarf-ioctls: Likewise.
28017 2012-03-19  Richard Henderson  <rth@twiddle.net>
28019         * sysdeps/i386/fpu/fenv_private.h: New file.
28020         * sysdeps/i386/fpu/math_private.h: Use it.
28021         (math_opt_barrier, math_force_eval): Remove.
28022         (libc_feholdexcept_setround_53bit): Remove.
28023         (libc_feupdateenv_53bit): Remove.
28024         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28025         (math_opt_barrier, math_force_eval): Remove.
28026         (libc_feholdexcept): Remove.
28027         (libc_feholdexcept_setround): Remove.
28028         (libc_fetestexcept, libc_fesetenv): Remove.
28029         (libc_feupdateenv_test): Remove.
28030         (libc_feupdateenv, libc_feholdsetround): Remove.
28031         (libc_feresetround): Remove.
28033         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28034         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28036         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28037         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28038         (libc_feupdateenv_testl): New.
28039         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28040         (libc_feupdateenv_testf): New.
28041         (libc_feupdateenv): Use libc_feupdateenv_test.
28042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28045         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28046         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28047         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28048         (libc_feresetround_noex): New.
28049         (libc_feresetround_noexf): New.
28050         (libc_feresetround_noexl): New.
28051         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28052         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28053         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28054         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28055         SET_RESTORE_ROUND.
28056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28058         (__cos): Likewise.
28059         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28060         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28061         SET_RESTORE_ROUND_NOEX.
28062         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28063         SET_RESTORE_ROUND_NOEXF.
28064         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28065         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28066         (libc_feholdsetroundf): New.
28067         (libc_feresetround, libc_feresetroundf): New.
28069         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28070         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28071         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28073         * sysdeps/generic/math_private.h: Include <fenv.h>.
28074         (default_libc_feholdexcept): New.
28075         (default_libc_feholdexcept_setround): New.
28076         (default_libc_fesetenv, default_libc_feupdateenv): New.
28077         (libc_feholdexcept): Only define if undefined.
28078         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28079         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28080         (libc_feholdexcept_setroundl): Likewise.
28081         (libc_feholdexcept_setround_53bit): Likewise.
28082         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28083         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28084         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28085         (libc_feupdateenv_53bit): Likewise.
28086         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28087         (libc_feholdexcept): Convert from macro to inline function.
28088         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28089         (libc_fesetenv, libc_feupdateenv): Likewise.
28091         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28092         not previously defined.
28093         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28094         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28095         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28096         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28097         * sysdeps/ieee754/flt-32/math_private.h: New file.
28098         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28099         math_private.h below SET_FLOAT_WORD.
28100         (__isnan, __isinf_ns, __finite): Remove.
28101         (__isnanf, __isinf_nsf, __finitef): Remove.
28103 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28107 2012-03-17  David S. Miller  <davem@davemloft.net>
28109         [BZ #6471]
28110         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28111         for 2.16.
28113 2012-03-16  David S. Miller  <davem@davemloft.net>
28115         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28116         warnings.
28118         [BZ #6471]
28119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28120         properly.
28121         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28122         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28123         sysdep_routines when subdir is sysvipc.
28124         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28125         __getshmlba helper.
28127         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28129 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28131         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28132         [__LP64__].
28134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28136         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28137         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28138         (__lround): Renamed to ...
28139         (__llround): This.  Replace long int with long long int.
28140         Define lround functions as aliases of llround functions.
28141         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28145         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28146         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28147         adresses to uintptr_t.  Replace "long int" and "unsigned long
28148         int" with "greg_t" on va_arg.
28150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28152         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28153         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28155         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28156         Move e_machine check before EI_CLASS check.  Handle x32
28157         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28158         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28159         SKIP_EM_IA_64 and include
28160         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28162         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28163         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28164         (add_system_dir): New macro.
28166         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28167         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28169 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28171         [BZ #2551]
28172         [BZ #2552]
28173         [BZ #2553]
28174         [BZ #2554]
28175         [BZ #2562]
28176         [BZ #2563]
28177         [BZ #2565]
28178         [BZ #2566]
28179         [BZ #2576]
28180         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28181         (y0): Likewise.
28182         * math/w_j0f.c (j0f): Likewise.
28183         (y0f): Likewise.
28184         * math/w_j0l.c (__j0l): Likewise.
28185         (__y0l): Likewise.
28186         * math/w_j1.c (j1): Likewise.
28187         (y1): Likewise.
28188         * math/w_j1f.c (j1f): Likewise.
28189         (y1f): Likewise.
28190         * math/w_j1l.c (__j1l): Likewise.
28191         (__y1l): Likewise.
28192         * math/w_jn.c (jn): Likewise.
28193         (yn): Likewise.
28194         * math/w_jnf.c (jnf): Likewise.
28195         (ynf): Likewise.
28196         * math/w_jnl.c (__jnl): Likewise.
28197         (__ynl): Likewise.
28198         * math/libm-test.inc (j0_test): Add more tests.
28199         (j1_test): Likewise.
28200         (jn_test): Likewise.  Add trailing semicolon to existing test.
28201         (y0_test): Likewise.
28202         (y1_test): Likewise.
28203         * sysdeps/i386/fpu/libm-test-ulps: Update.
28204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206         [BZ #13851]
28207         [BZ #13854]
28208         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28209         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28210         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28211         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28212         (__tanl): Set errno for infinite argument.
28213         * sysdeps/i386/fpu/mptan.c: Remove.
28214         * sysdeps/i386/fpu/s_tan.S: Likewise.
28215         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28216         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28217         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28218         * math/libm-test.inc (tan_test): Add more tests and enable more
28219         tests for double and long double.
28220         * sysdeps/i386/fpu/libm-test-ulps: Update.
28221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28223 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28225         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28226         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28228 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28230         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28231         * configure.in: Use it for both main tree and add-ons.
28232         * configure: Regenerated.
28234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28236         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28238 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28240         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28241         in comment.
28243         [BZ #13851]
28244         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28245         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28249         infinite argument.
28250         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28251         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28252         != 0 for prec == 2.
28253         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28254         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28255         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28256         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28257         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28258         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28259         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28260         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28261         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28262         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28263         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28264         * math/libm-test.inc (cos_test): Add more tests and enable more
28265         tests for long double.
28266         (sin_test): Likewise.
28267         (sincos_test): Likewise.
28268         * sysdeps/i386/fpu/libm-test-ulps: Update.
28269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28271 2012-03-16  David S. Miller  <davem@davemloft.net>
28273         * sysdeps/sparc/fpu/math_private.h: New file.
28275 2012-03-15  David S. Miller  <davem@davemloft.net>
28277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28278         file.
28279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28281         file.
28282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28288         sysdep routines.
28289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28291         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28292         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28294         * sysdeps/sparc/sparc-ifunc.h: New file.
28295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28296         sparc-ifunc.h
28297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28299         Likewise.
28300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28301         Likewise.
28302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28306         Likewise.
28307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28312         Likewise.
28313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28314         Likewise.
28315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28322         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28335         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28338         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28340 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28342         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28343         scaling.
28344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28346 2012-03-15  Andreas Jaeger  <aj@suse.de>
28348         [BZ #13852]
28349         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28350         ieee754/flt-32 implementation for sin, cos and sincos.
28351         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28352         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28353         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28354         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28355         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28356         ieee754/flt-32 implementation for tan.
28358         * math/libm-test.inc (cos_test): Enable some large input tests for
28359         float as well
28360         (sin_test): Likewise.
28361         (sincos_test): Likewise.
28362         (tan_test): Add tests for large input.
28364         * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 2012-03-15  Andreas Jaeger  <aj@suse.de>
28368         [BZ #13658]
28369         * math/libm-test.inc (cos_test): Add more test cases.
28370         (sin_test): Likewise.
28371         (sincos_test): Likewise.
28373 2012-03-15  Andreas Jaeger  <aj@suse.de>
28375         [BZ #13837]
28376         * math/libm-test.inc (cos_test): Add a test case for large input
28377         value.
28378         (sin_test): Likewise.
28379         (sincos_test): Likewise.
28381 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28382         Joseph Myers  <joseph@codesourcery.com>
28384         [BZ #13658]
28385         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28386         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28387         * sysdeps/i386/fpu/branred.c: Likewise.
28388         * sysdeps/i386/fpu/dosincos.c: Likewise.
28389         * sysdeps/i386/fpu/mpa.c: Likewise.
28390         * sysdeps/i386/fpu/s_cos.S: Likewise.
28391         * sysdeps/i386/fpu/s_sin.S: Likewise.
28392         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28393         * sysdeps/i386/fpu/sincos32.c: Likewise.
28395         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28396         Define.
28397         (libc_feupdateenv_53bit): Define.
28398         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28399         Define.
28400         (libc_feupdateenv_53bit): Define.
28402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28403         53 bit (without extend i386 double precision).
28405         * math/libm-test.inc (sincos_test): Add tests for large input.
28406         (sin): Likewise.
28407         (cos): Likewise.
28409         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28411 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28415 2012-03-15  David S. Miller  <davem@davemloft.net>
28417         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28418         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28419         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28420         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28433         file.
28434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28436         file.
28437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28439         file.
28440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28442         file.
28443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28445         fmin/fmax sysdep routines.
28446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28448 2012-03-14  David S. Miller  <davem@davemloft.net>
28450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28477         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28479         routines.
28480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28481         file.
28482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28484         file.
28485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28487         file.
28488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28490         file.
28491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28493         file.
28494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28496         file.
28497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28498         file.
28499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28500         file.
28501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28502         file.
28503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28504         New file.
28505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28506         file.
28507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28508         file.
28509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28511         file.
28512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28514         file.
28515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28517         file.
28518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28520         VIS3 routines.
28522         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28523         New file.
28525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28527         * sysdeps/sparc/configure.in: New file.
28528         * sysdeps/sparc/configure: Generate.
28529         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28530         * configure: Regenerate.
28531         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28532         * config.make.in (have-as-vis3): New.
28533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28534         available use -Av9d instead of -Av9a.
28535         * sysdeps/sparc/sparc64/Makefile: Likewise.
28536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28538         New file.
28539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28540         file.
28541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28542         New file.
28543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28544         file.
28545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28551         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28552         fzeros/fnegs to load 0x80000000 into a float register instead of
28553         using the stack.
28554         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28556 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28559         bits/syscall.h.
28560         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28561         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28562         ($(inst_includedir)/bits/syscall.h): Remove rule.
28563         ($(objpfx)bits/syscall.d): Include instead of
28564         $(objpfx)syscall-list.d.
28565         (generated): Change syscall-list.h and syscall-list.d to
28566         bits/syscall.h and bits/syscall.d.
28568 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28570         [BZ #13846]
28571         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28573 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28575         [BZ #13841]
28576         * math/s_csqrt.c: Include <float.h>.
28577         (__csqrt): Scale large or subnormal inputs.
28578         * math/s_csqrtf.c: Likewise.
28579         * math/s_csqrtl.c: Likewise.
28580         * math/libm-test.inc (csqrt_test): Add more tests.
28581         * sysdeps/i386/fpu/libm-test-ulps: Update.
28582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28584         [BZ #13840]
28585         * math/libm-test.inc (hypot_test): Add more tests.
28587 2012-03-13  David S. Miller  <davem@davemloft.net>
28589         [BZ #13840]
28590         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28591         double-precision for the calculation instead of scaling.
28593 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28595         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28596         manipulate bits before adding and subtracting TWO52[sx].
28597         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28599         Likewise.
28600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28602 2012-03-13  David S. Miller  <davem@davemloft.net>
28604         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28605         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28606         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28607         rtld-global-offsets.h
28608         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28610         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28611         large parameters.
28613         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28615         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28616         'err' in the ifdef scope in which it is actually used.
28618         * nss/nss_db/db-init.c: Include string.h
28620 2012-03-12  David S. Miller  <davem@davemloft.net>
28622         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28623         masking out of the most significant byte of random value used.
28624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28625         Fix coding style in previous change.
28627         * sysdeps/unix/sysv/linux/kernel-features.h
28628         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28629         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28630         expression.
28631         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28632         later.
28634 2012-03-11  David S. Miller  <davem@davemloft.net>
28636         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28637         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28638         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28639         for 'resultvar' otherwise things get truncated on 64-bit.
28641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28642         Fix masking out of the most significant byte of random value used.
28644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28646 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28650 2012-03-09  David S. Miller  <davem@davemloft.net>
28652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28653         variables with appropriate CPP guards.
28654         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28655         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28656         on resulting framesize and the management of the outregs buffer for pltexit.
28657         Preserve floating point return values across _dl_call_pltexit call.
28658         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28659         framesize and the management of the outregs buffer for pltexit.
28660         Preserve floating point return values across _dl_call_pltexit
28661         call.
28662         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28663         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28664         (print_exit): Fix format string for return register value.
28666 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28668         * sunrpc/Makefile (others): Add rpcgen.
28669         ($(objpfx)rpcgen): Remove special build rule and dependency on
28670         libc.
28671         * sunrpc/rpcgen.c: New file.
28673 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28675         [BZ #13673]
28676         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28677         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28678         * sysdeps/i386/crti.S: Likewise.
28679         * sysdeps/i386/crtn.S: Likewise.
28680         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28681         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28682         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28683         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28684         * sysdeps/sh/crti.S: Likewise.
28685         * sysdeps/sh/crtn.S: Likewise.
28686         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28688         [BZ #13673]
28689         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28690         with URL.
28691         * locale/programs/locfile-kw.gperf: Likewise.
28692         * locale/programs/charmap-kw.h: Regenerated.
28693         * locale/programs/locfile-kw.h: Likewise.
28695         [BZ #13673]
28696         * intl/plural.y: Replace FSF snail mail address with URL.
28697         * intl/plural.c: Regenerated.
28699 2012-03-09  Richard Henderson  <rth@twiddle.net>
28701         * include/math_private.h: Remove file.
28702         * math/math_private.h: Move file ...
28703         * sysdeps/generic/math_private.h: ... here.
28705         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28706         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28707         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28709         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28710         and <math_private.h>.
28711         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28712         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28713         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28714         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28715         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28716         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28717         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28719         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28720         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28722         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28726         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28730         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28732         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28733         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28735         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28736         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28737         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28738         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28741         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28743         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28744         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28747         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28749         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28751         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28753         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28754         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28755         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28756         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28757         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28758         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28759         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28760         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28761         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28762         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28763         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28765         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28766         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28767         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28768         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28769         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28770         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28771         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28772         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28774         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28775         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28776         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28777         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28778         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28779         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28780         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28781         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28782         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28783         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28784         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28785         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28787         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28789         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28791         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28792         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28793         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28794         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28795         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28797         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28798         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28799         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28800         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28801         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28802         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28803         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28804         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28805         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28806         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28807         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28808         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28809         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28811         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28812         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28813         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28814         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28815         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28816         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28817         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28818         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28819         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28821         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28822         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28823         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28824         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28825         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28826         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28827         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28828         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28829         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28830         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28831         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28832         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28833         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28834         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28835         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28836         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28837         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28838         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28839         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28840         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28841         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28842         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28843         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28844         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28845         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28846         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28847         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28848         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28849         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28850         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28851         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28852         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28853         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28854         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28855         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28856         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28857         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28858         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28859         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28860         * sysdeps/ieee754/k_standard.c: Likewise.
28861         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28862         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28863         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28864         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28865         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28866         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28869         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28870         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28871         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28873         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28874         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28875         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28876         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28877         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28878         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28879         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28880         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28881         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28882         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28883         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28884         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28885         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28886         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28888         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28889         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28890         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28892         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28893         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28894         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28895         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28896         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28897         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28900         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28903         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28904         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28905         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28906         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28907         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28908         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28909         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28910         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28912         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28914         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28915         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28916         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28917         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28927         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28929         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28931         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28940         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28941         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28942         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28943         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28946         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28947         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28948         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28949         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28951         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28952         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28953         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28954         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28956         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28957         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28958         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28959         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28960         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28962         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28964         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28972         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28976         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28977         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28978         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28979         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28980         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28981         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28982         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28983         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28984         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28985         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28986         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28987         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28988         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28989         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28990         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28992         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28993         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28994         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28997         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28998         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28999         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29000         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29001         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29002         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29003         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29004         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29005         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29006         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29007         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29008         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29009         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29010         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29011         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29012         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29013         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29014         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29015         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29016         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29018         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29019         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29020         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29021         * sysdeps/ieee754/s_lib_version.c: Likewise.
29022         * sysdeps/ieee754/s_matherr.c: Likewise.
29023         * sysdeps/ieee754/s_signgam.c: Likewise.
29024         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29025         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29026         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29027         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29028         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29029         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29030         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29031         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29032         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29033         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29034         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29035         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29036         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29037         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29038         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29039         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29040         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29041         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29042         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29044         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29046 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29048         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29049         * sunrpc/rpc_main.c: Likewise.
29050         * sunrpc/rpc_svcout.c: Likewise.
29052 2012-03-09  David S. Miller  <davem@davemloft.net>
29054         * include/math_private.h: New file.
29056 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29058         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29059         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29060         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29061         from <bits/socket_type.h>.
29062         (enum __socket_type): Don't define here.
29063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29065         bits/socket_type.h.
29067         [BZ #13566]
29068         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29069         checking __USE_GNU.
29071         * Makerules ($(inst_includedir)/%.h): New rule.
29072         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29073         (install-others): Remove variable setting.
29074         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29076 2012-03-08  Richard Henderson  <rth@twiddle.net>
29078         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29079         from macro to inline function; merge with the
29080         !__LIBC_INTERNAL_MATH_INLINES version.
29081         (__ieee754_sqrtf): Likewise.
29083         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29084         to inline function.
29085         (__rintf, __floor, __floorf): Likewise.
29087         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29088         macro to inline function.
29089         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29091         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29092         not <math/math_private.h>.
29094 2012-03-08  David S. Miller  <davem@davemloft.net>
29096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29097         copyright year.
29098         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29100 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29102         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29103         normalization.
29104         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29105         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29107 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29109         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29110         be defined individually, they must be defined as a block.  Define
29111         S for printing a string instead of hidint the different by using a
29112         macro for adding the 'l'.
29113         * stdio-common/tst-fphex-wide.c: Adjust.
29115 2012-03-07  Marek Polacek  <polacek@redhat.com>
29117         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29119 2012-03-08  Marek Polacek  <polacek@redhat.com>
29121         [BZ #13806]
29122         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29123         * stdio-common/tst-fphex.c: Define a few macros to make the
29124         test reusable.  Use them.
29125         * stdio-common/tst-fphex-wide.c: New file.
29127 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29129         [BZ #6911]
29130         * manual/macros.texi (gnusystems): New macro.
29131         (nongnusystems): Likewise.
29132         (gnulinuxhurdsystems): Likewise.
29133         (gnuhurdsystems): Likewise..
29134         (gnulinuxsystems): Likewise.
29135         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29136         variants of the GNU system, not "GNU system".
29137         * manual/conf.texi: Likewise.
29138         * manual/errno.texi: Likewise.  Update example of errno macro
29139         expansion.
29140         * manual/filesys.texi: Likewise.
29141         (getumask): Document as specific to GNU/Hurd.
29142         * manual/install.texi: Likewise.  Reword some references to
29143         GNU/Linux.
29144         * manual/intro.texi: Likewise.
29145         * manual/io.texi: Likewise.
29146         (File Name Portability): Detail which constraints are inapplicable
29147         to all GNU systems and which are only inapplicable to GNU/Hurd.
29148         * manual/job.texi: Likewise.
29149         * manual/llio.texi: Likewise.
29150         (O_NOCTTY): Document as present on GNU/Linux.
29151         * manual/maint.texi: Likewise.
29152         * manual/memory.texi: Likewise.
29153         * manual/pattern.texi: Likewise.
29154         * manual/pipe.texi: Likewise.
29155         * manual/process.texi: Likewise.
29156         * manual/resource.texi: Likewise.
29157         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29158         child on GNU/Hurd.
29159         * manual/setjmp.texi: Likewise.
29160         * manual/signal.texi: Likewise.
29161         * manual/startup.texi: Likewise.
29162         * manual/stdio.texi: Likewise.
29163         * manual/terminal.texi: Likewise.
29164         (ONLCR): Document as POSIX.
29165         (OXTABS): Document availability on GNU/Linux as XTABS.
29166         (ONOEOT): Document availability separately from other bits.
29167         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29168         * manual/time.texi: Likewise.
29169         * manual/users.texi: Likewise.
29170         * INSTALL: Regenerated.
29171         * sysdeps/gnu/errlist.c: Regenerated.
29173         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29174         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29175         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29176         puts.
29177         * configure: Regenerated.
29179 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29181         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29182         default includes instead of AC_HEADER_CHECK.
29183         * sysdeps/i386/configure: Regenerated.
29185         [BZ #10716]
29186         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29187         * math/s_cacoshf.c (__cacoshf): Likewise.
29188         * math/s_cacoshl.c (__cacoshl): Likewise.
29189         * math/s_casinh.c (__casinh): Set signs of result from argument.
29190         * math/s_casinhf.c (__casinhf): Likewise.
29191         * math/s_casinhl.c (__casinhl): Likewise.
29192         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29193         (casinh_test): Add more tests.
29194         * sysdeps/i386/fpu/libm-test-ulps: Update.
29195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29197 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29199         * po/zh_TW.po: Update from translation team.
29201         * login/Makefile (distribute): Remove variable.
29202         * catgets/Makefile: Likewise.
29203         * mach/Makefile: Likewise.
29204         * malloc/Makefile: Likewise.
29205         * misc/Makefile: Likewise.
29206         * iconv/Makefile: Likewise.
29207         * nscd/Makefile: Likewise.
29208         * hurd/Makefile: Likewise.
29209         * manual/Makefile: Likewise.
29210         * locale/Makefile: Likewise.
29211         * intl/Makefile: Likewise.
29212         * conform/Makefile: Likewise.
29213         * nss/Makefile: Likewise.
29214         * time/Makefile: Likewise.
29215         * soft-fp/Makefile: Likewise.
29216         * dirent/Makefile: Likewise.
29217         * gmon/Makefile: Likewise.
29218         * po/Makefile: Likewise.
29219         * rt/Makefile: Likewise.
29220         * socket/Makefile: Likewise.
29221         * math/Makefile: Likewise.
29222         * signal/Makefile: Likewise.
29223         * debug/Makefile: Likewise.
29224         * elf/Makefile: Likewise.
29225         * timezone/Makefile: Likewise.
29226         * stdlib/Makefile: Likewise.
29227         * iconvdata/Makefile: Likewise.
29228         * sunrpc/Makefile: Likewise.
29229         * io/Makefile: Likewise.
29230         * argp/Makefile: Likewise.
29231         * inet/Makefile: Likewise.
29232         * hesiod/Makefile: Likewise.
29233         * grp/Makefile: Likewise.
29234         * csu/Makefile: Likewise.
29235         * wctype/Makefile: Likewise.
29236         * crypt/Makefile: Likewise.
29237         * libio/Makefile: Likewise.
29238         * string/Makefile: Likewise.
29239         * nis/Makefile: Likewise.
29240         * resolv/Makefile: Likewise.
29241         * stdio-common/Makefile: Likewise.
29242         * wcsmbs/Makefile: Likewise.
29243         * dlfcn/Makefile: Likewise.
29244         * posix/Makefile: Likewise.
29246         [BZ #6959]
29247         * timezone/Makefile: Don't install timezone files, just the programs
29248         and scripts.
29250 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29252         * nss/databases.def: Add missing gshadow entry.
29254         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29256 2012-03-06  Marek Polacek  <polacek@redhat.com>
29258         [BZ #13726]
29259         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29260         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29261         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29262         * stdio-common/tst-long-dbl-fphex.c: New file.
29264 2012-03-06  David S. Miller  <davem@davemloft.net>
29266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29267         (set_obp_int): New function.
29268         (get_obp_int): New function.
29269         (__get_clockfreq_via_dev_openprom): Likewise.
29270         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29271         Avoid unused variable warnings on 'val' and use builtin_expect.
29272         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29273         __builtin_expect.
29274         (INLINE_CLONE_SYSCALL): Likewise.
29276 2012-03-05  David S. Miller  <davem@davemloft.net>
29278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29280 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29284         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29285         only for |x| >= 40.
29286         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29288 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29290         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29291         Replace gettimeofday with __vdso_gettimeofday.
29293         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29294         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29295         __vdso_clock_gettime and __vdso_getcpu.
29297         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29298         time with __vdso_time.
29300 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29302         * manual/lang.texi (size_t): Note types to which size_t may be
29303         equivalent with the GNU C Library, but do not describe when
29304         differences between them are significant.
29306 2012-03-05  Andreas Jaeger  <aj@suse.de>
29308         * sysdeps/i386/fpu/libm-test-ulps: Update.
29310 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29312         [BZ #3976]
29313         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29314         (__ieee754_pow): Save and restore rounding mode and use
29315         round-to-nearest for main computations.
29316         * math/libm-test.inc (pow_test_tonearest): New function.
29317         (pow_test_towardzero): Likewise.
29318         (pow_test_downward): Likewise.
29319         (pow_test_upward): Likewise.
29320         (main): Call the new functions.
29321         * sysdeps/i386/fpu/libm-test-ulps: Update.
29322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324         [BZ #3976]
29325         * math/libm-test.inc (cosh_test_tonearest): New function.
29326         (cosh_test_towardzero): Likewise.
29327         (cosh_test_downward): Likewise.
29328         (cosh_test_upward): Likewise.
29329         (sinh_test_tonearest): Likewise.
29330         (sinh_test_towardzero): Likewise.
29331         (sinh_test_downward): Likewise.
29332         (sinh_test_upward): Likewise.
29333         (main): Call the new functions.
29334         * sysdeps/i386/fpu/libm-test-ulps: Update.
29335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29337 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29339         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29340         default stack guard is set in last bytes.
29341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29343 2012-03-05  Kees Cook  <keescook@chromium.org>
29345         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29347         [BZ #13656]
29348         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29349         possibly allocate from heap instead of stack.
29350         * stdio-common/bug-vfprintf-nargs.c: New file.
29351         * stdio-common/Makefile (tests): Add nargs overflow test.
29353 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29357 2012-03-03  Marek Polacek  <polacek@redhat.com>
29359         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29360         * math/math_private.h: Likewise.
29361         * stdlib/tst-strtod.c: Likewise.
29362         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29363         * sysdeps/x86_64/bits/atomic.h: Likewise.
29365 2012-03-02  David S. Miller  <davem@davemloft.net>
29367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29371         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29372         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29373         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29374         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29376 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29378         [BZ #13792]
29379         * manual/examples/README: New file, says the example source files
29380         can be used under GPL>=2.
29381         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29382         line containing just "*/".
29383         * manual/examples/add.c: Add copyright header (GPL>=2).
29384         * manual/examples/argp-ex1.c: Likewise.
29385         * manual/examples/argp-ex2.c: Likewise.
29386         * manual/examples/argp-ex3.c: Likewise.
29387         * manual/examples/argp-ex4.c: Likewise.
29388         * manual/examples/atexit.c: Likewise.
29389         * manual/examples/db.c: Likewise.
29390         * manual/examples/dir.c: Likewise.
29391         * manual/examples/dir2.c: Likewise.
29392         * manual/examples/execinfo.c: Likewise.
29393         * manual/examples/filecli.c: Likewise.
29394         * manual/examples/filesrv.c: Likewise.
29395         * manual/examples/fmtmsgexpl.c: Likewise.
29396         * manual/examples/genpass.c: Likewise.
29397         * manual/examples/inetcli.c: Likewise.
29398         * manual/examples/inetsrv.c: Likewise.
29399         * manual/examples/isockad.c: Likewise.
29400         * manual/examples/longopt.c: Likewise.
29401         * manual/examples/memopen.c: Likewise.
29402         * manual/examples/memstrm.c: Likewise.
29403         * manual/examples/mkfsock.c: Likewise.
29404         * manual/examples/mkisock.c: Likewise.
29405         * manual/examples/mygetpass.c: Likewise.
29406         * manual/examples/pipe.c: Likewise.
29407         * manual/examples/popen.c: Likewise.
29408         * manual/examples/rprintf.c: Likewise.
29409         * manual/examples/search.c: Likewise.
29410         * manual/examples/select.c: Likewise.
29411         * manual/examples/setjmp.c: Likewise.
29412         * manual/examples/sigh1.c: Likewise.
29413         * manual/examples/sigusr.c: Likewise.
29414         * manual/examples/stpcpy.c: Likewise.
29415         * manual/examples/strdupa.c: Likewise.
29416         * manual/examples/strftim.c: Likewise.
29417         * manual/examples/strncat.c: Likewise.
29418         * manual/examples/subopt.c: Likewise.
29419         * manual/examples/swapcontext.c: Likewise.
29420         * manual/examples/termios.c: Likewise.
29421         * manual/examples/testopt.c: Likewise.
29422         * manual/examples/testpass.c: Likewise.
29423         * manual/examples/timeval_subtract.c: Likewise.
29425         [BZ #13792]
29426         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29427         function to ...
29428         * manual/timeval_subtract.c.texi: ... here, new file.
29430 2012-03-02  David S. Miller  <davem@davemloft.net>
29432         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29434 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29436         [BZ #3976]
29437         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29438         (__sin): Save and restore rounding mode and use round-to-nearest
29439         for all computations.
29440         (__cos): Save and restore rounding mode and use round-to-nearest
29441         for all computations.
29442         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29443         <fenv.h>.
29444         (tan): Save and restore rounding mode and use round-to-nearest for
29445         all computations.
29446         * math/libm-test.inc (cos_test_tonearest): New function.
29447         (cos_test_towardzero): Likewise.
29448         (cos_test_downward): Likewise.
29449         (cos_test_upward): Likewise.
29450         (sin_test_tonearest): Likewise.
29451         (sin_test_towardzero): Likewise.
29452         (sin_test_downward): Likewise.
29453         (sin_test_upward): Likewise.
29454         (tan_test_tonearest): Likewise.
29455         (tan_test_towardzero): Likewise.
29456         (tan_test_downward): Likewise.
29457         (tan_test_upward): Likewise.
29458         (main): Call the new functions.
29459         * sysdeps/i386/fpu/libm-test-ulps: Update.
29460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29462         [BZ #10135]
29463         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29464         small n, then large n, before computing and testing k+n.
29465         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29467         Likewise.
29468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29469         Likewise.
29470         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29471         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29472         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29473         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29474         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29475         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29476         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29478         * math/libm-test.inc (scalbn_test): Add more tests.
29479         (scalbln_test): Likewise.
29481         * manual/filesys.texi (mode_t): Describe constraints on size and
29482         signedness, not exact equivalence to a particular type.
29483         (ino_t): Likewise.
29484         (ino64_t): Likewise.
29485         (dev_t): Likewise.
29486         (nlink_t): Likewise.
29487         (blkcnt_t): Likewise.
29488         (blkcnt64_t): Likewise.
29489         * manual/llio.texi (off_t): Likewise.
29491         [BZ #3976]
29492         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29493         (__ieee754_exp): Save and restore rounding mode and use
29494         round-to-nearest for all computations.
29495         * math/libm-test.inc (exp_test_tonearest): New function.
29496         (exp_test_towardzero): Likewise.
29497         (exp_test_downward): Likewise.
29498         (exp_test_upward): Likewise.
29499         (main): Call the new functions.
29500         * sysdeps/i386/fpu/libm-test-ulps: Update.
29501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29503 2012-03-01  Chris Demetriou  <cgd@google.com>
29505         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29506         have predictable order.
29508 2012-03-01  David S. Miller  <davem@davemloft.net>
29510         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29512         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29513         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29514         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29515         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29517         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29518         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29519         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29521         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29522         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29523         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29524         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29525         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29529         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29530         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29531         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29533         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29534         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29535         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29536         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29537         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29540         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29541         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29542         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29543         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29544         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29546         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29547         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29549         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29550         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29551         * sysdeps/sparc/elf/configure: Regenerated.
29553 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29555         * configure.in (AS, LD): Require binutils 2.20 or later.
29556         * configure: Regenerated.
29557         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29558         as required minimum version.
29559         * INSTALL: Regenerated.
29561         [BZ #2541]
29562         [BZ #4108]
29563         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29564         before squaring exponent.
29565         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29566         bottom long double and 27 bits of top long double before squaring
29567         exponent.
29568         * math/libm-test.inc (erfc_test): Add more tests.
29569         * sysdeps/i386/fpu/libm-test-ulps: Update.
29570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29573 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29575         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29576         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29577         containing bit-fields.
29578         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29579         * soft-fp/single.h (_FP_UNION_S): Likewise.
29580         * soft-fp/double.h (_FP_UNION_D): Likewise.
29582 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29584         [BZ #13786]
29585         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29586         not include ../strcmp.S.
29587         [USE_AS_STRNCASECMP_L]: Likewise.
29588         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29589         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29590         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29591         (__strncasecmp_l_ia32): Define as alias to
29592         __strncasecmp_l_nonascii.
29594         [BZ #5794]
29595         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29596         * sysdeps/i386/fpu/libm-test-ulps: Update.
29597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29599         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602 2012-02-29  Jeff Law  <law@redhat.com>
29604         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29605         out of bounds read.
29607 2012-02-29  Marek Polacek  <polacek@redhat.com>
29609         [BZ #13706]
29610         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29611         * elf/Makefile: Add rules to run tst-unused-dep.out.
29613 2012-02-28  David S. Miller  <davem@davemloft.net>
29615         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29616         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29618         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29619         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29620         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29622 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29624         * math/libm-test.inc (llround_test): Move one test from
29625         lround_test.  Use TEST_f_L in moved test.
29626         (lround_test): Move misplaced test to llround_test.  Add testcase
29627         from bug 2561.
29629 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29631         * sysdeps/x86_64/fpu/e_expf.S: New file.
29632         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29634 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29636         [BZ #13637]
29637         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29638         of remain_len that may cause incomplete multi-byte character and
29639         false match.
29640         * posix/bug-regex33.c: New file.
29641         * posix/Makefile (tests): Add bug-regex33.
29643 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29645         * manual/macros.texi: New file.
29646         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29647         * manual/libc.texinfo: Include macros.texi.
29648         * manual/creatute.texi: Likewise.
29649         * manual/install.texi: Likewise.
29650         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29651         @glibcadj{} in references to the GNU C Library.
29652         * manual/charset.texi: Likewise.
29653         * manual/conf.texi: Likewise.
29654         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29655         when not using those macros.
29656         * manual/creature.texi: Likewise.
29657         * manual/crypt.texi: Likewise.
29658         * manual/errno.texi: Likewise.
29659         * manual/filesys.texi: Likewise.
29660         * manual/header.texi: Likewise.
29661         * manual/install.texi: Likewise.
29662         * manual/intro.texi: Likewise.
29663         * manual/io.texi: Likewise.
29664         * manual/job.texi: Likewise.
29665         * manual/lang.texi: Likewise.
29666         * manual/libc.texiinfo: Likewise.
29667         * manual/llio.texi: Likewise.
29668         * manual/locale.texi: Likewise.
29669         * manual/maint.texi: Likewise.
29670         * manual/math.texi: Likewise.
29671         * manual/memory.texi: Likewise.
29672         * manual/message.texi: Likewise.
29673         * manual/nss.texi: Likewise.
29674         * manual/pattern.texi: Likewise.
29675         * manual/process.texi: Likewise.
29676         * manual/resource.texi: Likewise.
29677         * manual/search.texi: Likewise.
29678         * manual/setjmp.texi: Likewise.
29679         * manual/signal.texi: Likewise.
29680         * manual/socket.texi: Likewise.
29681         * manual/startup.texi: Likewise.
29682         * manual/stdio.texi: Likewise.
29683         * manual/string.texi: Likewise.
29684         * manual/sysinfo.texi: Likewise.
29685         * manual/syslog.texi: Likewise.
29686         * manual/terminal.texi: Likewise.
29687         * manual/time.texi: Likewise.
29688         * manual/users.texi: Likewise.
29689         * INSTALL: Regenerated.
29690         * NOTES: Regenerated.
29691         * sysdeps/gnu/errlist.c: Regenerated.
29693 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29695         * include/dirent.h: Include <dirstream.h> before
29696         <dirent/dirent.h>.
29698 2012-02-28  David S. Miller  <davem@davemloft.net>
29700         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29701         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29702         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29703         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29705 2012-02-27  David S. Miller  <davem@davemloft.net>
29707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29709         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29710         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29713         frame pointer instead of stack pointer relative arg slot.
29714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29715         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29716         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29718 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29720         [BZ #3992]
29721         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29723 2012-02-27  David S. Miller  <davem@davemloft.net>
29725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29729         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29730         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29731         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29732         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29734 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29736         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29737         later.  Allow versions 5-9.
29738         * configure: Regenerated.
29739         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29740         required minimum version and 4.6 as recommended version.  Do not
29741         mention bugs in GCC 2.7 and 2.8.
29742         * INSTALL: Regenerated.
29744 2012-02-27  David S. Miller  <davem@davemloft.net>
29746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29750         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29751         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29752         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29753         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29755         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29756         manipulate bits before adding and subtracting TWO112[sx].
29757         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29759 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29761         [BZ #13775]
29762         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29763         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29764         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29765         being in POSIX, because they are in 1003.1-2008.
29767         * rt/tst-aio.c: Include <fcntl.h>.
29768         * rt/tst-aio7.c: Likewise.
29769         * rt/tst-aio64.c: Likewise.
29771         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29773 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29775         * manual/install.texi (--with-headers): Describe headers as
29776         interface headers, not private headers.
29777         (Specific advice for GNU/Linux systems): Describe use of headers
29778         from "make headers_install", not private headers from older
29779         kernels.
29780         * INSTALL: Regenerated.
29781         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29782         Change to 2.6.19.
29783         * sysdeps/unix/sysv/linux/configure: Regenerated.
29785         * manual/llio.texi (fclean): Remove documentation.
29787         * manual/Makefile (libc-texi-generated): New variable.  Include
29788         version.texi.
29789         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29790         $(libc-texi-generated), not duplicated list of files.
29791         (version.texi, stamp-version): New rules.
29792         (realclean): Remove $(libc-texi-generated), not individual files
29793         from that list.  Do not remove dir-add.texinfo.
29794         * manual/libc.texinfo: Comment out uses of edition numbers and
29795         references to printed manual.  Remove last-updated dates.
29796         (EDITION): Comment out.
29797         (ISBN): Likewise.
29798         (VERSION, UPDATED): Remove.
29799         (version.texi): Include.
29801 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29803         * sysdeps/posix/spawni.c: Include <signal.h>.
29804         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29805         * sysdeps/pthread/aio_fsync.c: Likewise.
29807 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29809         * conform/Makefile (tests): Run only when not cross-compiling and
29810         when fast-check is not defined.
29812         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29813         * conform/data/limits.h-data: Fixes for POSIX2008.
29814         * conform/run-conformtest.sh: Run all tests.
29815         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29816         headers.
29817         * include/bits/dlfcn.h: Likewise.
29818         * include/langinfo.h: Likewise.
29819         * include/monetary.h: Likewise.
29820         * include/sys/poll.h: Likewise.
29822         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29823         for __USE_GNU.
29824         * posix/spawn.h: Define __need_sigset_t.
29825         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29826         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29827         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29828         to get sigevent_t only.
29829         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29830         only for __USE_GNU.
29831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29832         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29833         process_vm_writev only for __USE_GNU.
29834         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29836         * conform/Makefile: For now ignore errors from run-conformtest.
29837         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29838         POSIX to avoid namespace pollution.  Don't prepend headers.
29839         * conform/data/aio.h-data: Fixes for POSIX testing.
29840         * conform/data/fcntl.h-data: Likewise.
29841         * conform/data/glob.h-data: Likewise.
29842         * conform/data/grp.h-data: Likewise.
29843         * conform/data/pthread.h-data: Likewise.
29844         * conform/data/pwd.h-data: Likewise.
29845         * conform/data/signal.h-data: Likewise.
29846         * conform/data/spawn.h-data: Likewise.
29847         * conform/data/stdio.h-data: Likewise.
29848         * conform/data/stdlib.h-data: Likewise.
29849         * conform/data/stropts.h-data: Likewise.
29850         * conform/data/sys/mman.h-data: Likewise.
29851         * conform/data/sys/stat.h-data: Likewise.
29852         * conform/data/sys/types.h-data: Likewise.
29853         * conform/data/sys/wait.h-data: Likewise.
29854         * conform/data/time.h-data: Likewise.
29855         * conform/data/unistd.h-data: Likewise.
29856         * conform/data/utime.h-data: Likewise.
29858         * io/sys/stat.h: fchmod was always in POSIX.
29859         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29860         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29861         * rt/aio.h: Define __need_timespec before including <time.h>.
29862         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29863         struct.  Add forward declaration of pthread_attr_t and use it in
29864         sigevent.
29865         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29867         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29868         always remove CLK_TCK definition.
29870 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29872         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29874 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29876         * conform/run-conformtest.sh: New file.
29877         * conform/Makefile: Run run-conformtest for tests.
29878         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29879         support.
29881         * conform/data/uchar.h-data: New file.
29882         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29883         * conform/data/arpa/inet.h-data: Likewise.
29884         * conform/data/assert.h-data: Likewise.
29885         * conform/data/complex.h-data: Likewise.
29886         * conform/data/cpio.h-data: Likewise.
29887         * conform/data/ctype.h-data: Likewise.
29888         * conform/data/dirent.h-data: Likewise.
29889         * conform/data/dlfcn.h-data: Likewise.
29890         * conform/data/errno.h-data: Likewise.
29891         * conform/data/fcntl.h-data: Likewise.
29892         * conform/data/float.h-data: Likewise.
29893         * conform/data/fmtmsg.h-data: Likewise.
29894         * conform/data/fnmatch.h-data: Likewise.
29895         * conform/data/ftw.h-data: Likewise.
29896         * conform/data/glob.h-data: Likewise.
29897         * conform/data/grp.h-data: Likewise.
29898         * conform/data/iconv.h-data: Likewise.
29899         * conform/data/inttypes.h-data: Likewise.
29900         * conform/data/langinfo.h-data: Likewise.
29901         * conform/data/libgen.h-data: Likewise.
29902         * conform/data/limits.h-data: Likewise.
29903         * conform/data/locale.h-data: Likewise.
29904         * conform/data/math.h-data: Likewise.
29905         * conform/data/monetary.h-data: Likewise.
29906         * conform/data/mqueue.h-data: Likewise.
29907         * conform/data/ndbm.h-data: Likewise.
29908         * conform/data/net/if.h-data: Likewise.
29909         * conform/data/netdb.h-data: Likewise.
29910         * conform/data/netinet/in.h-data: Likewise.
29911         * conform/data/nl_types.h-data: Likewise.
29912         * conform/data/poll.h-data: Likewise.
29913         * conform/data/pthread.h-data: Likewise.
29914         * conform/data/pwd.h-data: Likewise.
29915         * conform/data/regex.h-data: Likewise.
29916         * conform/data/sched.h-data: Likewise.
29917         * conform/data/search.h-data: Likewise.
29918         * conform/data/semaphore.h-data: Likewise.
29919         * conform/data/setjmp.h-data: Likewise.
29920         * conform/data/signal.h-data: Likewise.
29921         * conform/data/spawn.h-data: Likewise.
29922         * conform/data/stdarg.h-data: Likewise.
29923         * conform/data/stdio.h-data: Likewise.
29924         * conform/data/stdlib.h-data: Likewise.
29925         * conform/data/string.h-data: Likewise.
29926         * conform/data/strings.h-data: Likewise.
29927         * conform/data/stropts.h-data: Likewise.
29928         * conform/data/sys/ipc.h-data: Likewise.
29929         * conform/data/sys/mman.h-data: Likewise.
29930         * conform/data/sys/msg.h-data: Likewise.
29931         * conform/data/sys/resource.h-data: Likewise.
29932         * conform/data/sys/select.h-data: Likewise.
29933         * conform/data/sys/sem.h-data: Likewise.
29934         * conform/data/sys/shm.h-data: Likewise.
29935         * conform/data/sys/socket.h-data: Likewise.
29936         * conform/data/sys/stat.h-data: Likewise.
29937         * conform/data/sys/statvfs.h-data: Likewise.
29938         * conform/data/sys/time.h-data: Likewise.
29939         * conform/data/sys/timeb.h-data: Likewise.
29940         * conform/data/sys/times.h-data: Likewise.
29941         * conform/data/sys/types.h-data: Likewise.
29942         * conform/data/sys/uio.h-data: Likewise.
29943         * conform/data/sys/un.h-data: Likewise.
29944         * conform/data/sys/utsname.h-data: Likewise.
29945         * conform/data/sys/wait.h-data: Likewise.
29946         * conform/data/syslog.h-data: Likewise.
29947         * conform/data/tar.h-data: Likewise.
29948         * conform/data/termios.h-data: Likewise.
29949         * conform/data/utime.h-data: Likewise.
29950         * conform/data/utmpx.h-data: Likewise.
29951         * conform/data/varargs.h-data: Likewise.
29952         * conform/data/wchar.h-data: Likewise.
29953         * conform/data/wctype.h-data: Likewise.
29954         * conform/data/wordexp.h-data: Likewise.
29956         * include/stropts.h: New file.
29957         * include/uchar.h: New file.
29958         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29959         * include/assert.h: Likewise.
29960         * include/ctype.h: Likewise.
29961         * include/dirent.h: Likewise.
29962         * include/dlfcn.h: Likewise.
29963         * include/fcntl.h: Likewise.
29964         * include/fnmatch.h: Likewise.
29965         * include/glob.h: Likewise.
29966         * include/grp.h: Likewise.
29967         * include/libio.h: Likewise.
29968         * include/locale.h: Likewise.
29969         * include/math.h: Likewise.
29970         * include/net/if.h: Likewise.
29971         * include/netdb.h: Likewise.
29972         * include/netinet/in.h: Likewise.
29973         * include/pthread.h: Likewise.
29974         * include/pwd.h: Likewise.
29975         * include/regex.h: Likewise.
29976         * include/sched.h: Likewise.
29977         * include/search.h: Likewise.
29978         * include/setjmp.h: Likewise.
29979         * include/signal.h: Likewise.
29980         * include/stdio.h: Likewise.
29981         * include/stdlib.h: Likewise.
29982         * include/string.h: Likewise.
29983         * include/sys/cdefs.h: Likewise.
29984         * include/sys/mman.h: Likewise.
29985         * include/sys/msg.h: Likewise.
29986         * include/sys/resource.h: Likewise.
29987         * include/sys/select.h: Likewise.
29988         * include/sys/socket.h: Likewise.
29989         * include/sys/stat.h: Likewise.
29990         * include/sys/statvfs.h: Likewise.
29991         * include/sys/time.h: Likewise.
29992         * include/sys/times.h: Likewise.
29993         * include/sys/uio.h: Likewise.
29994         * include/sys/utsname.h: Likewise.
29995         * include/sys/wait.h: Likewise.
29996         * include/termios.h: Likewise.
29997         * include/time.h: Likewise.
29998         * include/ulimit.h: Likewise.
29999         * include/unistd.h: Likewise.
30000         * include/utime.h: Likewise.
30001         * include/wchar.h: Likewise.
30002         * include/wctype.h: Likewise.
30003         * include/wordexp.h: Likewise.
30005         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30007         * time/time.h: TIME_UTC must be a macro.
30008         Make timespec_get available for ISO C11 only as well.
30010 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30012         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30013         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30017         * configure.in: Use -o not -a in test for unsupported multi-arch.
30019 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30021         * manual/texinfo.tex: Update to version 2012-01-19.16.
30023 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30025         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30027 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30029         [BZ #13738]
30030         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30031         * manual/fdl-1.3.texi: New file.
30032         * manual/fdl-1.1.texi: File removed.
30034         [BZ #13738]
30035         * manual/libc.texinfo (FDL_VERSION): New @set.
30036         Use it for mention of FDL in cover text.
30037         (Documentation License): Use it in @include file name.
30039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30040             Roland McGrath  <roland@hack.frob.com>
30042         [BZ #5461]
30043         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30044         not LONG_LONG_MAX and LONG_LONG_MIN.
30045         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30046         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30047         name.
30048         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30052         [BZ #2547]
30053         [BZ #11365]
30054         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30055         manipulate bits before adding and subtracting TWO23[sx].
30056         * math/libm-test.inc (nearbyint_test): Add more tests.
30058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30060         [BZ #2548]
30061         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30062         bits before adding and subtracting TWO23[sx].
30063         * math/libm-test.inc (rint_test): Add more tests.
30064         (rint_test_tonearest): Likewise.
30065         (rint_test_towardzero): Likewise.
30066         (rint_test_downward): Likewise.
30067         (rint_test_upward: Likewise.
30069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30071         [BZ #10110]
30072         * include/stdc-predef.h: New file.  Extracted from features.h.
30073         * include/features.h: Include stdc-predef.h.
30074         * Makefile (headers): Add stdc-predef.h.
30075         * CONFORMANCE (Compiler limitations): Update.
30077 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30079         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30081 2012-02-21  David S. Miller  <davem@davemloft.net>
30083         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30084         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30086 2012-02-20  David S. Miller  <davem@davemloft.net>
30088         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30089         using a normal save/restore sequence, rather than allocating a
30090         dummy stack frame just to store a frame pointer and restore.
30091         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30093 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30095         * manual/install.texi: Fix stray word in line-wrapped comment.
30097 2012-02-20  David S. Miller  <davem@davemloft.net>
30099         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30100         both binutils and gcc support GOTDATA.
30102         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30103         "rd %pc" in the PIC register setup sequences.
30105         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30106         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30107         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30108         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30109         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30110         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30111         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30112         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30114         (SYSCALL_ERROR_HANDLER): Likewise.
30115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30118         (SYSCALL_ERROR_HANDLER): Likewise.
30120         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30121         (HAVE_GCC_GOTDATA): New.
30122         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30123         relocation support in both binutils and gcc.
30124         * sysdeps/sparc/elf/configure: Regenerate.
30126         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30127         * sysdeps/sparc/sparc32/elf/configure: Delete.
30128         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30129         * sysdeps/sparc/sparc64/elf/configure: Delete.
30130         * sysdeps/sparc/elf/configure.in: New file.
30131         * sysdeps/sparc/elf/configure: Generate.
30133         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30134         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30135         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30136         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30137         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30139 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30141         * manual/install.texi: Do not mention specific glibc version
30142         numbers.
30143         * manual/libc.texinfo (VERSION, UPDATED): Update.
30144         (@copying): Use @copyright{} and range of years.
30146 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #13695]
30149         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30150         [crti.S not in sysdirs] (generated): Do not append.
30151         [crti.S not in sysdirs] (omit-deps): Likewise.
30152         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30153         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30154         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30155         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30156         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30157         Likewise.
30158         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30159         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30160         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30161         * csu/defs.awk: Remove file.
30162         * sysdeps/generic/initfini.c: Likewise.
30163         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30164         variable.
30165         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30166         Likewise.
30168 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30170         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30171         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30172         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30173         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30174         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30175         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30176         <bits/epoll.h>.
30177         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30178         (__EPOLL_PACKED): Define to empty if not defined by
30179         <bits/epoll.h>.
30180         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30182         bits/epoll.h.
30184 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30186         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30187         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30188         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30189         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30190         <bits/timerfd.h>.
30191         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30193         bits/timerfd.h.
30195 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30197         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30198         in C locale.
30199         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30200         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30201         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30204 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30206         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30207         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30209 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30211         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30212         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30213         defined.
30214         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30215         Likewise.
30216         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30217         entry for 2.16.
30219 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30221         * math/w_acos.c: Use non-signaling floating-point comparisons.
30222         * math/w_acosf.c: Likewise.
30223         * math/w_acosh.c: Likewise.
30224         * math/w_acoshf.c: Likewise.
30225         * math/w_acoshl.c: Likewise.
30226         * math/w_acosl.c: Likewise.
30227         * math/w_asin.c: Likewise.
30228         * math/w_asinf.c: Likewise.
30229         * math/w_asinl.c: Likewise.
30230         * math/w_atanh.c: Likewise.
30231         * math/w_atanhf.c: Likewise.
30232         * math/w_atanhl.c: Likewise.
30233         * math/w_exp2.c: Likewise.
30234         * math/w_exp2f.c: Likewise.
30235         * math/w_exp2l.c: Likewise.
30236         * math/w_j0.c: Likewise.
30237         * math/w_j0f.c: Likewise.
30238         * math/w_j0l.c: Likewise.
30239         * math/w_j1.c: Likewise.
30240         * math/w_j1f.c: Likewise.
30241         * math/w_j1l.c: Likewise.
30242         * math/w_jn.c: Likewise.
30243         * math/w_jnf.c: Likewise.
30244         * math/w_log.c: Likewise.
30245         * math/w_log10.c: Likewise.
30246         * math/w_log10f.c: Likewise.
30247         * math/w_log10l.c: Likewise.
30248         * math/w_log2.c: Likewise.
30249         * math/w_log2f.c: Likewise.
30250         * math/w_log2l.c: Likewise.
30251         * math/w_logf.c: Likewise.
30252         * math/w_logl.c: Likewise.
30253         * math/w_sqrt.c: Likewise.
30254         * math/w_sqrtf.c: Likewise.
30255         * math/w_sqrtl.c: Likewise.
30256         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30257         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30259         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30260         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30262 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30264         [BZ #9739]
30265         * manual/string.texi (strnlen): Use correct parameter name in
30266         equivalent expression.
30268 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30270         [BZ #11174]
30271         * manual/users.texi (seteuid): Consistently use neweuid for
30272         argument name.
30274 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30276         [BZ #13704]
30277         * manual/nss.texi (Services in the NSS configuration): Correct
30278         list of services in example configuration file.
30280 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30282         [BZ #11322]
30283         * manual/arith.texi: Remove statements about negative zero
30284         behaving identically to zero.
30286 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30288         [BZ #5993]
30289         * manual/install.texi: Do not document upgrading from libc5.
30291 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30293         [BZ #4596]
30294         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30296 2012-02-18  David S. Miller  <davem@davemloft.net>
30298         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30299         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30300         %o7 across the call.
30301         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30302         instead.
30303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30304         SETUP_PIC_REG_LEAF.
30305         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30306         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30307         * sysdeps/sparc/crtn.S: Likewise.
30309 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30311         * aout/Makefile: Remove.
30313 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30315         [BZ #13058]
30316         * manual/examples/argp-ex1.c (main): Format definition in GNU
30317         style.
30318         * manual/examples/argp-ex2.c (main): Likewise.
30319         * manual/examples/argp-ex3.c (main): Likewise.
30320         * manual/examples/argp-ex4.c (main): Likewise.
30321         * manual/examples/longopt.c (main): Use new-style prototype
30322         definition.
30323         * manual/examples/strncat.c (main): Specify return type and use
30324         (void) for arguments.
30325         * manual/examples/subopt.c (main): Use char **argv argument.
30327 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #5077]
30330         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30331         rounding modes.
30333 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30335         [BZ #6907]
30336         * manual/string.texi (strchr): Change when strchrnul is
30337         recommended.
30339 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30341         [BZ #174]
30342         * manual/locale.texi (setlocale): Document LOCPATH.
30344 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30346         [BZ #10210]
30347         * manual/process.texi (execle): Move @dots{} before last argument.
30349 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30351         [BZ #12047]
30352         * manual/charset.texi (Generic Charset Conversion): Fix typo
30353         (LC_TYPE -> LC_CTYPE).
30355 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30357         [BZ #5805]
30358         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30359         (scalbnf): Likewise.
30360         (scalbnl): Likewise.
30361         (scalbln): Likewise.
30362         (scalblnf): Likewise.
30363         (scalblnl): Likewise.
30364         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30365         (vwarnx): Likewise.
30366         (verr): Likewise.
30367         (verrx): Likewise.
30368         * manual/filesys.texi (telldir): Use braces around return type.
30369         * manual/llio.texi (mmap): Add space after comma.
30370         (mmap64): Likewise.
30371         * manual/math.texi (jn): Use @var{} on parameter names.
30372         (jnf): Likewise.
30373         (jnl): Likewise.
30374         (yn): Likewise.
30375         (ynf): Likewise.
30376         (ynl): Likewise.
30377         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30378         line.
30379         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30380         "...".
30381         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30382         (sched_get_priority_max): Likewise.
30383         * manual/signal.texi (sigvec): Add space after comma.
30384         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30385         names.
30386         (if_indextoname): Likewise.
30387         (if_freenameindex): Likewise.
30388         (sendto): Use ',' instead of '.' in prototype.
30389         * manual/startup.texi (syscall): Use @dots{} instead of literal
30390         "...".
30391         * manual/stdio.texi (__fpending): Separate initial words of
30392         paragraph from @deftypefun line.
30393         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30394         "...".
30395         (vsyslog): Use @var{} on parameter names.
30396         * manual/terminal.texi (stty): Use @var{} on parameter names.
30397         * manual/users.texi (getutmp): Use @var{} on parameter names.
30398         (getutmpx): Likewise.
30400 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30402         [BZ #6884]
30403         * manual/stdio.texi (fopen): Fix typos in description of
30404         ",ccs=STRING".
30406 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30408         [BZ #4026]
30409         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30410         get clock_id definition.
30412 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30414         [BZ #4822]
30415         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30416         (madvise): Cast every argument to void on its own.
30418 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30420         [BZ #9902]
30421         * manual/startup.texi (Exit Status): Fix typo.
30423 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30425         [BZ #10140]
30426         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30427         * manual/examples/argp-ex2.c: Likewise.
30428         * manual/examples/argp-ex3.c: Likewise.
30430 2012-02-16  Richard Henderson  <rth@redhat.com>
30432         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30433         * sysdeps/s390/s390-32/initfini.c: Remove.
30434         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30435         * sysdeps/s390/s390-64/initfini.c: Remove.
30437 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30439         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30440         compiler output for sysdeps/generic/initfini.c.
30441         * sysdeps/sh/elf/initfini.c: Remove file.
30443 2012-02-16  David S. Miller  <davem@davemloft.net>
30445         [BZ #11494]
30446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30448         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30449         * sysdeps/sparc/crti.S: New file.
30450         * sysdeps/sparc/crtn.S: New file.
30451         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30452         * sysdeps/sparc/sparc64/Makefile: Likewise.
30454 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30456         [BZ #3335]
30457         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30459 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30461         [BZ #4822]
30462         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30464         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30465         (write, read, close): Likewise.
30466         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30468 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30470         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30471         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30472         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30473         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30474         <bits/signalfd.h>.
30475         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30477         bits/signalfd.h.
30479 2012-02-14  Marek Polacek  <polacek@redhat.com>
30481         * sysdeps/x86_64/crti.S: New file.
30482         * sysdeps/x86_64/crtn.S: New file.
30483         * sysdeps/x86_64/elf/initfini.c: Remove file.
30485 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30487         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30488         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30489         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30490         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30491         <bits/inotify.h>.
30492         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30494         bits/inotify.h.
30496 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30498         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30499         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30500         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30501         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30502         <bits/eventfd.h>.
30503         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30505         bits/eventfd.h.
30507 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30509         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30510         __feraiseexcept instead of feraiseexcept.
30512         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30513         nanosleep invocations.
30514         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30515         strings, and add error checking for a nanosleep invocations.
30517 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30519         Replace FSF snail mail address with URLs, as per GNU coding standards.
30520         Most of the snail mail addresses were wrong anyway, and omitting
30521         them makes the source code easier to maintain.  Almost all of the
30522         changes are to license notices and to locale LC_IDENTIFICATION
30523         addresses, except for this one:
30524         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30525         not its snail mail address.
30527 2012-02-09  Richard Henderson  <rth@twiddle.net>
30529         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30530         of kernel-features.h.
30532         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30534 2012-02-08  Marek Polacek  <polacek@redhat.com>
30536         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30537         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30538         * sysdeps/gnu/_G_config.h: Likewise.
30539         * sysdeps/generic/_G_config.h: Likewise.
30541 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30543         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30544         tests.
30545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30547         * sysdeps/powerpc/powerpc32/crti.S: New file.
30548         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30549         * sysdeps/powerpc/powerpc64/crti.S: New file.
30550         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30552         * Makeconfig (have-initfini): Don't set.
30553         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30554         * configure.in (nopic_initfini): Don't substitute.
30555         * config.h.in (HAVE_INITFINI): Don't #undef.
30556         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30557         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30559 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30561         Support crti.S and crtn.S provided directly by architectures.
30562         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30563         [crti.S in sysdirs] (omit-deps): Likewise.
30564         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30565         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30566         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30567         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30568         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30569         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30570         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30571         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30572         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30573         compiler output for sysdeps/generic/initfini.c.
30574         * sysdeps/i386/elf/Makefile: Remove file.
30575         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30577 2012-02-07  Marek Polacek  <polacek@redhat.com>
30579         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30580         * sysdeps/gnu/_G_config.h: Likewise.
30581         * sysdeps/mach/hurd/_G_config.h: Likewise.
30583 2012-02-07  Marek Polacek  <polacek@redhat.com>
30585         * math/Makefile (tests): Add tst-CMPLX2.
30586         * math/tst-CMPLX2.c: New file.
30588 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30590         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30592         * math/libm-test.inc (jn_test): Add missing L suffix.
30594 2012-02-06  Marek Polacek  <polacek@redhat.com>
30596         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30597         * sysdeps/i386/fpu/e_powf.S: Likewise.
30598         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30599         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30600         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30601         * sysdeps/i386/fpu/e_pow.S: Likewise.
30602         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30603         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30604         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30605         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30606         * sysdeps/i386/fpu/e_log2.S: Likewise.
30607         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30608         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30609         * sysdeps/i386/fpu/e_powl.S: Likewise.
30610         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30611         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30612         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30613         * sysdeps/i386/fpu/e_logl.S: Likewise.
30614         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30615         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30616         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30617         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30618         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30619         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30620         * sysdeps/i386/fpu/e_log.S: Likewise.
30621         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30622         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30623         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30624         * sysdeps/i386/fpu/e_logf.S: Likewise.
30625         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30626         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30627         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30628         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30629         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30630         * sysdeps/i386/fpu/e_log10.S: Likewise.
30631         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30632         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30633         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30634         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30636         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30637         * sysdeps/i386/asm-syntax.h: Likewise.
30638         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30639         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30640         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30641         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30642         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30643         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30644         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30645         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30646         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30647         * sysdeps/powerpc/sysdep.h: Likewise.
30648         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30649         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30651 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30653         [BZ #411]
30654         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30656 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30658         * sysdeps/i386/sysdep.h: Include <features.h>.
30659         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30660         version.
30662 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30664         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30665         Define.
30666         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30667         LOAD_PIC_REG_STR.
30669 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30671         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30672         (SETUP_PIC_REG): Use GET_PC_THUNK.
30673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30674         macro.
30676 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30678         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30679         for non-PIC compilation.
30680         (SETUP_PIC_REG): Add .p2align directive.
30681         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30682         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30683         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30684         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30685         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30686         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30687         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30689         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30690         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30691         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30692         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30693         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30694         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30695         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30696         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30697         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30698         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30699         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30700         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30701         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30702         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30703         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30704         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30705         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30707         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30708         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30709         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30710         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30711         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30712         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30713         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30714         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30715         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30716         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30717         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30718         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30719         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30720         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30721         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30723 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30725         * math/tst-CMPLX.c: Include <stdio.h>.
30727 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30729         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30730         float.
30731         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30732         * sysdeps/sparc/bits/mathdef.h: Likewise.
30734 2012-01-31  Marek Polacek  <polacek@redhat.com>
30736         * libio/libio.h: Don't define _PARAMS.
30737         * locale/programs/config.h: Don't define PARAMS.
30738         * stdlib/strtol_l.c: Likewise.
30739         (__strtol_l): Remove PARAMS from the prototype.
30741 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30743         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30744         names.  Just use the correct names.  Remove unnecessary wrapper
30745         functions.
30746         * malloc/arena.c: Likewise.
30747         * malloc/hooks.c: Likewise.
30749         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30750         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30751         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30753 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30755         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30756         into tail calls.
30757         (update_get_addr): New function.
30758         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30759         GET_ADDR_MODULE parameter.
30761 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30763         * crypt/cert.c: Remove __STDC__ conditionals.
30764         * crypt/crypt-entry.c: Likewise.
30765         * crypt/crypt_util.c: Likewise.
30766         * libio/filedoalloc.c: Likewise.
30767         * libio/fileops.c: Likewise.
30768         * libio/genops.c: Likewise.
30769         * libio/iofclose.c: Likewise.
30770         * libio/iofdopen.c: Likewise.
30771         * libio/iofopen.c: Likewise.
30772         * libio/iofopen64.c: Likewise.
30773         * libio/iogetdelim.c: Likewise.
30774         * libio/iopopen.c: Likewise.
30775         * libio/obprintf.c: Likewise.
30776         * libio/oldfileops.c: Likewise.
30777         * libio/oldiofclose.c: Likewise.
30778         * libio/oldiofdopen.c: Likewise.
30779         * libio/oldiofopen.c: Likewise.
30780         * libio/oldiopopen.c: Likewise.
30781         * libio/wfiledoalloc.c: Likewise.
30782         * libio/wgenops.c: Likewise.
30783         * locale/programs/xmalloc.c: Likewise.
30784         * misc/syslog.c: Likewise.
30785         * stdio-common/xbug.c: Likewise.
30786         * string/memchr.c: Likewise.
30787         * string/memcmp.c: Likewise.
30788         * string/memrchr.c: Likewise.
30789         * string/rawmemchr.c: Likewise.
30790         * sysdeps/posix/getcwd.c: Likewise.
30791         * time/strftime_l.c: Likewise.
30793 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30795         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30796         * config.make.in (config-cflags-sse2avx): Define.
30797         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30798         Fix typo.
30800 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30802         * scripts/config.guess: Update from upstream config git repository.
30803         * scripts/config.sub: Likewise.
30805 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30807         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30808         (EM_NUM): Update.
30809         (R_TILEPRO_*, R_TILEGX_*): New macros.
30811         * scripts/firstversions.awk: Fix bug in version range handling.
30813         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30815         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30817         * include/sys/epoll.h: New file.
30818         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30819         libc_hidden_def.
30821 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30823         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30824         Avoid unnecessary __WORDSIZE == 64 test.
30825         (fmaxf): Use VEX format if possible.
30826         (fmax): Likewise.
30827         (fminf): Likewise.
30828         (fmin): Likewise.
30830         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30831         * math/math_private.h: Remove libc_fegetround* and
30832         libc_fesetround*.
30833         * sysdeps/i386/configure.in: Check for -msse2avx.
30834         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30835         also if SSE2AVX is defined.
30836         Remove libc_fegetround* and libc_fesetround*.
30837         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30838         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30840         of HAS_YMM_USABLE.
30841         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30842         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30843         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30844         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30845         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30847         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30849 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30851         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30852         size is not set.
30853         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30855 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30857         [BZ #13618]
30858         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30859         relocation.
30860         * Makeconfig (libm): Define.
30861         * elf/Makefile: Add rules to build and run tst-relsort1.
30862         * elf/tst-relsort1.c: New file.
30863         * elf/tst-relsort1mod1.c: New file.
30864         * elf/tst-relsort1mod2.c: New file.
30866 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30868         * math/s_ldexp.c: Remove __STDC__ conditionals.
30869         * math/s_ldexpf.c: Likewise.
30870         * math/s_ldexpl.c: Likewise.
30871         * math/s_nextafter.c: Likewise.
30872         * math/s_nexttowardf.c: Likewise.
30873         * math/s_significand.c: Likewise.
30874         * math/s_significandf.c: Likewise.
30875         * math/s_significandl.c: Likewise.
30876         * math/w_jnl.c: Likewise.
30877         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30878         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30879         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30880         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30881         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30882         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30883         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30884         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30886         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30887         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30888         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30889         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30890         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30891         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30892         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30893         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30894         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30895         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30896         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30897         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30899         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30901         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30902         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30903         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30904         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30905         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30906         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30907         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30908         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30909         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30911         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30912         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30913         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30914         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30915         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30916         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30917         * sysdeps/ieee754/k_standard.c: Likewise.
30918         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30919         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30920         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30921         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30922         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30923         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30925         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30926         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30927         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30928         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30930         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30931         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30932         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30933         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30934         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30935         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30936         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30937         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30938         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30939         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30940         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30941         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30942         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30943         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30948         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30953         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30954         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30955         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30956         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30970         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30971         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30978         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30979         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30980         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30981         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30982         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30983         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30984         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30985         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30986         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30987         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30988         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30989         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30990         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30991         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30992         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30993         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30994         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30995         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30996         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30997         * sysdeps/ieee754/s_matherr.c: Likewise.
30998         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30999         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31000         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31003 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31005         * crypt/md5.h: Remove __STDC__ conditionals.
31006         * libio/libioP.h: Likewise.
31007         * locale/programs/config.h: Likewise.
31008         * sysdeps/generic/sysdep.h: Likewise.
31009         * sysdeps/i386/asm-syntax.h: Likewise.
31010         * sysdeps/s390/asm-syntax.h: Likewise.
31011         * sysdeps/unix/sysdep.h: Likewise.
31012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31015 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31017         * libio/libio.h: Remove __STDC__ conditionals.
31018         * malloc/obstack.h: Likewise.
31019         * math/complex.h: Likewise.
31020         * math/math.h: Likewise.
31021         * sysdeps/generic/_G_config.h: Likewise.
31022         * sysdeps/gnu/_G_config.h: Likewise.
31023         * sysdeps/mach/hurd/_G_config.h: Likewise.
31024         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31025         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31026         * sysdeps/sparc/bits/mathdef.h: Likewise.
31028 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31030         [BZ #13583]
31031         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31032         Clean up HAS_* macros.
31033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31034         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31035         possible.
31036         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31037         HAS_AVX.
31038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31044 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31046         * elf/tst-unique3.cc (gets): Remove declaration.
31047         * elf/tst-unique3lib.cc (gets): Likewise.
31048         * elf/tst-unique3lib2.cc (gets): Likewise.
31049         * elf/tst-unique4.cc (gets): Likewise.
31051 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31053         * include/stdio.h: Add C++ protection.  Add gets declarations and
31054         definitions.
31055         * debug/tst-chk1.c: Don't declare gets here.
31056         * stdio-common/tst-gets.c: Likewise.
31058 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31060         * posix/glob: Remove directory.
31062 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31064         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31066 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31068         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31069         of the non-standard EPFNOSUPPORT.
31071 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31073         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31074         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31075         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31077 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31079         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31081 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31083         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31084         transient errors.
31085         * nscd/grpcache.c (cache_addgr): Likewise.
31086         * nscd/hstcache.c (cache_addhst): Likewise.
31087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31088         * nscd/pwdcache.c (cache_addpw): Likewise.
31089         * nscd/servicescache.c (cache_addserv): Likewise.
31091 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31093         * malloc/malloc.c: Various cleanups.
31094         * malloc/hooks.c: Likewise.
31096         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31097         * stdlib/bug-fmtmsg1.c: New file.
31099         * stdlib/fmtmsg.c (init): Add missing unlock.
31100         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31102 2012-01-12  Marek Polacek  <polacek@redhat.com>
31104         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31105         and _GNU_SOURCE.
31107 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31109         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31110         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31111         macro to ensure uniqueness of label name.
31112         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31113         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31115 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31117         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31119         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31120         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31121         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31122         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31124 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31126         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31128         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31129         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31130         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31132         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31134         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31135         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31136         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31139         * math/bits/math-finite.h: Add ldexp support.
31141 2012-01-10  Marek Polacek  <polacek@redhat.com>
31143         * locale/programs/localedef.h (show_archive_content): Add noreturn
31144         attribute.
31146 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31148         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31150 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31152         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31154         * io/Makefile (headers): Add bits/poll2.h.
31156 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31159         typo #include statement.
31161 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31163         * include/sys/cdefs.h: Define __attribute_alloc_size.
31164         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31165         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31166         * elf/pldd.c: Likewise.
31167         * iconv/iconv_charmap.c: Likewise.
31168         * iconv/iconvconfig.c: Likewise.
31169         * iconv/strtab.c: Likewise.
31170         * locale/programs/locale.c: Likewise.
31171         * locale/programs/localedef.h: Likewise.
31172         * locale/programs/simple-hash.c: Likewise.
31173         * nscd/nscd.h: Likewise.
31174         * nss/makedb.c: Likewise.
31175         * sysdeps/generic/ldconfig.h: Likewise.
31176         * locale/programs/localedef.c: Remove xmalloc prototype.
31177         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31179 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31181         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31182         appropriate.
31184 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31186         * math/Makefile (tests): Add tst-CMPLX.
31187         * math/tst-CMPLX.c: New file.
31189         * math/complex.h (CMPLXL): Fix typo.
31191         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31192         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31193         GLIBC_2.16.
31194         * debug/tst-chk1.c: Add poll and ppoll tests.
31195         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31196         * include/sys/poll.h: Add hidden proto for ppoll.
31197         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31198         * sysdeps/mach/hurd/ppoll.c: Likewise.
31199         * io/ppoll.c: Likewise.
31200         * debug/poll_chk.c: New file.
31201         * debug/ppoll_chk.c: New file.
31202         * include/bits/poll2.h: New file.
31203         * io/bits/poll2.h: New file.
31205         [BZ #1350]
31206         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31208         * configure.in: static is always set to yes.  Remove.
31209         * config.make.in: Don't set build-static.
31210         * Makeconfig: Remove use of build-static.
31211         * dlfcn/Makefile: Likewise.
31212         * elf/Makefile: Likewise.
31213         * math/Makefile: Likewise.
31214         * misc/Makefile: Likewise.
31215         * nptl/Makefile: Likewise.
31216         * sysdeps/mach/hurd/Makefile: Likewise.
31218         * configure.in: PWD_P is not used anymore.
31219         * config.make.in: Remove PWD_P entry.
31221         * configure.in: Remove last remnants of RANLIB.
31222         No need to check for signed size_t anymore.
31223         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31224         and IA-64.
31225         Remove __builtin_expect test because we require at least gcc 3.4.
31226         * aclocal.m4: Likewise.
31228         * wcsmbs/mbrtoc16.c: Implement using towc function.
31229         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31230         * wcsmbs/wcsmbsload.c: Likewise.
31231         * iconv/gconv_simple.c: Likewise.
31232         * iconv/gconv_int.h: Likewise.
31233         * iconv/gconv_builtin.h: Likewise.
31234         * iconv/iconv_prog.c: Remove CHAR16 handling.
31236         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31238         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31240         * configure.in: Remove --with-elf and --enable-bounded options.
31241         Dont set base_machine for ia64.  More non-ELF conditions removed.
31242         Remove testing and setting of leading underscore information.
31243         * config.make.in (build-bounded): Set to no.
31244         * config.h.in: Remove NO_UNDERSCORES entry.
31245         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31246         them.
31247         * csu/start.c: Remove !NO_UNDERSCORE code.
31248         * locale/localeinfo.h: Likewise.
31249         * sysdeps/generic/machine-gmon.h: Likewise.
31250         * sysdeps/generic/sysdep.h: Likewise.
31251         * sysdeps/i386/sysdep.h: Likewise.
31252         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31253         * sysdeps/mach/sysdep.h: Likewise.
31254         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31255         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31256         * sysdeps/sh/sysdep.h: Likewise.
31257         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31258         * sysdeps/unix/i386/sysdep.S: Likewise.
31259         * sysdeps/unix/sparc/start.c: Likewise.
31260         * sysdeps/unix/sparc/sysdep.S: Likewise.
31261         * sysdeps/unix/sparc/sysdep.h: Likewise.
31262         * sysdeps/unix/start.c: Likewise.
31263         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31264         * sysdeps/x86_64/sysdep.h: Likewise.
31266 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31268         [BZ #13553]
31269         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31270         for non-gcc.
31271         * argp/argp-fmtstream.h: Use const instead __const.
31272         * argp/argp.h: Likewise.
31273         * assert/assert.h: Likewise.
31274         * bits/fenv.h: Likewise.
31275         * bits/sched.h: Likewise.
31276         * bits/sigset.h: Likewise.
31277         * bits/sigthread.h: Likewise.
31278         * catgets/nl_types.h: Likewise.
31279         * conform/data/pthread.h-data: Likewise.
31280         * crypt/crypt-private.h: Likewise.
31281         * crypt/crypt.h: Likewise.
31282         * crypt/crypt_util.c: Likewise.
31283         * ctype/ctype.h: Likewise.
31284         * debug/execinfo.h: Likewise.
31285         * debug/mbsnrtowcs_chk.c: Likewise.
31286         * debug/mbsrtowcs_chk.c: Likewise.
31287         * debug/wcsnrtombs_chk.c: Likewise.
31288         * debug/wcsrtombs_chk.c: Likewise.
31289         * debug/wcstombs_chk.c: Likewise.
31290         * dirent/dirent.h: Likewise.
31291         * dlfcn/dlfcn.h: Likewise.
31292         * elf/neededtest4.c: Likewise.
31293         * grp/grp.h: Likewise.
31294         * gshadow/gshadow.h: Likewise.
31295         * iconv/gconv.h: Likewise.
31296         * iconv/gconv_int.h: Likewise.
31297         * iconv/gconv_simple.c: Likewise.
31298         * iconv/iconv.h: Likewise.
31299         * iconv/loop.c: Likewise.
31300         * iconv/skeleton.c: Likewise.
31301         * include/aio.h: Likewise.
31302         * include/aliases.h: Likewise.
31303         * include/argz.h: Likewise.
31304         * include/arpa/inet.h: Likewise.
31305         * include/assert.h: Likewise.
31306         * include/dirent.h: Likewise.
31307         * include/dlfcn.h: Likewise.
31308         * include/execinfo.h: Likewise.
31309         * include/fcntl.h: Likewise.
31310         * include/fenv.h: Likewise.
31311         * include/glob.h: Likewise.
31312         * include/grp.h: Likewise.
31313         * include/libintl.h: Likewise.
31314         * include/mntent.h: Likewise.
31315         * include/netdb.h: Likewise.
31316         * include/pwd.h: Likewise.
31317         * include/rpc/netdb.h: Likewise.
31318         * include/sched.h: Likewise.
31319         * include/search.h: Likewise.
31320         * include/shadow.h: Likewise.
31321         * include/signal.h: Likewise.
31322         * include/stdio.h: Likewise.
31323         * include/stdlib.h: Likewise.
31324         * include/string.h: Likewise.
31325         * include/sys/socket.h: Likewise.
31326         * include/sys/stat.h: Likewise.
31327         * include/sys/statfs.h: Likewise.
31328         * include/sys/statvfs.h: Likewise.
31329         * include/sys/syslog.h: Likewise.
31330         * include/sys/time.h: Likewise.
31331         * include/sys/uio.h: Likewise.
31332         * include/time.h: Likewise.
31333         * include/unistd.h: Likewise.
31334         * include/utmp.h: Likewise.
31335         * include/wchar.h: Likewise.
31336         * include/wctype.h: Likewise.
31337         * inet/aliases.h: Likewise.
31338         * inet/arpa/inet.h: Likewise.
31339         * inet/netinet/ether.h: Likewise.
31340         * inet/netinet/in.h: Likewise.
31341         * intl/libintl.h: Likewise.
31342         * io/bits/fcntl2.h: Likewise.
31343         * io/fcntl.h: Likewise.
31344         * io/ftw.h: Likewise.
31345         * io/sys/poll.h: Likewise.
31346         * io/sys/stat.h: Likewise.
31347         * io/sys/statfs.h: Likewise.
31348         * io/sys/statvfs.h: Likewise.
31349         * io/utime.h: Likewise.
31350         * libio/bits/stdio.h: Likewise.
31351         * libio/bits/stdio2.h: Likewise.
31352         * libio/libio.h: Likewise.
31353         * libio/libioP.h: Likewise.
31354         * libio/stdio.h: Likewise.
31355         * locale/lc-ctype.c: Likewise.
31356         * locale/locale.h: Likewise.
31357         * login/utmp.h: Likewise.
31358         * malloc/arena.c: Likewise.
31359         * malloc/malloc.c: Likewise.
31360         * malloc/malloc.h: Likewise.
31361         * malloc/mcheck.c: Likewise.
31362         * malloc/mtrace.c: Likewise.
31363         * math/bits/mathcalls.h: Likewise.
31364         * math/fenv.h: Likewise.
31365         * math/math_private.h: Likewise.
31366         * misc/bits/error.h: Likewise.
31367         * misc/bits/syslog.h: Likewise.
31368         * misc/err.h: Likewise.
31369         * misc/error.h: Likewise.
31370         * misc/fstab.h: Likewise.
31371         * misc/mntent.h: Likewise.
31372         * misc/regexp.h: Likewise.
31373         * misc/search.h: Likewise.
31374         * misc/sgtty.h: Likewise.
31375         * misc/sys/mman.h: Likewise.
31376         * misc/sys/syslog.h: Likewise.
31377         * misc/sys/uio.h: Likewise.
31378         * misc/sys/xattr.h: Likewise.
31379         * misc/ttyent.h: Likewise.
31380         * nis/rpcsvc/ypclnt.h: Likewise.
31381         * nss/nss.h: Likewise.
31382         * posix/bits/unistd.h: Likewise.
31383         * posix/fnmatch.h: Likewise.
31384         * posix/glob.h: Likewise.
31385         * posix/sched.h: Likewise.
31386         * posix/spawn.h: Likewise.
31387         * posix/sys/wait.h: Likewise.
31388         * posix/unistd.h: Likewise.
31389         * posix/wordexp.h: Likewise.
31390         * pwd/pwd.h: Likewise.
31391         * resolv/netdb.h: Likewise.
31392         * resource/sys/resource.h: Likewise.
31393         * rt/aio.h: Likewise.
31394         * rt/bits/mqueue2.h: Likewise.
31395         * rt/mqueue.h: Likewise.
31396         * shadow/shadow.h: Likewise.
31397         * signal/signal.h: Likewise.
31398         * socket/send.c: Likewise.
31399         * socket/sendto.c: Likewise.
31400         * socket/sys/socket.h: Likewise.
31401         * stdio-common/printf.h: Likewise.
31402         * stdlib/bits/stdlib.h: Likewise.
31403         * stdlib/fmtmsg.h: Likewise.
31404         * stdlib/monetary.h: Likewise.
31405         * stdlib/stdlib.h: Likewise.
31406         * stdlib/ucontext.h: Likewise.
31407         * streams/stropts.h: Likewise.
31408         * string/argz.h: Likewise.
31409         * string/bits/string2.h: Likewise.
31410         * string/string.h: Likewise.
31411         * string/strings.h: Likewise.
31412         * sunrpc/rpc/auth.h: Likewise.
31413         * sunrpc/rpc/auth_des.h: Likewise.
31414         * sunrpc/rpc/clnt.h: Likewise.
31415         * sunrpc/rpc/netdb.h: Likewise.
31416         * sunrpc/rpc/pmap_clnt.h: Likewise.
31417         * sunrpc/rpc/xdr.h: Likewise.
31418         * sysdeps/generic/inttypes.h: Likewise.
31419         * sysdeps/generic/net/if.h: Likewise.
31420         * sysdeps/generic/sys/swap.h: Likewise.
31421         * sysdeps/gnu/net/if.h: Likewise.
31422         * sysdeps/gnu/utmpx.h: Likewise.
31423         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31424         * sysdeps/i386/i486/bits/string.h: Likewise.
31425         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31426         * sysdeps/s390/bits/string.h: Likewise.
31427         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31428         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31429         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31430         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31431         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31432         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31433         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31434         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31435         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31436         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31437         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31438         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31439         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31440         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31441         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31442         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31443         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31445         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31446         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31447         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31448         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31449         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31450         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31451         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31452         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31453         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31455         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31456         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31457         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31458         * sysvipc/sys/ipc.h: Likewise.
31459         * sysvipc/sys/msg.h: Likewise.
31460         * sysvipc/sys/sem.h: Likewise.
31461         * sysvipc/sys/shm.h: Likewise.
31462         * termios/termios.h: Likewise.
31463         * time/sys/time.h: Likewise.
31464         * time/time.h: Likewise.
31465         * wcsmbs/bits/wchar2.h: Likewise.
31466         * wcsmbs/uchar.h: Likewise.
31467         * wcsmbs/wchar.h: Likewise.
31468         * wctype/wctype.h: Likewise.
31470         [BZ #13551]
31471         * Makeconfig: Remove all but ELF support including AIX support.
31472         * Makerules: Likewise.
31473         * config.h.in: Likewise.
31474         * config.make.in: Likewise.
31475         * configure: Likewise.
31476         * configure.in: Likewise.
31477         * csu/Makefile: Likewise.
31478         * csu/version.c: Likewise.
31479         * debug/Makefile: Likewise.
31480         * dlfcn/Makefile: Likewise.
31481         * elf/Makefile: Likewise.
31482         * extra-lib.mk: Likewise.
31483         * iconv/Makefile: Likewise.
31484         * include/libc-symbols.h: Likewise.
31485         * include/shlib-compat.h: Likewise.
31486         * resolv/Makefile: Likewise.
31487         * resolv/res_libc.c: Likewise.
31488         * rt/Makefile: Likewise.
31489         * sysdeps/i386/asm-syntax.h: Likewise.
31490         * sysdeps/i386/sysdep.h: Likewise.
31491         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31492         * sysdeps/mach/sysdep.h: Likewise.
31493         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31494         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31495         * sysdeps/s390/asm-syntax.h: Likewise.
31496         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31497         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31498         * sysdeps/sh/sysdep.h: Likewise.
31499         * sysdeps/unix/sparc/sysdep.h: Likewise.
31500         * sysdeps/wordsize-32/divdi3.c: Likewise.
31501         * sysdeps/x86_64/sysdep.h: Likewise.
31503         * argp/Versions: Remove _argp_unlock_xxx.
31505         [BZ #13559]
31506         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31507         * abilist/libBrokenLocale.abilist: Likewise.
31508         * abilist/libanl.abilist: Likewise.
31509         * abilist/libc.abilist: Likewise.
31510         * abilist/libcrypt.abilist: Likewise.
31511         * abilist/libdl.abilist: Likewise.
31512         * abilist/libm.abilist: Likewise.
31513         * abilist/libnsl.abilist: Likewise.
31514         * abilist/libpthread.abilist: Likewise.
31515         * abilist/libresolv.abilist: Likewise.
31516         * abilist/librt.abilist: Likewise.
31517         * abilist/libthread_db.abilist: Likewise.
31518         * abilist/libutil.abilist: Likewise.
31519         * abilist/libnss_db.abilist: New file.
31521         * scripts/abilist.awk: Add support for indirect functions.
31523         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31525         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31527         * shlib-versions: Remove entries for ports architectures.
31529         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31530         files in ports.
31531         * elf/stackguard-macros.h: Remove support for IA-64.
31532         * elf/tst-auditmod1.c: Likewise.
31533         * sysdeps/generic/ldsodefs.h: Likewise.
31535         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31536         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31537         configure files.
31539         [BZ #13552]
31540         * configure.in: Remove --enable-omitfp support.
31541         * FAQ.in: Adjust.
31542         * config.make.in: Likewise.
31543         * Makeconfig: Likewise.
31544         * manual/install.texi: Likewise.
31546         In case anyone cares, the IA-64 architecture could move to ports.
31547         * sysdeps/ia64/*: Removed.
31548         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31549         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31551         [BZ #13555]
31552         * configure.in: Remove entries for unsupported architectures.
31554         [BZ #13533]
31555         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31556         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31557         routines.
31558         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31559         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31560         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31561         fall back to using wcrtomb.
31562         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31563         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31564         renaming.
31565         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31566         * wcsmbs/tst-c16c32-1.c: New file.
31568         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31569         local variable.
31571         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31573         * elf/tst-unique3.cc: Add explicit declaration of gets.
31574         * elf/tst-unique3lib.cc: Likewise.
31575         * elf/tst-unique3lib2.cc: Likewise.
31576         * elf/tst-unique4.cc: Likewise.
31578         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31580 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #13566]
31583         * assert/assert.h (static_assert): Don't define for C++.
31584         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31585         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31587 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31589         * iconv/loop.c (single loop): Fix assertion in storing of
31590         remaining bytes.
31592         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31594 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31596         * posix/getconf.c: Update copyright year.
31597         * nss/getent.c: Likewise.
31598         * nss/makedb.c: Likewise.
31599         * iconv/iconvconfig.c: Likewise.
31600         * iconv/iconv_prog.c: Likewise.
31601         * elf/ldconfig.c: Likewise.
31602         * elf/pldd.c: Likewise.
31603         * elf/sotruss.ksh: Likewise.
31604         * catgets/gencat.c: Likewise.
31605         * csu/version.c: Likewise.
31606         * elf/ldd.bash.in: Likewise.
31607         * elf/sprof.c (print_version): Likewise.
31608         * locale/programs/locale.c: Likewise.
31609         * locale/programs/localedef.c: Likewise.
31610         * login/programs/pt_chown.c: Likewise.
31611         * nscd/nscd.c (print_version): Likewise.
31612         * debug/xtrace.sh: Likewise.
31613         * malloc/memusage.sh: Likewise.
31614         * malloc/mtrace.pl: Likewise.
31615         * debug/catchsegv.sh: Likewise.
31617 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31619         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31620         pure attribute.
31622 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31624         [BZ #13533]
31625         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31626         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31627         transformations.
31628         * iconv/gconv_int.h: Likewise.
31629         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31630         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31631         from libc for GLIBC_2.16.
31632         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31633         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31634         * wcsmbs/uchar.h: Really define mbstate_t.
31635         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31636         * wcsmbs/c16rtomb.c: New file.
31637         * wcsmbs/mbrtoc16.c: New file.
31638         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31639         for C/POSIX locale.
31640         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31641         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31643         * wcsmbs/wchar.h: Add missing __restrict.
31645 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31647         [BZ #13532]
31648         * time/Makefile (routines): Add timespec_get.
31649         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31650         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31651         timespec for ISO C11.
31652         * time/timespec_get.c: New file.
31653         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31654         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31656         [BZ #13531]
31657         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31658         * stdlib/stdlib.h: Declare aligned_alloc.
31659         * Versions.def: Add GLIBC_2.16 for libc.
31660         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31662         [BZ 13527]
31663         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31664         ISO C11.
31666         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31667         code.
31669         [BZ #13528]
31670         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31672         [BZ #13529]
31673         * assert/assert.h (static_assert): Define.
31675         * version.h: Update for 2.16 development version.
31677         [BZ #13526]
31678         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31679         _ISOC11_SOURCE.
31681         * version.h (RELEASE): Bump for 2.15 release.
31682         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31684         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31685         Patch by Marek Polacek <mpolacek@redhat.com>.
31687         * bits/byteswap.h: Protect long long constants with __extension__.
31688         * sysdeps/i386/bits/byteswap.h: Likewise.
31689         * sysdeps/ia64/bits/byteswap.h: Likewise.
31690         * sysdeps/s390/bits/byteswap.h: Likewise.
31691         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31693 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31695         [BZ #13540]
31696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31697         destination buffer.
31698         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31700 2011-12-23  Marek Polacek  <polacek@redhat.com>
31702         * elf/dl-addr.c (determine_info): Add inline keyword.
31703         * elf/tst-auditmod4b.c (check_avx): Likewise.
31704         * elf/tst-auditmod6b.c (check_avx): Likewise.
31705         * elf/tst-auditmod6c.c (check_avx): Likewise.
31706         * elf/tst-auditmod7b.c (check_avx): Likewise.
31708 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31710         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31711         !__SSE_MATH__.
31713 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31715         [BZ #13540]
31716         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31717         processing for last bytes.
31719 2011-08-06  Bruno Haible  <bruno@clisp.org>
31721         [BZ #13061]
31722         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31723         U+0385, not to U+1FEE.
31725         [BZ #13062]
31726         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31727         entry for U+00A5 U+0301.
31729 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31731         [BZ #13166]
31732         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31733         buffer for the output is too small.
31735         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31736         optimization.
31738         [BZ #13185]
31739         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31740         SSE flags if possible.
31742 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31744         [BZ #13540]
31745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31746         processing for last bytes.
31748 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31750         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31751         (syscall-list-default-options, syscall-list-default-condition)
31752         (syscall-list-includes): Define.
31753         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31754         list of ABIs and options and #if conditions for each ABI.  Do not
31755         handle common syscalls between ABIs specially.
31756         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31757         Remove.
31758         (syscall-list-variants, syscall-list-32bit-options)
31759         (syscall-list-32bit-condition, syscall-list-64bit-options)
31760         (syscall-list-64bit-condition): Define.
31761         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31762         (syscall-list-variants, syscall-list-32bit-options)
31763         (syscall-list-32bit-condition, syscall-list-64bit-options)
31764         (syscall-list-64bit-condition): Define.
31765         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31766         Remove.
31767         (syscall-list-variants, syscall-list-32bit-options)
31768         (syscall-list-32bit-condition, syscall-list-64bit-options)
31769         (syscall-list-64bit-condition): Define.
31770         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31771         Remove.
31772         (syscall-list-variants, syscall-list-32bit-options)
31773         (syscall-list-32bit-condition, syscall-list-64bit-options)
31774         (syscall-list-64bit-condition): Define.
31776 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31778         * locale/iso-639.def: Add brx entry.
31780         [BZ #13328]
31781         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31782         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31784         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31785         __feraiseexcept_renamed.
31787 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31789         [BZ #13538]
31790         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31791         EPOLLET with unsigned values.
31792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31793         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31795         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31796         to large cancellation.
31797         * math/s_cacoshf.c: Likewise.
31798         * math/s_cacoshl.c: Likewise.
31800 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31802         [BZ #13305]
31803         [BZ #12786]
31804         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31805         * math/s_cacoshf.c: Likewise.
31806         * math/s_cacoshl.c: Likewise.
31808 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31810         [BZ #13439]
31811         * iconv/gconv.h: Define __GCONV_SWAP.
31812         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31813         * iconvdata/utf-16.c: Likewise.
31814         * iconvdata/utf-32.c: Likewise.
31816 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31818         [BZ #13524]
31819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31820         numerator after shifting it by one limb.
31822 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31825         under [__USE_EXTERN_INLINES].
31827 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31829         [BZ #13446]
31830         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31832 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31834         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31835         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31836         optimized code.
31837         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31838         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31839         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31840         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31841         for strncasecmp/strncasecmp_l compilation.
31842         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31843         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31845 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31847         [BZ #13484]
31848         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31849         of __asm__.
31851 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31853         [BZ #13506]
31854         * time/tzfile.c (__tzfile_read): Check values from file header.
31856 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31858         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31859         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31860         * powerpc/powerpc32/dl-start.S: Likewise.
31861         * powerpc/powerpc32/elf/start.S: Likewise.
31862         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31863         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31864         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31865         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31866         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31867         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31868         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31869         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31870         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31871         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31872         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31873         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31874         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31875         * powerpc/powerpc32/memset.S: Likewise.
31876         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31877         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31878         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31879         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31880         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31881         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31882         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31883         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31884         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31885         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31886         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31887         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31888         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31890 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31892         * math/libm-test.inc: Added more nearbyint tests.
31893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31894         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31896         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31898 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31900         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31901         FD_CLOEXEC.
31903 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31905         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31906         Add wcscpy-ssse3 wcscpy-c.
31907         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31908         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31909         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31910         * sysdeps/x86_64/wcschr.S: New file.
31911         * sysdeps/x86_64/wcsrchr.S: New file.
31912         * string/test-strcmp.c: Remove checking of wcscmp function for
31913         wrong alignments.
31914         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31915         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31916         wcsrchr-sse2 wcsrchr-c.
31917         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31918         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31919         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31920         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31921         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31922         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31923         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31924         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31926         * wcsmbc/wcschr.c (WCSCHR): New macro.
31928 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31930         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31931         * wcsmbs/test-wcsrchr.c: New file.
31932         * string/test-strrchr.c: Add wcsrchr support.
31933         (WIDE): New macro.
31934         * wcsmbs/test-wcscpy.c: New file.
31935         * string/test-strcpy.c: Add wcscpy support.
31936         (WIDE): New macro.
31938 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31940         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31941         the inner loop.
31943 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31945         [BZ #13472]
31946         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31948 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31950         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31951         Minor optimizations.
31953         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31954         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31955         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31957 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31959         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31960         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31961         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31962         for gcc to avoid warnings.
31963         * inet/Makefile (tests): Add tst-checks.
31964         * inet/tst-checks.c: New file.
31966         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31967         warning.
31969         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31970         __wmemcmp_sse2.
31972         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31973         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31975         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31977 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31979         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31980         problem.
31982         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31984 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31986         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31987         conditional on GCC version.
31988         (__arch_compare_and_exchange_val_8_acq)
31989         (__arch_compare_and_exchange_val_16_acq)
31990         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31991         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31992         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31994 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31996         * sysdeps/sh/backtrace.c: New file.
31998 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32000         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32001         parenthesis.
32003 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32005         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32006         falling back to utime.
32008 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32010         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32011         expectations for float.
32013 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32015         * locale/weight.h (findidx): Add parameter len.
32016         * locale/weightwc.h (findidx): Likewise.
32017         * posix/fnmatch_loop.c (FCT): Adjust caller.
32018         * posix/regcomp.c (build_equiv_class): Likewise.
32019         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32020         * posix/regexec.c (check_node_accept_bytes): Likewise.
32021         * string/strcoll_l.c (STRCOLL): Likewise.
32022         * string/strxfrm_l.c (STRXFRM): Likewise.
32024 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32026         * Makefile.in: Remove CVSOPT handling.
32027         * configure.in: Remove use of AC_REVISION.
32028         * iconvdata/Makefile (distribute): No need to filter out CVS.
32029         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32030         handling.
32032 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32035         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32036         [USE_AS_STRNCASECMP_L]: Likewise.
32037         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32038         NO_TLS_DIRECT_SEG_REFS.
32039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32040         Fix argument offsets for non-PIC.
32041         [USE_AS_STRNCASECMP_L]: Likewise.
32042         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32043         NO_TLS_DIRECT_SEG_REFS.
32045 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32047         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32048         O_CLOEXEC.
32049         * locale/loadlocale.c (_nl_load_locale): Likewise.
32051 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32053         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32054         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32055         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32056         (SYSCALL_GETTIME): Set errno on error.
32058         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32059         count references to noai6ai_cached.
32061 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32063         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32065         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32066         FD_CLOEXEC for /proc/self/maps.
32068         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32069         FD_CLOEXEC for /proc/meminfo.
32071         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32072         gai.conf.
32074         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32075         FD_CLOEXEC for given file.
32077         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32079         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32080         FD_CLOEXEC for /etc/hosts.
32081         (_gethtent): Likewise.
32083         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32085         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32086         cancellation and set FD_CLOEXEC for /etc/netgroup.
32088         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32089         reading /etc/publickey.
32091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32092         allow cancellation when reading /etc/group.
32094         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32095         cancellation.
32096         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32098         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32099         when using data file.
32101         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32103         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32104         (write_nis_obj): Use "c" and "e" in fopen.
32106         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32108         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32110         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32112         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32114         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32115         locale.alias.
32117         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32119         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32121         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32123         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32124         file parsing and set FD_CLOEXEC.
32126 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32128         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32130 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32132         * malloc/arena.c (arena_get2): Don't call reused_arena when
32133         _int_new_arena failed.
32135 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32137         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32138         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32139         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32140         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32141         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32143         to compile strcasecmp and strncasecmp.
32144         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32145         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32149 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32151         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32152         locale-defines.sym to gen-as-const-headers.
32153         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32154         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32155         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32156         to compile strcasecmp and strncasecmp.
32157         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32158         strcasecmp_l and strncasecmp_l.
32159         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32160         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32161         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32162         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32163         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32164         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32165         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32166         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32167         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32168         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32169         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32171 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32173         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32174         result of SYSDEP_GETTIME_CPU to retval.
32175         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32176         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32178         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32179         variable.
32181         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32182         mantissa words.
32183         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32185         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32186         from unused variable.
32188         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32189         DWARF definitions.
32190         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32191         for assembling.
32193         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32194         over namespaces.
32196         * sunrpc/rpc_prot.c (rejected): Fix case value.
32198         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32199         unsigned long long int to avoid warnings in shift.
32201         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32202         of use of trans.
32203         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32204         variable tmp.
32206         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32207         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32208         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32210         * nis/nis_table.c (nis_list): Use variable of correct type for
32211         result of __follow_path call.
32213 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32215         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32216         of math functions ceil, trunc, floor, round, and sqrt, when
32217         avaliable on the platform.
32218         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32219         name clash.
32220         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32221         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32222         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32224 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32226         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32227         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32229 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32231         * include/unistd.h: Fix __readlink return type.
32232         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32234 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32236         * stdlib/ucontext.h: Undo last change for makecontext.
32238 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32240         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32242         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32243         * setjmp/setjmp.h: Mark functions as non-leaf.
32244         * setjmp/bits/setjmp2.h: Likewise.
32245         * stdlib/ucontext.h: Likewise.
32247 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32249         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32250         (reused_arena): Don't check arena limit.
32251         (arena_get2): Atomically check arena limit.
32253 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32255         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32256         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32259         instructions.
32261 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32263         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32264         handler when locking.
32266         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32267         Fix size of allocated buffer.
32269 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32271         [BZ #10103]
32272         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32273         declarations for long double functions.
32274         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32276         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32278 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32280         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32281         installed.
32283         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32284         is disabled.
32286 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32288         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32290 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32292         * include/alloca.h (stackinfo_alloca_round): Define.
32293         (extend_alloca): Use it.
32294         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32295         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32296         here.
32298         * scripts/check-local-headers.sh: Ignore libaudit.h.
32300         * nscd/Makefile (extra-objs): Make recursively expanded.
32302 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32304         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32305         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32307         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32308         * posix/tst-rfc3484-2.c: Likewise.
32309         * posix/tst-rfc3484-3.c: Likewise.
32311         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32312         process_vm_writev.
32313         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32314         process_vm_writev.
32315         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32316         process_vm_writev from libc using GLIBC_2.15 version.
32318         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32320 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32322         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32323         stack usage.
32325 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32327         [BZ #13367]
32328         * nss/getent.c (initgroups_keys): Show error message in case no group
32329         names are given.
32331         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32332         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32333         __bump_nl_timestamp.
32334         * nscd/connections (nscd_init): When host database is served open
32335         netlink socket and request notification about configuration changes.
32336         (main_loop_poll): Track netlink file descriptor and bump timestamp
32337         in case data becomes available.
32338         (main_loop_epoll): Likewise.
32339         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32340         (database_pers_head): Add extra_data fileds.
32341         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32342         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32343         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32344         Adjust caller.
32345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32346         in6ai data, call __free_in6ai.
32347         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32348         Add -DHAVE_NETLINK.
32349         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32350         interface information.  Reuse previous data if netlink timestamp
32351         is not changed.
32352         (__bump_nl_timestamp): New function.
32353         (__free_in6ai): New function.
32355 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32357         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32358         close_not_cancel_no_status here.
32359         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32361 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32363         [BZ #13276]
32364         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32365         return value.
32367         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32368         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32369         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32371 2011-07-03  Andreas Jaeger  <aj@suse.de>
32373         [BZ #10709]
32374         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32375         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32376         * math/libm-test.inc (sin_test): Add test case.
32378 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32380         [BZ #13337]
32381         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32384         * elf/chroot_canon.c (chroot_canon): Cleanups.
32386         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32388         [BZ #13335]
32389         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32390         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32392         * string/test-strchr.c: Make usable for strchrnul testing.
32393         * string/test-strchrnul.c: New file.
32394         * string/Makefile (strop-tests): Add strchrnul.
32396         * po/it.po: Update from translation team.
32397         * po/es.po: Likewise.
32399 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32401         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32402         the three constants needed as parameters.  Drop the others.
32403         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32404         __m128i_strloadu_tolower.
32405         Create and initialize variable zero and use it in all the places
32406         where _mm_setzero_si128 was used.
32408         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32409         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32410         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32411         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32412         anymore.
32413         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32414         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32415         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32416         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32417         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32418         __mpranred, __mptan.
32419         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32420         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32421         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32422         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32423         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32424         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32425         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32426         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32427         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32429 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32431         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32432         redefine if SHARED.
32433         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32436         wide char related routines to wcsmbs subdir.
32438 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32440         [BZ #13344]
32441         * misc/sys/cdefs.h (__THROWNL): Define.
32442         * posix/unistd.h: Use __THREADNL instead of __THREAD
32443         for memory synchronization functions.
32445 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32447         [BZ #13349]
32448         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32449         doesn't exist.
32450         * manual/stdio.texi (Obstack Streams): Node removed.
32452 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32454         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32456         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32458         * math/math_private.h (math_force_eval): Allow non-addressable
32459         arguments.
32460         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32462 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32464         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32465         file is not needed.
32467         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32468         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32469         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32470         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32473         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32474         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32475         Add AVX variants.
32476         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32477         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32478         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32479         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32480         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32481         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32482         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32483         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32484         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32485         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32486         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32487         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32489         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32490         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32491         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32492         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32493         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32494         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32496         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32497         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32499         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32500         place.  Use VEX encoding when compiling for AVX.
32502 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32504         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32505         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32507         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32509 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32511         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32512         useless if() expression.
32513         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32514         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32515         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32517         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32518         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32519         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32520         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32521         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32522         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32523         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32524         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32525         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32526         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32527         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32528         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32529         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32531         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32533         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32535 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32537         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32538         condition.
32539         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32541 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32543         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32544         .text section.  Avoid duplicate constants.
32545         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32547         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32552         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32553         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32554         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32555         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32556         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32557         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32558         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32559         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32561         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32562         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32563         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32565         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32566         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32567         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32568         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32569         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32570         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32571         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32572         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32573         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32574         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32575         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32576         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32577         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32578         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32579         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32580         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32581         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32582         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32583         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32584         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32585         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32586         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32587         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32588         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32589         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32591 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32593         * sysdeps/x86_64/dla.h: Move to ...
32594         * sysdeps/x86_64/fpu/dla.h: ...here.
32595         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32596         situations.  Use __builtin_fma only for gcc 4.6 and up.
32598         * config.make.in: Add have-mfma4 entry.
32599         * configure.in: Substitute libc_cv_cc_fma4.
32600         * math/Makefile (dbl-only-routines): Add sincostab.
32601         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32602         Use __sincostab not sincos.
32603         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32604         name is a macro.
32605         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32609         using __copysign.
32610         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32611         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32612         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32613         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32614         and __inv.
32615         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32616         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32617         __copysign.
32618         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32619         define aliases when function name is a macro.
32620         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32621         sysdeps/ieee754/dbl-64/sincos.tbl.
32622         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32623         fma4-enabled routines.
32624         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32625         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32626         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32627         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32628         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32629         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32630         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32631         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32632         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32633         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32634         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32635         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32636         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32637         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32638         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32639         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32640         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32641         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32642         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32643         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32644         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32645         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32646         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32647         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32648         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32649         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32650         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32651         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32652         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32653         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32655         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32656         rename.
32657         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32666 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32668         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32670 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32672         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32674         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32675         prediction.
32676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32678         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32679         Remove unused variable magic_bits.
32680         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32682         * string/strnlen.c: Define and use STRNLEN macro.
32683         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32684         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32685         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32686         * wcsmbs/wcslen.c: Define and use WCSLEN.
32687         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32688         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32689         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32690         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32691         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32692         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32693         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32695 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32698         strnlen-sse2-no-bsf.
32699         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32701         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32702         Add strnlen support.
32703         (USE_AS_STRNLEN): New macro.
32704         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32706         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32707         * sysdeps/x86_64/wcslen.S: New file.
32709 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32711         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32712         XMM-moves are used for copying on small sizes.
32714 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32716         * wcsmbs/Makefile (strop-tests): Add wcschr.
32717         * wcsmbs/test-wcschr.c: New file.
32718         * string/test-strchr.c: Update.
32719         Add wcschr support.
32720         (WIDE): New macro.
32722 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32724         * wcsmbs/Makefile (strop-tests): Add wcslen.
32725         * wcsmbs/test-wcslen.c: New file.
32726         * string/test-strlen.c: Update.
32727         Add wcslen support.
32728         (WIDE): New macro.
32730 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32732         * po/it.po: Update from translation team.
32734 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32736         * sysdeps/x86_64/wcscmp.S: Update.
32737         Fix wrong comparison semantics.
32738         wcscmp shall use signed comparison not unsigned.
32739         Don't use substraction to avoid overflow bug.
32740         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32741         * wcsmbc/wcscmp.c: Likewise.
32742         * string/test-strcmp.c: Likewise.
32743         Add new tests to check cases with negative values.
32745 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32747         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32748         * sysdeps/x86_64/dla.h: ...here.  New file.
32749         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32750         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32752         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32754         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32759 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32762         __ynl_finite aliases.
32764 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32768         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32769         define DLA_FMA.
32770         [DLA_FMA] (EMULV): Use DLA_FMA.
32771         [DLA_FMA] (MUL12): Use EMULV.
32772         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32773         that are not needed.
32774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32779         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32782 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32784         * math/s_nan.c: Undef __nan.
32785         * math/s_nanf.c: Undef __nanf.
32786         * math/s_nanl.c: Undef __nanl.
32787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32788         "math_private.h".
32790 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32792         * math/s_catan.c: Add branch predictions.
32793         * math/s_catanf.c: Likewise.
32794         * math/s_catanh.c: Likewise.
32795         * math/s_catanhf.c: Likewise.
32796         * math/s_catanhl.c: Likewise.
32797         * math/s_catanl.c: Likewise.
32798         * math/s_cexp.c: Likewise.
32799         * math/s_cexpf.c: Likewise.
32800         * math/s_cexpl.c: Likewise.
32801         * math/s_clog.c: Likewise.
32802         * math/s_clog10.c: Likewise.
32803         * math/s_clog10f.c: Likewise.
32804         * math/s_clog10l.c: Likewise.
32805         * math/s_clogf.c: Likewise.
32806         * math/s_clogl.c: Likewise.
32807         * math/s_csqrt.c: Likewise.
32808         * math/s_csqrtf.c: Likewise.
32809         * math/s_csqrtl.c: Likewise.
32810         * math/s_ctanf.c: Likewise.
32811         * math/s_ctanh.c: Likewise.
32812         * math/s_ctanhf.c: Likewise.
32813         * math/s_ctanhl.c: Likewise.
32814         * math/s_ctanl.c: Likewise.
32816         * math/math_private.h: Define __nan, __nanf, __nanl.
32817         * math/s_cacosh.c: Include <math_private.h>.
32818         * math/s_cacoshl.c: Likewise.
32819         * math/s_casinh.c: Likewise.
32820         * math/s_casinhf.c: Likewise.
32821         * math/s_casinhl.c: Likewise.
32822         * math/s_ccos.c: Rely entire on ccosh.
32823         * math/s_ccosf.c: Rely entire on ccoshf.
32824         * math/s_ccosl.c: Rely entirely on ccoshl.
32825         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32826         Remove tests for FE_INVALID.
32827         * math/s_ccoshf.c: Likewise.
32828         * math/s_ccoshl.c: Likewise.
32829         * math/s_csin.c: Likewise.
32830         * math/s_csinf.c: Likewise.
32831         * math/s_csinh.c Likewise.
32832         * math/s_csinhf.c: Likewise.
32833         * math/s_csinhl.c: Likewise.
32834         * math/s_csinl.c: Likewise.
32835         * math/s_ctan.c: Likewise.
32836         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32837         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32838         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32840 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32843         compilation problems.
32845         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32846         __builtin_expect.
32848 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32850         * sysdeps/i386/configure.in: Test for -mfma4 option.
32851         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32852         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32853         COMMON_CPUID_INDEX_80000001.
32854         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32855         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32856         use it if FMA3 is not supported.
32857         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32859         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32860         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32862 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32864         [BZ #12892]
32865         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32866         it would create a cycle with a link time dependency.
32868 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32870         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32871         instruction.
32872         * string/Makefile (strop-tests): Add rawmemchr.
32873         * string/test-rawmemchr.c: New file.
32875         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32877         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32878         when compiling str{,n}casecmp and when AVX is available.  Hook up
32879         new optimized code in initializers.
32881 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32883         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32884         __feraiseexcept instead of feraiseexcept.
32886 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32888         * math/math_private.h: Define defaults for libc_fetestexcept and
32889         libc_feupdateenv.
32890         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32891         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32892         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32894         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32895         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32896         libc_fetestexcept and libc_feupdateenv.
32898         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32899         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32900         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32901         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32902         libc_feholdexcept_setround.
32904         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32905         Add s_nearbyint-c and s_nearbyintf-c.
32906         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32907         nearbyintf inlines.
32908         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32909         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32910         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32911         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32913         * math/math_private.h: Define defaults for libc_fegetround,
32914         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32915         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32916         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32917         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32918         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32919         standard functions.
32920         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32921         Remove comments and hacks for old compiler versions.
32922         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32923         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32924         libc_feholdexceptl.
32926 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32928         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32929         (__feraiseexcept_renamed): Add __NTH.
32930         (feraiseexcept): Add __NTH.  Rename local variables to fix
32931         namespace violations.
32933 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32935         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32937         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32939         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32940         recently added interfaces.
32941         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32943         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32944         about macro parameter expansion.
32946         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32947         __NO_MATH_INLINES is defined.  Cleanups.
32949         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32950         and __floorf is target has SSE4.1.
32951         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32952         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32953         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32954         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32956         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32957         name.
32958         (floorf): Likewise.
32960         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32962 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32964         * misc/sys/cdefs.h: Fix last change.
32966         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32967         database lookup.
32969 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32971         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32973         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32974         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32979         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32980         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32981         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32982         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32983         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32984         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32985         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32986         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32987         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32988         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32989         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32991         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32992         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32993         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32994         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32996         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32997         ceil, ceilf, floor, floorf.
32999         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33000         Perform IRELATIVE relocations last.
33002         * elf/do-rel.h: Add another parameter nrelative, replacing the
33003         local variable with the same name.  Change name of the function
33004         to end in Rel or Rela (uppercase).
33005         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33006         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33007         elf_dynamic_do_##reloc function.
33009 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33011         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33012         is sufficient, at least on modern CPUs.
33014         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33016         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33017         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33019         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33020         __expl_finite.
33021         * math/bits/math-finite.h: Add entries for exp.
33022         * math/e_expl.c: Add __*_finite alias.
33023         * sysdeps/i386/fpu/e_exp.S: Likewise.
33024         * sysdeps/i386/fpu/e_expf.S: Likewise.
33025         * sysdeps/i386/fpu/e_expl.c: Likewise.
33026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33027         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33030         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33031         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33032         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33034         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33035         is sufficient, at least on modern CPUs.
33037         * ctype/ctype-info.c (__ctype_init): Define.
33038         * include/ctype.h (__ctype_init): Declare.
33039         (__ctype_b_loc): The variable is always initialized.
33040         (__ctype_toupper_loc): Likewise.
33041         (__ctype_tolower_loc): Likewise.
33042         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33043         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33045 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33047         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33049         * configure.in: Also look in $cxxmachine/include for C++ system
33050         headers.
33052 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33054         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33055         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33056         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33057         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33058         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33059         (USE_AS_WMEMCMP): New macro.
33060         Fixing indents.
33061         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33062         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33063         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33064         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33066         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33067         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33068         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33069         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33070         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33071         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33072         (USE_AS_WMEMCMP): New macro.
33073         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33074         * sysdeps/string/test-memcmp.c: Update.
33075         Fix simple_wmemcmp.
33076         Add new tests.
33077         * wcsmbs/wmemcmp.c: Update.
33078         (WMEMCMP): New macro.
33079         Fix overflow bug.
33081 2011-10-12  Andreas Jaeger  <aj@suse.de>
33083         [BZ #13268]
33084         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33086 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33088         * libio/iofwide.c (do_length): Avoid warning.
33090         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33092 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33094         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33096         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33097         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33098         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33099         * sysdeps/i386/i686/fpu/e_log.S: New file.
33100         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33101         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33103         * ctype/ctype.h: Add support for inlined isXXX functions when
33104         compiling C++ code.
33106 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33108         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33110         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33112 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33114         [BZ #13291]
33115         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33117 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33119         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33120         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33121         feraiseexcept.
33123         * sysdeps/x86_64/memrchr.S: Check for zero size.
33125         * string/stratcliff.c: Add memrchr tests.
33127 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33130         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33131         rawmemchr-sse2 rawmemchr-sse2-bsf.
33132         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33133         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33134         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33135         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33136         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33137         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33138         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33139         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33140         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33141         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33142         * string/memrchr.c (MEMRCHR): New macro.
33144 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33146         Add integration with gcc's -ffinite-math-only and optimize wrapper
33147         functions in libm.
33148         * Versions.def: Define GLIBC_2.15 version for libm.
33149         * math/Makefile (headers): Add bits/math-finite.h.
33150         * math/bits/math-finite.h: New file.
33151         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33152         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33153         * math/e_acoshl.c: Add __*_finite alias.
33154         * math/e_acosl.c: Likewise.
33155         * math/e_asinl.c: Likewise.
33156         * math/e_atan2l.c: Likewise.
33157         * math/e_atanhl.c: Likewise.
33158         * math/e_coshl.c: Likewise.
33159         * math/e_exp10.c: Likewise.
33160         * math/e_exp10f.c: Likewise.
33161         * math/e_exp10l.c: Likewise.
33162         * math/e_exp2l.c: Likewise.
33163         * math/e_fmodl.c: Likewise.
33164         * math/e_gammal_r.c: Likewise.
33165         * math/e_hypotl.c: Likewise.
33166         * math/e_j0l.c: Likewise.
33167         * math/e_j1l.c: Likewise.
33168         * math/e_jnl.c: Likewise.
33169         * math/e_lgammal_r.c: Likewise.
33170         * math/e_log10l.c: Likewise.
33171         * math/e_log2l.c: Likewise.
33172         * math/e_logl.c: Likewise.
33173         * math/e_powl.c: Likewise.
33174         * math/e_sinhl.c: Likewise.
33175         * math/e_sqrtl.c: Likewise.
33176         * math/e_scalb.c: Completely rewritten and optimized.
33177         * math/e_scalbf.c: Likewise.
33178         * math/e_scalbl.c: Likewise.
33179         * math/w_acos.c: Likewise.
33180         * math/w_acosf.c: Likewise.
33181         * math/w_acosl.c: Likewise.
33182         * math/w_acosh.c: Likewise.
33183         * math/w_acoshf.c: Likewise.
33184         * math/w_acoshl.c: Likewise.
33185         * math/w_asin.c: Likewise.
33186         * math/w_asinf.c: Likewise.
33187         * math/w_asinl.c: Likewise.
33188         * math/w_atan2.c: Likewise.
33189         * math/w_atan2f.c: Likewise.
33190         * math/w_atan2l.c: Likewise.
33191         * math/w_atanh.c: Likewise.
33192         * math/w_atanhf.c: Likewise.
33193         * math/w_atanhl.c: Likewise.
33194         * math/w_exp10.c: Likewise.
33195         * math/w_exp10f.c: Likewise.
33196         * math/w_exp10l.c: Likewise.
33197         * math/w_fmod.c: Likewise.
33198         * math/w_fmodf.c: Likewise.
33199         * math/w_fmodl.c: Likewise.
33200         * math/w_j0.c: Likewise.
33201         * math/w_j0f.c: Likewise.
33202         * math/w_j0l.c: Likewise.
33203         * math/w_j1.c: Likewise.
33204         * math/w_j1f.c: Likewise.
33205         * math/w_j1l.c: Likewise.
33206         * math/w_jn.c: Likewise.
33207         * math/w_jnf.c: Likewise.
33208         * math/w_log.c: Likewise.
33209         * math/w_logf.c: Likewise.
33210         * math/w_logl.c: Likewise.
33211         * math/w_log10.c: Likewise.
33212         * math/w_log10f.c: Likewise.
33213         * math/w_log10l.c: Likewise.
33214         * math/w_log2.c: Likewise.
33215         * math/w_log2f.c: Likewise.
33216         * math/w_log2l.c: Likewise.
33217         * math/w_pow.c: Likewise.
33218         * math/w_powf.c: Likewise.
33219         * math/w_powl.c: Likewise.
33220         * math/w_remainder.c: Likewise.
33221         * math/w_remainderf.c: Likewise.
33222         * math/w_remainderl.c: Likewise.
33223         * math/w_scalb.c: Likewise.
33224         * math/w_scalbf.c: Likewise.
33225         * math/w_scalbl.c: Likewise.
33226         * math/w_sqrt.c: Likewise.
33227         * math/w_sqrtf.c: Likewise.
33228         * math/w_sqrtl.c: Likewise.
33229         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33230         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33231         used.
33232         * math/math_private.h: Declare __kernel_standard_f.
33233         * math/w_cosh.c: Remove cruft and optimize a bit.
33234         * math/w_coshf.c: Likewise.
33235         * math/w_coshl.c: Likewise.
33236         * math/w_exp2.c: Likewise.
33237         * math/w_exp2f.c: Likewise.
33238         * math/w_exp2l.c: Likewise.
33239         * math/w_hypot.c: Likewise.
33240         * math/w_hypotf.c: Likewise.
33241         * math/w_hypotl.c: Likewise.
33242         * math/w_lgamma.c: Likewise.
33243         * math/w_lgamma_r.c: Likewise.
33244         * math/w_lgammaf.c: Likewise.
33245         * math/w_lgammaf_r.c: Likewise.
33246         * math/w_lgammal.c: Likewise.
33247         * math/w_lgammal_r.c: Likewise.
33248         * math/w_sinh.c: Likewise.
33249         * math/w_sinhf.c: Likewise.
33250         * math/w_sinhl.c: Likewise.
33251         * math/w_tgamma.c: Likewise.
33252         * math/w_tgammaf.c: Likewise.
33253         * math/w_tgammal.c: Likewise.
33254         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33255         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33256         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33257         Minor optimizations.  Pretty printing.  Remove cruft.
33258         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33259         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33260         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33261         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33262         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33263         * sysdeps/i386/fpu/e_asin.S: Likewise.
33264         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33265         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33266         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33267         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33268         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33269         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33270         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33271         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33272         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33273         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33274         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33275         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33276         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33277         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33278         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33279         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33280         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33281         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33282         * sysdeps/i386/fpu/e_log.S: Likewise.
33283         * sysdeps/i386/fpu/e_log10.S: Likewise.
33284         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33285         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33286         * sysdeps/i386/fpu/e_log2.S: Likewise.
33287         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33288         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33289         * sysdeps/i386/fpu/e_logf.S: Likewise.
33290         * sysdeps/i386/fpu/e_logl.S: Likewise.
33291         * sysdeps/i386/fpu/e_pow.S: Likewise.
33292         * sysdeps/i386/fpu/e_powf.S: Likewise.
33293         * sysdeps/i386/fpu/e_powl.S: Likewise.
33294         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33295         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33296         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33297         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33298         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33299         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33300         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33301         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33302         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33303         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33304         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33306         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33307         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33308         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33309         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33310         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33311         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33312         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33313         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33314         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33316         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33317         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33319         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33320         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33321         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33322         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33323         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33324         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33325         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33326         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33327         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33328         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33329         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33330         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33331         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33332         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33333         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33334         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33335         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33336         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33337         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33338         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33339         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33340         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33341         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33342         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33343         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33344         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33345         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33346         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33347         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33348         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33349         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33350         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33351         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33352         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33353         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33354         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33355         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33358         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33359         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33360         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33361         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33362         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33363         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33364         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33365         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33366         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33367         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33369         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33372         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33373         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33374         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33375         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33376         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33377         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33381         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33382         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33384         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33385         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33386         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33387         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33388         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33389         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33390         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33391         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33392         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33393         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33394         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33395         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33396         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33397         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33398         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33399         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33400         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33401         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33402         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33403         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33404         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33405         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33406         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33407         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33408         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33409         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33410         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33411         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33412         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33413         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33414         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33415         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33416         (__isnanf): Likewise.
33417         (__isinf_ns): Likewise.
33418         (__isinf_nsf): Likewise.
33419         (__finite): Likewise.
33420         (__finitef): Likewise.
33421         (__ieee754_sqrt): Define as macro.
33422         (__ieee754_sqrtf): Define as macro.
33423         (__ieee754_sqrtl): Define as macro.
33424         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33425         inlined copy.
33426         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33427         __FINITE_MATH_ONLY__ consistent.
33428         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33430 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33432         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33433         of rawmemchr.
33435         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33437 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33439         * po/ja.po: Update from translation team.
33441 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33443         * locale/programs/locarchive.c (prepare_address_space): New function.
33444         (create_archive, enlarge_archive, open_archive): Use it.
33446         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33447         inside [SHARED], where it is used.
33449         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33451         * nss/getent.c (netgroup_keys): Remove unused variable.
33452         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33454 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33456         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33457         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33458         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33460         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33461         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33462         * math/Makefile (libm-calls): Add s_isinf_ns.
33463         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33464         * math/multc3.c: Likewise.
33465         * math/s_casin.c: Likewise.
33466         * math/s_casinf.c: Likewise.
33467         * math/s_casinl.c: Likewise.
33468         * math/s_ccos.c: Likewise.
33469         * math/s_ccosf.c: Likewise.
33470         * math/s_ccosl.c: Likewise.
33471         * math/s_ctan.c: Likewise.
33472         * math/s_ctanf.c: Likewise.
33473         * math/s_ctanh.c: Likewise.
33474         * math/s_ctanhf.c: Likewise.
33475         * math/s_ctanhl.c: Likewise.
33476         * math/s_ctanl.c: Likewise.
33477         * math/w_fmod.c: Likewise.
33478         * math/w_fmodf.c: Likewise.
33479         * math/w_fmodl.c: Likewise.
33480         * math/w_remainder.c: Likewise.
33481         * math/w_remainderf.c: Likewise.
33482         * math/w_remainderl.c: Likewise.
33483         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33484         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33486         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33487         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33488         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33489         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33490         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33492         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33493         of the number.
33494         * stdio-common/printf_fphex.c: Likewise.
33495         * stdio-common/printf_size.c: Likewise.
33497         * math/e_exp10.c: Include math_private.h using <...> not "...".
33498         * math/e_exp10f.c: Likewise.
33499         * math/e_exp10l.c: Likewise.
33500         * math/e_exp2l.c: Likewise.
33501         * math/e_j0l.c: Likewise.
33502         * math/e_j1l.c: Likewise.
33503         * math/e_jnl.c: Likewise.
33504         * math/e_lgammal_r.c: Likewise.
33505         * math/e_rem_pio2l.c: Likewise.
33506         * math/e_scalb.c: Likewise.
33507         * math/e_scalbf.c: Likewise.
33508         * math/e_scalbl.c: Likewise.
33509         * math/k_cosl.c: Likewise.
33510         * math/k_sinl.c: Likewise.
33511         * math/k_tanl.c: Likewise.
33512         * math/s_cacoshf.c: Likewise.
33513         * math/s_catan.c: Likewise.
33514         * math/s_catanf.c: Likewise.
33515         * math/s_catanh.c: Likewise.
33516         * math/s_catanhf.c: Likewise.
33517         * math/s_catanhl.c: Likewise.
33518         * math/s_catanl.c: Likewise.
33519         * math/s_ccosh.c: Likewise.
33520         * math/s_ccoshf.c: Likewise.
33521         * math/s_ccoshl.c: Likewise.
33522         * math/s_cexp.c: Likewise.
33523         * math/s_cexpf.c: Likewise.
33524         * math/s_cexpl.c: Likewise.
33525         * math/s_clog.c: Likewise.
33526         * math/s_clog10.c: Likewise.
33527         * math/s_clog10f.c: Likewise.
33528         * math/s_clog10l.c: Likewise.
33529         * math/s_clogf.c: Likewise.
33530         * math/s_clogl.c: Likewise.
33531         * math/s_csin.c: Likewise.
33532         * math/s_csinf.c: Likewise.
33533         * math/s_csinh.c: Likewise.
33534         * math/s_csinhf.c: Likewise.
33535         * math/s_csinhl.c: Likewise.
33536         * math/s_csinl.c: Likewise.
33537         * math/s_csqrt.c: Likewise.
33538         * math/s_csqrtf.c: Likewise.
33539         * math/s_csqrtl.c: Likewise.
33540         * math/s_ctan.c: Likewise.
33541         * math/s_ctanf.c: Likewise.
33542         * math/s_ctanh.c: Likewise.
33543         * math/s_ctanhf.c: Likewise.
33544         * math/s_ctanhl.c: Likewise.
33545         * math/s_ctanl.c: Likewise.
33546         * math/s_ldexp.c: Likewise.
33547         * math/s_ldexpf.c: Likewise.
33548         * math/s_ldexpl.c: Likewise.
33549         * math/s_significand.c: Likewise.
33550         * math/s_significandf.c: Likewise.
33551         * math/s_significandl.c: Likewise.
33552         * math/w_acos.c: Likewise.
33553         * math/w_acosf.c: Likewise.
33554         * math/w_acosh.c: Likewise.
33555         * math/w_acoshf.c: Likewise.
33556         * math/w_acoshl.c: Likewise.
33557         * math/w_acosl.c: Likewise.
33558         * math/w_asin.c: Likewise.
33559         * math/w_asinf.c: Likewise.
33560         * math/w_asinl.c: Likewise.
33561         * math/w_atan2.c: Likewise.
33562         * math/w_atan2f.c: Likewise.
33563         * math/w_atan2l.c: Likewise.
33564         * math/w_atanh.c: Likewise.
33565         * math/w_atanhf.c: Likewise.
33566         * math/w_atanhl.c: Likewise.
33567         * math/w_cosh.c: Likewise.
33568         * math/w_coshf.c: Likewise.
33569         * math/w_coshl.c: Likewise.
33570         * math/w_dremf.c: Likewise.
33571         * math/w_exp10.c: Likewise.
33572         * math/w_exp10f.c: Likewise.
33573         * math/w_exp10l.c: Likewise.
33574         * math/w_exp2.c: Likewise.
33575         * math/w_exp2f.c: Likewise.
33576         * math/w_fmod.c: Likewise.
33577         * math/w_fmodf.c: Likewise.
33578         * math/w_fmodl.c: Likewise.
33579         * math/w_hypot.c: Likewise.
33580         * math/w_hypotf.c: Likewise.
33581         * math/w_hypotl.c: Likewise.
33582         * math/w_j0.c: Likewise.
33583         * math/w_j0f.c: Likewise.
33584         * math/w_j0l.c: Likewise.
33585         * math/w_j1.c: Likewise.
33586         * math/w_j1f.c: Likewise.
33587         * math/w_j1l.c: Likewise.
33588         * math/w_jn.c: Likewise.
33589         * math/w_jnf.c: Likewise.
33590         * math/w_jnl.c: Likewise.
33591         * math/w_lgamma.c: Likewise.
33592         * math/w_lgamma_r.c: Likewise.
33593         * math/w_lgammaf.c: Likewise.
33594         * math/w_lgammaf_r.c: Likewise.
33595         * math/w_lgammal.c: Likewise.
33596         * math/w_lgammal_r.c: Likewise.
33597         * math/w_log.c: Likewise.
33598         * math/w_log10.c: Likewise.
33599         * math/w_log10f.c: Likewise.
33600         * math/w_log10l.c: Likewise.
33601         * math/w_log2.c: Likewise.
33602         * math/w_log2f.c: Likewise.
33603         * math/w_log2l.c: Likewise.
33604         * math/w_logf.c: Likewise.
33605         * math/w_logl.c: Likewise.
33606         * math/w_pow.c: Likewise.
33607         * math/w_powf.c: Likewise.
33608         * math/w_powl.c: Likewise.
33609         * math/w_remainder.c: Likewise.
33610         * math/w_remainderf.c: Likewise.
33611         * math/w_remainderl.c: Likewise.
33612         * math/w_scalb.c: Likewise.
33613         * math/w_scalbf.c: Likewise.
33614         * math/w_scalbl.c: Likewise.
33615         * math/w_sinh.c: Likewise.
33616         * math/w_sinhf.c: Likewise.
33617         * math/w_sinhl.c: Likewise.
33618         * math/w_sqrt.c: Likewise.
33619         * math/w_sqrtf.c: Likewise.
33620         * math/w_sqrtl.c: Likewise.
33621         * math/w_tgamma.c: Likewise.
33622         * math/w_tgammaf.c: Likewise.
33623         * math/w_tgammal.c: Likewise.
33625         * po/ja.po: Update from translation team.
33627 2011-09-29  Andreas Jaeger  <aj@suse.de>
33629         [BZ #13179]
33630         * sunrpc/netname.c (netname2host): Fix logic.
33632         [BZ #6779]
33633         [BZ #6783]
33634         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33635         correctly.
33636         * math/w_remainder.c (__remainder): Likewise.
33637         * math/w_remainderf.c (__remainderf): Likewise.
33638         * math/libm-test.inc (remainder_test): Add test cases.
33640 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33642         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33643         sdiv_qrnnd.
33645 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33647         * string/test-memcmp.c: Avoid unncessary #defines.
33648         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33650 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33652         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33653         Use new sse2 version for core i3 - i7 as it's faster
33654         than sse42 version.
33655         (bit_Prefer_PMINUB_for_stringop): New.
33656         * sysdeps/x86_64/rawmemchr.S: Update.
33657         Replace with faster SSE2 version.
33658         * sysdeps/x86_64/memrchr.S: New file.
33659         * sysdeps/x86_64/memchr.S: Update.
33660         Replace with faster SSE2 version.
33662 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33664         * elf/dl-load.c (lose): Add cast to avoid warning.
33666 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33668         * po/ca.po: Update from translation team.
33670         * inet/getnetgrent_r.c: Hook up nscd.
33671         * nscd/Makefile (routines): Add nscd_netgroup.
33672         (nscd-modules): Add netgroupcache.
33673         (CFLAGS-netgroupcache.c): Define.
33674         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33675         (cache_search): Add const to second parameter.
33676         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33677         INNETGR.
33678         (dbs): Add netgrdb entry.
33679         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33680         (verify_persistent_db): Handle netgrdb.
33681         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33682         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33683         GETFDNETGR.
33684         (netgroup_response_header): Define.
33685         (innetgroup_response_header): Define.
33686         (datahead): Add netgroup_response_header and innetgroup_response_header
33687         elements.
33688         * nscd/nscd.conf: Add entries for netgroup cache.
33689         * nscd/nscd.h (dbtype): Add netgrdb.
33690         (_PATH_NSCD_NETGROUP_DB): Define.
33691         (netgroup_iov_disabled): Declare.
33692         (xmalloc, xcalloc, xrealloc): Move declarations here.
33693         (cache_search): Adjust prototype.
33694         Add netgroup-related prototypes.
33695         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33696         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33697         (__nscd_innetgr): Declare.
33698         * nscd/selinux.c (perms): Use access_vector_t as element type and
33699         add netgroup-related initializers.
33700         * nscd/netgroupcache.c: New file.
33701         * nscd/nscd_netgroup.c: New file.
33702         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33703         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33704         For four parameters use innetgr.
33705         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33706         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33707         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33708         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33710         * nscd/connections.c (register_traced_file): Don't register file
33711         for disabled databases.
33713 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33715         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33717         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33718         from tree and freeing node.
33720 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33722         * nss/nsswitch.c (__nss_database_lookup): Handle
33723         nss_parse_service_list out of memory case.
33725 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33727         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33728         out of memory case.
33730 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33732         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33733         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33734         pass it down.
33735         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33736         elf_machine_rela, elf_machine_lazy_rel.
33737         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33738         (ELF_DYNAMIC_DO_REL): Likewise.
33739         (ELF_DYNAMIC_DO_RELA): Likewise.
33740         (ELF_DYNAMIC_RELOCATE): Likewise.
33741         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33742         to ELF_DYNAMIC_DO_REL.
33743         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33744         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33745         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33746         elf_machine_rela.
33747         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33748         skip_ifunc, don't call ifunc function if non-zero.
33749         (elf_machine_rela): Likewise.
33750         (elf_machine_lazy_rel): Likewise.
33751         (elf_machine_lazy_rela): Likewise.
33752         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33753         (elf_machine_lazy_rel): Likewise.
33754         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33755         Likewise.
33756         (elf_machine_lazy_rel): Likewise.
33757         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33758         Likewise.
33759         (elf_machine_lazy_rel): Likewise.
33760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33761         (elf_machine_lazy_rel): Likewise.
33762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33763         (elf_machine_lazy_rel): Likewise.
33764         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33765         (elf_machine_lazy_rel): Likewise.
33766         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33767         (elf_machine_lazy_rel): Likewise.
33768         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33769         (elf_machine_lazy_rel): Likewise.
33770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33771         (elf_machine_lazy_rel): Likewise.
33773 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33775         * nss/nss_files/files-init.c (_nss_files_init): Use static
33776         initialization for all the *_traced_file variables.
33778 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33780         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33782 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33784         [BZ #13226]
33785         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33787 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33790         Reread the line before reparsing it.
33792 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33794         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33796 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33797             Maxim Kuvyrkov  <maxim@codesourcery.com>
33798             Joseph Myers  <joseph@codesourcery.com>
33800         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33801         if needed for __stack_chk_guard.
33803 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33805         * sysdeps/posix/spawni.c (script_execute): Always define it.
33806         It will be optimized away if unused.
33807         (maybe_script_execute): New function.
33808         (__spawni): Call it.
33810         * Makerules: Don't include tls.make.
33811         (config-tls): Always set to thread.
33812         * tls.make.c: File removed.
33814 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33816         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33817         * config.make.in (CPPFLAGS-config): New substituted variable.
33819 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33821         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33823         [BZ #13192]
33824         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33825         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33827 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33829         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33830         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33831         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33832         (CALL_FAIL): Likewise.
33833         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33834         (CALL_FAIL): Macro removed.
33835         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33837 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33839         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33840         for __FINITE_MATH_ONLY__ == 1.
33842 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33844         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33845         __ieee754_sqrt instead of sqrt.
33846         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33847         __ieee754_sqrtf instead of sqrtf.
33848         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33849         __floorf instead of floorf.
33850         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33851         __floorf, __truncf instead of floorf, truncf.
33853 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33855         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33857         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33858         __extern_always_inline.
33859         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33860         32-bit.
33862 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33864         * elf/rtld.c (dl_main): Also relocate in dependency order when
33865         doing symbol dependency testing.
33867 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33870         Always define `refsym'.
33872 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33874         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33875         (__FD_ELT): Renamed from __FDELT.
33876         * misc/bits/select2.h (__FD_ELT): Likewise.
33877         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33878         __FD_MASK instead of __FDELT, __FDMASK.
33879         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33880         Likewise.
33881         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33882         Likewise.
33884         * elf/Makefile (gen-ldd): Fix pattern.
33886         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33887         (init_tls): Likewise.
33889 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33893 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33895         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33896         `struct cmsghdr *' instead of `void *'.
33897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33898         Likewise.
33900 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33902         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33903         if non-absolute.
33904         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33905         ldd_rewrite_script.
33907 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33909         * configure.in: Remove --with-tls option.
33910         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33911         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33912         out in case it is missing.
33913         * sysdeps/ia64/elf/configure.in: Likewise.
33914         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33915         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33916         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33917         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33918         * sysdeps/sh/elf/configure.in: Likewise.
33919         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33920         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33921         * sysdeps/x86_64/elf/configure.in: Likewise.
33922         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33923         * sysdeps/mach/hurd/tls.h: Likewise.
33925         [BZ #13067]
33926         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33928         [BZ #13090]
33929         * configure.in: Fix use of AC_INIT.
33931         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33933 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33935         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33936         __set_errno.
33937         * malloc/hooks.c: Likewise.
33939         [BZ #11929]
33940         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33941         variables statically.
33942         (narenas): Initialize.
33943         (list_lock): Initialize.
33944         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33945         initializtion of main_arena and list_lock.  Small cleanups.
33946         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33947         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33948         Add initializers to main_arena and mp_.
33949         (malloc_state): Remove pagesize member.  Change all users to use
33950         GLRO(dl_pagesize).
33952         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33953         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33954         is always initialized.
33956         * malloc/malloc.c: Removed unused configurations and dead code.
33957         * malloc/arena.c: Likewise.
33958         * malloc/hooks.c: Likewise.
33959         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33961         * include/tls.h: Removed.  USE___THREAD must always be defined.
33962         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33963         * elf/dl-libc.c: Likewise.
33964         * elf/dl-tsd.c: Likewise.
33965         * include/errno.h: Likewise.
33966         * include/netdb.h: Likewise.
33967         * include/resolv.h: Likewise.
33968         * inet/herrno-loc.c: Likewise.
33969         * inet/herrno.c: Likewise.
33970         * malloc/arena.c: Likewise.
33971         * malloc/hooks.c: Likewise.
33972         * malloc/malloc.c: Likewise.
33973         * resolv/res-state.c: Likewise.
33974         * resolv/res_libc.c: Likewise.
33975         * sysdeps/i386/dl-machine.h: Likewise.
33976         * sysdeps/ia64/dl-machine.h: Likewise.
33977         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33978         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33979         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33980         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33981         * sysdeps/sh/dl-machine.h: Likewise.
33982         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33983         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33984         * sysdeps/unix/i386/sysdep.S: Likewise.
33985         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33986         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33991         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33995         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33996         * sysdeps/x86_64/dl-machine.h: Likewise.
33997         * tls.make.c: Likewise.
33999         * configure.in: Remove --with-__thread option.  Make tests for
34000         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34001         tls_model attribute fail if no support is available.  Remove
34002         USE_IN_LIBIO.
34003         * Makeconfig: Adjust for dropped configure option.  All features are
34004         now mandatory.
34005         * Makerules: Likewise.
34006         * Versions.def: Likewise.
34007         * argp/argp-fmtstream.c: Likewise.
34008         * argp/argp-fmtstream.h: Likewise.
34009         * argp/argp-help.c: Likewise.
34010         * assert/assert.c: Likewise.
34011         * config.h.in: Likewise.
34012         * config.make.in: Likewise.
34013         * configure: Likewise.
34014         * configure.in: Likewise.
34015         * csu/Versions: Likewise.
34016         * csu/init.c: Likewise.
34017         * elf/tst-audit2.c: Likewise.
34018         * elf/tst-tls10.c: Likewise.
34019         * elf/tst-tls10.h: Likewise.
34020         * elf/tst-tls11.c: Likewise.
34021         * elf/tst-tls12.c: Likewise.
34022         * elf/tst-tls14.c: Likewise.
34023         * elf/tst-tlsmod11.c: Likewise.
34024         * elf/tst-tlsmod12.c: Likewise.
34025         * elf/tst-tlsmod13.c: Likewise.
34026         * elf/tst-tlsmod13a.c: Likewise.
34027         * elf/tst-tlsmod14a.c: Likewise.
34028         * elf/tst-tlsmod15b.c: Likewise.
34029         * elf/tst-tlsmod16a.c: Likewise.
34030         * elf/tst-tlsmod16b.c: Likewise.
34031         * elf/tst-tlsmod7.c: Likewise.
34032         * elf/tst-tlsmod8.c: Likewise.
34033         * elf/tst-tlsmod9.c: Likewise.
34034         * gmon/gmon.c: Likewise.
34035         * grp/fgetgrent_r.c: Likewise.
34036         * grp/putgrent.c: Likewise.
34037         * hurd/fopenport.c: Likewise.
34038         * include/libc-symbols.h: Likewise.
34039         * include/tls.h: Likewise.
34040         * intl/gettextP.h: Likewise.
34041         * intl/loadinfo.h: Likewise.
34042         * locale/global-locale.c: Likewise.
34043         * locale/localeinfo.h: Likewise.
34044         * mach/devstream.c: Likewise.
34045         * malloc/arena.c: Likewise.
34046         * malloc/set-freeres.c: Likewise.
34047         * misc/err.c: Likewise.
34048         * misc/getttyent.c: Likewise.
34049         * misc/mntent_r.c: Likewise.
34050         * posix/getopt.c: Likewise.
34051         * posix/wordexp.c: Likewise.
34052         * pwd/fgetpwent_r.c: Likewise.
34053         * resolv/Versions: Likewise.
34054         * resolv/res_hconf.c: Likewise.
34055         * shadow/fgetspent_r.c: Likewise.
34056         * shadow/putspent.c: Likewise.
34057         * stdio-common/printf_fphex.c: Likewise.
34058         * stdio-common/tmpfile.c: Likewise.
34059         * stdlib/abort.c: Likewise.
34060         * stdlib/fmtmsg.c: Likewise.
34061         * sunrpc/auth_unix.c: Likewise.
34062         * sunrpc/clnt_perr.c: Likewise.
34063         * sunrpc/clnt_tcp.c: Likewise.
34064         * sunrpc/clnt_udp.c: Likewise.
34065         * sunrpc/clnt_unix.c: Likewise.
34066         * sunrpc/openchild.c: Likewise.
34067         * sunrpc/svc_simple.c: Likewise.
34068         * sunrpc/svc_tcp.c: Likewise.
34069         * sunrpc/svc_udp.c: Likewise.
34070         * sunrpc/svc_unix.c: Likewise.
34071         * sunrpc/xdr.c: Likewise.
34072         * sunrpc/xdr_array.c: Likewise.
34073         * sunrpc/xdr_rec.c: Likewise.
34074         * sunrpc/xdr_ref.c: Likewise.
34075         * sunrpc/xdr_stdio.c: Likewise.
34077 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34079         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34081 2011-07-03  Andreas Jaeger  <aj@suse.de>
34083         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34084         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34085         regenerate with gen-libm-tests.pl.
34087 2010-05-12  Petr Baudis  <pasky@suse.cz>
34089         [BZ #11589]
34090         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34091         around j0() zero points by switching to j1().
34092         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34093         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34095         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34097 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34099         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34100         instead of 0.
34101         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34102         instead of 0.
34103         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34104         Patch in part by Pavel Roskin <proski@gnu.org>.
34106         [BZ #13138]
34107         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34108         realloc.
34109         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34110         Free memory block if necessary.
34112         [BZ #12847]
34113         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34114         be NULL.  Don't lock in this case.
34116 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34118         * elf/elf.h (ELFOSABI_GNU): New macro.
34119         (ELFOSABI_LINUX): Define to that.
34121 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34123         * string/strncat.c (strncat): Undef the symbol in case it has been
34124         defined in bits/string.h.
34126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34128         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34130         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34131         link map.
34133 2011-08-17  Andreas Jaeger  <aj@suse.de>
34135         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34137 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34138             Ian Lance Taylor  <iant@google.com>
34140         * math/libm-test.inc (lround_test): New testcase.
34141         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34143 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34145         * Makefile: Remove support for automatic cvs check-ins.
34146         * Makerules: Likewise.
34147         * config.make.in: Likewise.
34148         * configure.in: Likewise.
34149         * intl/Makefile: Likewise.
34150         * locale/Makefile: Likewise.
34151         * po/Makefile: Likewise.
34152         * posix/Makefile: Likewise.
34153         * sysdeps/gnu/Makefile: Likewise.
34154         * sysdeps/mach/hurd/Makefile: Likewise.
34155         * sysdeps/sparc/sparc32/Makefile: Likewise.
34157         [BZ #13118]
34158         * posix/Makefile (bug-regex32-ENV): Define.
34159         Patch by John Stanley <jpsinthemix@verizon.net>.
34161         * misc/Makefile (headers): Add bits/select2.h.
34162         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34163         * misc/bits/select2.h: New file.
34164         * include/bits/select2.h: New file.
34165         * debug/Makefile (routines): Add fdelt_chk.
34166         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34167         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34168         FD_ISSET.
34169         * debug/fdelt_chk.c: New file.
34171         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34172         * wcsmbs/test-wmemcmp.c: Likewise.
34173         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34174         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34176 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34178         * string/Makefile (strop-tests): Add memcmp.
34179         * string/test-wmemcmp.c: New file.
34180         * string/test-memcmp.c: Add wmemcmp support.
34182 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34184         [BZ #13153]
34185         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34186         2011-07-19 change.
34188         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34189         garbage value in a __mach_port_mod_refs call in the cases of the
34190         task-self and thread-self ports.
34192 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34194         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34196 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34198         * elf/dl-load.c (lose): Check for non-null L.
34200 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34202         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34204         * elf/dl-libc.c (dlerror_run): Pass back error code from
34205         dl_catch_error.
34207         [BZ #13123]
34208         * elf/dl-load.c (lose): Free l_origin if it is valid.
34210         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34211         names.
34212         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34213         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34214         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34215         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34216         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34217         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34219 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34221         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34222         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34223         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34224         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34225         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34226         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34227         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34228         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34229         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34230         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34232 2011-08-15  Alan Modra  <amodra@gmail.com>
34234         [BZ #13092]
34235         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34236         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34237         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34238         ppc_mcount to static-only-routines.
34239         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34240         __mcount_internal.
34241         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34242         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34244 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34246         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34247         for finite and infinity parameters.
34249 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34251         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34252         and add nop instructions for throughput optimization.
34253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34255 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34258         aligned copy for power7 with vector-scalar instructions.
34259         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34261 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34264         AVX check.
34266 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34268         [BZ #13144]
34269         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34270         last change.
34272 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34274         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34275         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34276         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34277         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34278         clock_gettime.
34280 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34282         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34283         Forgot to demangle the pointer.
34285         * sysdeps/i386/sysdep.h: Define atom_text_section.
34286         * sysdeps/x86_64/sysdep.h: Likewise.
34287         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34288         section with atom_text_section.
34289         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34290         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34291         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34292         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34293         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34295         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34296         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34297         already be defined.  Change to take two parameters and don't assign
34298         result to variable.  Adjust all users.
34299         Define INTERNAL_GETTIME if not already defined.
34300         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34301         call.
34302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34303         HAVE_CLOCK_GETTIME_VSYSCALL.
34304         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34307         gettimeofday vsyscall, just use time.
34309 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34312         <errno.h>.
34314 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34316         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34317         syscall on x86-64.
34318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34319         syscall.
34320         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34322         syscall if possible.
34324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34326         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34327         e_ident.  Don't pass to find_mapsXX.
34328         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34330 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34333         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34334         * sysdeps/x86_64/multiarch/strchr.S: Update.
34335         Check bit_slow_BSF bit.
34336         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34337         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34338         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34340 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34342         [BZ #13134]
34343         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34344         before glibc 2.15.
34345         (tryshell): Define.
34346         (__spawni): Change last parameter to be flag.  Test
34347         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34348         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34349         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34350         * posix/spawni.c: Likewise.
34351         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34352         * posix/spawnp.c: Likewise.  Change normal version to use
34353         SPAWN_XFLAGS_USE_PATH.
34354         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34355         SPAWN_XFLAGS_TRY_SHELL.
34357         [BZ #13150]
34358         * posix/glob.h: Remove gcc 1.x support.
34360         [BZ #13068]
34361         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34363 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34365         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34366         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34367         strrchr-sse2-bsf
34368         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34369         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34370         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34371         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34372         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34373         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34375 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34377         * sysdeps/x86_64/wcscmp.S: New file.
34379         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34380         wcscmp-c wcscmp-sse2
34381         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34382         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34383         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34384         * wcsmbs/wcscmp.c: Allow renaming.
34386 2011-09-05  David S. Miller  <davem@davemloft.net>
34388         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34389         stack slot, rather than the struct return pointer slot.
34390         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34391         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34393         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34397         * po/ja.po: Update from translation team.
34399         [BZ #13144]
34400         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34401         kernel in 64-bit binaries.
34403 2011-09-01  David S. Miller  <davem@davemloft.net>
34405         * elf/elf.h (HWCAP_SPARC_*): Move to..
34406         * sysdeps/sparc/sysdep.h: this new file and add new values.
34407         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34408         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34409         _DL_HWCAP_COUNT to 24.
34410         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34411         entries.
34412         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34413         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34414         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34416         instead of magic constants.
34417         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34419 2011-08-31  David S. Miller  <davem@davemloft.net>
34421         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34423         Reimplement to do errno handling inline.
34424         (SYSCALL_ERROR_HANDLER): New macro.
34425         (__SYSCALL_STRING): Do not do errno handling in asm.
34426         (__CLONE_SYSCALL_STRING): Delete.
34427         (__INTERNAL_SYSCALL_STRING): Delete.
34428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34429         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34430         (PSEUDO): Reimplement to do errno handling inline.
34431         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34432         (SYSCALL_ERROR_HANDLER): New macro.
34433         (__SYSCALL_STRING): Do not do errno handling in asm.
34434         (__CLONE_SYSCALL_STRING): Delete.
34435         (__INTERNAL_SYSCALL_STRING): Delete.
34436         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34437         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34438         i386.
34439         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34440         (inline_syscall*): Add 'err' argument.
34441         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34442         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34443         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34444         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34446         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34447         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34449 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34451         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34453 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34455         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34456         directive.
34458 2011-08-24  David S. Miller  <davem@davemloft.net>
34460         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34462 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34464         * elf/Makefile: Add rules to build and run unload8 test.
34465         * elf/unload8.c: New file.
34466         * elf/unload8mod1.c: New file.
34467         * elf/unload8mod1x.c: New file.
34468         * elf/unload8mod2.c: New file.
34469         * elf/unload8mod3.c: New file.
34471         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34472         it wasn't used.
34474 2011-08-23  David S. Miller  <davem@davemloft.net>
34476         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34477         subtract stack bias.
34478         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34479         %sp not %fp in calculations.
34480         (_JMPBUF_UNWINDS_ADJ): Likewise.
34482         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34483         (aio_suspend): Call it to force an exception region around the
34484         AIO_MISC_WAIT() invocation.
34486 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34488         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34489         backslash.
34491 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34493         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34494         protection macro.
34495         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34496         and <dl-machine.h>.
34497         (Elf64_FuncDesc): Remove.
34499 2011-08-22  David S. Miller  <davem@davemloft.net>
34501         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34502         sigaltstack check, add missing cfi directives.
34503         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34504         missing cfi directives, and sigaltstack handling.
34506 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34508         [BZ #11724]
34509         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34510         object is seen twice.
34511         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34513         * elf/Makefile (distribute): Add tst-initorder2.c.
34514         (tests): Add tst-initorder2.
34515         (modules-names): Add tst-initorder2a tst-initorder2b
34516         tst-initorder2c tst-initorder2d.  Add rules to build them.
34517         ($(objpfx)tst-initorder2.out): New rule.
34518         * elf/tst-initorder2.c: New file.
34519         * elf/tst-initorder2.exp: New file.
34521 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34523         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34525         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34526         dependencies back to end of function.
34528         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34529         $(elfobjdir)/ld.so.
34531 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34534         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34535         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34536         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34537         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34538         of __vdso_gettimeofday.
34539         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34540         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34541         attribute_hidden.
34542         (_libc_vdso_platform_setup): Remove initialization of
34543         __vdso_gettimeofday and __vdso_time.
34545 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34547         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34548         and fgetc_unlocked.
34549         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34550         getc_unlocked.
34552         * elf/dl-open.c (add_to_global): Report additions to the global scope
34553         for LD_DEBUG=scopes.
34554         (dl_open_worker): Also print scope of newly loaded dependencies.
34555         (_dl_show_scope): Indicate if there is no scope.
34557         [BZ #13114]
34558         * stdio-common/Makefile (tests): Add bug24.
34559         * stdio-common/bug24.c: New file.
34561 2011-08-19  Andreas Jaeger  <aj@suse.de>
34563         [BZ #13114]
34564         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34565         non-existant file when using close-on-exec mode.
34567 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34570         the very first instruction.
34572         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34573         the CFI state in the end.
34574         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34575         inclusion of dl-trampoline.h.
34576         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34578 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34580         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34581         expectations for long double.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34584         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34586 2011-08-14  David S. Miller  <davem@davemloft.net>
34588         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34589         artificual limit depends upon the system page size.
34591 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34593         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34594         * resolv/Makefile: Define CFLAGS-libresolv.
34596 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34598         * nss/makedb.c (compute_tables): Make variables used in nested
34599         function static.
34601 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34603         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34604         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34605         if buffer was too small.
34607         * elf/pldd.c (main): Attach to all threads in the process.
34608         Rewrite /proc handling to use *at functions.
34610 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34612         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34613         specifies first scope to show.
34614         (dl_open_worker): Update callers.  Move printing scope of new
34615         object to before the relocation.
34616         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34617         * sysdeps/generic/ldsodefs.h: Update declaration.
34619         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34620         string for the scope number.
34622 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34624         * nscd/servicescache.c (cache_addserv): Make sure written is always
34625         initialized.
34627 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34629         * sysdeps/i386/i486/bits/atomic.h
34630         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34631         statement expression, so as to suppress "set but not used" warning.
34632         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34634         * string/strncat.c (STRNCAT): Use prototype definition.
34636         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34637         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34638         -Iprograms here.
34639         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34640         (localedef-modules): Add localedef.
34641         (locale-modules): Add locale.
34643         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34644         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34645         to avoid a warning.
34647 2011-08-14  David S. Miller  <davem@davemloft.net>
34649         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34650         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34652 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34654         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34655         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34656         * elf/rtld.c (dl_main): Set l_name of vDSO.
34657         Call _dl_show_scope when DL_DEBUG_SCOPES.
34658         (process_dl_debug): Recognize scopes flag and also set it for all.
34659         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34660         Declare _dl_show_scope.
34662         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34663         (do_dlopen): Pass caller_dlopen to dl_open.
34664         (__libc_dlopen_mode): Initialize caller_dlopen.
34666         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34667         of libc.  Make tolower call locale-independent.  Optimize a bit by
34668         using isdigit instead of isalnum.
34669         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34671 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34673         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34674         was a dependency or dynamically loaded.
34676 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34678         * intl/l10nflist.c: Allow architecture-specific pop function.
34679         * sysdeps/x86_64/l10nflist.c: New file.
34681         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34682         classification.
34684 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34686         * include/dirent.h: Add libc_hidden_proto for scandirat and
34687         scandirat64.  Don't declare __scandirat64.
34688         * dirent/scandirat.c: Add libc_hidden_def.
34689         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34690         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34692 2011-08-10  David S. Miller  <davem@davemloft.net>
34694         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34695         enum.
34696         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34698         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34700 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34702         * Versions.def [libc]: Add GLIBC_2.15.
34703         * dirent/Makefile (routines): Add scandirat and scandirat64.
34704         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34705         GLIBC_2.15.
34706         * dirent/dirent.h: Declare scandirat and scandirat64.
34707         * dirent/scandirat.c: New file.
34708         * dirent/scandirat64.c: New file.
34709         * sysdeps/wordsize-64/scandirat.c: New file.
34710         * sysdeps/wordsize-64/scandirat64.c: New file.
34711         * dirent/opendir.c: Define opendirat.
34712         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34713         using scandirat.
34714         * dirent/scandir64.c: Adjust for scandir.c change.
34715         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34716         __scandirat64, and __scandir_cancel_handler.
34717         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34718         additional parameter and use openat instead of open (outside of ld.so).
34719         Add new __opendir as wrapper around __opendirat.
34720         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34721         here without requiring old scandirat implementation.
34723 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34725         * dirent/scandir.c (cancel_handler): Renamed to
34726         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34727         defined.  Adjust users.
34728         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34729         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34731 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34733         * string/test-string.h (IMPL): Use __STRING to expand name and then
34734         stringify it.
34736         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34737         of cleanups.
34739 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34741         * string/Makefile: Update.
34742         (strop-tests): Append strncat.
34743         * string/test-wcscmp.c: New file.
34744         New comprehensive test for wcscmp.
34745         * string/test-strcmp.c: Update.
34746         (WIDE): New define.
34748 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34750         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34751         line.
34753 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34756         encoding to ACE if AI_IDN.
34758 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34760         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34761         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34763 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34765         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34766         Fix overflow bug in strncat.
34767         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34769         * string/test-strncat.c: Update.
34770         Add new tests for checking overflow bugs.
34772 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34775         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34776         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34777         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34778         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34779         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34780         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34781         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34782         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34785         (USE_AS_STRCAT): Define.
34786         Add strcat and strncat support.
34787         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34789 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34791         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34792         __n bigger than INT_MAX+1.
34793         (__strncmp_g): Likewise.
34795 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34797         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34798         * libio/stido.h: Likewise.
34800         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34801         (AF_NFC): Define.
34802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34803         (AF_NFC): Define.
34805         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34806         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34807         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34808         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34811         [BZ #13021]
34812         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34813         installed.
34815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34816         typo.
34817         (_dl_x86_64_save_sse): Likewise.
34819 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34822         OSXSAVE.
34823         (_dl_x86_64_save_sse): Likewise.
34825         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34827         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34829 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34831         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34832         change.
34833         (_dl_x86_64_save_sse): Use correct AVX check.
34835 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34837         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34838         bug in strncpy/strncat.
34839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34841 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34843         * string/tester.c (test_strcat): Add tests for different alignments
34844         of source and destination.
34845         (test_strncat): Likewise.
34847 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34849         [BZ #12852]
34850         * posix/glob.c (glob): Check passed in values before using them in
34851         expressions to avoid some overflows.
34852         (glob_in_dir): Likewise.
34854         [BZ #13007]
34855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34856         check for AVX enablement so that we don't crash with old kernels and
34857         new hardware.
34858         * elf/tst-audit4.c: Add same checks here.
34859         * elf/tst-audit6.c: Likewise.
34861         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34863 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34865         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34867 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34869         * po/cs.po: Update from translation team.
34870         * po/bg.po: Likewise.
34872 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34874         * misc/sys/cdefs.h: Add support for const attribute.
34875         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34876         to gnu_dev_{major,minor,makedev} functions.
34878 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34880         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34882 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34884         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34885         strlen results.
34887 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34890         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34891         register in order to avoid conflicts with the soft frame pointer
34892         being held in r11 when necessary.
34893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34894         (INTERNAL_VSYSCALL_NCS): Likewise.
34896 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34898         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34899         * elf/dl-fini.c (_dl_fini): Adjust caller.
34900         * elf/dl-close.c (_dl_close_worker): Likewise.
34901         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34903 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34905         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34906         "aux_cache->nlibs < 0".
34908         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34909         in the reload-count case.
34911 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34914         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34915         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34916         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34917         * sysdeps/x86_64/multiarch/strcat.S: New file.
34918         * sysdeps/x86_64/multiarch/strncat.S: New file.
34919         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34920         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34921         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34922         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34924         (USE_AS_STRCAT): Define.
34925         Add strcat and strncat support.
34926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34927         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34928         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34929         * string/strncat.c: Update.
34930         (USE_AS_STRNCAT): Define.
34931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34932         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34933         and i7.
34934         * sysdeps/x86_64/multiarch/init-arch.h
34935         (bit_Prefer_PMINUB_for_stringop): New.
34936         (index_Prefer_PMINUB_for_stringop): Likewise.
34937         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34938         bit_Prefer_PMINUB_for_stringop.
34940 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34942         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34943         buffer64.
34944         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34945         of casting of buffer.
34946         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34947         buffer32 and buffer64.
34948         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34949         writes instead of casting of buffer.
34950         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34951         buffer32.
34952         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34953         casting of buffer.
34955 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34957         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34959 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34961         * nscd/nscd.c (termination_handler): Don't do anything for a database
34962         if it has not yet been initialized.
34964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34966         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34968 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34970         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34972 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34974         * po/nl.po: Update from translation team.
34975         * po/sv.po: Likewise.
34977 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34979         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34980         now disallowed by GCC.
34982         * configure.in (use-default-link): Default to yes if a test -shared
34983         link meets our qualifications.
34984         * configure: Regenerated.
34986         * config.make.in (output-format): New variable.
34987         * configure.in: Check for ld --print-output-format support.
34988         * configure: Regenerated.
34989         * Makerules ($(common-objpfx)format.lds)
34990         [$(output-format) != unknown]: Just use $(output-format),
34991         instead of the linker-script munging.
34993 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34995         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34996         of $(common-objpfx)shlib.lds.
34997         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34999         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35000         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35002         * configure.in (-z relro check): Adjust test code to add a large
35003         writable data section after it.
35004         * configure: Regenerated.
35006 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35008         * configure.in (-z relro check): Fix test code to make the variable
35009         truly const.
35010         * configure: Regenerated.
35012 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35014         * nscd/nscd.h (struct traced_file): Define.
35015         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35016         elements.  Add traced_files.
35017         (inotify_fd): Declare.
35018         (register_traced_file): Declare.
35019         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35020         (inotify_fd): Export.
35021         (resolv_conf_descr): Remove.
35022         (nscd_init): Move inotify descriptor creation to main.
35023         Don't register files for notification here.
35024         (register_traced_file): New function.
35025         (invalidate_cache): Don't use reset_res to determine whether to call
35026         res_init, go through the list of registered files.
35027         (main_loop_poll): The inotify descriptors are now stored in the
35028         structures for the traced files.
35029         (main_loop_epoll): Likewise
35030         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35031         to __nss_disable_nscd.
35032         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35033         for a database anymore.  Check the records for all the registered
35034         files instead.
35035         * nss/Makefile (libnss_files-routines): Add files-init.
35036         (libnss_db-routines): Add db-init.
35037         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35038         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35039         * nss/nss_db/db-init.c: New file.
35040         * nss/nss_files/files-init.c: New file.
35041         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35042         __nss_lookup_function.
35043         (__nss_lookup_function): Call nss_load_library.
35044         (nss_load_all_libraries): New function.
35045         (__nss_disable_nscd): Take parameter with callback function for files
35046         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35047         used for the cached services.
35048         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35049         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35050         options for features to all the files in nscd.
35052         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35054 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35056         * csu/elf-init.c (__libc_csu_init): Comment typo.
35058 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35060         * po/pl.po: Update from translation team.
35061         * po/ja.po: Likewise.
35062         * po/ru.po: Likewise.
35063         * po/ko.po: Likewise.
35064         * po/fr.po: Likewise.
35066 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35068         * configure.in (.ctors/.dtors header and trailer check):
35069         Use an empirical test on a built program.
35070         * configure: Regenerated.
35072         * configure.in (-z relro check): Use an empirical test on a built DSO.
35073         Detect, but do not require, on ia64.
35074         * configure: Regenerated.
35076         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35077         Update tests that use readelf to use $READELF instead.
35078         * configure: Regenerated.
35080 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35082         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35083         if the result is not used.
35085 2011-07-05  Andreas Jaeger  <aj@suse.de>
35087         [BZ#9696]
35088         * stdlib/tst-strtod.c: Add testcase.
35090 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35092         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35093         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35094         The latter has a higher limit.  Take additional parameter to pass to
35095         the new function.
35096         (__pathconf): Pass file to __statfs_link_max.
35097         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35098         __statfs_link_max.
35099         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35100         __statfs_link_max.
35102         [BZ #12868]
35103         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35104         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35105         Handle Lustre.
35106         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35107         (__statfs_filesize_max): Likewise.
35108         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35110 2011-07-05  Andreas Jaeger  <aj@suse.de>
35112         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35114 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35116         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35117         `status' variable.
35118         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35119         Likewise.
35121 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35123         * Makefile (strop-tests): Add strncat.
35124         * string/test-strncat.c: New file.
35126 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35128         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35130 2011-06-21  Andreas Jaeger  <aj@suse.de>
35132         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35133         Copy rule from iconvdata/Makefile.
35135 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35137         [BZ #12922]
35138         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35139         but no long options are defined, just return 'W'.
35141 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35143         [BZ #9696]
35144         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35146 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35148         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35149         netgroups to read.
35150         (innetgr): Likewise.
35152 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35154         * config.make.in (install_root): Default to $(DESTDIR).
35156 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35158         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35160 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35162         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35164         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35165         containing directory rather than embedding absolute directory names.
35167         * scripts/check-local-headers.sh: Rewritten using awk.
35168         Match by word, not by line.  Print error messages for matches.
35169         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35171         * Makerules [shlib-lds-flags empty]:
35172         ($(common-objpfx)libc_pic.opts): New target.
35173         ($(common-objpfx)libc_pic.os.clean): New target.
35174         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35176         * config.make.in (OBJCOPY): New variable.
35177         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35178         * configure: Regenerated.
35180         * config.make.in (use-default-link): New variable.
35181         * configure.in (use_default_link): Grok --with-default-link to set it.
35182         * configure: Regenerated.
35183         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35184         (shlib-lds, shlib-lds-flags): Define to empty.
35186         * Makerules (shlib-lds): New variable.
35187         (shlib-lds-flags): New variable.
35188         (build-shlib, build-moduile, build-module-asneeded): Use it.
35189         ($(common-objpfx)libc.so): Use $(shlib-lds).
35190         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35191         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35193         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35194         DT_FLAGS/DT_FLAGS_1 with zero flags.
35196         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35197         linker script munging.
35199 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35201         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35202         as 128-bit value.
35203         * crypt/sha512.c (sha512_process_block): Perform total addition using
35204         128-bit if possible.
35205         (__sha512_finish_ctx): Likewise.
35206         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35207         as 64-bit value.
35208         * crypt/sha256.c (SWAP64): Define.
35209         (sha256_process_block): Perform total addition using 64-bit if
35210         possible.
35211         (__sha256_finish_ctx): Likewise.
35213 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35215         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35217         * nscd/hstcache.c (cache_addhst): Likewise.
35218         * nscd/grpcache.c (cache_addgr): Likewise.
35219         * nscd/aicache.c (addhstaiX): Likewise
35220         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35222 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35224         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35226         * nscd/hstcache.c (cache_addhst): Likewise.
35227         * nscd/grpcache.c (cache_addgr): Likewise.
35228         * nscd/aicache.c (addhstaiX): Likewise
35230 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35232         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35233         domain only when needed.
35235 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35238         is always restored.
35240 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35242         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35243         are re-adding the entry.
35244         * nscd/servicescache.c (cache_addserv): Likewise.
35246 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35248         * sysdeps/generic/dl-irel.h: fix protection against multiple
35249         inclusions.
35250         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35252 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35254         [BZ #12935]
35255         * malloc/memusage.sh: Fix quoting in message.
35256         * debug/xtrace.sh: Likewise.
35258         * configure.in: Remove support for --experimental-malloc option, make
35259         it the default.
35260         * config.make.in: Likewise.
35261         * malloc/Makefile: Likewise.
35263 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35265         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35266         two-byte characters.
35268 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35270         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35271         AC_CACHE_CHECK invocation.
35272         * configure: Regenerated.
35274         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35276 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35278         [BZ #12350]
35279         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35280         bit from old_res_options.
35282         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35284         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35285         value type for setfct.
35287 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35290         __gettimeofday instead of gettimeofday.
35292 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35294         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35296 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35298         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35300         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35301         info.
35303 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35306         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35307         strcpy-sse2-unaligned strncpy-sse2-unaligned
35308         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35309         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35310         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35311         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35312         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35313         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35314         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35315         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35316         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35317         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35318         (STRCPY): Support SSE2 and SSSE3 versions.
35320 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35322         [BZ #12874]
35323         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35324         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35325         kernels which artificially limit size of requests.
35327 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35330         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35331         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35332         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35333         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35334         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35335         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35336         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35338         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35339         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35340         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35341         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35342         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35343         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35345         Enable unaligned load optimization for Intel Core i3, i5 and i7
35346         processors.
35347         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35348         Define.
35349         (index_Fast_Unaligned_Load): Define.
35350         (HAS_FAST_UNALIGNED_LOAD): Define.
35352 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35354         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35356 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35358         [BZ #12907]
35359         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35360         until it is clear that the information is realy needed.
35361         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35363 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35367 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35370         /sys/devices/system/cpu/online if it is usable.
35372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35373         reading the information from the /proc filesystem to once a second.
35375 2011-06-21  Andreas Jaeger  <aj@suse.de>
35377         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35378         NULL after inclusion of kernel headers.
35380 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35382         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35383         calls to internal_setent.
35385         [BZ #12885]
35386         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35387         addresses using gethostbyname4_r ignore IPv4 addresses.
35389         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35390         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35392         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35394 2011-06-20  David S. Miller  <davem@davemloft.net>
35396         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35397         inclusions.
35398         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35400         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35401         (elf_irel): Use it.
35402         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35403         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35404         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35405         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35406         * sysdeps/x86_64/dl-irel.h: Likewise.
35408         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35409         * elf/dl-sym.c: Likewise.
35411 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35413         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35414         need to dereference resplen2.
35416 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35418         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35420 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35422         * Makeconfig: Define vardbdir and inst_vardbdir.
35423         * nss/Makefile: Add rules to install db-Makefile.
35425         * nss/nss_db/db-XXX.c: Cleanup.
35427         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35428         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35429         GLIBC_PRIVATE.
35430         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35431         * nss/makedb.c: Implement -g option to specify that value strings
35432         are generated and should not be added to table iterated over for
35433         get*ent calls.
35434         * nss/nss_db/db-initgroups.c: New file.
35436         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35437         interface.
35439         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35440         (internal_getgrouplist): Adjust to name change.
35441         Update use_initgroups_entry if this is not the first call.
35442         * nss/databases.def: Add initgroups entry.
35444         * nss/makedb.c (compute_tables): Check result of multiple hash table
35445         sizes to minimize maximum chain length.
35447 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35449         * Versions.def: Add entry for libnss_db.
35450         * shlib-versions: Likewise.
35451         * nss/Makefile: Add rules to build libnss_db.
35452         * nss/Versions: Add libnss_db information.  Organize libnss_files
35453         entries better.
35454         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35455         makedb progra.  Some minor improvements to generate smaller files.
35456         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35457         here from...
35458         * nss/makedb.c: ...here.
35459         Improve database format to be smaller and require less memory at
35460         runtime.
35461         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35462         db anymore.
35463         * nss/nss_db/db-netgrp.c: Likewise.
35464         * nss/nss_db/db-open.c: Likewise.
35465         * nss/nss_files/flies-XXX.x: Adjust comments.
35466         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35467         * nss/nss_files/files-grp.c: Likewise.
35468         * nss/nss_files/files-hosts.c: Likewise.
35469         * nss/nss_files/files-network.c: Likewise.
35470         * nss/nss_files/files-proto.c: Likewise.
35471         * nss/nss_files/files-pwd.c: Likewise.
35472         * nss/nss_files/files-rpc.c: Likewise.
35473         * nss/nss_files/files-service.c: Likewise.
35474         * nss/nss_files/files-sgrp.c: Likewise.
35475         * nss/nss_files/files-spwd.c: Likewise.
35476         * nss/nss_db/db-alias.c: Removed.
35477         * nss/nss_db/dummy-db.h: Removed.
35479 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35481         * nss/makedb.c: Rewritten to not use database library.
35482         * nss/Makefile: Update to build new makedb program.
35484 2011-06-14  Andreas Jaeger  <aj@suse.de>
35486         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35487         memset declaration.
35489 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35492         tmpbuf.
35494 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35496         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35497         * elf/Makefile ($(objpfx)ld.so): Likewise.
35499         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35500         Don't list ld.so twice in dependencies.
35502         * posix/bug-regex31.c: Include <stdlib.h>.
35504         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35506         * nis/nss_compat/compat-spwd.c
35507         (getspent_next_nss_netgr): Remove unused variable.
35508         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35510         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35511         nonmembers" output to use the right array.
35513         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35515         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35517         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35518         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35519         * catgets/gencat.c (read_input_file): Likewise.
35520         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35522         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35523         variable definition inside #if's controlling its use.
35525         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35527         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35529         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35531         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35532         unreachable code.
35534         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35536         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35537         * configure: Regenerated.
35539         * Makerules: Revert last change.
35540         * elf/Makefile: Likewise.
35542 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35544         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35545         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35546         (reloc-link): Likewise.
35548 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35550         * elf/Makefile: Add rules to build pldd.
35551         * elf/pldd.c: New file.
35552         * elf/pldd-xx.c: New file.
35554 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35556         * version.h: Update for 2.15 development version.
35558 2011-06-07  David S. Miller  <davem@davemloft.net>
35560         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35561         ifuncs.
35562         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35563         elf_machine_lazy_rel): Likewise.
35564         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35565         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35566         elf_machine_lazy_rel): Likewise.
35567         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35568         dl_hwcap via passed in argument.
35569         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35570         Likewise.
35572 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35574         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35576 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35578         [BZ #12849]
35579         * manual/fdl-1.1.texi: New file, verbatim from:
35580         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35581         * manual/lgpl-2.1.texi: New file, verbatim from:
35582         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35583         * manual/Makefile (licenses): New variable, list those new file names.
35584         (texis): Use it.
35585         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35587         * manual/fdl.texi: File removed.
35588         * manual/lesser.texi: File removed.
35589         * manual/libc.texinfo (Copying, Documentation License):
35590         Use new @include file names, put @appendix directive before @include.
35592 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35594         [BZ #12841]
35595         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35596         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35597         (mq_open): Add __NTH.
35599 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35602         Assume Intel Core i3/i5/i7 processor if AVX is available.
35604 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35607         typo.
35609 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35611         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35612         memory.  Use alloca_account.  Fix memory leak when retrying.
35614 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35616         * version.h (RELEASE): Bump for 2.14 release.
35617         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35619         * config.make.in (RANLIB): Remove entry.
35621 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35623         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35624         (libc.pot): Work around missing support for .ksh extension in xgettext.
35626         [BZ #12684]
35627         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35628         if both request failed.
35629         (send_dg): In case of server errors clear resplen or *resplen2.
35631         [BZ #12454]
35632         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35633         when there are multiple maps.
35634         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35635         (_dl_fini): Remove test here.
35637         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35639 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35641         [BZ #12350]
35642         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35643         bit from old_res_options.
35644         (gaih_inet): Likewise.
35646         [BZ #11099]
35647         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35648         as signed.
35650         * resolv/res_init.c (res_setoptions): Make the code more compact.
35652         [BZ #11558]
35653         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35654         set RES_USEVC.
35656         [BZ #11634]
35657         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35659         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35661         [BZ #11781]
35662         * malloc/malloc.h: Declare malloc hook variables as volatile.
35664         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35665         in last patch.
35667         [BZ #11799]
35668         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35669         raise in the comment.
35670         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35672         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35674 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35676         [BZ #12811]
35677         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35678         grow the buffers more if it already has to be sufficient.
35679         (build_wcs_upper_buffer): Likewise.
35680         * posix/regexec.c (check_matching): Likewise.
35681         (clean_state_log_if_needed): Likewise.
35682         (extend_buffers): Don't enlarge buffers beyond size of the input
35683         buffer.
35684         Patches mostly by Emil Wojak <emil@wojak.eu>.
35685         * posix/bug-regex32.c: New file.
35686         * posix/Makefile (tests): Add bug-regex32.
35688         * locale/findlocale.c (_nl_find_locale): Return right away if
35689         _nl_explode_name failed.
35690         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35692         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35694         * debug/xtrace.sh: Unify messages.
35695         * malloc/memusage.sh: Likewise.
35697         [BZ #12813]
35698         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35699         time symbol from vDSO.  Substitute with vsyscall if not available.
35700         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35701         __vdso_time.
35703         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35704         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35705         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35706         Add sendmmsg and internal_sendmmsg.
35707         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35708         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35709         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35711         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35712         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35713         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35715 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35717         [BZ #12813]
35718         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35719         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35720         available.
35721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35722         __vdso_getcpu.
35724         [BZ #12814]
35725         * iconvdata/Makefile (tests): Add bug-iconv9.
35726         * iconvdata/bug-iconv9.c: New file.
35728 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35730         [BZ #12814]
35731         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35733 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35735         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35736         (struct user_regs_struct): Change intcs field back to cs.
35738 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35740         * po/ja.po: Update from translation team.
35742 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35744         [BZ #12795]
35745         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35746         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35748 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35750         * stdlib/longlong.h: Update from GCC.
35752 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35754         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35755         parameter name.
35756         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35757         Add parameter name.
35758         (__sysconf): Pass it down.
35760 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35762         [BZ #12671]
35763         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35764         some situations.
35765         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35766         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35767         add in in __libc_use_alloca calls.  Adjust callers.
35768         (glob): Use malloc in some situations.
35770         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35771         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35772         pltexit.
35774 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35776         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35777         and CLOCK_BOOTTIME_ALARM.
35779         [BZ #12782]
35780         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35781         is returned.
35783         * string/_strerror.c (__strerror_r): Print negative errors as signed
35784         numbers.
35786         [BZ #12777]
35787         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35788         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35789         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35791         * configure.in: Fix typo in redirection and correct removal of test
35792         files in two cases.
35794         [BZ #12788]
35795         * locale/setlocale.c (new_composite_name): Fix test to check for
35796         identical name of all categories.
35798         [BZ #12792]
35799         * libio/filedoalloc.c (local_isatty): New function.
35800         (_IO_file_doallocate): Use local_isatty.
35801         * stdio-common/perror.c (perror): In case a new stream is used
35802         forward the stream error.
35803         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35804         error flag.
35806 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35808         [BZ #11869]
35809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35810         alloca.
35811         * include/alloca.h (extend_alloca_account): Define.
35813         [BZ #11857]
35814         * posix/regex.h: Fix comments with documentation of user-accessible
35815         fields after compilation and describe correct free'ing of pattern
35816         after re_compile_pattern.
35817         Patch by Reuben Thomas <rrt@sc3d.org>.
35819 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35821         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35822         and -mno-altivec to prevent the compiler from using Altivec and/or
35823         VSX instructions when the corresponding registers are not available.
35825 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35827         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35829 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35831         * libio/freopen.c (freopen): Use __dup2, not dup2.
35832         * libio/freopen64.c (freopen64): Likewise.
35834 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35836         [BZ #12775]
35837         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35838         * math/Makefile (tests): Add test-powl.
35839         (CFLAGS-test-powl.c): Define.
35840         * math/test-powl.c: New file.
35842 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35844         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35846 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35848         [BZ #11837]
35849         * iconvdata/gb18030.c: Update to GB18020-2005.
35851 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35853         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35854         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35855         Patch by Aharon Robbins <arnold@skeeve.com>.
35857         [BZ #11892]
35858         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35859         on the stack.
35861         [BZ #11895]
35862         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35863         through underflows.
35865         [BZ #12766]
35866         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35867         point to strings before performing equality test for error_one_per_line
35868         mode.
35870         [BZ #11697]
35871         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35873         [BZ #11820]
35874         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35875         (struct user_fpregs_struct): Avoid __uint*_t types.
35877         [BZ #6420]
35878         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35879         symbol info.  Use it instead of calling _dl_addr locally.
35880         (lock_and_info): New function.
35881         (tr_freehook): Call lock_and_info and pass symbol info as additional
35882         parameter to tr_where.
35883         (tr_mallochook): Likewise.
35884         (tr_reallochook): Likewise.
35885         (tr_memalignhook): Likewise.
35887         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35888         used and couldn't be at all thread-safe.
35890 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35892         * libio/freopen.c (freopen): Don't close old file descriptor
35893         before the new one is opened.  Instead dup the new file descriptor
35894         to the old one after the new stream is created.
35895         * libio/freopen64.c (freopen64): Likewise.
35896         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35897         * libio/fileops.c (_IO_new_file_close_it): Handle new
35898         _IO_FLAGS2_NOCLOSE flag.
35899         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35900         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35901         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35902         _IO_FLAGS2_NOCLOSE flag.
35903         * include/unistd.h: Add hidden_proto for dup3.
35904         Define __have_dup3.
35905         * io/dup3.c: Define hidden symbol.
35906         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35908         [BZ #7101]
35909         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35910         when an incomplete long option is used.
35911         * posix/tst-getopt_long1.c: New file.
35912         * posix/Makefile (tests): Add tst-getopt_long1.
35914         [BZ #10138]
35915         * scripts/config.guess: Update from autoconf-2.68.
35916         * scripts/config.sub: Likewise.
35918         [BZ #10157]
35919         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35920         tests into ...
35921         (has_cpuclock): ...this.  New function.
35922         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35923         macro here based on has_cpuclock code.
35925         [BZ #10149]
35926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35927         First byte (not low byte) is now always NUL.
35928         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35930         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35931         Use non-cancelable interfaces.
35933         [BZ #9809]
35934         * locale/iso-639.def: Add entry for Sorani.
35936         [BZ #11901]
35937         * include/stdlib.h: Move include protection to the right place.
35938         Define abort_msg_s.  Declare __abort_msg with it.
35939         * stdlib/abort.c (__abort_msg): Adjust type.
35940         * assert/assert.c (__assert_fail_base): New function.  Majority
35941         of code from __assert_fail.  Allocate memory for __abort_msg with
35942         mmap.
35943         (__assert_fail): Now call __assert_fail_base.
35944         * assert/assert-perr.c: Remove bulk of implementation.  Use
35945         __assert_fail_base.
35946         * include/assert.hL Declare __assert_fail_base.
35947         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35948         mmap.
35949         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35951 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35953         [BZ #11952]
35954         [BZ #12453]
35955         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35956         until all modules are registered in the DTV.
35957         * elf/Makefile: Add rules to build and run tst-tls19.
35958         * elf/tst-tls19.c: New file.
35959         * elf/tst-tls19mod1.c: New file.
35960         * elf/tst-tls19mod2.c: New file.
35961         * elf/tst-tls19mod3.c: New file.
35962         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35964         [BZ #12083]
35965         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35966         correctly.
35968         [BZ #12601]
35969         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35970         two-byte sequence errors.
35971         * iconvdata/Makefile (tests): Add bug-iconv8.
35972         * iconvdata/bug-iconv8.c: New file.
35974         [BZ #12626]
35975         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35976         buf2 definition.
35978         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35980         [BZ #12432]
35981         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35982         (dummy_getcfa): New function.
35983         (init): Get _Unwind_GetCFA address, use dummy if not found.
35984         (backtrace_helper): In recursion check, also check whether CFA changes.
35985         (__backtrace): Completely initialize arg.
35987         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35988         storing incomplete byte sequence in state object.  Avoid testing for
35989         guaranteed too small input if we know there is enough data available.
35991 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35993         * Makeconfig (+link-pie): Indent.
35994         * Rules (binaries-pie): Define if $(have-fpie) and
35995         $(build-shared).
35996         (binaries-shared): Also filter out $(binaries-pie).
35997         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35998         * nscd/Makefile (others-pie): Add nscd.
35999         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36000         ($(objpfx)nscd): Remove command override.
36001         * login/Makefile (others-pie): Add pt_chown.
36002         ($(objpfx)pt_chown): Remove command override.
36003         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36004         remove command overrides.
36006 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36008         * libio/tst_putwc.c: Fix error messages.
36010         [BZ #12724]
36011         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36012         currently writing and seek to current position when not.
36013         * libio/Makefile (tests): Add bug-fclose1.
36014         * libio/bug-fclose1.c: New file.
36016 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36018         [BZ #12511]
36019         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36020         don't set DF_1_NODELETE here.
36021         (do_lookup_x): When entering new entry test for copy relocation
36022         and if necessary set DF_1_NODELETE flag.
36023         * elf/tst-unique4.cc: New file.
36024         * elf/tst-unique4.h: New file.
36025         * elf/tst-unique4lib.cc: New file.
36026         * elf/Makefile: Add rules to build and run tst-unique4.
36027         Patch by Piotr Bury <pbury@goahead.com>.
36029 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36031         [BZ #12052]
36032         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36034         [BZ #12625]
36035         * misc/mntent_r.c (addmntent): Flush the stream after the output
36037         [BZ #12393]
36038         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36039         (is_trusted_path_normalize): Skip initial colon.  Append slash
36040         to empty buffer.  Duplicate is_trusted_path code but allow
36041         constructed patch to be prefix.
36042         (is_dst): Allow $ORIGIN followed by /.
36043         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36044         Correct testing of result of is_trusted_path_normalize
36045         (decompose_rpath): Fix warning.
36047 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36049         [BZ #11257]
36050         * grp/initgroups.c (internal_getgrouplist): When we found the service
36051         list through the initgroups entry in nsswitch.conf do not always
36052         continue on a successful lookup.  Don't always use the
36053         __nss_group_database value if it is set.
36054         * nss/nsswitch.conf (initgroups): Change action for successful db
36055         lookup to continue for compatibility.
36057 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36059         [BZ #11532]
36060         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36061         and CP774 modules.
36062         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36063         and CP774 modules.
36064         * iconvdata/tst-tables.sh: Likewise.
36065         * iconvdata/cp770.c: New file.
36066         * iconvdata/cp771.c: New file.
36067         * iconvdata/cp772.c: New file.
36068         * iconvdata/cp773.c: New file.
36069         * iconvdata/cp774.c: New file.
36070         * iconvdata/testdata/CP770: New file.
36071         * iconvdata/testdata/CP770..UTF8: New file.
36072         * iconvdata/testdata/CP771: New file.
36073         * iconvdata/testdata/CP771..UTF8: New file.
36074         * iconvdata/testdata/CP772: New file.
36075         * iconvdata/testdata/CP772..UTF8: New file.
36076         * iconvdata/testdata/CP773: New file.
36077         * iconvdata/testdata/CP773..UTF8: New file.
36078         * iconvdata/testdata/CP774: New file.
36079         * iconvdata/testdata/CP774..UTF8: New file.
36081         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36082         END CHARMAP line.
36083         * iconvdata/gen-8bit-gap.sh: Likewise.
36084         * iconvdata/gen-8bit.sh: Likewise.
36086         * locale/iso-639.def: Add ary entry.
36088         [BZ #11258]
36089         * locale/C-translit.h.in: Add U20A1 transliteration.
36091         [BZ #12178]
36092         * locale/iso-639.def: Add wae entry.
36093         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36095         [BZ #12545]
36096         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36097         for n.
36099         [BZ #12711]
36100         * locale/C-translit.h.in: Add entry for U20B9.
36101         Patch by pravin.d.s@gmail.com.
36103 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36105         [BZ #12713]
36106         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36107         ENAMETOOLONG use generic getcwd.
36108         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36109         in rtld.  Use *stat64.
36110         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36111         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36112         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36113         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36114         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36115         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36116         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36117         __fstatat64 macros.
36118         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36119         * dirent/rewinddir.c: Add libc_hidden_def.
36120         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36121         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36123         * include/dirent.h (__alloc_dir): Add flags parameter.
36124         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36125         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36126         __alloc_dir.
36127         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36128         from fdopendir if O_CLOEXEC is already set.
36130 2011-03-15  Alan Modra  <amodra@gmail.com>
36132         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36133         l_tls_firstbyte_offset non-zero.  Save padding offset in
36134         l_tls_firstbyte_offset for later use.
36135         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36136         freeing static tls block.
36138 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36140         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36141         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36142         being defined by the kernel headers.
36144 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36146         [BZ #12734]
36147         * resolv/resolv.h: Define RES_NOTLDQUERY.
36148         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36149         no-tld-query and set RES_NOTLDQUERY.
36150         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36151         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36152         modern BIND to search name as TLD unless forbidden.
36154 2011-05-07  Petr Baudis  <pasky@suse.cz>
36155             Ulrich Drepper  <drepper@gmail.com>
36157         [BZ #12393]
36158         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36159         (is_trusted_path): ...to here.
36160         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36161         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36162         using is_trusted_path_normalize() in setuid scripts.
36164 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36166         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36167         __BEGIN/__END_DECLS.
36169 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36171         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36172         NSS_STATUS_NOTFOUND if no record was found.
36174 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36176         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36177         (headers-not-in-tirpc): Remove rpc/netdb.h
36178         * resolv/netdb.h: Revert last change.
36180 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36182         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36183         circular dependency between libgcc.a and libc.a.
36185 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36187         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36188         * nis/Makefile: Don't install rpcsvc/*.
36189         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36190         instead of <rpc/types.h>.
36191         (MAXHOSTNAMELEN): Define.
36193 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36195         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36197 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36199         [BZ #12714]
36200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36201         gethostbyname4_r when IPv6 results are possible.
36203 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36205         [BZ #12723]
36206         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36207         _PC_PIPE_BUF handling.
36209 2011-04-30  Bruno Haible  <bruno@clisp.org>
36211         [BZ #12717]
36212         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36213         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36214         to 'int'.
36215         * inet/getnameinfo.c (getnameinfo): Likewise.
36217 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36219         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36220         to groups setting in database lookup.
36221         * nss/nsswitch.conf: Add initgroups entry.
36223 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36225         [BZ #12685]
36226         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36227         mode string.
36228         Patch by Eric Blake <eblake@redhat.com>.
36230 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36232         * sunrpc/Makefile (need-export-routines): Add svc_run.
36233         (routines): Remove svc_run.
36234         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36235         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36236         * sunrpc/svc_run.c (svc_run): Likewise.
36237         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36239 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36241         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36242         problem in reallocation in last patch.
36244 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36246         * sunrpc/Makefile: Move inclusion of Rules.
36248 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36250         * nss/nss_files/files-initgroups.c: New file.
36251         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36252         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36253         _nss_files_initgroups_dyn.
36255 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36257         * elf/elf.h (R_ARM_IRELATIVE): Define.
36259 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36261         * po/ru.po: Update from translation team.
36263 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36265         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36266         dependencies.
36268 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36270         [BZ #12653]
36271         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36272         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36274         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36277 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36279         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36280         differing bytes.
36281         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36282         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36283         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36285 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36287         [BZ #12420]
36288         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36289         storing it.
36290         * stdlib/bug-getcontext.c: New file.
36291         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36293 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36295         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36296         instructions into .machine "z9-109".
36297         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36298         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36300 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36302         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36303         between environment variables and auxiliary vector.
36305 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36307         * Makefile: Add rules to build linkobj/libc.so.
36308         * include/libc-symbols.h: Define libc_hidden_nolink.
36309         * include/rpc/auth.h: Mark functions which are to be hidden.
36310         * include/rpc/auth_des.h: Likewise.
36311         * include/rpc/auth_unix.h: Likewise.
36312         * include/rpc/clnt.h: Likewise.
36313         * include/rpc/des_crypt.h: Likewise.
36314         * include/rpc/key_prot.h: Likewise.
36315         * include/rpc/pmap_clnt.h: Likewise.
36316         * include/rpc/pmap_prot.h: Likewise.
36317         * include/rpc/pmap_rmt.h: Likewise.
36318         * include/rpc/rpc_msg.h: Likewise.
36319         * include/rpc/svc.h: Likewise.
36320         * include/rpc/svc_auth.h: Likewise.
36321         * include/rpc/xdr.h: Likewise.
36322         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36323         * nss/Makefile: Likewise.
36324         * sunrpc/Makefile: Don't install headers.  Build library with normal
36325         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36326         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36327         for the compat linking library.  Remove use of INTDEF/INTUSE.
36328         * sunrpc/auth_none.c: Likewise.
36329         * sunrpc/auth_unix.c: Likewise.
36330         * sunrpc/authdes_prot.c: Likewise.
36331         * sunrpc/authuxprot.c: Likewise.
36332         * sunrpc/clnt_gen.c: Likewise.
36333         * sunrpc/clnt_perr.c: Likewise.
36334         * sunrpc/clnt_raw.c: Likewise.
36335         * sunrpc/clnt_simp.c: Likewise.
36336         * sunrpc/clnt_tcp.c: Likewise.
36337         * sunrpc/clnt_udp.c: Likewise.
36338         * sunrpc/clnt_unix.c: Likewise.
36339         * sunrpc/des_crypt.c: Likewise.
36340         * sunrpc/des_soft.c: Likewise.
36341         * sunrpc/get_myaddr.c: Likewise.
36342         * sunrpc/key_call.c: Likewise.
36343         * sunrpc/key_prot.c: Likewise.
36344         * sunrpc/netname.c: Likewise.
36345         * sunrpc/pm_getmaps.c: Likewise.
36346         * sunrpc/pm_getport.c: Likewise.
36347         * sunrpc/pmap_clnt.c: Likewise.
36348         * sunrpc/pmap_prot.c: Likewise.
36349         * sunrpc/pmap_prot2.c: Likewise.
36350         * sunrpc/pmap_rmt.c: Likewise.
36351         * sunrpc/publickey.c: Likewise.
36352         * sunrpc/rpc_cmsg.c: Likewise.
36353         * sunrpc/rpc_common.c: Likewise.
36354         * sunrpc/rpc_dtable.c: Likewise.
36355         * sunrpc/rpc_prot.c: Likewise.
36356         * sunrpc/rpc_thread.c: Likewise.
36357         * sunrpc/rtime.c: Likewise.
36358         * sunrpc/svc.c: Likewise.
36359         * sunrpc/svc_auth.c: Likewise.
36360         * sunrpc/svc_authux.c: Likewise.
36361         * sunrpc/svc_raw.c: Likewise.
36362         * sunrpc/svc_run.c: Likewise.
36363         * sunrpc/svc_simple.c: Likewise.
36364         * sunrpc/svc_tcp.c: Likewise.
36365         * sunrpc/svc_udp.c: Likewise.
36366         * sunrpc/svc_unix.c: Likewise.
36367         * sunrpc/svcauth_des.c: Likewise.
36368         * sunrpc/xcrypt.c: Likewise.
36369         * sunrpc/xdr.c: Likewise.
36370         * sunrpc/xdr_array.c: Likewise.
36371         * sunrpc/xdr_float.c: Likewise.
36372         * sunrpc/xdr_intXX_t.c: Likewise.
36373         * sunrpc/xdr_mem.c: Likewise.
36374         * sunrpc/xdr_rec.c: Likewise.
36375         * sunrpc/xdr_ref.c: Likewise.
36376         * sunrpc/xdr_sizeof.c: Likewise.
36377         * sunrpc/xdr_stdio.c: Likewise.
36379 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36381         [BZ #12650]
36382         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36383         * sysdeps/ia64/dl-tls.h: Likewise.
36384         * sysdeps/powerpc/dl-tls.h: Likewise.
36385         * sysdeps/s390/dl-tls.h: Likewise.
36386         * sysdeps/sh/dl-tls.h: Likewise.
36387         * sysdeps/sparc/dl-tls.h: Likewise.
36388         * sysdeps/x86_64/dl-tls.h: Likewise.
36389         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36391 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36393         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36394         rpath element also skip the following colon.
36395         (expand_dynamic_string_token): Add is_path parameter and pass
36396         down to DL_DST_REQUIRED and _dl_dst_substitute.
36397         (decompose_rpath): Call expand_dynamic_string_token with
36398         non-zero is_path.  Ignore empty rpaths.
36399         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36400         with zero is_path.
36402 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36405         Make cancelable.
36407 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36409         [BZ #12655]
36410         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36411         Patch by Filipe David Manana <fdmanana@apache.org>.
36413 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36416         Maintain aligned stack.
36417         (CHECK_RSP): Remove unused macro.
36419 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36421         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36422         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36424 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36426         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36428         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36430 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36432         [BZ #12518]
36433         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36434         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36435         * sysdeps/x86_64/memmove.c: New file.
36436         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36437         (memcpy): Renamed to ...
36438         (__new_memcpy): This.
36439         (memcpy): Provide GLIBC_2_14 memcpy.
36440         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36441         (memcpy): Provide GLIBC_2_2_5 memcpy.
36443 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36445         [BZ #12631]
36446         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36448 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36450         * misc/syncfs.c: New file.
36451         * misc/Makefile (routines): Add syncfs.
36452         * posix/unistd.h: Declare syncfs.
36453         * sysdeps/unix/syscalls.list: Add syncfs.
36455 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36457         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36458         open_by_handle_at.
36459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36462         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36464         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36467 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36470         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36471         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36473         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36477         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36478         sync_file_range.c with -fexceptions.
36479         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36480         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36481         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36482         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36483         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36484         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36486         sync_file_range as cancellation point
36487         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36488         now a wrapper around __call_sync_file_range with cancellation handling.
36489         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36490         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36491         function name to __call_sync_file_range.
36492         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36493         Add call_sync_file_range.
36495 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36498         bits/timex.h.
36500 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36502         * iconv/iconv.h: Fix typo in comment.
36503         * io/fcntl.h: Likewise.
36504         * libio/stdio.h: Likewise.
36505         * posix/spawn.h: Likewise.
36506         * posix/unistd.h: Likewise.
36507         * stdlib/stdlib.h: Likewise.
36508         * time/time.h: Likewise.
36509         * wcsmbs/wchar.h: Likewise.
36511         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36512         open_by_handle): Add.
36513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36514         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36515         Augment a few comments.
36516         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36518         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36520         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36521         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36522         open_by_handle.
36524         * io/fcntl.h (AT_EMPTY_PATH): Define.
36526 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36528         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36529         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36530         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36531         to...
36532         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36533         * Versions.def: Add GLIBC_2.14.
36534         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36535         Export.
36537 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36539         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36540         round counter.
36541         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36543 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36545         [BZ #12597]
36546         * string/test-strncmp.c (do_page_test): New function.
36547         (check2): Likewise.
36548         (test_main): Call check2.
36549         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36551 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36553         [BZ #12587]
36554         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36555         Handle cache information in CPU leaf 4.
36556         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36558 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36560         [BZ #12583]
36561         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36562         character representation.
36563         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36565 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36567         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36568         END(__isnan) to END(__isnanf) to match function entry point/label
36569         EALIGN(__isnanf,...).
36571 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36573         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36575 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36577         [BZ #12510]
36578         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36579         copy from the symbol referenced in the relocation to initialize the
36580         used variable.
36581         Patch by Piotr Bury <pbury@goahead.com>.
36582         * elf/Makefile: Add rules to build and tst-unique3.
36583         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36584         * elf/tst-unique3.cc: New file.
36585         * elf/tst-unique3.h: New file.
36586         * elf/tst-unique3lib.cc: New file.
36587         * elf/tst-unique3lib2.cc: New file.
36589         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36591 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36593         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36594         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36595         to _start.
36597 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36599         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36600         to-be-loaded object along a path to loader is ld.so.
36602 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36603             Ulrich Drepper  <drepper@gmail.com>
36605         * sysdeps/x86_64/memset.S: After aligning destination, code
36606         branches to different locations depending on the value of
36607         misalignment, when multiarch is enabled. Fix this.
36609 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36611         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36612         Set _x86_64_preferred_memory_instruction for AMD processsors.
36613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36614         Set bit_Prefer_SSE_for_memop for AMD processors.
36616 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36618         * libio/fmemopen.c (fmemopen): Optimize a bit.
36620 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36622         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36624 2011-03-03  Roland McGrath  <roland@redhat.com>
36626         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36628 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36630         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36631         __bzero_ultra1 instead of __memset_ultra1.
36633 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36634             Ulrich Drepper  <drepper@gmail.com>
36636         [BZ #12509]
36637         * include/link.h (struct link_map): Add l_orig_initfini.
36638         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36639         returning unsuccessfully.
36640         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36641         close of a file loaded at startup, restore the original l_initfini
36642         list.
36643         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36644         list, store the pointer.
36645         * elf/Makefile ($(objpfx)noload-mem): New rule.
36646         (noload-ENV): Define.
36647         (tests): Add $(objpfx)noload-mem.
36648         * elf/noload.c: Include <memcheck.h>.
36649         (main): Call mtrace.  Close all opened handles.
36651 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36653         [BZ #12454]
36654         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36655         dependencies are missing.
36657 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36659         Fix __if_freereq crash: Unlike the generic version which uses free,
36660         Hurd needs munmap.
36661         * sysdeps/mach/hurd/ifreq.h: New file.
36663 2011-01-27  Petr Baudis  <pasky@suse.cz>
36664             Ulrich Drepper  <drepper@gmail.com>
36666         [BZ 12445]#
36667         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36668         to extend_alloca().
36669         * stdio-common/bug23.c: New file.
36670         * stdio-common/Makefile (tests): Add bug23.
36672 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36673             Ulrich Drepper  <drepper@gmail.com>
36675         [BZ #12489]
36676         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36677         before performing relro protection.  At old place add assertion
36678         to make sure nothing changed.
36680 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36681             Glauber de Oliveira Costa  <glommer@gmail.com>
36683         * elf/elf.h: Add new ARM TLS relocs.
36685 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36688         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36689         cast from r3.
36690         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36691         'tests' variable.
36692         * sysdeps/wordsize-64/tst-writev.c: New file.
36694 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36696         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36697         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36698         insns in _dl_start to prevent a TOC reference before relocs are
36699         resolved.
36701 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36703         [BZ #12469]
36704         * Makeconfig: Remove RANLIB definition.
36705         * Makerules: Don't use RANLIB.
36706         * aclocal.m4: Remove ranlib test.
36707         * configure.in: No need to check for ranlib.
36708         * elf/rtld-Rules: Don't use RANLIB.
36710 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36712         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36713         protection macro.
36714         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36715         inclusion protection macro.
36717         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36718         SIGRTMIN and SIGRTMAX and print information in that case only when
36719         SIGRTMIN is defined.
36721 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36723         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36724         arginfo fn returning -1.
36726         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36727         and thousands string is zero terminated.
36729 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36732         sysdeps/unix/sysv/linux/bits/socket.h.
36734 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36736         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36737         (__CPU_COUNT): Remove old macros.
36738         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36739         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36740         (__CPU_ALLOC, __CPU_FREE): Add macros.
36741         (__sched_cpualloc, __sched_cpufree): Add declarations.
36743 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36745         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36746         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36747         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36748         (readdhstai): Return value of addhstaiX call.
36749         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36750         (addgrbyX): Return value returned by cache_addgr.
36751         (readdgrbyname): Return value returned by addgrbyX.
36752         (readdgrbygid): Likewise.
36753         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36754         (addpwbyX): Return value returned by cache_addpw.
36755         (readdpwbyname): Return value returned by addhstbyX.
36756         (readdpwbyuid): Likewise.
36757         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36758         (addservbyX): Return value returned by cache_addserv.
36759         (readdservbyname): Return value returned by addservbyX:
36760         (readdservbyport): Likewise.
36761         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36762         (addhstbyX): Return value returned by cache_addhst.
36763         (readdhstbyname): Return value returned by addhstbyX.
36764         (readdhstbyaddr): Likewise.
36765         (readdhstbynamev6): Likewise.
36766         (readdhstbyaddrv6): Likewise.
36767         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36768         (readdinitgroups): Return value returned by addinitgroupsX.
36769         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36770         (prune_cache): Keep track of timeout value of re-added entries.
36771         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36772         * nscd/nscd.h: Adjust prototypes of readd* functions.
36774 2011-02-04  Roland McGrath  <roland@redhat.com>
36776         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36777         (nis_stats): Likewise.
36778         * nis/nis_modify.c (nis_modify): Likewise.
36779         * nis/nis_remove.c (nis_remove): Likewise.
36780         * nis/nis_add.c (nis_add): Likewise.
36782         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36784         * posix/fnmatch_loop.c: Add some consts.
36786         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36788 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36790         [BZ #12460]
36791         * config.make.in (config-cflags-novzeroupper): Define.
36792         * configure.in: Substitute libc_cv_cc_novzeroupper.
36793         * elf/Makefile (AVX-CFLAGS): Define.
36794         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36795         (CFLAGS-tst-auditmod4a.c): Likewise.
36796         (CFLAGS-tst-auditmod4b.c): Likewise.
36797         (CFLAGS-tst-auditmod6b.c): Likewise.
36798         (CFLAGS-tst-auditmod6c.c): Likewise.
36799         (CFLAGS-tst-auditmod7b.c): Likewise.
36800         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36802 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36804         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36805         function to the callback.
36806         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36808 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36810         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36811         of errno.
36813 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36815         [BZ #11724]
36816         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36817         of constructors.
36818         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36819         of destructors.
36820         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36822         [BZ #11724]
36823         * elf/Makefile: Add rules to build and run new test.
36824         * elf/tst-initorder.c: New file.
36825         * elf/tst-initorder.exp: New file.
36826         * elf/tst-initordera1.c: New file.
36827         * elf/tst-initordera2.c: New file.
36828         * elf/tst-initordera3.c: New file.
36829         * elf/tst-initordera4.c: New file.
36830         * elf/tst-initorderb1.c: New file.
36831         * elf/tst-initorderb2.c: New file.
36832         * elf/tst-order-a1.c: New file.
36833         * elf/tst-order-a2.c: New file.
36834         * elf/tst-order-a3.c: New file.
36835         * elf/tst-order-a4.c: New file.
36836         * elf/tst-order-b1.c: New file.
36837         * elf/tst-order-b2.c: New file.
36838         * elf/tst-order-main.c: New file.
36839         New test case by George Gensure <werkt0@gmail.com>.
36841 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36844         decoding ACE if AI_CANONIDN.
36846 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36848         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36850 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36852         * version.h (RELEASE): Bump for 2.13 release.
36853         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36855         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36857         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36858         MADV_NOHUGEPAGE.
36859         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36860         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36861         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36862         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36863         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36864         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36866         * posix/getconf.c: Update copyright year.
36867         * catgets/gencat.c: Likewise.
36868         * csu/version.c: Likewise.
36869         * debug/catchsegv.sh: Likewise.
36870         * debug/xtrace.sh: Likewise.
36871         * elf/ldconfig.c: Likewise.
36872         * elf/ldd.bash.in: Likewise.
36873         * elf/sprof.c (print_version): Likewise.
36874         * iconv/iconv_prog.c: Likewise.
36875         * iconv/iconvconfig.c: Likewise.
36876         * locale/programs/locale.c: Likewise.
36877         * locale/programs/localedef.c: Likewise.
36878         * malloc/memusage.sh: Likewise.
36879         * malloc/mtrace.pl: Likewise.
36880         * nscd/nscd.c (print_version): Likewise.
36881         * nss/getent.c: Likewise.
36883         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36884         PF_CAIF, and PF_ALG.
36885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36887 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36889         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36890         (modules-names): Use them.
36891         (ifunc-test-modules, ifunc-pie-tests): Define.
36892         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36893         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36894         (test-extras): Likewise.
36895         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36896         $(compile-command.c).
36897         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36898         (all-built-dso): Define.
36899         (check-textrel.out, check-execstack.out): Depend on it.
36901         * configure.in: Don't override --enable-multi-arch.
36903 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36905         [BZ #6812]
36906         * nscd/hstcache.c (tryagain): Define.
36907         (cache_addhst): Return tryagain not notfound for temporary errors.
36908         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36909         failed.
36911 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36913         [BZ #10563]
36914         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36915         to make the syscall.
36916         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36918         [BZ #12378]
36919         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36920         and fall back to matching as normal character if the string ends before
36921         the matching ']' is found.  This is what POSIX requires.
36922         * posix/testfnm.c: Adjust test result.
36923         * posix/globtest.sh: Adjust test result.  Add new test.
36924         * posix/tst-fnmatch.input: Likewise.
36925         * posix/tst-fnmatch2.c: Add new test.
36927 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36929         * elf/Makefile (check-execstack): Revert last change.  Depend on
36930         check-execstack.h.
36931         (check-execstack.h): New target.
36932         (generated): Add check-execstack.h.
36933         * elf/check-execstack.c: Include "check-execstack.h".
36934         (main): Revert last change.
36935         (handle_file): Return zero if GNU_STACK is absent and
36936         DEFAULT_STACK_PERMS doesn't include PF_X.
36938 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36940         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36941         in child fails because the descriptor is already closed.
36942         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36943         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36944         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36946         [BZ #12397]
36947         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36948         syscall.
36950         [BZ #10484]
36951         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36952         temporary buffer used to handle multi lookups locally.
36953         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36955 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36957         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36958         loader is ld.so.
36960 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36962         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36963         alignment for SSE2.
36965 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36967         [BZ #12394]
36968         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36969         characters.  When rounding increased number of integer digits recompute
36970         number of groups.
36971         * stdio-common/tst-grouping.c: New file.
36972         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36974 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36976         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36977         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36979         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36980         void.
36981         * bits/select.h: Likewise.
36983 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36985         * po/ja.po: Update from translation team.
36987 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36989         [BZ #11155]
36990         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36991         implementation just like for lxstat, fxstatat, et al.
36993 2010-12-27  Jim Meyering  <meyering@redhat.com>
36995         [BZ #12348]
36996         * posix/regexec.c (build_trtable): Return failure indication upon
36997         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36999 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37001         [BZ #12201]
37002         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37003         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37005         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37007         [BZ #12207]
37008         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37010         [BZ #12204]
37011         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37012         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37014 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37016         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37017         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37018         script has SORT_BY_INIT_PRIORITY.
37019         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37020         NO_CTORS_DTORS_SECTIONS is defined.
37021         * elf/soinit.c: Likewise.
37022         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37023         NO_CTORS_DTORS_SECTIONS is defined.
37024         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37025         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37026         * sysdeps/sh/init-first.c: Likewise.
37027         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37029 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37031         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37032         always use the slow path.
37034 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37036         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37037         similar rule which adds the sysdep directories to the header search in
37038         order to pick up the correct platform stackinfo.h.
37039         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37040         perform test if it is, otherwise return successfully without testing.
37041         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37042         DEFAULT_STACK_PERMS define in stackinfo.h.
37043         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37044         defined in stackinfo.h.
37045         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37046         DEFAULT_STACK_PERMS defined in stackinfo.h.
37047         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37048         * sysdeps/ia64/stackinfo.h: Likewise.
37049         * sysdeps/s390/stackinfo.h: Likewise.
37050         * sysdeps/sh/stackinfo.h: Likewise.
37051         * sysdeps/sparc/stackinfo.h: Likewise.
37052         * sysdeps/x86_64/stackinfo.h: Likewise.
37053         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37054         PF_X for powerpc64.  Retain PF_X for powerpc32.
37056 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37058         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37059         accurately.
37060         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37061         GETDENTS_64BIT_ALIGNED.
37063 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37065         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37067 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37069         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37070         _GNU_SOURCE.
37072         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37073         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37074         Remove __restrict.
37075         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37076         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37078 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37080         [BZ #11655]
37081         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37082         are initialized.
37084 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37086         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37088 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37090         * po/it.po: Update from translation team.
37092 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37094         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37095         unused codes.
37097 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37099         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37101 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37103         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37104         specially.
37105         (gaih_getanswer_slice): Likewise.
37107 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37111 2010-05-31  Petr Baudis  <pasky@suse.cz>
37113         [BZ #11149]
37114         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37115         silently even in the chroot mode.
37117 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37119         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37120         last patch a bit.  Pretty printing
37122 2010-05-31  Petr Baudis <pasky@suse.cz>
37124         [BZ #10085]
37125         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37126         initialization of skip_initgroups_dyn.
37128 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37130         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37133 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37135         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37137 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37139         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37140         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37141         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37142         ($(objpfx)tst-fnmatch-mem): New rule.
37143         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37144         * posix/tst-fnmatch.c (main): Call mtrace.
37146 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37149         Support Intel processor model 6 and model 0x2c.
37151 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37153         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37154           signed comparison.
37156 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37158         [BZ #12205]
37159         * string/test-strncasecmp.c (check_result): New function.
37160         (do_one_test): Use it.
37161         (check1): New function.
37162         (test_main): Use it.
37163         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37164         Support strcasecmp and strncasecmp.
37166 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37168         [BZ #12194]
37169         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37170         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37172 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37174         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37175         IFUNC support.
37176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37177         memset-x86-64.
37178         * sysdeps/x86_64/multiarch/bzero.S: New file.
37179         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37180         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37181         * sysdeps/x86_64/multiarch/memset.S: New file.
37182         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37184         Set bit_Prefer_SSE_for_memop for Intel processors.
37185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37186         Define.
37187         (index_Prefer_SSE_for_memop): Define.
37188         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37190 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37192         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37193         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37195 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37197         [BZ #12191]
37198         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37199         (__x86_64_raw_data_cache_size_half): Likewise.
37200         (__x86_64_raw_shared_cache_size): Likewise.
37201         (__x86_64_raw_shared_cache_size_half): Likewise.
37203         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37204         (__x86_64_raw_data_cache_size_half): Likewise.
37205         (__x86_64_raw_shared_cache_size): Likewise.
37206         (__x86_64_raw_shared_cache_size_half): Likewise.
37207         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37208         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37209         and __x86_64_raw_shared_cache_size_half.  Round
37210         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37211         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37212         to multiple of 256 bytes.
37214 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37216         [BZ #12167]
37217         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37218         of inacessible symlinks.  Verify result of symlink before returning it.
37219         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37220         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37222 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37224         * math/math.h (isinf): Fix typo in comment.
37226 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37228         * po/da.po: Update from translation team.
37230 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37232         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37233         is added to the list.
37235 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37236             Ulrich Drepper  <drepper@gmail.com>
37238         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37239         the global list here.  Move code to...
37240         (_dl_add_to_namespace_list): ...here.  New function.
37241         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37242         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37243         * elf/dl-load.c (lose): Don't remove the element from the list.
37244         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37245         (_dl_map_object): Likewise.
37247 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37249         [BZ #12159]
37250         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37251         into all bytes of SSE register.
37252         Patch by Richard Li <richardpku@gmail.com>.
37254 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37256         [BZ #12140]
37257         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37258         perturbing.
37260 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37262         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37263         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37264         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37265         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37267         submachine.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37270 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37272         * include/dlfcn.h (__RTLD_SECURE): Define.
37273         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37274         mode & __RTLD_SECURE instead.
37275         (open_path): Rename preloaded parameter to secure.
37276         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37277         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37278         * elf/dl-deps.c (openaux): Likewise.
37279         * elf/rtld.c (struct map_args): Remove is_preloaded.
37280         (map_doit): Don't use it.
37281         (dl_main): Likewise.
37282         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37283         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37285 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37287         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37288         (sysd-rules-targets): Remove duplicates.
37289         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37290         rtld-%.$o dependency.
37292 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37294         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37295         _dl_map_object do it.
37297 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37299         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37300         fast fma builtins, define the macros in the C99 standard.
37301         (FP_FAST_FMAF): Likewise.
37302         (FP_FAST_FMAL): Likewise.
37303         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37305         * bits/mathdef.h: Update copyright year.
37306         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37308 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37310         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37311         builtins, define the macros in the C99 standard.
37312         (FP_FAST_FMAF): Likewise.
37313         (FP_FAST_FMAL): Likewise.
37314         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37315         multiply/add.
37316         (FP_FAST_FMAF): Likewise.
37318 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37320         [BZ #3268]
37321         * math/libm-test.inc (fma_test): Some new testcases.
37322         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37324         y and infinite z.  Do multiplication by C already in long double.
37325         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37327         y and infinite z.  Do bitwise or of inexact bit into u.d.
37328         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37329         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37330         * sysdeps/i386/fpu/s_fma.S: Removed.
37331         * sysdeps/i386/fpu/s_fmal.S: Removed.
37333 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37335         [BZ #3268]
37336         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37338         computation is not scheduled after fetestexcept.  Fix value
37339         of minimum denormal long double.
37341 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37343         [BZ #3268]
37344         * math/libm-test.inc (fma_test): Add some more tests.
37345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37346         correctly.
37348 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37350         * scripts/data/localplt-s390-linux-gnu.data: New file.
37351         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37353 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37355         [BZ #3268]
37356         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37357         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37358         instead of dbl-64.
37359         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37360         inlines.
37361         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37363         if one of x and y is very large and the other is subnormal.
37364         * sysdeps/s390/fpu/s_fmaf.c: New file.
37365         * sysdeps/s390/fpu/s_fma.c: New file.
37366         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37367         * sysdeps/powerpc/fpu/s_fma.S: New file.
37368         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37369         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37370         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37372 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37374         [BZ #3268]
37375         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37376         fma tests.
37377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37378         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37379         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37380         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37381         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37382         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37383         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37385 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37387         [BZ #12078]
37388         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37389         * posix/bug-regex31.input: Add test case.
37391 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37393         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37394         * posix/bug-regex31.input: New file.
37396         [BZ #12078]
37397         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37398         (parse_sub_exp): Fix last change, use postorder.
37400         * posix/bug-regex31.c: New file.
37401         * posix/Makefile: Add rules to build and run bug-regex31.
37403         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37405         [BZ #12078]
37406         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37408         [BZ #12108]
37409         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37410         to have entries in sys_siglist.
37412         [BZ #12093]
37413         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37414         be NULL.
37416 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37418         [BZ #3268]
37419         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37420         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37421         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37422         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37423         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37424         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37425         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37426         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37427         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37428         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37429         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37430         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37431         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37432         * math/ftestexcept.c (fetestexcept): Likewise.
37433         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37434         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37435         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37437         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37438         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37439         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37441 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37443         [BZ #12107]
37444         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37445         newline.
37447 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37449         * string/bug-strstr1.c: New file.
37450         * string/Makefile: Add rules to build and run bug-strstr1.
37452 2010-10-05  Eric Blake  <eblake@redhat.com>
37454         [BZ #12092]
37455         * string/str-two-way.h (two_way_long_needle): Always clear memory
37456         when skipping input due to the shift table.
37458 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37460         [BZ #12005]
37461         * malloc/mcheck.c: Handle large requests.
37463         [BZ #12077]
37464         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37465         for strncmp and strncasecmp.
37466         * string/stratcliff.c: Add tests for strcmp and strncmp.
37467         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37469 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37471         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37472         __set_fpscr.
37474 2010-09-30  Andreas Jaeger  <aj@suse.de>
37476         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37477         (CGROUP_SUPER_MAGIC): Define.
37478         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37479         Handle btrfs and cgroup file systems.
37480         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37481         Likewise.
37483 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37485         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37486         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37488 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37490         [BZ #12067]
37491         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37492         trying to locate the ELF header.
37494 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37496         [BZ #11611]
37497         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37498         Mask out sign-bit copies when constructing f_fsid.
37500 2010-09-24  Petr Baudis <pasky@suse.cz>
37502         * debug/stack_chk_fail_local.c: Add missing licence exception.
37503         * debug/warning-nop.c: Likewise.
37505 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37507         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37508         implementing getdents64 using getdents syscall, set d_type if
37509         __ASSUME_GETDENTS32_D_TYPE.
37511 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37513         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37514         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37516 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37518         [BZ #12037]
37519         * posix/unistd.h: Undo change of feature selection for ftruncate from
37520         2010-01-11.
37522 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37524         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37525         detection.
37527 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37530         fanotify_mark.
37531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37533 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37535         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37536         variables after CHECK_SP call.
37537         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37539 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37540             Ulrich Drepper  <drepper@redhat.com>
37542         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37543         re-relocationg ld.so.
37544         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37545         _dl_init_paths call.
37546         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37547         here anymore.
37549 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37551         * resolv/res_init.c (__res_vinit): Count the default server we added.
37553 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37554             Ulrich Drepper  <drepper@redhat.com>
37556         [BZ #11968]
37557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37558         (____longjmp_chk): Use %ebx for saving value across system call.
37559         Add unwind info.
37561 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37563         * manual/Makefile: Don't mix pattern rules with normal rules.
37565 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37567         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37568         operation.
37569         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37570         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37571         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37572         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37574         Likewise.
37576 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37578         [BZ #11979]
37579         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37580         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37582 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37584         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37585         * sysdeps/x86_64/addmul_1.S: Likewise.
37586         * sysdeps/x86_64/lshift.S: Likewise.
37587         * sysdeps/x86_64/mul_1.S: Likewise.
37588         * sysdeps/x86_64/rshift.S: Likewise.
37589         * sysdeps/x86_64/sub_n.S: Likewise.
37590         * sysdeps/x86_64/submul_1.S: Likewise.
37592 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37594         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37595         Define __sched_param instead of SCHED_* and sched_param when
37596         <bits/sched.h> is included with __need_schedparam defined.
37597         * bits/sched.h [__need_schedparam]
37598         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37599         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37600         (__defined_schedparam): Define to 1.
37601         (__sched_param): New structure, identical to sched_param.
37602         (__need_schedparam): Undefine.
37604 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37606         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37607         (epoll_create1): Declare.
37609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37611 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37613         [BZ #7066]
37614         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37615         shifting retval into place.
37617 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37619         * nis/rpcsvc/nis.h: Update copyright notice.
37620         * nis/rpcsvc/nis.x: Likewise.
37621         * nis/rpcsvc/nis_callback.h: Likewise.
37622         * nis/rpcsvc/nis_callback.x: Likewise.
37623         * nis/rpcsvc/nis_object.x: Likewise.
37624         * nis/rpcsvc/nis_tags.h: Likewise.
37625         * nis/rpcsvc/yp.h: Likewise.
37626         * nis/rpcsvc/yp.x: Likewise.
37627         * nis/rpcsvc/ypupd.h: Likewise.
37628         * nis/yp_xdr.c: Likewise.
37629         * nis/ypupdate_xdr.c: Likewise.
37631         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37632         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37633         (pmap_getport): Use __libc_rpc_getport.
37634         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37635         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37636         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37638 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37641         fanotify_mark.
37643 2010-08-27  Roland McGrath  <roland@redhat.com>
37645         * sysdeps/i386/i686/multiarch/Makefile
37646         (CFLAGS-varshift.c): New variable.
37648 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37650         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37651         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37653         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37655         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37657 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37659         * sysdeps/x86_64/strlen.S: Unroll the loop.
37660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37661         strlen-sse2 strlen-sse2-bsf.
37662         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37663         __strlen_no_bsf if bit_Slow_BSF is set.
37664         (__strlen_sse42): Removed.
37665         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37666         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37668 2010-08-25  Roland McGrath  <roland@redhat.com>
37670         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37671         * sysdeps/x86_64/multiarch/varshift.c: New file.
37672         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37673         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37674         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37675         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37677 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37680         strlen-sse2 strlen-sse2-bsf.
37681         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37682         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37683         (__strlen_sse2): Removed.
37684         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37685         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37687         bit_Slow_BSF for Atom.
37688         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37689         (index_Slow_BSF): Define.
37690         (HAS_SLOW_BSF): Define.
37692 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37694         [BZ #10851]
37695         * resolv/res_init.c (__res_vinit): When no server address at all
37696         is given default to loopback.
37698 2010-08-24  Roland McGrath  <roland@redhat.com>
37700         * configure.in: Remove config-name.h generation.
37701         * configure: Regenerated.
37702         * config-name.in: File removed.
37703         * scripts/config-uname.sh: New file.
37704         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37705         ($(objdir)config-name.h): New target.
37707         * sunrpc/rpc_parse.h: Avoid nested comment.
37709 2010-08-24  Richard Henderson  <rth@redhat.com>
37710             Ulrich Drepper  <drepper@redhat.com>
37711             H.J. Lu  <hongjiu.lu@intel.com>
37713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37715         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37716         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37717         _mm_alignr_epi8 with _mm_loadu_si128.
37718         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37719         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37720         (__m128i_shift_right): Removed.
37721         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37722         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37723         * sysdeps/x86_64/multiarch/varshift.h: New file.
37724         * sysdeps/x86_64/multiarch/varshift.S: New file.
37726 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37728         * configure.in: Move assembler checks to before sysdep dir checking.
37730 2010-08-20  Petr Baudis  <pasky@suse.cz>
37732         * LICENSES: Sync the sunrpc license.
37734 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37736         * sunrpc/auth_des.c: Update copyright notice once again.
37737         * sunrpc/auth_none.c: Likewise.
37738         * sunrpc/auth_unix.c: Likewise.
37739         * sunrpc/authdes_prot.c: Likewise.
37740         * sunrpc/authuxprot.c: Likewise.
37741         * sunrpc/bindrsvprt.c: Likewise.
37742         * sunrpc/clnt_gen.c: Likewise.
37743         * sunrpc/clnt_perr.c: Likewise.
37744         * sunrpc/clnt_raw.c: Likewise.
37745         * sunrpc/clnt_simp.c: Likewise.
37746         * sunrpc/clnt_tcp.c: Likewise.
37747         * sunrpc/clnt_udp.c: Likewise.
37748         * sunrpc/clnt_unix.c: Likewise.
37749         * sunrpc/des_crypt.c: Likewise.
37750         * sunrpc/des_soft.c: Likewise.
37751         * sunrpc/get_myaddr.c: Likewise.
37752         * sunrpc/getrpcport.c: Likewise.
37753         * sunrpc/key_call.c: Likewise.
37754         * sunrpc/key_prot.c: Likewise.
37755         * sunrpc/openchild.c: Likewise.
37756         * sunrpc/pm_getmaps.c: Likewise.
37757         * sunrpc/pm_getport.c: Likewise.
37758         * sunrpc/pmap_clnt.c: Likewise.
37759         * sunrpc/pmap_prot.c: Likewise.
37760         * sunrpc/pmap_prot2.c: Likewise.
37761         * sunrpc/pmap_rmt.c: Likewise.
37762         * sunrpc/rpc/auth.h: Likewise.
37763         * sunrpc/rpc/auth_unix.h: Likewise.
37764         * sunrpc/rpc/clnt.h: Likewise.
37765         * sunrpc/rpc/des_crypt.h: Likewise.
37766         * sunrpc/rpc/key_prot.h: Likewise.
37767         * sunrpc/rpc/netdb.h: Likewise.
37768         * sunrpc/rpc/pmap_clnt.h: Likewise.
37769         * sunrpc/rpc/pmap_prot.h: Likewise.
37770         * sunrpc/rpc/pmap_rmt.h: Likewise.
37771         * sunrpc/rpc/rpc.h: Likewise.
37772         * sunrpc/rpc/rpc_des.h: Likewise.
37773         * sunrpc/rpc/rpc_msg.h: Likewise.
37774         * sunrpc/rpc/svc.h: Likewise.
37775         * sunrpc/rpc/svc_auth.h: Likewise.
37776         * sunrpc/rpc/types.h: Likewise.
37777         * sunrpc/rpc/xdr.h: Likewise.
37778         * sunrpc/rpc_clntout.c: Likewise.
37779         * sunrpc/rpc_cmsg.c: Likewise.
37780         * sunrpc/rpc_common.c: Likewise.
37781         * sunrpc/rpc_cout.c: Likewise.
37782         * sunrpc/rpc_dtable.c: Likewise.
37783         * sunrpc/rpc_hout.c: Likewise.
37784         * sunrpc/rpc_main.c: Likewise.
37785         * sunrpc/rpc_parse.c: Likewise.
37786         * sunrpc/rpc_parse.h: Likewise.
37787         * sunrpc/rpc_prot.c: Likewise.
37788         * sunrpc/rpc_sample.c: Likewise.
37789         * sunrpc/rpc_scan.c: Likewise.
37790         * sunrpc/rpc_scan.h: Likewise.
37791         * sunrpc/rpc_svcout.c: Likewise.
37792         * sunrpc/rpc_tblout.c: Likewise.
37793         * sunrpc/rpc_util.c: Likewise.
37794         * sunrpc/rpc_util.h: Likewise.
37795         * sunrpc/rpcinfo.c: Likewise.
37796         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37797         * sunrpc/rpcsvc/key_prot.x: Likewise.
37798         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37799         * sunrpc/rpcsvc/mount.x: Likewise.
37800         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37801         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37802         * sunrpc/rpcsvc/rex.x: Likewise.
37803         * sunrpc/rpcsvc/rstat.x: Likewise.
37804         * sunrpc/rpcsvc/rusers.x: Likewise.
37805         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37806         * sunrpc/rpcsvc/spray.x: Likewise.
37807         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37808         * sunrpc/rtime.c: Likewise.
37809         * sunrpc/svc.c: Likewise.
37810         * sunrpc/svc_auth.c: Likewise.
37811         * sunrpc/svc_authux.c: Likewise.
37812         * sunrpc/svc_raw.c: Likewise.
37813         * sunrpc/svc_run.c: Likewise.
37814         * sunrpc/svc_simple.c: Likewise.
37815         * sunrpc/svc_tcp.c: Likewise.
37816         * sunrpc/svc_udp.c: Likewise.
37817         * sunrpc/svc_unix.c: Likewise.
37818         * sunrpc/svcauth_des.c: Likewise.
37819         * sunrpc/xcrypt.c: Likewise.
37820         * sunrpc/xdr.c: Likewise.
37821         * sunrpc/xdr_array.c: Likewise.
37822         * sunrpc/xdr_float.c: Likewise.
37823         * sunrpc/xdr_mem.c: Likewise.
37824         * sunrpc/xdr_rec.c: Likewise.
37825         * sunrpc/xdr_ref.c: Likewise.
37826         * sunrpc/xdr_sizeof.c: Likewise.
37827         * sunrpc/xdr_stdio.c: Likewise.
37829         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37830         handling.
37832 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37834         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37836 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37838         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37839         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37841         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37842         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37843         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37844         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37845         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37847         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37848         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37849         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37850         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37851         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37853 2010-07-26  Anton Blanchard  <anton@samba.org>
37855         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37856         * malloc/arena.c (heap_trim): Likewise.
37858 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37860         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37861         here.  Not...
37862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37863         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37865 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37867         * sysdeps/i386/elf/Makefile: New file.
37869 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37871         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37872         from fanotify_init.
37873         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37874         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37876 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37878         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37879         of strncasecmp_l.
37880         * sysdeps/multiarch/strcmp.S: Likewise.
37882 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37884         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37885         strncase_l-nonascii.
37886         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37887         Add strncase_l-ssse3.
37888         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37889         * sysdeps/x86_64/strcmp.S: Likewise.
37890         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37891         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37892         * sysdeps/x86_64/strncase.S: New file.
37893         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37894         * sysdeps/x86_64/strncase_l.S: New file.
37895         * string/Makefile (strop-tests): Add strncasecmp.
37896         * string/test-strncasecmp.c: New file.
37898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37899         warning.
37901         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37902         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37904 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37906         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37908 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37910         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37911         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37912         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37914 2010-05-01  Alan Modra  <amodra@gmail.com>
37916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37917         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37918         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37919         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37920         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37921         tidying.  Don't tail-call __sigjmp_save for static lib.
37922         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37923         save location.
37924         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37925         (CALL_MCOUNT): Add eh info, and nop after bl.
37926         (TAIL_CALL_SYSCALL_ERROR): New macro.
37927         (PSEUDO_RET): Use it.
37928         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37929         Correct save location of integer regs and cr.
37930         (_dl_profile_resolve): Correct cr save location.  Delete nops
37931         after bl when SHARED.  Reduce cfi size a little by better
37932         placement of cfi directives.
37933         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37934         make a stack frame.  Instead use parm save area as a temp.
37935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37936         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37938         Don't make a stack frame for parent, use parm save area.
37939         Increase child stack frame to 112 bytes.  Don't save unused reg,
37940         and adjust reg usage.  Set up cfi on error recovery and
37941         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37943         (__makecontext): Add dummy nop after jump to exit.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37945         Use correct parm save area and cr save, reduce stack frame.
37946         Correct cfi for possible PSEUDO_RET frame setup.
37947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37948         Branch to local label emitted by PSEUDO_RET rather than
37949         __syscall_error.
37951 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37953         [BZ #11904]
37954         * locale/programs/locale.c (print_assignment): New function.
37955         (show_locale_vars): Use it.
37957 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37959         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37960         field.
37961         (struct statfs64): Likewise.
37962         (_STATFS_F_FLAGS): Define.
37963         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37964         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37965         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37966         (ST_VALID): Define locally.
37967         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37968         __statvfs_getflags, use the provided value.
37969         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37970         __ASSUME_STATFS_F_FLAGS.
37972         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37974         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37975         Add sys/fanotify.h.
37976         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37977         fanotify_mask for GLIBC_2.13.
37978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37979         fanotify_init and fanotify_mark.
37980         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37981         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37983         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37984         Add prlimit.
37985         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37986         prlimit64 for GLIBC_2.13.
37987         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37988         prlimit64.
37989         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37990         syscall.
37991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37993         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37994         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37996         add prlimit alias.
37997         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37999         [BZ #11903]
38000         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38001         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38003         * nss/Makefile: Add rules to build and run tst-nss-test1.
38004         * shlib-versions: Add entry for libnss_test1.
38005         * nss/nss_test1.c: New file.
38006         * nss/tst-nss-test1.c: New file.
38008         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38009         (__nss_configure_lookup): Set appropriate entry in
38010         __nss_configure_lookup to true.
38011         * nss/nsswitch.h: Define enum with indeces of databases in
38012         databases and __nss_database_custom arrays.  Declare
38013         __nss_database_custom.
38014         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38015         to avoid using nscd when custom rules are installed.
38016         * nss/getXXbyYY_r.c: Likewise.
38017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38019         * nss/nss_files/files-parse.c: Whitespace fixes.
38021 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38023         [BZ #11883]
38024         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38025         * posix/fnmatch_loop.c: Likewise.
38027 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38029         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38030         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38031         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38032         * Versions.def [GLIBC_2.13]: Add.
38034 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38036         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38037         Also fail if tpwd after pwuid call is NULL.
38039 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38041         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38042         when converting to ms.
38044 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38046         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38047         EOPNOTSUPP errors with ENOTTY.
38048         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38049         EOPNOTSUPP errors with ENOTTY.
38051 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38053         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38054         Add strcasecmp_l-ssse3.
38055         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38056         strcasecmp.
38057         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38058         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38059         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38061 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38063         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38065         * string/Makefile (strop-tests): Add strcasecmp.
38066         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38067         strcasecmp_l-nonascii.
38068         (gen-as-const-headers): Add locale-defines.sym.
38069         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38070         * sysdeps/x86_64/strcasecmp.S: New file.
38071         * sysdeps/x86_64/strcasecmp_l.S: New file.
38072         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38073         * sysdeps/x86_64/locale-defines.sym: New file.
38074         * string/test-strcasecmp.c: New file.
38076         * string/test-strcasestr.c: Test both ends of the range of characters.
38077         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38079 2010-07-29  Roland McGrath  <roland@redhat.com>
38081         [BZ #11856]
38082         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38084 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38086         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38087         for ld.so.
38089 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38091         * manual/memory.texi (Malloc Tunable Parameters): Document
38092         M_PERTURB.
38094 2010-07-26  Roland McGrath  <roland@redhat.com>
38096         [BZ #11840]
38097         * configure.in (-fgnu89-inline check): Set and substitute
38098         gnu89_inline, not libc_cv_gnu89_inline.
38099         * configure: Regenerated.
38100         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38102 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38104         * string/test-strnlen.c: New file.
38105         * string/Makefile (strop-tests): Add strnlen.
38106         * string/tester.c (test_strnlen): Add a few more test cases.
38107         * string/tst-strlen.c: Better error reporting.
38109         * sysdeps/x86_64/strnlen.S: New file.
38111 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38113         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38114         lower-latency instructions.
38116 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38118         * string/test-strcasestr.c: New file.
38119         * string/test-strstr.c: New file.
38120         * string/Makefile (strop-tests): Add strstr and strcasestr.
38121         * string/str-two-way.h: Don't undefine MAX.
38122         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38124 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38127         strcasestr-nonascii.
38128         (CFLAGS-strcasestr-nonascii.c): Define.
38129         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38131         Remove unused attribute.
38133 2010-07-20  Roland McGrath  <roland@redhat.com>
38135         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38136         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38137         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38138         like LD_HWCAP_MASK can disable hwcaps.
38140 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38142         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38144 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38146         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38147         call in strcasestr.
38148         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38149         __strcasestr_sse42_nonascii.
38150         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38151         strcasestr-nonascii.c.
38152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38154 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38156         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38157         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38158         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38159         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38161 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38163         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38164         fcntl.
38166 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38168         [BZ #11577]
38169         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38170         dl_signal_cerror.
38172 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38174         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38175         _PC_PIPE_BUF using F_GETPIPE_SZ.
38177 2010-07-05  Roland McGrath  <roland@redhat.com>
38179         * manual/arith.texi (Rounding Functions): Fix rint description
38180         implicit in round description.
38182 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38184         * elf/Makefile: Fix linking for a few tests to make recent linker
38185         happy.
38187 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38189         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38190         $(common-objpfx)libc_nonshared.a.
38192 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38194         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38195         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38196         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38197         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38198         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38199         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38200         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38201         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38216         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38217         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38218         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38219         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38220         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38221         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38222         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38223         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38224         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38225         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38226         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38227         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38243 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38245         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38246         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38247         * string/memmove.c (memmove): Renamed to ...
38248         (MEMMOVE): ...this.  Default to memmove.
38249         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38250         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38251         (END_CHK): Define.
38252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38253         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38254         mempcpy-ssse3-back memmove-ssse3-back.
38255         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38258         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38259         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38260         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38261         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38262         * sysdeps/x86_64/multiarch/memmove.c: New file.
38263         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38264         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38265         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38266         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38267         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38269         Define.
38270         (index_Fast_Copy_Backward): Define.
38271         (HAS_ARCH_FEATURE): Define.
38272         (HAS_FAST_REP_STRING): Define.
38273         (HAS_FAST_COPY_BACKWARD): Define.
38275 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38278         Restore proper fallback handling.
38280 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38282         [BZ #11701]
38283         * posix/group_member.c (__group_member): Correct checking loop.
38285         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38286         OOM in getpwuid_r correctly.  Return error number when the caller
38287         should return, otherwise -1.
38288         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38289         call returning > 0 value.
38290         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38292 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38294         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38295         libc_nonshared.a from targets in modules-names.
38297 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38299         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38300         requires it.
38302 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38309 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38311         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38313 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38315         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38316         and F_GETPIPE_SZ.
38317         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38318         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38319         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38321         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38324 2010-06-14  Roland McGrath  <roland@redhat.com>
38326         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38328 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38330         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38331         __REDIRECT followed by __THROW.
38332         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38333         * posix/getopt.h (getopt): Likewise.
38335 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38337         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38338         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38339         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38340         in AT_FLAGS.
38341         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38342         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38344 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38346         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38348 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38350         [BZ #11640]
38351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38352         Properly check family and model.
38354 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38356         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38358 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38360         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38362 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38364         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38365         symbol reference.
38367 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38369         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38370         symbol reference.
38372 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38374         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38375         and internal_recvmmsg.
38376         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38377         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38378         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38379         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38381         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38382         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38383         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38385 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38387         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38389 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38391         POWER7 optimizations.
38392         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38393         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38395 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38397         * version.h: Update for 2.13 development version.
38399 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38401         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38402         exceptions.  Return 0.
38404 2010-05-07  Roland McGrath  <roland@redhat.com>
38406         * elf/ldconfig.c (main): Add a const.
38408 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38410         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38411         (args_options): Add no-idn option.
38412         (ahosts_keys_int): Add idn_flags to ai_flags.
38413         (parse_option): Handle 'i' option to clear idn_flags.
38415         * malloc/malloc.c (_int_free): Possible race in the most recently
38416         added check.  Only act on the data if no current modification
38417         happened.
38419 See ChangeLog.17 for earlier changes.